:root{--bg:#071017;--panel:#0d1923;--panel2:#112330;--line:#213443;--text:#eef5f7;--muted:#8fa1ad;--green:#50e3a4;--amber:#f2c66d;--red:#ff7b7b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 20% 0%,#243c49 0%,transparent 38%),linear-gradient(135deg,#05080b 0%,#0b141b 48%,#111f27 100%);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,sans-serif}a{color:inherit;text-decoration:none}header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:#071017dd;backdrop-filter:blur(16px);position:sticky;top:0;z-index:4}.brand{display:flex;gap:12px;align-items:center;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:var(--muted)}.mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--green);color:var(--green);font-size:12px;clip-path:polygon(15% 0,100% 0,100% 85%,85% 100%,0 100%,0 15%)}nav{display:flex;gap:26px;color:var(--muted)}nav a:hover{color:var(--green)}main{max-width:1180px;margin:auto;padding:58px 24px 90px}.hero{min-height:480px;display:grid;grid-template-columns:1.5fr .65fr;align-items:center;gap:90px}.eyebrow{color:var(--green);font-size:11px;font-weight:800;letter-spacing:2.4px}.hero h1,.page-head h1,.receipt h1{font:500 clamp(42px,6vw,72px)/1.02 Georgia,serif;margin:18px 0}.hero h1 em{color:var(--green);font-weight:400}.hero p,.page-head p{font-size:18px;color:var(--muted);max-width:650px}.actions{display:flex;gap:12px;margin-top:32px}.button{display:inline-flex;border:1px solid var(--line);padding:13px 20px;border-radius:4px;background:none;color:var(--text);font-weight:700;cursor:pointer}.primary{background:var(--green);color:#05120d;border-color:var(--green)}.ghost:hover{border-color:var(--green)}.full{width:100%;justify-content:center}.hero-card,.panel,.metrics article{background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:7px;padding:28px}.hero-card span,.metrics span{font-size:10px;letter-spacing:1.8px;color:var(--muted)}.hero-card strong{display:block;color:var(--green);font:500 56px Georgia;margin-top:20px}.hero-card p{font-size:13px;margin:0 0 20px}.section-title,.page-head,.admin-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.section-title h2,.panel h2{margin:5px 0;font:500 25px Georgia}.section-title input,.admin-head input,input,textarea{background:#08131b;border:1px solid var(--line);border-radius:4px;padding:12px;color:var(--text)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px}table{width:100%;border-collapse:collapse}th{text-align:left;color:var(--muted);font-size:10px;letter-spacing:1.3px;background:#0b1720}th,td{padding:16px;border-bottom:1px solid var(--line);white-space:nowrap}td small,label small{display:block;color:var(--muted)}.positive{color:var(--green)}.pill{font-size:9px;letter-spacing:1px;border:1px solid var(--line);padding:5px 8px;border-radius:20px}.pill.ok{color:var(--green);border-color:#2d765a}.pill.low{color:var(--amber);border-color:#715c2d}.page-head{margin:35px 0 50px}.page-head h1{font-size:56px}.order-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:24px}.line{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.line input{width:110px}.sticky{position:sticky;top:100px;height:max-content}label{display:block;margin:18px 0;color:var(--muted)}label>input,label>textarea{width:100%;display:block;margin-top:7px}textarea{min-height:90px;resize:vertical}.notice,.alert{background:#15242b;border-left:3px solid var(--green);padding:14px;color:var(--muted);margin:20px 0}.alert{border-color:var(--red);color:#ffd2d2}.receipt{max-width:760px;margin:auto;text-align:center}.receipt .panel{text-align:left}.grand{display:flex;justify-content:space-between;padding:20px;font-size:20px}.muted{color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metrics strong{display:block;font:500 32px Georgia;margin:14px 0}.metrics small{color:var(--muted)}.dash-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin:18px 0}.alert-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.admin-head>div:last-child{display:flex;gap:8px}footer{border-top:1px solid var(--line);padding:25px;text-align:center;color:var(--muted);font-size:12px}@media(max-width:800px){header{height:auto;padding:14px 20px;align-items:flex-start}nav{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;font-size:12px}.hero,.order-grid,.dash-grid{grid-template-columns:1fr}.hero{gap:20px}.metrics{grid-template-columns:1fr 1fr}.section-title,.page-head{align-items:flex-start;gap:20px;flex-direction:column}.sticky{position:static}.hero h1,.page-head h1{font-size:43px}}@media(max-width:480px){.metrics{grid-template-columns:1fr}.hero-card{display:none}}

.trade-badge-danger{background:#ff5b5b!important;color:#071017!important}.trade-badge{background:#ff8a1f!important;color:#071017!important}
/* Unified Industry Planner banner system. Keep banner markup/configuration in the templates; keep visual rules here. */
.industry-banner{height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:24px!important;padding:0 max(24px,calc((100vw - 1480px)/2))!important;background:#050607f5!important;border-top:1px solid #30271f!important;border-bottom:1px solid #5b3215!important;color:#8fa1ad!important;font:600 12px 'Orbitron','Segoe UI',sans-serif!important;letter-spacing:.04em!important}
.industry-banner>span{color:#ff8a1f!important;margin-right:8px!important}
.industry-banner a{color:#8fa1ad!important;text-decoration:none!important;line-height:1!important}
.industry-banner a:hover{color:#ff8a1f!important}
.industry-banner .trading-nav{margin-left:4px!important;padding-left:24px!important;border-left:1px solid #5b3215!important;color:#ff8a1f!important}
.trade-badge{display:inline-grid!important;place-items:center!important;min-width:18px!important;height:18px!important;padding:0 5px!important;margin-left:4px!important;border-radius:10px!important;background:#ff8a1f!important;color:#071017!important;font:700 10px 'Orbitron','Segoe UI',sans-serif!important}
.trade-badge-danger{background:#ff5b5b!important;color:#071017!important}
@media(max-width:800px){.industry-banner{height:auto!important;min-height:48px!important;justify-content:flex-start!important;gap:14px!important;flex-wrap:wrap!important;padding:12px 20px!important}}
.site-header,.industry-banner{position:static!important;top:auto!important}
.fitting-group>summary{display:flex!important;align-items:center!important;gap:14px!important}.fitting-group>summary h2{margin:0!important;flex:0 1 auto}.fitting-group>summary .notify{margin-left:auto;display:flex;gap:7px}.fitting-group .table .tr:has(.pill.low){background:rgba(255,123,123,.12);box-shadow:inset 4px 0 #ff7b7b}.fitting-group .table .tr:has(.pill.ok){background:rgba(80,227,164,.04)}
.fitting-group>summary .notify{margin-left:0!important}.page-head h1,.stock-panel h2{font-family:'Orbitron','Segoe UI',sans-serif!important;color:#eef5f7!important}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');
body,input,textarea,button,select{font-family:'Rajdhani','Segoe UI',sans-serif!important}h1,h2,h3,h4,h5,h6,nav,.eyebrow,.pill,.th,.button,.brand{font-family:'Orbitron','Segoe UI',sans-serif!important}
.citadel-brand img{display:block!important}.citadel-brand strong{font-family:'Orbitron','Segoe UI',sans-serif!important;color:#eef5f7!important}.citadel-brand small{font-family:'Rajdhani','Segoe UI',sans-serif!important}
body,button,input,textarea,select{font-family:'Rajdhani','Segoe UI',sans-serif!important}h1,h2,h3,.page-head h1,.section-title h2{font-family:'Orbitron','Segoe UI',sans-serif!important;color:#eef5f7!important}.table .tr{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(120px,1fr));align-items:center;gap:12px;min-width:0;padding:14px 16px;border-bottom:1px solid #213443}.table .tr.th{font-family:'Orbitron','Segoe UI',sans-serif!important;color:#8fa1ad!important;background:#090a0b}.table .tr strong{min-width:0;overflow-wrap:anywhere}.table{overflow:hidden}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');
.citadel-brand img{width:48px!important;height:48px!important;max-width:48px!important;object-fit:contain!important}.citadel-brand strong,h1,h2,h3,.page-head h1{font-family:'Orbitron','Segoe UI',Arial,sans-serif!important;font-weight:600!important}.citadel-brand small,body,.table,.tr{font-family:'Rajdhani','Segoe UI',Arial,sans-serif!important}
.site-header nav a{color:#50e3a4!important;font-weight:700!important}
.site-header nav a,.industry-banner a,.eyebrow,.positive,.buildable-badge{color:#f2c66d!important}.industry-banner{background:#0d1923!important;border-top:1px solid #213443!important;border-bottom:1px solid #213443!important;color:#f2c66d!important}.industry-banner a:hover{color:#f2c66d!important}.primary,.badge{background:#f2c66d!important;border-color:#f2c66d!important;color:#071017!important}.light.ok,.stock-ok{background:#f2c66d!important;box-shadow:0 0 10px #f2c66d!important}.seed-good{color:#f2c66d!important}
.industry-banner a{color:#eef5f7!important;font-weight:600!important}.industry-banner a:hover{color:#f2c66d!important}
.site-header nav a,.industry-banner a{font-family:'Orbitron','Segoe UI',Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important}
/* Unified Citadel typography: applies equally to stock, doctrines, pricing,
   ROI, movement, and snapshots templates. */
html,body,body *{font-family:'Rajdhani','Segoe UI',Arial,sans-serif!important}
h1,h2,h3,h4,h5,h6,nav,.eyebrow,.pill,.th,.button,.brand strong,.industry-banner a{font-family:'Orbitron','Segoe UI',Arial,sans-serif!important}
.page-head h1{font-size:56px!important;line-height:1.08!important}.fitting-group>summary h2{font-size:20px!important}.table .tr,.seed-row{font-size:15px!important}

.stock-slot-label{padding:8px 16px;background:#132b3a;color:#f4c85b;font-family:'Orbitron',sans-serif;font-size:12px;letter-spacing:.08em;border-top:1px solid #29485a}

.unified-row{font-size:16px;min-height:52px}.unified-row.th{font-size:13px;min-height:42px}.profit-positive{color:#50e3a4;font-weight:700}.profit-negative{color:#ff7b7b;font-weight:700}

.unified-row{font-size:19px!important;min-height:60px}.unified-row.th{font-size:16px!important;font-weight:700;min-height:48px}.stock-slot-label{font-size:18px;font-weight:800;padding:12px 16px}

.unified-row{font-size:17px!important;min-height:54px}.unified-row.th{font-size:16px!important;min-height:48px}

.unified-row:not(.th)>strong{color:#f4c85b}.stock-slot-label{display:inline-block;margin:10px 16px 4px;padding:6px 14px;border:1px solid #f4c85b;border-radius:999px;color:#f4c85b;background:#102532;font-size:17px;font-weight:800}

.stock-slot-label{margin:6px 16px 2px;padding:3px 10px;font-size:14px}.unified-row:not(.th)>strong{font-weight:500}

.tree-indent{color:#f4c85b;padding:0 4px}

.tree-indent{display:inline-block;margin-left:20px;color:#f4c85b}

.market-group-icon{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-right:9px}.market-node>summary>strong{display:flex;align-items:center}

.price-red{color:#ff7b7b!important;border-color:#ff7b7b!important}.price-yellow{color:#f4c85b!important;border-color:#f4c85b!important}.price-green{color:#50e3a4!important;border-color:#50e3a4!important}

.price-diff{display:inline-block;width:max-content;min-width:0!important;padding-left:10px!important;padding-right:10px!important}.unified-row>*:first-child{text-align:left}.unified-row>*:not(:first-child){text-align:right}

.pricing-row>span:last-child{text-align:center!important}.pricing-row .price-diff{margin:0 auto}

.pricing-row .price-diff{justify-self:center}
body:has(.roi-table) details.panel + p{display:none}

.pricing-table{overflow-x:auto}.pricing-row{display:grid;grid-template-columns:minmax(300px,2fr) repeat(5,minmax(130px,1fr));align-items:center;min-height:54px;padding:0 18px;border-bottom:1px solid #213443}.pricing-header{background:#090a0b;color:#8fa1ad;font-weight:700;letter-spacing:.06em}.pricing-row>span:not(:first-child){text-align:right}.pricing-row>span:last-child{text-align:center}.sparkline{display:block;width:80px;height:22px;color:#f4c85b;margin:auto}.sparkline svg{display:block;width:80px;height:22px}.item-name{color:#f4c85b}.price-diff{display:inline-block;width:max-content;margin:auto;padding:4px 10px;border:1px solid currentColor;border-radius:999px}.price-red{color:#ff7b7b}.price-yellow{color:#f4c85b}.price-green{color:#50e3a4}

.roi-table td:first-child{font-weight:700;color:#f4c85b}.roi-table td:nth-child(5){color:#50e3a4;font-weight:700}.roi-table th,.roi-table td{font-variant-numeric:tabular-nums}


/* Shared dark metal futuristic surface */
body{
  background-color:#101113!important;
  background:#111820!important;
  background-image:linear-gradient(rgba(4,10,16,.28),rgba(4,10,16,.48)),url('/static/dark-blue-metal-background-realistic-v2.png')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
  min-height:100vh;
}

/* Unified page-header spacing and title order */
main{padding-top:0!important}.page-head{margin-top:0!important}.page-head>div{display:flex;flex-direction:column}.page-head h1{order:1}.page-head .eyebrow{order:2}.page-head .refresh-time{order:3}.page-head p{order:4}.page-head>div>h1{margin-top:0}.page-head>div>.eyebrow{margin-top:10px}

.page-head>div>h1{margin-bottom:16px!important}.page-head>div>.eyebrow{margin-top:0!important;padding:0!important}

/* Slight breathing room below the lower navigation banner */
main{padding-top:40px!important}

/* Keep the shared logo asset contained on the snapshots page. */
.site-header .brand img{display:block!important;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:contain!important}
.site-header .brand{min-width:0!important}.site-header .brand span{min-width:0!important}
.snapshots-page-head{margin:0 0 28px!important;display:block!important}
.snapshot-table th:nth-child(n+6),.snapshot-table td:nth-child(n+6){display:none!important}


.page-head>div>h1{margin-bottom:0!important;padding-bottom:0!important}.page-head>div>.eyebrow{margin-top:0!important;padding-top:0!important}

/* Compact item text only; preserve column and section headings. */
html:root body table tbody td,
html:root body .unified-row:not(.th),
html:root body .pricing-row:not(.pricing-header),
html:root body .seed-row:not(.seed-head),
html:root body .table .tr:not(.th){
  font-size:12px!important;
}
html:root body .unified-row:not(.th)>*,
html:root body .pricing-row:not(.pricing-header)>*,
html:root body .seed-row:not(.seed-head)>*,
html:root body .table .tr:not(.th)>*{
  font-size:inherit!important;
}

.fitting-group .stock-slot-label{background:transparent;border:0;border-radius:0;margin-left:0;padding-left:0}
.fitting-group .unified-row.stock-low{background:rgba(242,198,109,.12);box-shadow:inset 3px 0 #f2c66d}
.fitting-group .unified-row.stock-missing{background:rgba(255,123,123,.12);box-shadow:inset 3px 0 #ff7b7b}

/* Shared market-table presentation for native tables and grid tables. */
html:root body .page-head p{font-size:13px!important;color:#eef5f7!important;line-height:1.7}
html:root body table th,
html:root body .unified-row.th,
html:root body .table .tr.th,
html:root body .pricing-header,
html:root body .seed-head{
  background:#142f40!important;color:#f4c85b!important;font-size:13px!important;
}
/* Market and Stock Levels share stock-table; retain their existing header size. */
html:root body table.stock-table th{font-size:12px!important}
html:root body table th,html:root body table td{
  padding:10px 14px;border-bottom:1px solid #274254;font-variant-numeric:tabular-nums;
}
html:root body table tbody tr{background:#0b1b27}
html:root body table tbody tr:hover{background:#16384b}
html:root body .unified-row,
html:root body .pricing-row,
html:root body .seed-row{
  padding:10px 14px;min-height:38px;border-bottom:1px solid #274254;
}
html:root body .pricing-row:not(.pricing-header),
html:root body .seed-row:not(.seed-head),
html:root body .unified-row:not(.th):not(.stock-low):not(.stock-missing){background:#0b1b27}
html:root body .movement-table th,
html:root body .movement-table td{text-align:left;white-space:normal;overflow-wrap:anywhere}
html:root body .movement-table th:nth-child(3),
html:root body .movement-table td:nth-child(3),
html:root body .movement-table th:nth-child(5),
html:root body .movement-table td:nth-child(5){text-align:right;white-space:nowrap}

/* Slightly larger doctrine fitting titles. */
.fitting-group>summary h2{font-size:22px!important}

/* White item names; gold remains reserved for table headings. */
html:root body table tbody td:first-child,
html:root body .pricing-row:not(.pricing-header) .item-name,
html:root body .unified-row:not(.th)>strong,
html:root body .seed-row:not(.seed-head)>strong,
html:root body .table .tr:not(.th)>strong{
  color:#eef5f7!important;
}

/* One font for every site element, including template-level overrides. */
html:root body,html:root body * ,html:root body *::before,html:root body *::after{
  font-family:'Orbitron','Segoe UI',Arial,sans-serif!important;
}

/* Theme table headers consistently */
th,.pricing-header,.seed-head{background:#142f40!important;color:#f4c85b!important}

/* Unified table typography based on Stock Pricing */
table th,.pricing-header,.seed-head,.table .tr.th{font-family:'Orbitron','Segoe UI',sans-serif!important;font-size:10px!important;letter-spacing:.06em;color:#f4c85b!important}table td,.pricing-row,.seed-row,.table .tr{font-family:'Rajdhani','Segoe UI',sans-serif!important;font-size:15px!important;color:#eef5f7}table td:first-child,.pricing-row .item-name,.seed-row strong{color:#f4c85b!important;font-weight:600!important}
.stock-panel .section-title .eyebrow{display:none}
.stock-panel .section-title h2{color:#f4c85b!important}
.snapshot-table .positive{color:#50e3a4!important}
.roi-table{min-width:0!important;table-layout:fixed!important;width:100%!important}
.roi-table th,.roi-table td{white-space:normal!important;overflow-wrap:anywhere;padding:10px 8px!important;font-size:12px!important}
.roi-table th:first-child,.roi-table td:first-child{width:27%}
.roi-table th:not(:first-child),.roi-table td:not(:first-child){width:14.6%}
/* Restore the snapshots page typography without affecting its volume-table layout. */
body:has(.snapshot-table),body:has(.snapshot-table) button,body:has(.snapshot-table) input,body:has(.snapshot-table) table{font-family:'Orbitron','Segoe UI',Arial,sans-serif!important}
body:has(.snapshot-table) h1,body:has(.snapshot-table) h2,body:has(.snapshot-table) nav,body:has(.snapshot-table) .eyebrow,body:has(.snapshot-table) th{font-family:'Orbitron','Segoe UI',Arial,sans-serif!important}





/* Keep the refresh timestamp close to the KEEPSTAR label. */
.page-head .refresh-time{margin-top:0!important}
