/* Shared header across entry, live dashboard and isolated demo. */
:root{--site-header-height:88px}
@view-transition{navigation:auto}
::view-transition-old(site-header),::view-transition-new(site-header){animation:none;mix-blend-mode:normal}
.site-header{view-transition-name:site-header;position:fixed;inset:0 0 auto;z-index:30;height:var(--site-header-height);display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 clamp(22px,4vw,70px);background:#04101ee8;border-bottom:1px solid #93c7df36;backdrop-filter:blur(16px);box-sizing:border-box;font-family:system-ui,sans-serif}
.site-brand{display:block;width:200px;flex-shrink:0}.site-brand img{display:block;width:100%;height:auto;mix-blend-mode:screen}.site-header nav{display:flex;align-items:center;gap:28px}.site-header nav a{color:#c1d8e6;text-decoration:none;font-size:11px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}.site-header nav a:hover,.site-header nav a[aria-current=page]{color:#9be9ff}.site-header .site-dashboard-link{border:1px solid #8cbed36b;padding:13px 21px;border-radius:24px}.site-header a:focus-visible{outline:2px solid #a8e6fb;outline-offset:4px}
.site-entry{padding-top:var(--site-header-height)}.site-entry .entry-hero{min-height:max(640px,calc(100svh - var(--site-header-height)))}.site-entry .entry-grid{top:calc(var(--site-header-height) + 10px)}
/* Unframed workspace uses the available viewport below the shared header. */
.command-ui.cockpit-layout{min-height:100svh;overflow-x:hidden;padding-top:var(--site-header-height)}.cockpit-layout .cockpit-frame{top:var(--site-header-height);z-index:4}.command-ui.cockpit-layout .app-shell{position:relative;width:calc(100% - 48px);max-width:none;margin:0 auto;padding:24px 0 40px;scroll-padding-top:calc(var(--site-header-height) + 90px);isolation:isolate}.command-ui.cockpit-layout .topbar{position:sticky;top:calc(var(--site-header-height) + 8px);z-index:5;min-height:62px;padding:12px 15px;gap:20px;margin:0 0 22px;background:#071c2ade;border:1px solid #80b6d23d;border-radius:4px;backdrop-filter:blur(10px)}.cockpit-layout .topbar-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.cockpit-layout .topbar .command-nav{margin-right:auto;justify-content:flex-start;flex:1}.cockpit-layout .build-tag{display:none}.cockpit-layout .overview-cover.game-cover{min-height:0;padding:22px 0 28px}.cockpit-layout .table-panel{min-width:0}.cockpit-layout #table-wrap{max-width:100%;overflow-x:auto}.cockpit-layout .app-footer{padding-bottom:20px}.cockpit-layout dialog{max-height:calc(100svh - 36px);overflow-y:auto}.cockpit-layout .cover-heading h1{font-size:clamp(27px,3vw,40px)}.cockpit-layout .cover-community-note{font-size:14px}.consent-settings-link{font:inherit;color:#9fd7ec;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.consent-message{max-width:520px;border:1px solid #8fcde35c;background:#091c2c;color:#dfedf5;border-radius:8px;padding:26px;font:15px/1.8 system-ui,sans-serif}.consent-message::backdrop{background:#010810b8}.consent-message button{padding:10px 18px;background:#c9effc;color:#102b3d;border:0;border-radius:4px;cursor:pointer}.consent-message a{color:#9bdff7}.consent-message h2{font-size:23px;margin-top:0}.consent-message p{color:#b8cedd}
.demo-mode .demo-shell{max-width:none!important}.demo-mode .demo-heading{border:0;padding:6px 0}.demo-mode .demo-heading h1{font-size:32px;letter-spacing:-.03em;margin:10px 0}.demo-mode .demo-heading p{color:#c0d8e5;line-height:1.8}.demo-mode .demo-intro{max-width:none}.demo-mode .demo-intro details{margin:12px 0;color:#b9d4e4;line-height:1.8;font-size:14px}.demo-mode .demo-intro summary{cursor:pointer}.demo-mode .community-notice{background:#061827ac;backdrop-filter:blur(8px);color:#c8e1ec}.demo-mode .demo-select{margin:22px 0}.demo-mode .demo-panel{background:linear-gradient(135deg,#12334b80,#061521b8);backdrop-filter:blur(8px);box-shadow:inset 0 1px #d2f0ff0a,0 10px 35px #0002;border-radius:4px}.demo-mode .demo-panel:first-child{background:linear-gradient(125deg,#104b438f,#09282fa6);border-color:#75dac152}.demo-mode .demo-layout{gap:20px}.demo-mode .demo-table{background:#071b2bb8}.demo-mode .worked-table th{background:#17344988}.demo-mode .worked-table td{background:transparent}.demo-mode .info-body{color:#bfd5e2}.demo-mode footer{padding-top:22px;border-top:1px solid #8bc5dd38;color:#aec8d8}.demo-mode .info-nav a{color:#b4d4e5}.demo-mode .info-body h2{color:#ebf7ff}.demo-mode .demo-tag{margin-right:15px}.demo-mode .demo-metrics .primary-metric strong{font-size:32px}.demo-mode .demo-metrics strong{font-size:23px}
@media(max-width:1100px){.command-ui.cockpit-layout .app-shell{width:calc(100% - 32px);padding:16px 0 28px}.cockpit-layout .topbar .command-nav{order:0;width:auto;gap:15px}.cockpit-layout .topbar{flex-wrap:wrap}.demo-mode .demo-layout{grid-template-columns:1fr}.site-header nav{gap:19px}}
@media(max-width:760px){:root{--site-header-height:76px}.site-header{padding:0 17px;gap:12px}.site-brand{width:135px}.site-header nav{gap:12px}.site-header nav a{font-size:9px;letter-spacing:.025em}.site-header nav a[data-secondary]{display:none}.site-header .site-dashboard-link{padding:10px 12px}.command-ui.cockpit-layout{height:auto;min-height:100svh;overflow:auto;padding-top:var(--site-header-height)}.command-ui.cockpit-layout .app-shell{position:relative;inset:auto;width:100%;max-width:none;padding:16px 14px 28px;overflow:visible}.cockpit-layout .cockpit-frame{display:none}.command-ui.cockpit-layout .topbar{position:relative;top:0;padding:10px;min-height:55px;gap:12px}.cockpit-layout .topbar-actions{gap:6px;flex-wrap:wrap}.cockpit-layout .topbar .command-nav{flex-basis:100%;justify-content:space-between;gap:12px;order:2}.cockpit-layout .cover-heading h1,.demo-mode .demo-heading h1{font-size:27px}.demo-mode .demo-layout{grid-template-columns:1fr}.demo-mode .demo-metrics .primary-metric strong{font-size:29px}.demo-mode .demo-panel{padding:18px}.demo-mode .demo-select{gap:13px}.demo-mode .demo-select label{width:100%}.demo-mode .demo-select select{width:100%}.cockpit-layout .table-heading{flex-wrap:wrap;gap:14px}.site-entry .entry-hero{min-height:calc(100svh - 76px)}}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
/* Keep explanatory copy legible over the bright planet, like the instrument panels. */
.demo-mode .info-body{background:#061827d6;border:1px solid #7eb6d22c;border-radius:4px;padding:16px 20px;backdrop-filter:blur(7px)}.demo-mode .demo-select{padding:16px 20px;background:#061827d6;border:1px solid #7eb6d22c;border-radius:4px}.demo-mode .demo-clock{display:inline-block;background:#061827d6;padding:8px 12px;border-radius:3px;margin:0 0 14px}.demo-mode footer{background:#061827d6;border:1px solid #7eb6d22c;border-radius:4px;padding:16px 20px;margin-top:24px;backdrop-filter:blur(7px)}
/* Calm glass surfaces; retain the green and blue instrument colors. */
.command-ui.cockpit-layout .app-shell{width:calc(100% - clamp(40px,8vw,144px));max-width:1760px}.command-ui.cockpit-layout :is(.metric-card,.table-panel,.plan-panel,.feedback-panel,.support-panel,#accounts-overview,.demo-panel,.topbar){border-radius:14px;border-color:#a3daec30;background:linear-gradient(135deg,rgba(17,48,67,.46),rgba(5,22,37,.58));backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px 0 #d9f5ff12,0 12px 38px #00000024}.command-ui.cockpit-layout .metric-card.featured,.command-ui.cockpit-layout .demo-panel:first-child{background:linear-gradient(135deg,rgba(16,77,66,.50),rgba(7,37,43,.58));border-color:#a6f0d937}.command-ui.cockpit-layout .table-panel,.command-ui.cockpit-layout .demo-table{overflow:hidden}.command-ui.cockpit-layout .worked-table th,.command-ui.cockpit-layout #table-header th{background:#15374b66;border-color:#abd7e529}.command-ui.cockpit-layout .worked-table td,.command-ui.cockpit-layout #rows td{border-color:#a7d2e51c}.command-ui.cockpit-layout .table-heading{border-color:#9ecce324}.command-ui.cockpit-layout .demo-panel{padding:22px}.command-ui.cockpit-layout .overview-cover.game-cover,.command-ui.cockpit-layout.has-history .overview-cover.game-cover{display:block!important;padding:18px 0 22px;min-height:0}.command-ui .game-cover details.folder-panel,.command-ui.has-history .game-cover details.folder-panel{display:block;width:100%;max-width:none;margin:22px 0 0;padding:0;border-radius:14px;background:linear-gradient(135deg,#12324670,#061a2a8f);border:1px solid #9bd3e632;backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px #e2f7ff10,0 10px 35px #0002}.command-ui details.folder-panel>summary{padding:16px 21px;color:#d9edf6;font-size:15px;font-weight:500;cursor:pointer;list-style-position:inside}.command-ui details.folder-panel[open]>summary{border-bottom:1px solid #a4d7e51c}.command-ui .connection-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 22px;padding:16px 21px 20px;animation:connection-reveal .18s ease-out}.command-ui .connection-body .connection-intro{display:block;width:100%;text-align:left;max-width:none}.command-ui .connection-body .connection-intro>strong,.command-ui .connection-body .folder-emblem{display:none}.command-ui .connection-body .connection-intro p{font-size:12px;line-height:1.7;margin:4px 0}.command-ui .connection-body .folder-actions{width:auto;align-self:center;justify-content:flex-end;margin:0}.command-ui .connection-body #connect-folder{min-width:180px;width:auto;padding:12px 18px;border-radius:9px;clip-path:none}.command-ui .connection-body>details,.command-ui .connection-body>.mobile-setup{grid-column:1/-1}.command-ui .connection-body #connection-health,.command-ui .connection-body #connection-help{margin:0;border-radius:9px}.command-ui .connection-body .simple-connection-help .guide-content{max-width:650px}.command-ui #privacy-notice{border-radius:10px;font-size:12px;background:#061d2bc9;border-color:#94d2db39}[data-private-name]{font:inherit}.command-ui .counterparty [data-private-name]{display:block}.privacy-mode .column-ghost [data-private-name]{visibility:hidden}.demo-mode .demo-select,.demo-mode .info-body,.demo-mode footer{border-radius:14px;background:#061827b8;backdrop-filter:blur(15px)}
@keyframes connection-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.command-ui.cockpit-layout .app-shell{width:calc(100% - 40px)}}@media(max-width:760px){.command-ui.cockpit-layout .app-shell{width:100%;padding:16px 14px 28px}.command-ui .connection-body{grid-template-columns:1fr;padding:12px 16px 17px}.command-ui .connection-body .folder-actions{justify-content:flex-start}.command-ui .connection-body #connect-folder{width:100%;min-width:0}.command-ui details.folder-panel>summary{padding:14px 16px}.command-ui.cockpit-layout .demo-panel{padding:18px}}@media(prefers-reduced-motion:reduce){.command-ui .connection-body{animation:none}}

/* Keep the full support disclosure easy to read beside payment methods. */
.support-copy{max-width:76ch}.support-copy p{line-height:1.7;margin:12px 0}.support-copy strong{color:inherit;font-weight:600}

.site-entry footer .community-notice{flex-basis:100%;max-width:900px;margin:0 auto 20px;text-align:left;line-height:1.7}

.site-entry footer{flex-wrap:wrap}.site-entry footer .community-notice{width:100%;max-width:none;flex:0 0 100%;font-size:12px}

.payment-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:20px 0}.payment-methods .support-method{padding:22px;border:1px solid #8fcde039;border-radius:14px;background:linear-gradient(130deg,#12304480,#071725a3);backdrop-filter:blur(12px)}.payment-methods .donate-button{color:#061724;text-decoration:none}.payment-methods p{font-size:14px}.payment-methods .support-qr{max-width:240px;width:100%;height:auto;margin-top:15px}
/* Compact feedback disclosure; collapsing keeps the form and draft mounted. */
.command-ui details.feedback-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:0;color:inherit}
.command-ui details.feedback-panel>summary::-webkit-details-marker{display:none}.feedback-heading{display:block;min-width:0}.feedback-heading .eyebrow{display:block;margin:0 0 10px}.feedback-heading h2{margin:0;font-size:21px;overflow-wrap:anywhere}.feedback-chevron{flex:0 0 9px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:5px;transition:transform .18s ease}.feedback-panel[open] .feedback-chevron{transform:rotate(225deg)}.feedback-body{padding-top:14px}.feedback-panel>summary:focus-visible{outline:2px solid #9bdff5;outline-offset:8px;border-radius:3px}@media(prefers-reduced-motion:reduce){.feedback-chevron{transition:none}}
.wallet-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;margin:0 0 18px;border:1px solid #8bcde23b;border-radius:10px;background:#071c2bd9}.wallet-panel>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.wallet-panel strong{font-size:20px}.wallet-panel small{color:#a4bac6}#wallet-dialog{width:min(540px,calc(100vw - 28px))}#wallet-dialog label{display:block;margin-bottom:8px}#wallet-input{width:100%;font:inherit;padding:12px;border:1px solid #537180;border-radius:6px;background:#0b1822;color:#edfaff}#wallet-dialog p{line-height:1.6}#wallet-error{color:#ffb2a9}#wallet-account{font-weight:600}
.limit-watch.has-pattern-proposals{border-color:#e8c57a!important}.limit-watch.has-pattern-proposals #monitor-state{color:#f2d38b}
.companion-store-link{margin:12px 0 8px;font-size:14px;line-height:1.6;color:#c4dce8}.companion-store-link a{color:#9fdef8;text-decoration:underline;text-underline-offset:3px}.companion-store-link a:focus-visible{outline:2px solid #a8e6fb;outline-offset:3px}
.transaction-direction-tabs{display:flex;align-items:center;gap:6px;padding:0;border:0;flex-shrink:0}.transaction-direction-tabs button{font:inherit;min-height:42px;min-width:120px;padding:10px 20px;color:#bdd2df;background:transparent;border:1px solid #8cc6df42;border-radius:8px;cursor:pointer}.transaction-direction-tabs button[aria-selected=true]{color:#082134;background:#a2dfff;border-color:#a2dfff;font-weight:600}.transaction-direction-tabs button:focus-visible{outline:2px solid #c5f0ff;outline-offset:3px}@media(max-width:600px){.transaction-direction-tabs button{flex:1;min-width:0}}

/* Direction controls must keep their intrinsic width, not inherit title flex sizing. */
.command-ui .table-heading>.transaction-direction-tabs{flex:0 0 auto;min-width:0;max-width:100%;flex-wrap:wrap;gap:6px}.command-ui .table-heading>.transaction-direction-tabs button{flex:0 0 auto;white-space:nowrap}.command-ui .table-heading>.environment-control{flex:0 1 auto;min-width:0;flex-wrap:wrap}.command-ui .table-heading>.environment-control select{min-width:110px}.command-ui .table-heading>button,.command-ui .table-heading>.count-chip{flex-shrink:0}
@media(max-width:600px){.command-ui .table-heading>div:first-child{flex-basis:100%;min-width:0}.command-ui .table-heading>.transaction-direction-tabs{flex:1 0 100%}.command-ui .table-heading>.transaction-direction-tabs button{flex:1 1 0;min-width:0;padding-inline:12px}}

.history-result-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0}.history-result-meta>p{margin:0}.history-filtered-totals{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 22px;padding:12px 16px;border:1px solid #8acde440;border-radius:8px;background:#0a2434}.history-filtered-totals[hidden]{display:none}.history-totals-label{font-size:13px;color:#a9c4d3}.history-total{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:14px}.history-total strong{color:#a2e6f4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.history-total-unknown strong{color:#ffd185}@media(max-width:600px){.history-filtered-totals{width:100%;justify-content:flex-start;box-sizing:border-box}.history-totals-label{flex-basis:100%}}

/* Uniform history filters across native selects, dates and text inputs. */
#history-form .history-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}#history-form .history-filter-grid>label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}#history-form .history-filter-grid input,#history-form .history-filter-grid select{box-sizing:border-box;display:block;width:100%;min-width:0;height:48px;min-height:48px;max-height:48px;margin:0;padding:10px 12px;border:1px solid #476171;border-radius:7px;background:#0b1b28;color:#e3eef5;font:14px/1.4 system-ui,sans-serif}#history-form .history-filter-grid select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23bdd6e4' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}#history-form .history-filter-grid input:focus-visible,#history-form .history-filter-grid select:focus-visible{outline:2px solid #a2dfff;outline-offset:2px}#history-form input[type=datetime-local]::-webkit-datetime-edit{font:inherit;padding:0}#history-form input[type=datetime-local]::-webkit-calendar-picker-indicator{margin:0;padding:0;flex-shrink:0}@media(max-width:900px){#history-form .history-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){#history-form .history-filter-grid{grid-template-columns:minmax(0,1fr)}}
