/* Whito Market Signals dashboard. Same ink, lime and rules as the Whito tools. */
#wms{--wms-navy:#0B1F3A;--wms-lime:#C8F031;--wms-rule:#D9DEE7;--wms-ink2:#4A5568;--wms-tint:#F4F6FA;--wms-red:#B23A2F;--wms-green:#1F6B3A;font-family:Poppins,"IBM Plex Sans","Segoe UI",Helvetica,Arial,sans-serif;font-size:17px;line-height:1.5;color:var(--wms-navy);max-width:1180px;margin:0 auto;text-align:left}
#wms *,#wms *::before,#wms *::after{box-sizing:border-box}
#wms h1,#wms h2,#wms h3,#wms h4{font-family:inherit;color:var(--wms-navy);font-weight:600;line-height:1.25;margin:0;padding:0;text-transform:none;letter-spacing:0}
#wms h2{font-size:28px;margin:0 0 8px}
#wms h3{font-size:20px;margin:28px 0 10px}
#wms h4{font-size:16px;margin:0 0 6px}
#wms p{margin:0 0 12px;padding:0}
#wms a{color:var(--wms-navy);text-decoration:underline;font-weight:600;word-break:break-word}
#wms a:focus-visible,#wms button:focus-visible,#wms .wms-input:focus-visible,#wms input:focus-visible,#wms .wms-view:focus-visible{outline:3px solid var(--wms-navy);outline-offset:2px}
#wms .wms-view:focus{outline:none}
#wms [hidden]{display:none !important}
#wms .wms-lede{font-size:18px;color:var(--wms-ink2);max-width:75ch;margin:0 0 18px}
#wms .wms-meta{font-size:14px;color:var(--wms-ink2)}
#wms .wms-sub{display:block;font-size:14px;color:var(--wms-ink2);font-weight:400}
#wms .wms-num,#wms .wms-table td,#wms .wms-kpi b{font-variant-numeric:tabular-nums lining-nums}
#wms .wms-loading,#wms .wms-empty{padding:24px;background:var(--wms-tint);border-left:6px solid var(--wms-rule);color:var(--wms-ink2);margin:0 0 16px}

/* Header and tabs */
#wms .wms-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;background:var(--wms-navy);color:#fff;padding:22px 24px}
#wms .wms-head .wms-title{color:#fff;font-size:26px;font-weight:600;line-height:1.2;margin:0}
#wms .wms-head .wms-meta{color:#D5DCE8;margin:4px 0 0}
#wms .wms-headtools{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
#wms .wms-head .wms-field{margin:0;min-width:220px}
#wms .wms-head .wms-field label{color:#D5DCE8}
#wms .wms-nav{display:flex;gap:0;overflow-x:auto;border-bottom:2px solid var(--wms-navy);background:#fff;scrollbar-width:thin}
#wms .wms-tab{flex:0 0 auto;background:#fff;border:0;border-bottom:4px solid transparent;border-radius:0;padding:14px 11px 10px;font:inherit;font-size:15px;font-weight:600;color:var(--wms-ink2);cursor:pointer;white-space:nowrap;min-height:48px}
#wms .wms-tab:hover{color:var(--wms-navy);background:var(--wms-tint)}
#wms .wms-tab-on{color:var(--wms-navy);border-bottom-color:var(--wms-lime);background:var(--wms-tint)}
#wms .wms-view{padding:24px 0 40px;min-height:300px}
#wms .wms-welcome{padding:24px 0}

/* Buttons and forms */
#wms .wms-btn{display:inline-block;background:var(--wms-lime);color:var(--wms-navy);font:inherit;font-weight:600;font-size:16px;border:2px solid var(--wms-lime);border-radius:2px;padding:11px 18px;cursor:pointer;min-height:48px;text-decoration:none;line-height:1.3}
#wms .wms-btn:hover{background:#B5D92B;border-color:#B5D92B}
#wms .wms-btn[disabled]{opacity:.6;cursor:wait}
#wms .wms-btn-2{background:#fff;border-color:var(--wms-navy)}
#wms .wms-btn-2:hover{background:var(--wms-tint);border-color:var(--wms-navy)}
#wms .wms-btn-quiet{background:#fff;border:1px solid #9AA6BA;padding:7px 12px;font-size:15px;min-height:40px}
#wms .wms-btn-quiet:hover{background:var(--wms-tint);border-color:var(--wms-navy)}
#wms .wms-field{display:block;margin:0 0 14px;min-width:0}
#wms .wms-field label,#wms .wms-fieldset legend{display:block;font-weight:600;font-size:15px;margin:0 0 6px;padding:0;color:inherit}
#wms .wms-hint{display:block;font-size:14px;color:var(--wms-ink2);margin:4px 0 0}
#wms .wms-input{width:100%;padding:10px 12px;border:1px solid #9AA6BA;border-radius:2px;font:inherit;font-size:16px;background:#fff;color:var(--wms-navy);min-height:48px;margin:0}
#wms textarea.wms-input{min-height:140px}
#wms .wms-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 16px;background:#fff;border:1px solid var(--wms-rule);border-top:4px solid var(--wms-navy);padding:18px 18px 4px;margin:0 0 14px}
#wms .wms-tools,#wms .wms-pager{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
#wms .wms-form{margin:24px 0 0}
#wms .wms-formgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 16px}
#wms .wms-fieldset{border:0;padding:0;margin:0 0 14px;min-width:0}
#wms .wms-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px}
#wms .wms-check{display:block;font-size:16px;font-weight:400;cursor:pointer;padding:6px 0}
#wms .wms-check input{width:20px;height:20px;vertical-align:-3px;margin:0 6px 0 0}
#wms .wms-panel{background:#fff;border:1px solid var(--wms-rule);border-top:4px solid var(--wms-navy);padding:20px;margin:24px 0}
#wms .wms-panel>h3:first-child{margin-top:0}

/* Notices */
#wms .wms-flash:empty{display:none}
#wms .wms-flash{margin:16px 0 0}
#wms .wms-notice{border-left:6px solid var(--wms-navy);background:var(--wms-tint);padding:12px 16px;margin:0 0 12px}
#wms .wms-notice-ok{border-left-color:var(--wms-lime)}
#wms .wms-notice-error{border-left-color:var(--wms-red);color:var(--wms-red);background:#FBF1F0;font-weight:600}
#wms .wms-notes{font-size:15px;color:var(--wms-ink2);margin:0 0 12px;padding:0 0 0 22px}

/* Headline numbers */
#wms .wms-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:0;background:var(--wms-navy);margin:0 0 8px}
#wms .wms-kpi{background:transparent;border:0;border-radius:0;border-top:4px solid var(--wms-lime);margin:20px 0 20px 20px;padding:10px 12px 4px 0;text-align:left;color:#fff;font:inherit;cursor:pointer}
#wms .wms-kpi b{display:block;font-size:36px;font-weight:600;line-height:1.1;color:#fff}
#wms .wms-kpi span{font-size:14px;color:#D5DCE8}
#wms .wms-kpi:hover span{text-decoration:underline}
#wms .wms-kpi:focus-visible{outline-color:var(--wms-lime)}
#wms .wms-split{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
#wms .wms-splititem{background:var(--wms-tint);border:1px solid var(--wms-rule);border-radius:2px;padding:14px;text-align:left;font:inherit;color:var(--wms-navy);cursor:pointer}
#wms .wms-splititem:hover{border-color:var(--wms-navy)}
#wms .wms-splititem b{display:block;font-size:26px;font-weight:600;line-height:1.1}
#wms .wms-splititem span{font-size:14px;color:var(--wms-ink2)}

/* Bars */
#wms .wms-bars{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;align-items:end;height:200px;border-bottom:1px solid var(--wms-navy);padding:0 0 26px;position:relative;margin:0 0 8px}
#wms .wms-bar{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0}
#wms .wms-bar-fill{display:block;width:100%;max-width:56px;background:var(--wms-navy);min-height:2px}
#wms .wms-bar-now .wms-bar-fill{background:var(--wms-lime);outline:1px solid var(--wms-navy);outline-offset:-1px}
#wms .wms-bar-n{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;margin:0 0 2px}
#wms .wms-bar-x{position:absolute;bottom:-24px;font-size:12px;color:var(--wms-ink2);white-space:nowrap}
#wms .wms-bars-ai{grid-auto-columns:minmax(40px,90px);justify-content:start}

/* Signals */
#wms .wms-list{display:grid;gap:12px}
#wms .wms-signal{background:#fff;border:1px solid var(--wms-rule);border-left:6px solid #9AA6BA;padding:16px 18px;min-width:0}
#wms .wms-lens-opportunity{border-left-color:var(--wms-lime)}
#wms .wms-lens-threat{border-left-color:var(--wms-red)}
#wms .wms-lens-own{border-left-color:var(--wms-navy)}
#wms .wms-signal h3{font-size:19px;margin:6px 0 4px}
#wms .wms-is-read h3{font-weight:400}
#wms .wms-signal .wms-desc{margin:8px 0;max-width:80ch}
#wms .wms-step{background:var(--wms-tint);padding:10px 12px;margin:8px 0 10px;max-width:80ch}
#wms .wms-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
#wms .wms-tag{display:inline-block;font-size:13px;font-weight:600;border:1px solid #9AA6BA;border-radius:2px;padding:1px 8px;background:#fff;color:var(--wms-navy)}
#wms .wms-tag-opportunity{background:#F3FBD9;border-color:#B5D92B}
#wms .wms-tag-threat{background:#FBF1F0;border-color:var(--wms-red);color:var(--wms-red)}
#wms .wms-tag-own{background:var(--wms-navy);border-color:var(--wms-navy);color:#fff}
#wms .wms-tag-unverified{border-style:dashed}
#wms .wms-tag-num{font-variant-numeric:tabular-nums}
#wms .wms-actions{display:flex;flex-wrap:wrap;gap:8px}
#wms .wms-detail{border-top:1px solid var(--wms-rule);margin:14px 0 0;padding:14px 0 0}
#wms .wms-evgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 14px}
#wms .wms-ev,#wms .wms-side{background:var(--wms-tint);padding:14px;min-width:0}
#wms .wms-ev-value{font-size:20px;font-weight:600;margin:0 0 6px;overflow-wrap:anywhere}
#wms .wms-ev-quote{font-size:15px;color:var(--wms-ink2);overflow-wrap:anywhere}
#wms .wms-facts{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:6px 16px;margin:0;font-size:15px}
#wms .wms-facts dt{font-weight:600;margin:0}
#wms .wms-facts dd{margin:0;overflow-wrap:anywhere;min-width:0}
#wms .wms-ainote{border-left:6px dashed #9AA6BA;padding:10px 14px;margin:14px 0 0;background:#fff}
#wms .wms-report{border:1px solid var(--wms-rule);border-top:4px solid var(--wms-lime);padding:20px;margin:24px 0 0}
#wms .wms-report>h3:first-child{margin-top:0}
#wms .wms-links{padding:0 0 0 22px;margin:0 0 12px}

/* Tables */
#wms .wms-tablewrap{overflow-x:auto;margin:0 0 12px}
#wms table.wms-table{width:100%;border-collapse:collapse;font-size:16px;margin:0;border:0}
#wms table.wms-table th{text-align:left;background:var(--wms-navy);color:#fff;padding:10px 12px;font-weight:600;border:0;white-space:nowrap}
#wms table.wms-table td{padding:12px;border:0;border-bottom:1px solid var(--wms-rule);vertical-align:top;background:#fff;overflow-wrap:anywhere}
#wms .wms-rowbtns{display:flex;gap:6px;flex-wrap:wrap}
#wms code{font-size:14px;background:var(--wms-tint);padding:1px 6px}

/* Signed-out card */
#wms.wms-gate .wms-card{border:1px solid var(--wms-rule);border-top:4px solid var(--wms-navy);padding:28px;max-width:560px;margin:40px auto;background:#fff}

@media(max-width:900px){
	#wms .wms-kpis{grid-template-columns:repeat(2,1fr)}
	#wms .wms-split{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
	#wms{font-size:16px}
	#wms h2{font-size:24px}
	#wms .wms-head{padding:16px}
	#wms .wms-head .wms-field{min-width:0;width:100%}
	#wms .wms-headtools{width:100%}
	#wms .wms-evgrid{grid-template-columns:1fr}
	#wms .wms-facts{grid-template-columns:1fr;gap:0 0}
	#wms .wms-facts dd{margin:0 0 8px}
	#wms .wms-bar-x{display:none}
	#wms .wms-bar:first-child .wms-bar-x,#wms .wms-bar:last-child .wms-bar-x{display:block}
	#wms .wms-bar:first-child .wms-bar-x{left:0}
	#wms .wms-bar:last-child .wms-bar-x{right:0}
	#wms .wms-kpi b{font-size:30px}
	/* Tables turn into stacked cards so nothing scrolls sideways. */
	#wms table.wms-table thead{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
	#wms table.wms-table,#wms table.wms-table tbody,#wms table.wms-table tr,#wms table.wms-table td{display:block;width:100%}
	#wms table.wms-table tr{border:1px solid var(--wms-rule);border-top:4px solid var(--wms-navy);margin:0 0 12px;background:#fff}
	#wms table.wms-table td{border-bottom:1px solid var(--wms-rule);padding:8px 12px}
	#wms table.wms-table td:last-child{border-bottom:0}
	#wms table.wms-table td:empty{display:none}
	#wms table.wms-table td::before{content:attr(data-label);display:block;font-size:13px;font-weight:600;color:var(--wms-ink2)}
	#wms table.wms-table td[data-label=""]::before{display:none}
}
@media print{
	#wms .wms-nav,#wms .wms-headtools,#wms .wms-actions,#wms .wms-filters,#wms .wms-tools,#wms .wms-form{display:none}
	#wms .wms-detail{display:block !important}
}

/* The page title stays in the HTML as the page's one H1, but the dashboard header already shows it. */
body.wms-page h1.entry-title,body.wms-page .main_title{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
body.wms-page #wms,body.wms-page #wms h1,body.wms-page #wms h2,body.wms-page #wms h3,body.wms-page #wms h4,body.wms-page #wms .wms-title{font-family:Poppins,"IBM Plex Sans","Segoe UI",Helvetica,Arial,sans-serif}
