:root{font-family:system-ui,-apple-system,sans-serif;color:#172923;background:#f4f6f2;font-size:15px;line-height:1.65}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:18px 5vw;border-bottom:1px solid #d8dfd6;background:white}header a{color:#172923;font-weight:750;text-decoration:none}header span,.muted{color:#627369}main{max-width:1160px;margin:40px auto;padding:0 24px}h1{font-size:32px;letter-spacing:-1px;line-height:1.3}h2{font-size:20px}a{color:#16634b}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.card,section,details{padding:24px;border:1px solid #d8dfd6;border-radius:12px;background:white;margin:20px 0}.cards .card{margin:0}.tag{display:inline-block;background:#e8f1e9;color:#1c6549;padding:3px 10px;border-radius:20px;font-size:12px}.layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}label{display:block;margin:12px 0}input,select,textarea{font:inherit;border:1px solid #bdcbbf;border-radius:6px;padding:8px;background:white;max-width:100%}input[type=number]{width:90px}textarea{width:100%;min-height:120px;font:13px ui-monospace,monospace}button,.button{font:inherit;border:0;border-radius:6px;background:#195e45;color:white;padding:9px 16px;cursor:pointer;text-decoration:none;display:inline-block;margin:8px 5px 8px 0}button.secondary{background:#e9eee8;color:#234d39}button:disabled{opacity:.5;cursor:wait}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,monospace;background:#f0f3ef;padding:16px;border-radius:7px;max-height:480px;overflow:auto}#response.error{border-left:4px solid #b85130}#response.success{border-left:4px solid #27835e}.row{border-top:1px solid #e0e7df;padding:12px 0}.price{font-size:25px;font-weight:700;color:#195e45}.notice{padding:12px 16px;border-left:3px solid #799b7b;background:#eaf0e6}.log{max-height:280px}@media(max-width:760px){.layout{display:block}main{margin:24px auto}h1{font-size:26px}}

/* Storefront preview: orange/red marketplace, isolated from the coding workspace. */
.commerce-preview{--shop-bg:#f5f5f5;--shop-ink:#222;--shop-orange:#ff5000;--shop-red:#f33535;--shop-muted:#888;padding:0;overflow:hidden;scroll-margin-top:20px;border-color:#e6e6e6}
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;background:#fff}
.preview-eyebrow{font:10px/1.5 ui-monospace,monospace;letter-spacing:2px;color:#888}.preview-toolbar h2{margin:5px 0;font-size:22px;color:#222}.preview-toolbar p{margin:0;color:#777;font-size:12px}
.preview-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.preview-tools>span{font-size:12px;color:#777}.preview-tools>button.secondary{margin:0;font-size:12px;color:#d9470b;background:#fff0e8}
.preview-device{display:flex;border:1px solid #e7e7e7;padding:3px;border-radius:8px}.preview-device button{margin:0;padding:5px 12px;font-size:12px;background:transparent;color:#777}.preview-device button[aria-pressed=true]{background:var(--shop-orange);color:#fff}
.preview-stage{padding:24px;background:#ededed;border-top:1px solid #e7e7e7}
.shop-shell{container-type:inline-size;max-width:1040px;margin:auto;background:var(--shop-bg);color:var(--shop-ink);border:1px solid #e2e2e2;border-radius:10px;overflow:hidden;box-shadow:0 8px 24px #00000008;font-family:system-ui,-apple-system,'Noto Sans SC',sans-serif;line-height:1.5}
.shop-shell[data-device=phone]{max-width:390px;border:4px solid #292929;border-radius:28px;box-shadow:0 14px 36px #00000015}
.shop-shell button{margin:0;min-height:36px;font-size:13px;line-height:1.5;padding:7px 18px;border-radius:99px;background:linear-gradient(110deg,#ff6a00,var(--shop-orange));color:#fff;white-space:nowrap}
.shop-shell button.secondary{background:#fff;color:#333;border:1px solid #ddd}.shop-shell button:hover:not(:disabled){filter:brightness(.96)}.commerce-preview button:disabled{cursor:not-allowed}.commerce-preview :focus-visible{outline:2px solid var(--shop-orange);outline-offset:3px}
.shop-utility{display:flex;justify-content:space-between;gap:20px;padding:10px 28px;color:#777;font-size:11px}
.shop-nav{display:flex;align-items:center;gap:22px;padding:24px 28px;background:var(--shop-orange);color:#fff}.shop-nav>strong{font-size:34px;line-height:1.5;white-space:nowrap}.shop-nav-caption{font-size:16px;white-space:nowrap}.shop-user{font-size:13px;white-space:nowrap}
.shop-search-placeholder{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;padding:13px 16px;border-radius:99px;background:#fff;color:#999;font-size:13px;min-width:0}.shop-search-placeholder b{color:var(--shop-orange);font-size:13px;white-space:nowrap}
.shop-mobile-heading{display:none}.shop-content{padding:28px;display:flex;flex-direction:column;gap:12px;min-height:440px;position:relative}.shop-content p{margin:0}.shop-heading h3{font-size:22px;margin:0 0 4px;line-height:1.5;letter-spacing:0}
.shop-feedback{font-size:12px;color:#a2674e;padding:10px 14px;background:#fff0e8;border-radius:6px;overflow-wrap:anywhere}.shop-feedback[data-type=error]{color:#bb3026;background:#fff0ee;border-left:3px solid var(--shop-red)}
.shop-feedback[data-type=success]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
#shop-controls,#business{display:flex;flex-direction:column;gap:12px;min-width:0}.shop-status-tabs{display:flex;gap:24px;background:#fff;padding:0 20px;overflow-x:auto;scrollbar-width:thin}
.shop-status-tabs button{position:relative;flex:none;padding:16px 8px;background:transparent;color:#333;border-radius:0;font-size:15px}.shop-status-tabs button[aria-pressed=true]{color:var(--shop-orange);font-weight:650;background:transparent}.shop-status-tabs button[aria-pressed=true]::after{content:'';position:absolute;bottom:7px;left:50%;width:24px;height:3px;transform:translateX(-50%);background:var(--shop-orange);border-radius:3px}
.shop-promo{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;background:#fff0e8;font-size:12px;color:#a56b52}.shop-promo strong{color:#e64c16}
.shop-list-tools{display:flex;align-items:center;gap:14px;font-size:11px;color:#888}.shop-list-tools>span{margin-right:auto}.shop-list-tools label{margin:0;white-space:nowrap}.shop-list-tools select{font-size:11px;padding:4px;border:0;background:transparent;color:#777}.shop-list-tools #action{padding:4px 0;background:transparent;border:0;color:#777;min-height:30px;font-size:11px}
.shop-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:4px 0;font-size:12px;color:#888}.shop-pagination button{font-size:12px;padding:5px 16px;min-height:32px}
.shop-card{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px;min-width:0}.shop-card h4{font-size:14px;margin:0;font-weight:650}.shop-order-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.shop-store{display:flex;align-items:center;gap:8px;min-width:0}.shop-store em{color:var(--shop-orange);font-style:normal;font-size:10px;flex-shrink:0}.shop-store>span{color:#555;font-size:17px;font-weight:400}.shop-badge{color:var(--shop-orange);font-size:13px;white-space:nowrap}
.shop-product{display:flex;align-items:flex-start;gap:12px;min-width:0}.shop-product-image{height:88px;width:88px;flex-shrink:0;border-radius:7px;background:#eee9e4 center/cover no-repeat;display:flex;align-items:center;justify-content:center}.shop-product-image.placeholder{background:#ece8e2;color:#9b8c7b;text-align:center;font-size:11px;line-height:1.8}
/* Exact thumbnail exports from the Figma product artwork; embedded to keep the Go bundle self-contained. */
.shop-product-image.tray{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAACXBIWXMAAAPoAAAD6AG1e1JrAAAEBElEQVR4Xu3dzW/bdBzH8Y9/dhw/JGnWBwKCA5p2WA+EA7ntNmkn+G8n7TKJ204rIBiHaGwCIbSuTeY8+Tl+mGzoEmghdpZvWe3vS6qqRq7avPPLr9Yv7i9SmqYp/pImCXzPRuh7SOLo4mZWgNxQocgKNLMDIcvvbpcuAgeeC8+eYq0324IkBDSjDc1orQL7rg3Pnm36XlaC2e5C1U2IJIrgO/NNx7OSXGeOJEkgfHfB0wKB7O9Z6NoQ0TLcdCzbUhC4EDGfLZBJ4hhi00Hs/XBgYhyYGAcmxoGJcWBiHJgYBybGgYlxYGIcmBgHJsaBiXFgYhyYGAcmxoGJcWBiHJgYBybGgYlxYGIcmJiC95AmMZz5CP5iijiu1gUsSkOD0tTR6vYgKyquPbBnW7CtUyRJjCqKln7+EbgzmN0ezM4Rri2wOx9hYZ2iLteY2dYphJCht/ZBPgfH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iHmXIEbHfnhSFFVG938gU3LQZ0j/0O9vQPL2cJ1lPbgTGNzF1rZxNQ7wXLioahKmg7DrK5e1WZV/jaucuBM1d5afTF1SlsEWx8HJsaBiXFgYhyYGAcmxoGJcWBiHJgYBybGgYkJzTBlM2xN2eeZoma3ZXNsTYZpQVSbDyDE/TmB5f8iOymosbmdtdXh9HZl8+yGGu2H0HXz/P1gy95c/e8zf/AWSRLL7sskK9fp7sCyux//V9pMFM7hn75FuJwinE+vexyGj+mGCcvuoNbaghCXn2O8B94fM8Inb5XiAAAADnRFWHRTb2Z0d2FyZQBGaWdtYZ6xlmMAAAAASUVORK5CYII=')}
.shop-product-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;flex:1;overflow-wrap:anywhere}.shop-product-copy>strong{font-size:14px;font-weight:500;line-height:1.5}.shop-product-copy>span{font-size:12px;color:#999}.shop-product-copy>em{font-size:11px;font-style:normal;color:#ee5224}
.shop-product-price{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;font-variant-numeric:tabular-nums}.shop-product-price>strong{font-size:15px;font-weight:500;white-space:nowrap}.shop-product-price>span{font-size:12px;color:#999}
.shop-order-total{display:flex;align-items:baseline;justify-content:flex-end;gap:7px;font-size:12px;margin-top:2px;flex-wrap:wrap}.shop-order-total>span{font-size:11px;color:#999}.shop-order-total>strong{font-size:20px;color:#222;font-variant-numeric:tabular-nums}
.shop-order-details{padding:0;border:0;border-radius:0;margin:0;background:transparent}.shop-order-details>summary{margin-left:auto;width:fit-content;padding:6px 18px;border:1px solid #ddd;border-radius:99px;font-size:13px;line-height:1.5;list-style:none;cursor:pointer;color:#333}.shop-order-details>summary::-webkit-details-marker{display:none}.shop-order-details>summary:hover{border-color:var(--shop-orange);color:var(--shop-orange)}.shop-order-details[open]>.shop-order-info{border-top:1px solid #f1f1f1;margin-top:14px;padding-top:14px}
.shop-order-info{display:flex;flex-direction:column;gap:10px;margin:0;font-size:12px;color:#555;overflow-wrap:anywhere}.shop-order-info>div{display:flex;gap:16px}.shop-order-info dt{color:#999;flex-shrink:0;min-width:4em}.shop-order-info dd{margin:0}
.shop-empty{padding:64px 16px;text-align:center;color:#999;background:#fff;border-radius:12px}.shop-empty strong{font-weight:500;color:#666}.shop-empty p{font-size:13px;margin-top:8px}
.shop-address{display:flex;gap:14px;padding:16px;background:#fff;border-radius:12px;font-size:13px;align-items:flex-start}.shop-address>b{color:var(--shop-orange);font-size:16px}.shop-address>div{display:flex;flex:1;flex-direction:column;gap:10px}.shop-address strong{font-size:14px}.shop-address i{width:55%;max-width:360px;height:10px;background:#e9e9e9;border-radius:3px}.shop-address i+i{width:40%;max-width:250px;height:7px;background:#f2f2f2}
#shop-cart{display:flex;flex-direction:column;gap:18px}.shop-quantity{display:flex;align-items:center;margin-top:10px;border:1px solid #eee;border-radius:4px;overflow:hidden}.shop-quantity button{padding:0;width:28px;min-height:30px;background:#fafafa;color:#333;border-radius:0;font-size:15px}.shop-quantity label{margin:0}.shop-quantity input[type=number]{width:32px;padding:2px;text-align:center;border:0;border-radius:0;font-size:13px;appearance:textfield;-moz-appearance:textfield;color:#333}.shop-quantity input::-webkit-inner-spin-button{appearance:none}
.shop-coupon{display:flex;align-items:center;gap:14px;background:#fff0e8;padding:16px;color:#d94320;border-radius:10px}.shop-coupon>b{font-size:28px;line-height:1.2;color:var(--shop-red);font-variant-numeric:tabular-nums}.shop-coupon>div{display:flex;flex:1;flex-direction:column;gap:4px}.shop-coupon strong{font-size:14px}.shop-coupon span{font-size:11px;color:#be7158}.shop-coupon button{flex-shrink:0}.shop-coupon-input{display:flex;align-items:center;gap:16px;font-size:13px;margin:0;padding:10px 16px;background:#fff;border-radius:10px}.shop-coupon-input input{flex:1;min-width:0;font-size:13px;border-color:transparent;color:#666}.shop-coupon-input input:hover{border-color:#eee}
.shop-summary-row{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px;color:#888}.shop-summary-row strong{font-size:14px;font-weight:400;color:#222;font-variant-numeric:tabular-nums}.shop-discount strong{color:var(--shop-red)}.shop-checkout-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:8px}.shop-payable{display:flex;flex-direction:column;gap:4px}.shop-payable>span{font-size:12px;color:#888}.shop-payable>strong{font-size:28px;line-height:1.3;color:var(--shop-red);font-variant-numeric:tabular-nums}
.shop-order-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#777}.shop-order-picker label{margin:0;font-size:12px}.shop-order-picker select{font-size:12px;margin-left:8px;border-color:#e5e5e5;background:#fff;color:#555;padding:5px 8px}.shop-order-picker button.secondary{font-size:12px;color:#777;background:transparent;border:0;padding:4px 0}
.shop-status-card{padding:24px;background:linear-gradient(110deg,#ff6a00,#ff3439);color:#fff;border-radius:12px}.shop-status-card h4{font-size:24px;margin:0 0 6px;color:#fff}.shop-status-card p{font-size:12px;color:#fff}.shop-cancel-actions{display:flex;justify-content:flex-end;padding:16px;background:#fff;border-radius:12px}.shop-confirm{border:1px solid #ffd6c4}.shop-confirm h4{font-size:17px}.shop-confirm p{font-size:12px;color:#888}.shop-confirm>div{display:flex;justify-content:flex-end;gap:12px}
.preview-inspector{border:0;border-radius:0;margin:0;padding:18px 28px;border-top:1px solid #e6e6e6;background:#fff}.preview-inspector>summary{cursor:pointer;font-size:13px;font-weight:650}.preview-inspector>summary span{font-size:11px;color:#888;font-weight:400;margin-left:12px}.preview-inspector label{font-size:13px}.preview-inspector button{font-size:12px}.preview-inspector details{padding:14px;margin:12px 0 0}.preview-inspector select{max-width:100%}.preview-debug-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.preview-debug-actions>span{font-size:11px;color:#888}.preview-inspector #request-id{font:11px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}.preview-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container (max-width:540px){.shop-utility,.shop-nav,.shop-heading{display:none}.shop-mobile-heading{display:grid;grid-template-columns:28px 1fr 28px;align-items:center;gap:16px;padding:16px;background:#fff}.shop-mobile-heading h3{font-size:18px;text-align:center;line-height:1.5;margin:0;color:#222;letter-spacing:0}.shop-mobile-heading>span{font-size:25px;line-height:1.5}.shop-mobile-heading>span:last-child{font-size:20px;letter-spacing:3px}.shop-content{padding:12px;gap:12px}.shop-card{padding:14px;gap:12px}.shop-card .shop-store{font-size:13px;gap:6px}.shop-badge{font-size:12px}.shop-status-tabs{padding:0 5px;gap:0}.shop-status-tabs button{flex:1;padding:14px 3px;font-size:12px}.shop-list-tools{gap:8px}.shop-promo{padding:10px;font-size:11px}.shop-product-copy>span{font-size:11px}.shop-product-price>strong{font-size:14px}.shop-order-total>strong{font-size:19px}.shop-coupon{padding:14px;gap:10px}.shop-coupon>b{font-size:25px}.shop-coupon strong{font-size:13px}.shop-coupon span{font-size:10px}.shop-coupon button{font-size:12px;padding:6px 12px}.shop-address i{width:80%}.shop-address i+i{width:60%}.shop-payable>strong{font-size:26px}.shop-checkout-bar{gap:12px}.shop-checkout-bar button{padding:8px 16px;font-size:12px}}
@container (min-width:720px){.shop-order-card{display:grid;grid-template-columns:minmax(0,1fr) 150px 115px;column-gap:20px;row-gap:16px}.shop-order-meta{grid-column:1/-1}.shop-order-card>.shop-product{grid-column:1}.shop-order-card>.shop-order-total{grid-column:2;grid-row:2;align-self:center;flex-direction:column;align-items:center;gap:3px;margin:0}.shop-order-details{grid-column:3;grid-row:2;align-self:center}.shop-order-details>summary{white-space:nowrap}.shop-order-details[open]{grid-column:1/-1;grid-row:auto}.shop-shell[data-level="3"] .shop-order-card{grid-template-columns:minmax(0,1fr) 150px}}
@container (max-width:350px){.shop-product-image{width:72px;height:72px}.shop-product{gap:9px}.shop-product-copy>strong{font-size:13px}.shop-store{gap:4px}.shop-coupon{gap:8px;padding:12px}.shop-coupon button{padding:6px 8px}.shop-coupon>b{font-size:22px}}
@media(max-width:760px){.preview-toolbar{padding:20px;display:block}.preview-tools{justify-content:flex-start;margin-top:16px}.preview-stage{padding:12px}.preview-inspector{padding:18px}.preview-inspector>summary span{display:block;margin:4px 0 0}.preview-toolbar p{max-width:36em}}

/* Requirement documents use normal page scrolling; wide tables and code scroll locally. */
.requirements-panel>summary{cursor:pointer;font-weight:650}
.markdown-body{max-width:960px;margin:24px auto 0;line-height:1.8;overflow-wrap:anywhere}
.markdown-body h1{font-size:28px;letter-spacing:-.5px;margin:0 0 16px}
.markdown-body h2{font-size:22px;margin:36px 0 16px;padding-bottom:8px;border-bottom:1px solid #e0e7df;scroll-margin-top:24px}
.markdown-body h3{font-size:17px;margin:28px 0 12px}
.markdown-body p{margin:12px 0}
.markdown-body ul,.markdown-body ol{padding-left:26px;margin:14px 0}
.markdown-body li+li{margin-top:8px}
.markdown-body code{font:13px/1.7 Menlo,Monaco,Consolas,monospace;background:#edf1ec;border-radius:4px;padding:2px 5px}
.markdown-body pre{max-height:none;white-space:pre;overflow-wrap:normal;overflow-x:auto;background:#1f1f1f;color:#ccc;padding:18px;border:1px solid #2b2b2b;tab-size:4}
.markdown-body pre code{padding:0;background:transparent;border-radius:0;color:inherit}
.markdown-body blockquote{margin:18px 0;padding:2px 18px;border-left:3px solid #799b7b;background:#f4f7f1;color:#506456}
.markdown-body hr{border:0;border-top:1px solid #d8dfd6;margin:28px 0}
.markdown-table{max-width:100%;overflow-x:auto;margin:18px 0;border:1px solid #d8dfd6;border-radius:7px}
.markdown-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.7}
.markdown-table th,.markdown-table td{padding:10px 14px;min-width:130px;text-align:left;vertical-align:top;border-bottom:1px solid #e0e7df}
.markdown-table th{background:#edf2ea;font-weight:650}
.markdown-table tr:last-child td{border-bottom:0}
.markdown-table tbody tr:nth-child(even){background:#f8faf7}
.markdown-table:focus-visible{outline:2px solid #27835e;outline-offset:2px}
.markdown-tabs{display:flex;gap:4px;margin:24px 0 0;border-bottom:1px solid #d8dfd6;overflow-x:auto;scrollbar-width:thin}
.markdown-tabs .markdown-tab{flex:none;margin:0;padding:12px 14px;border:0;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;background:transparent;color:#627369;font-size:14px;white-space:nowrap;cursor:pointer}
.markdown-tabs .markdown-tab:hover{background:#f4f7f1;color:#195e45}
.markdown-tabs .markdown-tab[aria-selected=true]{background:#edf2ea;color:#195e45;border-bottom-color:#195e45;font-weight:650}
.markdown-tab:focus-visible,.markdown-tabpanel:focus-visible{outline:2px solid #27835e;outline-offset:-2px}
.markdown-tabpanel{padding-top:8px;min-height:180px}
.markdown-tabpanel>h2:first-child{margin-top:18px}
@media(max-width:760px){.requirements-panel{padding:18px}.markdown-body h1{font-size:24px}.markdown-body h2{font-size:20px}.markdown-body pre{padding:12px}.markdown-table th,.markdown-table td{padding:8px 10px}}

/* VS Code Dark Modern / Dark+ palette. See web/src/vscode-theme-LICENSE.txt. */
[hidden]{display:none!important}
.workspace{--editor-bg:#1f1f1f;--sidebar-bg:#181818;--editor-border:#2b2b2b;--editor-fg:#ccc;--editor-muted:#9d9d9d;--editor-blue:#0078d4;color-scheme:dark;color:var(--editor-fg);background:var(--editor-bg);border:1px solid var(--editor-border);border-radius:6px;padding:0;overflow:hidden;box-shadow:0 8px 28px #0002}
.workspace .muted{color:var(--editor-muted)}
.workspace button{font-size:12px;border-radius:3px;background:var(--editor-blue);color:#fff;padding:6px 12px;margin:0}
.workspace button:hover:not(:disabled){background:#026ec1}
.workspace button.secondary{background:transparent;color:var(--editor-fg)}
.workspace button.secondary:hover:not(:disabled){background:#2b2b2b}
.workspace button:disabled{opacity:.4;cursor:default}
.workspace button:focus-visible,.workspace summary:focus-visible{outline:1px solid var(--editor-blue);outline-offset:-1px}
.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;background:var(--sidebar-bg);border-bottom:1px solid var(--editor-border)}
.editor-heading h2{font-size:14px;font-weight:500;line-height:1.5;letter-spacing:.2px;margin:0}
.editor-context{font-size:11px}
.editor-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#save-state{font-size:12px}
.editor-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:6px 12px;background:var(--sidebar-bg);border-bottom:1px solid var(--editor-border)}
.editor-toolbar button{padding:4px 9px}
kbd{font:11px ui-monospace,monospace;color:inherit;opacity:.65;margin-left:12px}
.editor-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:0}
#file-list{max-height:610px;overflow:auto;background:var(--sidebar-bg);border-right:1px solid var(--editor-border);padding:0 0 8px;scrollbar-color:#424242 transparent;scrollbar-width:thin}
.file-tree-root{padding:10px 14px;color:#bbb;font:11px/1.5 system-ui,sans-serif;letter-spacing:.5px}
.file-scope{margin:0;padding:0 14px 10px;color:var(--editor-muted);font:11px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.file-access{margin-left:auto;padding-left:4px;color:var(--editor-muted);font-size:10px;white-space:nowrap}
#file-list .file-tree{list-style:none;margin:0;padding:0}
#file-list .file-tree .file-tree{margin-left:13px;padding-left:5px;border-left:1px solid #333}
#file-list .file-tree li{margin:0;padding:0}
#file-list .file-directory{padding:0;margin:0;border:0;border-radius:0;background:transparent}
#file-list summary,#file-list button{width:100%;text-align:left;font:12px/1.5 system-ui,sans-serif;color:#ccc;background:transparent;margin:0;padding:4px 8px;border:0;border-radius:0;cursor:pointer}
#file-list summary{display:flex;align-items:center;gap:5px;list-style:none;user-select:none;white-space:nowrap}
#file-list summary::-webkit-details-marker{display:none}
#file-list summary::before{content:'›';display:inline-block;width:14px;flex-shrink:0;text-align:center;color:#bbb;font-size:16px;line-height:18px}
#file-list .file-directory[open]>summary::before{transform:rotate(90deg)}
#file-list button{display:flex;align-items:center;gap:5px}
#file-list summary:hover,#file-list button:hover{background:#2a2d2e}
#file-list button.active{background:#04395e;color:white}
.file-icon{flex:0 0 18px;color:#75beff;font:11px ui-monospace,monospace;text-align:center}
.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-main{min-width:0;min-height:0}
.editor-tabs{display:flex;height:35px;background:var(--sidebar-bg);border-bottom:1px solid var(--editor-border)}
.editor-tab{display:flex;align-items:center;gap:6px;padding:0 16px 0 10px;border-top:1px solid var(--editor-blue);border-right:1px solid var(--editor-border);background:var(--editor-bg);font-size:12px;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#file-path{padding:4px 14px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#code-editor{height:490px;min-height:300px;overflow:hidden;resize:vertical;background:var(--editor-bg);border:0;border-radius:0}
#code-editor .cm-editor{height:100%;font:13px/1.65 Menlo,Monaco,Consolas,'Liberation Mono',monospace}
#code-editor .cm-editor.cm-focused{outline:none}
#code-editor .cm-scroller{overflow:auto;scrollbar-color:#424242 transparent;scrollbar-width:thin}
#code-editor .cm-content{padding:8px 0}
#code-editor .cm-line{padding:0 12px 0 6px}
#code-editor .cm-lineNumbers .cm-gutterElement{padding-left:12px;padding-right:12px;min-width:42px}
#code-editor .cm-definition-link{color:#4daafc;text-decoration:underline;cursor:pointer}
#code-editor .cm-panels{background:#252526;color:#ccc;border-color:#454545}
#code-editor .cm-panel button{margin:3px;padding:3px 8px;font-size:12px}
#code-editor .cm-panel input{padding:3px;font-size:12px;background:#313131;color:#ccc;border:1px solid #3c3c3c;border-radius:2px}
#code-editor .cm-panel label{display:inline-block;margin:3px}
#code-editor .cm-tooltip{border:1px solid #454545;background:#202020;color:#ccc;border-radius:3px;box-shadow:0 4px 14px #0008}
#code-editor .cm-tooltip-autocomplete{max-width:min(650px,85vw)}
#code-editor .cm-tooltip-autocomplete ul li[aria-selected]{background:#04395e;color:#fff}
#code-editor .cm-tooltip-lint{max-width:min(520px,75vw);max-height:240px;overflow:auto;font:12px/1.6 Menlo,Monaco,Consolas,monospace;overflow-wrap:anywhere}
#code-editor .cm-diagnostic{padding:8px 12px;border-left-width:3px}
#code-editor .cm-diagnostic-error{border-left-color:#f14c4c}
#code-editor .cm-diagnostic-warning{border-left-color:#cca700}
#code-editor .cm-diagnosticSource{font-size:11px;color:#9d9d9d}
#code-editor .cm-lintRange-error{background-image:none;text-decoration:underline wavy #f14c4c;text-underline-offset:3px;text-decoration-thickness:1px}
#code-editor .cm-lintRange-warning{background-image:none;text-decoration:underline wavy #cca700;text-underline-offset:3px;text-decoration-thickness:1px}
#code-editor .cm-completionDetail{margin-left:12px;font-style:normal;color:#9d9d9d}
.editor-help{font-size:11px;margin:0;padding:5px 12px;border-top:1px solid var(--editor-border)}
.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:7px 12px;background:var(--sidebar-bg);border-top:1px solid var(--editor-border)}
.editor-footer>div{display:flex;align-items:center;gap:6px}
.editor-footer .editor-help{padding:0;border:0}
.execution-panel{background:var(--sidebar-bg);margin:0;padding:8px 12px;border:0;border-top:1px solid var(--editor-border);border-radius:0}
.execution-panel summary{font-size:12px;cursor:pointer;color:#ccc}
.execution-panel #run-state{font-size:12px;margin:8px 0}
.execution-panel #evaluation{margin:8px 0;padding:8px 0;max-height:220px;background:transparent;color:#ccc;border-radius:0}
.code-context-menu{position:fixed;z-index:120;min-width:220px;padding:5px;background:#1f1f1f;border:1px solid #454545;border-radius:4px;box-shadow:0 6px 24px #0008}
.code-context-menu button{display:flex;justify-content:space-between;width:100%;margin:0;padding:7px 10px;background:transparent;color:#ccc;font-size:12px;text-align:left}
.code-context-menu button:hover,.code-context-menu button:focus-visible{background:#0078d4;outline:0}
/* The reference preview floats beside the selected symbol, outside document flow. */
.reference-peek{position:fixed;z-index:110;display:flex;flex-direction:column;width:520px;max-width:calc(100vw - 16px);max-height:500px;background:#1f1f1f;color:#ccc;border:1px solid #0078d4;border-top:2px solid #0078d4;border-radius:3px;box-shadow:0 10px 36px #0009;font-size:12px;line-height:1.5;overflow:hidden}
.reference-heading{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#252526;border-bottom:1px solid #333;flex-shrink:0}
.reference-heading strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.peek-symbol{color:#75beff;font-size:16px}
.reference-heading #close-references{margin-left:auto;background:transparent;color:#ccc;padding:0 6px;font-size:18px;line-height:22px}
.reference-heading #close-references:hover{background:#3c3c3c}
#reference-state{font-size:11px;color:#9d9d9d;margin:0;padding:6px 12px;flex-shrink:0}
#reference-results{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-color:#555 transparent;scrollbar-width:thin}
#reference-results details{padding:0;margin:0;border:0;border-radius:0;background:transparent}
#reference-results summary{position:sticky;top:0;z-index:1;padding:7px 10px;background:#252526;color:#ccc;font-size:11px;overflow-wrap:anywhere;cursor:pointer}
#reference-results .reference-location{display:block;width:100%;margin:0;padding:0;text-align:left;border:0;border-left:2px solid transparent;border-radius:0;background:#1f1f1f;color:#ccc;cursor:pointer}
#reference-results .reference-location:hover,#reference-results .reference-location:focus{background:#242c36;border-left-color:#0078d4;outline:0}
.reference-position{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 10px;color:#9d9d9d;font:11px/1.5 ui-monospace,monospace;overflow-wrap:anywhere}
.reference-open{color:#75beff;font-size:15px;flex-shrink:0}
.reference-snippet{display:block;padding:2px 0 8px;border-bottom:1px solid #2b2b2b;font:12px/1.6 Menlo,Monaco,Consolas,monospace;tab-size:4;overflow:hidden}
.reference-code-line{display:flex;min-height:19px}
.reference-code-line.is-match{background:#ffffff05}
.reference-line-number{flex:0 0 43px;padding:0 10px 0 3px;color:#6e7681;text-align:right;user-select:none}
.reference-line-code{display:block;white-space:pre;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;padding-right:10px}
.reference-code-line.is-match .reference-line-code{overflow-x:auto;text-overflow:clip;scrollbar-width:thin}
.reference-match{background:#bb800966;outline:1px solid #bb8009;border-radius:1px}
:where(.reference-match){color:#ccc}
.reference-empty{margin:12px;color:#9d9d9d;font-size:12px}
.reference-footer{display:flex;justify-content:space-between;gap:12px;padding:6px 10px;font-size:10px;color:#9d9d9d;background:#252526;border-top:1px solid #333;flex-shrink:0}
#reference-results .reference-more{display:block;margin:6px auto;padding:5px 12px;background:transparent;color:#75beff}
body.editor-page{overflow:hidden;background:#1f1f1f}
/* Opt-in local measurement, never mounted in normal editing mode. */
#hover-trace{position:fixed;right:12px;top:84px;z-index:150;width:min(540px,calc(100vw - 24px));padding:10px;background:#202020;color:#ccc;border:1px solid #616161;border-radius:4px;box-shadow:0 4px 18px #0008;font-size:12px}
.hover-trace-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#hover-trace strong{margin-right:auto;font-size:12px}
#hover-trace button{font-size:11px;padding:4px 8px}
#hover-trace-state{margin:8px 0 0;font-size:11px;color:#aaa}
#hover-trace-report{height:240px;min-height:120px;max-height:45vh;margin-top:8px;padding:8px;background:#181818;color:#ccc;border:1px solid #454545;border-radius:2px;resize:vertical;font:11px/1.6 ui-monospace,monospace;white-space:pre}
.editor-page>header{display:none}
.editor-page main{max-width:none;width:100%;height:100vh;height:100dvh;margin:0;padding:0}
.editor-page #app>:not(.workspace){display:none}
.editor-page .workspace{display:flex;flex-direction:column;height:100%;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
.editor-page .editor-heading,.editor-page .editor-toolbar,.editor-page .editor-footer{flex-shrink:0}
.editor-page .editor-layout{position:relative;flex:1;min-height:0}
.editor-page .workspace.requirements-open .editor-layout{grid-template-columns:240px minmax(0,1fr) min(44vw,640px)}
.requirements-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--editor-bg);border-left:1px solid #454545;color:var(--editor-fg);overflow:hidden}
.requirements-sidebar-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:35px;padding:0 12px;background:var(--sidebar-bg);border-bottom:1px solid var(--editor-border)}
.requirements-sidebar-heading h2{font-size:12px;font-weight:500;margin:0}
.requirements-sidebar-heading #close-requirements{font-size:20px;line-height:24px;padding:0 6px}
#toggle-requirements[aria-expanded=true]{background:#04395e;color:#fff}
#requirements-dock{flex:1;min-height:0;overflow:hidden}
.requirements-sidebar .markdown-body{display:flex;flex-direction:column;height:100%;max-width:none;margin:0;padding:18px 20px 0;font-size:13px;line-height:1.75;overflow:hidden}
.requirements-sidebar .markdown-body>:not(.markdown-tabpanel){flex-shrink:0}
.requirements-sidebar .markdown-body h1{font-size:19px;line-height:1.5;margin:0 0 6px;letter-spacing:0}
.requirements-sidebar .markdown-body>p{color:var(--editor-muted);font-size:11px;margin:0 0 12px}
.requirements-sidebar .markdown-body h2{font-size:17px;border-color:var(--editor-border)}
.requirements-sidebar .markdown-body h3{font-size:14px}
.requirements-sidebar .markdown-body a{color:#75beff}
.requirements-sidebar .markdown-body code{background:#2d2d2d;color:#d7ba7d;font-size:12px}
.requirements-sidebar .markdown-body pre{padding:12px;background:#181818;border-color:#333}
.requirements-sidebar .markdown-body pre code{background:transparent;color:#ccc}
.requirements-sidebar .markdown-body blockquote{background:#252526;border-color:#0078d4;color:#bbb}
.requirements-sidebar .markdown-body hr,.requirements-sidebar .markdown-table,.requirements-sidebar .markdown-table th,.requirements-sidebar .markdown-table td{border-color:#333}
.requirements-sidebar .markdown-table table{font-size:12px}
.requirements-sidebar .markdown-table th,.requirements-sidebar .markdown-table td{padding:8px 10px}
.requirements-sidebar .markdown-table th{background:#252526}
.requirements-sidebar .markdown-table tbody tr:nth-child(even){background:#ffffff03}
.requirements-sidebar .markdown-tabs{flex-wrap:wrap;gap:0;margin:0;border-color:#454545;overflow:visible}
.requirements-sidebar .markdown-tabs .markdown-tab{padding:8px 10px;font-size:12px;color:#aaa;background:transparent;border-radius:0}
.requirements-sidebar .markdown-tabs .markdown-tab:hover{background:#2b2b2b;color:#fff}
.requirements-sidebar .markdown-tabs .markdown-tab[aria-selected=true]{background:#252526;color:#fff;border-bottom-color:#0078d4}
.requirements-sidebar .markdown-tabpanel{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;padding:0 8px 20px 0}
.requirements-sidebar .markdown-tab:focus-visible,.requirements-sidebar .markdown-tabpanel:focus-visible,.requirements-sidebar .markdown-table:focus-visible{outline-color:#0078d4}
@media(max-width:1000px){
  .editor-page .workspace.requirements-open .editor-layout{grid-template-columns:240px minmax(0,1fr)}
  .requirements-sidebar{position:absolute;z-index:100;inset:0 0 0 auto;width:min(540px,calc(100% - 24px));box-shadow:-8px 0 28px #0008}
}
.editor-page #file-list{max-height:none;height:100%;min-height:0}
.editor-page .editor-main{display:flex;flex-direction:column}
.editor-page #file-path,.editor-page .editor-tabs{flex-shrink:0}
.editor-page #code-editor{flex:1;min-height:100px;height:auto;resize:none}
.editor-page .execution-panel{flex-shrink:0;max-height:25vh;overflow:auto}
.editor-page .editor-help{flex-shrink:0}
@media(max-width:760px){
  .editor-layout{grid-template-columns:1fr}
  #file-list{max-height:200px;border-right:0;border-bottom:1px solid var(--editor-border)}
  .editor-heading{padding:8px 10px;gap:8px}
  .editor-heading-actions{justify-content:flex-end;gap:6px}
  .editor-toolbar kbd{display:none}
  .editor-footer{gap:6px}
  .editor-page .editor-context,.editor-page .editor-main>.editor-help{display:none}
  .editor-page .editor-layout,.editor-page .workspace.requirements-open .editor-layout{grid-template-columns:145px minmax(0,1fr)}
  .editor-page #file-list{border-bottom:0;border-right:1px solid var(--editor-border)}
}

/* Sign-in uses the same typography and controls as the exercise workspace. */
.account-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto;font-size:14px}
.account-controls button{padding:6px 12px}.account-status{max-width:340px;font-size:13px;color:var(--muted,#5c6670)}
.auth-card{max-width:460px;margin:36px auto}.auth-card h1{font-size:28px}.auth-form fieldset{border:0;padding:0;margin:0;min-width:0}
.auth-email{display:grid;gap:14px}.auth-form label{display:grid;gap:6px;font-size:14px}.auth-form input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #cbd5d1;border-radius:8px;padding:12px;font:inherit;background:#fff;color:#172c24}
.auth-form .auth-consent{display:flex;align-items:flex-start;gap:8px;margin:18px 0;line-height:1.7}.auth-consent input{margin-top:6px}
.auth-providers{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.auth-status{min-height:2.8em;line-height:1.7}.auth-dialog{border:1px solid #cbd5d1;border-radius:16px;padding:24px;max-width:540px;width:calc(100% - 64px);max-height:90vh;overflow:auto}.auth-dialog::backdrop{background:#132a2480}.auth-dialog .auth-card{margin:20px auto 0}
@media(max-width:640px){header{flex-wrap:wrap;gap:12px}.account-controls{margin-left:0;width:100%}.auth-card{margin:20px auto}.auth-providers button{flex:1}.auth-dialog{padding:16px}}
