/* Lightweight, readable application mockups for the guided AI Delivery Platform stories. */
@media(min-width:761px){html:root body .deck{grid-template-rows:minmax(65px,auto) minmax(0,1fr)}}
.forge-demo-screen{--fd-line:#e4e9f2;--fd-muted:#6b7890;--fd-ink:#25364d;display:grid;grid-template-columns:136px minmax(0,1fr);min-height:100%;background:#f6f8fc;color:var(--fd-ink);font:12px/1.5 Inter,system-ui,sans-serif;text-align:left}
.fd-sidebar{background:#f0f3f9;border-right:1px solid #e1e6f0;padding:22px 13px;display:flex;flex-direction:column;gap:22px}
.fd-brand{display:flex;align-items:center;gap:9px;font-size:15px;letter-spacing:-.04em;color:#354660;font-weight:750}
.fd-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#168ac6,#8863ca);color:white;font-size:18px;font-weight:800}
.fd-nav{display:grid;gap:7px}.fd-nav span{padding:8px 9px;color:#73809a;font-size:11px;border-radius:6px}.fd-nav .fd-active{background:#fff;color:#176b9f;font-weight:650;box-shadow:0 2px 7px #25364d08}
.fd-workspace{margin-top:auto;font-size:10px;color:#7a879b;line-height:1.7}.fd-workspace b{color:#52637c;display:block;font-weight:600}
.fd-main{min-width:0;display:flex;flex-direction:column}
.fd-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 20px;background:#fff;border-bottom:1px solid var(--fd-line);color:#78859a;font-size:10px}
.fd-topbar strong{color:#49647e;font-weight:500}.fd-avatar{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#7859ad;background:#eee8f7;font-size:9px;font-weight:700}
.fd-content{padding:20px 22px 58px;display:grid;gap:14px;align-content:start;flex:1;min-width:0}
.fd-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fd-heading h2{margin:0 0 4px;font-size:20px;line-height:1.25;letter-spacing:-.035em;color:#243b55;font-weight:700}.fd-heading p{margin:0;color:var(--fd-muted);font-size:11px;line-height:1.5}.fd-eyebrow{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#7486a1;margin-bottom:5px}
.fd-badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;line-height:1.4;white-space:nowrap;font-weight:600;background:#eaf1fb;color:#4173aa}.fd-badge.good{background:#e5f5ed;color:#267154}.fd-badge.warn{background:#fff2dd;color:#9b6724}.fd-badge.issue{background:#fcebed;color:#ae4d5b}.fd-badge.muted{background:#edf0f5;color:#7a8799}
.fd-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fd-metric{padding:13px 14px;background:#fff;border:1px solid var(--fd-line);border-radius:9px;min-width:0}.fd-metric>span{display:block;color:var(--fd-muted);font-size:10px}.fd-metric strong{display:block;font-size:23px;font-weight:650;letter-spacing:-.04em;line-height:1.4;color:#304e72;font-variant-numeric:tabular-nums}.fd-metric small{color:#8692a5;font-size:9px}.fd-metric.accent{border-color:#c8daef;background:linear-gradient(120deg,#f2faff,#f5f2fc)}
.fd-card{border:1px solid var(--fd-line);border-radius:10px;background:#fff;min-width:0;overflow:hidden}.fd-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #edf0f6;font-size:11px;font-weight:650}.fd-card-head small{font-size:9px;color:#8a96a8;font-weight:400}.fd-card-body{padding:14px}.fd-card-body p{margin:0 0 10px}.fd-card-body p:last-child{margin-bottom:0}
.fd-table-wrap{overflow-x:auto}.fd-table{border-collapse:collapse;width:100%;font-size:10px;font-variant-numeric:tabular-nums}.fd-table th{background:#fafbfe;color:#8691a4;font-weight:500;text-align:left;font-size:9px;padding:8px 12px;white-space:nowrap}.fd-table td{padding:11px 12px;border-top:1px solid #edf0f6;color:#52647c;vertical-align:middle}.fd-table td:first-child{color:#354e6c;font-weight:550}.fd-table .fd-highlight td{background:#f1f7fe}.fd-table .fd-issue td{background:#fff6f5}.fd-table td:last-child{white-space:nowrap}.fd-table .fd-badge{font-size:8px}
.fd-banner{display:flex;gap:10px;padding:11px 13px;background:#edf5ff;border:1px solid #dbe8f8;border-radius:8px;color:#4b7095;font-size:10px}.fd-banner strong{display:block;font-size:11px;font-weight:650;margin-bottom:2px}.fd-banner.warn{background:#fffaef;border-color:#f3e3bd;color:#976829}.fd-banner.good{background:#eff8f3;border-color:#d5eadd;color:#36785a}.fd-banner.issue{background:#fff2f2;border-color:#f1d4d7;color:#a15160}.fd-banner-icon{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;border:1px solid currentColor;font-weight:700;font-size:10px}
.fd-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}.fd-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fd-field>span{display:block;color:#8692a5;font-size:9px;margin-bottom:4px}.fd-field>strong{display:block;padding:9px 10px;border:1px solid #e0e7f1;border-radius:5px;color:#4a617f;font-size:11px;font-weight:500;background:#fcfdff}.fd-note{font-size:10px;color:#8a95a6;margin:0}.fd-rule{display:flex;gap:10px;align-items:center;border-bottom:1px solid #edf0f6;padding:11px 0}.fd-rule:first-child{padding-top:0}.fd-rule:last-child{border:0;padding-bottom:0}.fd-rule b{font-size:10px;font-weight:550}.fd-rule small{display:block;font-size:9px;color:#8792a4}.fd-rule .fd-badge{margin-left:auto}
.fd-mail{display:grid;grid-template-columns:29px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 14px;border-bottom:1px solid #edf0f6}.fd-mail:last-child{border:0}.fd-mail b{font-size:10px;display:block;color:#4c5e78}.fd-mail p{margin:3px 0 0;font-size:10px;color:#8290a4}.fd-mail time{font-size:9px;color:#98a2b2}.fd-mail .fd-avatar{background:#edf1f8;color:#8b98ad}
.fd-terminal{padding:17px 20px;background:#253446;border-radius:8px;color:#a1c1bc;font:11px/1.85 Consolas,monospace}.fd-terminal-head{display:flex;justify-content:space-between;color:#9eacc0;font-size:9px;border-bottom:1px solid #ffffff17;padding-bottom:9px;margin-bottom:12px}.fd-terminal dl{display:grid;grid-template-columns:1fr 1.4fr;gap:7px;margin:0}.fd-terminal dt{color:#8a9eb1}.fd-terminal dd{margin:0;color:#d0ddd9}.fd-terminal-foot{margin-top:15px;border-top:1px solid #ffffff17;padding-top:9px;font-size:9px;color:#8d9faf}
.fd-bars{padding:14px;display:grid;gap:12px}.fd-bar{display:grid;grid-template-columns:46px 1fr 73px;gap:9px;align-items:center;font-size:9px;color:#7b89a0}.fd-bar>i{height:9px;border-radius:3px;background:#edf1f7;overflow:hidden}.fd-bar>i>i{display:block;height:100%;width:var(--size);background:linear-gradient(90deg,#2c97c8,#8d74ce);border-radius:3px}.fd-bar>b{font-size:9px;text-align:right;font-weight:500;color:#61768f}
.fd-timeline{padding:13px 15px;display:grid;gap:13px}.fd-event{display:grid;grid-template-columns:37px 1fr;gap:8px;font-size:10px}.fd-event time{color:#a1abb9;font-size:9px}.fd-event>div{border-left:2px solid #d9e7f4;padding-left:11px}.fd-event strong{font-weight:550}.fd-event small{display:block;color:#8a96a8;font-size:9px;margin-top:2px}
.fd-actions{display:flex;gap:9px;padding:13px 14px;border-top:1px solid #e7ebf3}.fd-actions button{font-size:10px;font-weight:600;border-radius:6px;padding:9px 13px;background:linear-gradient(100deg,#2085b9,#8466c5);color:white;min-height:35px}.fd-actions button+button{background:white;color:#6680a1;border:1px solid #dce5f0}.fd-pill{padding:6px 9px;border-radius:5px;background:#edf1f7;color:#6c7f98;font-size:9px}.fd-footer{display:flex;justify-content:space-between;gap:10px;padding:9px 20px;background:#fff;border-top:1px solid var(--fd-line);font-size:9px;color:#92a0b2}
.fd-source-list{display:grid;gap:10px}.fd-source{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--fd-line);border-radius:8px;background:#fff}.fd-source-icon{display:grid;place-items:center;background:#eef2fa;color:#6781a4;font-size:10px;font-weight:700;border-radius:8px;width:34px;height:34px}.fd-source strong{display:block;font-size:11px}.fd-source small{font-size:9px;color:#8391a7}.fd-source .fd-badge{margin-left:auto}.fd-code{margin:0;white-space:pre-wrap;word-break:break-word;font:10px/1.85 Consolas,monospace;color:#6e7e98;background:#f9fbff;padding:15px}.fd-code b{color:#8262b6;font-weight:500}.fd-code em{font-style:normal;color:#248aa3}
.fd-approval{display:flex;gap:12px;align-items:center;padding:15px}.fd-approval .fd-avatar{width:36px;height:36px;font-size:11px}.fd-approval strong{display:block;font-size:12px}.fd-approval p{font-size:10px;margin:4px 0 0;color:#8190a5}.fd-approval>.fd-badge{margin-left:auto}
.fd-legacy .fd-sidebar{background:#eef0f4}.fd-legacy .fd-mark{background:#9ba7b8}.fd-legacy .fd-nav .fd-active{color:#6a7588}.fd-legacy .fd-heading h2{color:#5a6980}
.fd-metric{container-type:inline-size}.forge-demo-screen .fd-metric strong{font-size:clamp(13px,14cqw,23px)}
.fd-worker{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #d7e6f4;border-radius:6px;background:#edf6ff;color:#176b9f;font-size:10px;font-weight:600;line-height:1.4}
.fd-worker>span{font-size:14px}.fd-worker-human{background:#f4eff9;border-color:#e6ddf0;color:#7d58a6}.fd-worker-human>span{font-size:8px}
@media(max-width:520px){.fd-topbar{flex-wrap:wrap;gap:6px}.fd-worker{font-size:9px;padding:4px 7px}}
@media(min-width:761px){
 .viewport .fd-topbar{padding:7px 18px}
 .viewport .fd-content{padding:15px 20px 38px;gap:11px}
 .viewport .fd-heading h2{font-size:19px}.viewport .fd-heading p{font-size:10px}.viewport .fd-eyebrow{margin-bottom:3px}
 .viewport .fd-metric{padding:9px 12px}.viewport .fd-metric strong{line-height:1.2}.viewport .fd-metric small{font-size:8px;line-height:1.3}
 .viewport .fd-table td{padding:7px 12px}.viewport .fd-card-head{padding:10px 14px}.viewport .fd-banner{padding:9px 12px}
 .viewport .fd-footer{padding:7px 18px}
}
.viewport.is-scene .scene-html{overscroll-behavior:contain}.demo-detail .scene-html:has(.forge-demo-screen){min-width:0}.demo-detail .forge-demo-screen{min-height:560px}.demo-detail .fd-content{padding-bottom:25px}
@media(min-width:1101px) and (max-height:820px){.fd-content{padding:15px 18px 54px;gap:10px}.fd-heading h2{font-size:18px}.fd-metric{padding:9px 12px}.fd-table td{padding:9px 12px}.fd-sidebar{padding-top:18px}}
@media(max-width:1100px){.forge-demo-screen{grid-template-columns:100px minmax(0,1fr)}.fd-sidebar{padding:16px 8px}.fd-nav span{font-size:10px;padding:7px 5px}.fd-brand{font-size:13px;gap:5px}.fd-mark{width:23px;height:23px;font-size:16px}.fd-content{padding:16px 15px 56px}.fd-topbar{padding:10px 15px}.fd-split{grid-template-columns:1fr}.fd-metric strong{font-size:21px}}
@media(max-width:760px){html:root body .window:has(.forge-demo-screen){height:560px}.fd-sidebar{display:none}.forge-demo-screen{grid-template-columns:1fr}.fd-split{grid-template-columns:minmax(0,1.2fr) 1fr}.fd-content{gap:12px}.fd-topbar{padding:10px 15px}.demo-detail .forge-demo-screen{min-height:0}.fd-heading h2{font-size:19px}.fd-footer{padding:9px 15px}.fd-metric strong{font-size:23px}}
@media(max-width:520px){.fd-content{padding:15px 12px 60px}.fd-split{grid-template-columns:1fr}.fd-metrics{gap:6px}.fd-metric{padding:10px 8px}.fd-metric strong{font-size:18px}.fd-metric>span{font-size:9px}.fd-metric small{font-size:8px}.fd-heading{gap:6px}.fd-heading h2{font-size:18px}.fd-heading>.fd-badge{font-size:8px}.fd-table td,.fd-table th{padding:9px 8px}.fd-footer{font-size:8px}.fd-fields{gap:8px}.fd-field>strong{font-size:10px;padding:8px}.fd-topbar{font-size:9px}.fd-actions{flex-wrap:wrap}}
