:root{--os-font: "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;--os-fs-xs: .64rem;--os-fs-sm: .7rem;--os-fs: .78rem;--os-ui-fg: #ffffff;--os-ui-muted: #c8cde0;--os-ui-disabled: #808080;--os-ui-bg: #313a5f;--os-ui-bg-solid: #313a5f;--os-ui-inset: #2a3253;--os-ui-title: #21253f;--os-ui-title-active: #3a4470;--os-ui-grid: rgba(255, 255, 255, .13);--os-ui-grid-strong: rgba(255, 255, 255, .24);--os-ui-hover: #414c7a;--os-ui-selected: #4d5c96;--os-ui-button: #313a5f;--os-ui-button-primary: #45528a;--os-ui-danger: #ffaca0;--os-ui-danger-bg: #4e2836;--os-ui-warning: #ffff62;--os-ui-track: #21253f;--os-ui-thumb: #7888be;--os-top-h: 1.5rem;--os-bottom-h: 1.75rem;--os-edge: .5rem;--os-content-h: calc(100svh - var(--os-top-h) - var(--os-bottom-h) - 2 * var(--os-edge));--os-minimap-clear: 10.25rem;color:var(--os-ui-fg);background:#000006;font-family:var(--os-font);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:#000006}body.dashboard-active{overflow:hidden}button{min-height:1.45rem;border:1px solid var(--os-ui-grid-strong);border-radius:0;padding:.24rem .55rem;background:var(--os-ui-button);color:var(--os-ui-fg);cursor:pointer;font:inherit;line-height:1.15;box-shadow:none}button:hover:not(:disabled){background:var(--os-ui-selected)}button:disabled{cursor:not-allowed;color:var(--os-ui-disabled)}.primary-action,.research-actions .research-primary{border-color:#ffffff80;background:var(--os-ui-button-primary);font-weight:700}.primary-action:disabled,.research-actions .research-primary:disabled{border-color:var(--os-ui-grid-strong);background:var(--os-ui-button);font-weight:400}.danger-action{border-color:#ff8c808c;background:var(--os-ui-danger-bg);color:var(--os-ui-danger)}.danger-action:hover:not(:disabled){background:#6a3040}.danger-action:disabled{border-color:var(--os-ui-grid);background:var(--os-ui-button)}input,select,textarea{min-width:0;border:1px solid var(--os-ui-grid-strong);border-radius:0;padding:.3rem .4rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit}input{width:100%}input[type=checkbox],input[type=radio]{width:auto}label{display:grid;gap:.22rem;color:var(--os-ui-muted);font-size:var(--os-fs-sm);font-weight:700}form{display:grid;gap:.55rem;margin:0}h1,h2,h3{margin:0;font:inherit;font-weight:700}:is(button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #a8d4ff;outline-offset:1px}.status{justify-self:start;color:var(--os-ui-muted);font-size:var(--os-fs-sm)}.status:not([data-state=error]):not([data-state=loading]){display:none}.status[data-state=ok]{color:#9df0df}.status[data-state=error]{color:var(--os-ui-danger)}pre{margin:0;white-space:pre-wrap}#app{width:min(30rem,calc(100% - 2rem));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;padding:1rem 0;font-size:.8rem}.login-card{display:grid;gap:.55rem;border:1px solid var(--os-ui-grid-strong);padding:.8rem;background:var(--os-ui-bg)}.login-card h1{border-bottom:1px solid var(--os-ui-grid-strong);padding-bottom:.35rem;font-size:1.05rem}.login-card h2{font-size:.86rem}.login-card p{margin:0;color:var(--os-ui-muted);line-height:1.35}.login-card button{min-height:1.9rem}#position-form button[type=submit],#login-form button[type=submit]{border-color:#ffffff80;background:var(--os-ui-button-primary);font-weight:700}#starting-form{border-top:1px solid var(--os-ui-grid-strong);margin-top:.25rem;padding-top:.75rem}#starting-form p{font-size:var(--os-fs-sm)}#picker-sign-out,#picker-password{justify-self:start}body.dashboard-active .login-card{display:none}body.dashboard-active #app{width:100%;height:100svh;min-height:0;align-items:stretch;padding:var(--os-top-h) 0 var(--os-bottom-h)}.dashboard[hidden]{display:none}body.dashboard-active .dashboard{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden}.dashboard-header,.stats,.columns,.map-panel .section-title,#output{display:none}.map-panel{display:grid;grid-template-rows:minmax(0,1fr);min-height:0}.game-menu{position:fixed;top:0;right:0;left:0;z-index:30;display:flex;height:var(--os-top-h);border-bottom:1px solid var(--os-ui-grid-strong);background:var(--os-ui-title);font-size:var(--os-fs-sm)}.game-menu button{flex:1 1 0;min-width:0;min-height:0;border:0;border-right:1px solid var(--os-ui-grid);padding:0 .35rem;background:transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-menu button:hover:not(:disabled){background:var(--os-ui-selected)}.game-menu button.has-unread{color:var(--os-ui-warning)}.game-menu button.has-alert{color:#ff9d8c;font-weight:700}.session-toolbar{position:fixed;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;gap:.65rem;height:var(--os-bottom-h);border-top:1px solid var(--os-ui-grid-strong);padding:0 .5rem;background:var(--os-ui-title);color:var(--os-ui-fg);font-size:var(--os-fs-sm);white-space:nowrap}.session-toolbar button{min-height:1.2rem;padding:.05rem .5rem}#session-state{color:var(--os-ui-muted)}#turn-notice:not(:empty){color:var(--os-ui-warning)}.session-toolbar p{position:absolute;right:0;bottom:100%;left:0;margin:0;border-top:1px solid var(--os-ui-grid-strong);padding:.25rem .5rem;background:var(--os-ui-title);color:var(--os-ui-warning);white-space:normal}.session-toolbar[hidden],.session-toolbar p[hidden],#login-form[hidden],#position-form[hidden],#starting-form[hidden],#starting-vip-label[hidden],#registration-form[hidden],#picker-sign-out[hidden],#picker-password[hidden],#picker-password-panel[hidden]{display:none}#login-error:empty{display:none}.space-map{position:relative;min-height:0;height:100%;overflow:hidden;background:#000006;cursor:grab;-webkit-user-select:none;user-select:none}.space-map:active{cursor:grabbing}.star-map-canvas{display:block;width:100%;height:100%}body.dialog-modal-open .space-map{filter:brightness(.55)}.map-controls{position:absolute;right:var(--os-edge);bottom:var(--os-edge);z-index:2;display:flex;align-items:center;gap:2px;border:1px solid var(--os-ui-grid-strong);padding:2px;background:var(--os-ui-title);font-size:var(--os-fs-xs)}.map-controls:before{content:"Show";padding:0 .3rem;color:var(--os-ui-muted)}.map-control{min-height:1.2rem;border-color:var(--os-ui-grid);padding:.05rem .35rem;background:transparent;color:var(--os-ui-disabled)}.map-control[aria-pressed=true]{border-color:var(--os-ui-grid-strong);background:var(--os-ui-button);color:var(--os-ui-fg)}.map-control-fit{margin-left:.35rem;color:var(--os-ui-fg)}.map-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;margin:0;padding:1rem;color:var(--os-ui-muted);text-align:center}.map-empty[hidden]{display:none}.map-tooltip{position:absolute;z-index:3;display:grid;gap:.12rem;min-width:13rem;max-width:24rem;border:1px solid var(--os-ui-grid-strong);padding:.35rem .45rem;background:var(--os-ui-bg);color:var(--os-ui-fg);font-size:var(--os-fs-sm);line-height:1.2;pointer-events:none;text-align:left;white-space:pre-wrap;box-shadow:0 .4rem 1.2rem #0009}.map-tooltip[hidden]{display:none}.map-tooltip strong{font-weight:700}.map-tooltip-object{display:grid;gap:.12rem}.map-tooltip-object+.map-tooltip-object{margin-top:.28rem;border-top:1px solid var(--os-ui-grid-strong);padding-top:.28rem}.map-dialog{--dialog-w: 25rem;position:fixed;top:calc(var(--os-top-h) + var(--os-edge));right:var(--os-edge);width:min(var(--dialog-w),calc(100vw - 2 * var(--os-edge)));max-height:var(--os-content-h);overflow:auto;overflow-x:hidden;border:1px solid var(--os-ui-grid-strong);background:var(--os-ui-bg);color:var(--os-ui-fg);font-size:var(--os-fs);line-height:1.25;box-shadow:0 .75rem 2.5rem #000000b3;scrollbar-color:var(--os-ui-thumb) var(--os-ui-track);scrollbar-width:thin}.map-dialog[hidden]{display:none}.map-dialog.active-dialog{border-color:#ffffff8c}.map-dialog[inert]{filter:brightness(.6) saturate(.7)}.map-dialog.wide-dialog,.map-dialog.planet-dialog,.map-dialog.empire-list-dialog,.map-dialog.systems-overview-dialog{right:auto;left:max(var(--os-edge),calc((100vw - var(--dialog-w)) / 2));width:min(var(--dialog-w),calc(100vw - 2 * var(--os-edge)))}.map-dialog.wide-dialog{--dialog-w: clamp(68rem, 80vw, 100rem)}.map-dialog.planet-dialog{--dialog-w: clamp(56rem, 62vw, 72rem)}.map-dialog.empire-list-dialog,.map-dialog.systems-overview-dialog{--dialog-w: clamp(76rem, 85vw, 110rem)}.map-dialog.fleet-dialog{--dialog-w: clamp(50rem, 60vw, 72rem)}.map-dialog.research-dialog{--dialog-w: clamp(68rem, 75vw, 96rem)}.map-dialog.construction-centre-dialog{--dialog-w: clamp(56rem, 65vw, 80rem)}.map-dialog.messages-dialog{--dialog-w: clamp(50rem, 65vw, 80rem)}.map-dialog.diplomacy-dialog{--dialog-w: clamp(60rem, 80vw, 90rem)}.map-dialog.empire-overview-dialog{--dialog-w: clamp(44rem, 55vw, 64rem)}.map-dialog.tech-dialog{--dialog-w: 52rem}.map-dialog.component-selector-dialog{--dialog-w: 42rem}.map-dialog.new-message-dialog{--dialog-w: 40rem}.map-dialog.fleet-specs-dialog,.map-dialog.ship-redirection-dialog{--dialog-w: 44rem}.map-dialog.rename-system-dialog{--dialog-w: 32rem}.map-dialog.select-object-dialog{--dialog-w: 16rem}.map-dialog.fleet-order-dialog{--dialog-w: 20rem}.map-dialog.fleet-order-dialog,.map-dialog.scout-wave-dialog-aside{top:calc(var(--os-top-h) + var(--os-minimap-clear));max-height:calc(var(--os-content-h) - var(--os-minimap-clear) + var(--os-edge))}.map-dialog-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid var(--os-ui-grid-strong);padding:.3rem .45rem;background:var(--os-ui-title)}.map-dialog.active-dialog .map-dialog-header{background:var(--os-ui-title-active)}.map-dialog-close{min-height:1.3rem;padding:.1rem .45rem}.map-dialog-body{padding:.45rem}.planet-dialog .map-dialog-body{padding:0}.dialog-pending{margin:0;border-bottom:1px solid var(--os-ui-grid);padding:.4rem .6rem;color:var(--os-ui-warning);overflow-wrap:anywhere}.map-dialog h4{margin:0 0 .5rem;font:inherit;font-size:.86rem;font-weight:700}.map-dialog,.dialog-scroll,.tech-grid,.tech-list,.research-table{scrollbar-color:var(--os-ui-thumb) var(--os-ui-track);scrollbar-width:thin}.dialog-note,.dialog-copy{margin:.35rem 0;color:var(--os-ui-muted);font-size:.74rem;line-height:1.35}.info-tip{display:inline-grid;place-items:center;width:.95rem;height:.95rem;margin-left:.3rem;border:1px solid var(--os-ui-grid-strong);border-radius:50%;color:var(--os-ui-muted);cursor:help;font-size:.6rem;font-weight:700;line-height:1;vertical-align:middle}.info-tip:hover,.info-tip:focus-visible{border-color:var(--os-ui-fg);color:var(--os-ui-fg)}.unknown{color:var(--os-ui-disabled)!important}.dialog-error{min-height:1rem;margin:0;color:#ff9d7c;font-size:var(--os-fs-sm)}.dialog-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.6rem}.planet-metric,.bevel-metric,.map-dialog dl div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.1rem .5rem;min-width:0;min-height:1.7rem;border:1px solid var(--os-ui-grid);border-top-color:var(--os-ui-grid-strong);border-left-color:var(--os-ui-grid-strong);padding:.22rem .35rem;background:transparent;box-shadow:inset 1px 1px #ffffff14,inset -1px -1px #00000047}.planet-metric span,.bevel-metric span,.map-dialog dt{color:var(--os-ui-muted);font-size:.66rem;font-weight:400;line-height:1.2}.planet-metric strong,.bevel-metric strong,.map-dialog dd{min-width:0;margin:0 0 0 auto;color:var(--os-ui-fg);font-size:.76rem;font-weight:400;line-height:1.2;text-align:right;overflow-wrap:anywhere}.planet-metric.metric-warn strong{color:var(--os-ui-warning)}.planet-metric small,.bevel-metric small{flex-basis:100%;color:var(--os-ui-muted);font-size:.66rem;line-height:1.2}.bevel-metric input,.bevel-metric select,.bevel-metric button{min-width:0;max-width:100%}.bevel-metric.wide{grid-column:span 2}.map-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;margin:0}.bevel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;padding:.3rem}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.3rem}.planet-system-strip{display:grid;grid-template-columns:6rem minmax(0,1fr);height:8.5rem;overflow:hidden;border-bottom:1px solid var(--os-ui-grid-strong);background:#000}.planet-system-strip-empty{display:grid;min-height:4rem;place-items:center}.system-star{width:100%;height:100%;object-fit:cover;object-position:right center}.system-star-button{display:block;min-width:0;border:0;border-radius:0;padding:0;background:#000;box-shadow:none}.system-bodies{display:flex;align-items:center;gap:clamp(.75rem,2.2vw,1.75rem);min-width:0;overflow-x:auto;padding:.4rem 1.2rem .3rem}.system-body{position:relative;display:grid;flex:0 0 auto;min-width:max(3.25rem,calc(var(--planet-width, 30px) + .75rem));justify-items:center;gap:.35rem;border:0;border-radius:0;padding:0;background:transparent;color:#d5d1ff;font:inherit;font-size:.66rem;box-shadow:none}.system-star-button:hover:not(:disabled){background:#000}.system-body:hover:not(:disabled){background:transparent}.system-body img{width:var(--planet-width, 30px);height:auto;max-height:64px;object-fit:contain;image-rendering:auto}.system-body span{max-width:100%;overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}.system-body.selected:before,.system-body.selected:after{content:"";width:0;height:0;border-right:.35rem solid transparent;border-left:.35rem solid transparent}.system-body.selected:before{border-top:.7rem solid var(--os-ui-fg)}.system-body.selected:after{border-bottom:.7rem solid var(--os-ui-fg)}.planet-pane{background:var(--os-ui-bg)}.planet-title,.planet-card h5{margin:0;border-top:1px solid var(--os-ui-grid-strong);border-bottom:1px solid var(--os-ui-grid);padding:.25rem .45rem;background:var(--os-ui-title);color:var(--os-ui-fg);font:inherit;font-weight:700}.planet-columns{display:grid;grid-template-columns:minmax(18rem,1.15fr) minmax(16rem,1fr);align-items:start}.planet-card{min-height:0;border-right:1px solid var(--os-ui-grid);border-bottom:1px solid var(--os-ui-grid)}.planet-column{display:flex;flex-direction:column;min-width:0}.system-columns>.planet-card{grid-column:1 / -1}.system-dialog .planet-card{min-height:auto}.planet-metrics{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));gap:.25rem;padding:.3rem}.compact-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.system-bevel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.structure-grid{display:flex;flex-wrap:wrap;gap:.25rem;padding:.7rem}.structure-slot{display:grid;width:2.35rem;height:2.35rem;place-items:center;border:1px solid var(--os-ui-grid-strong);border-radius:0;padding:0;background:var(--os-ui-inset);box-shadow:none}.structure-slot.empty{background:#6e6e6e47}.structure-slot.empty:not(:disabled),.queue-item.new-task{color:var(--os-ui-fg);border-style:dashed}.structure-slot.potential{color:var(--os-ui-muted);background:transparent;border-style:dashed;opacity:.6}.structure-slot.incoming{position:relative;border-color:#8dd8ff;filter:none}.slot-projection-summary{flex-basis:100%;margin:.3rem 0 0}.structure-slot.has-problem{position:relative;border-color:#ffb45c}.structure-state-badge{position:absolute;right:0;bottom:0;padding:0 .1rem;background:#302218;color:#ffd292;font-size:.55rem;line-height:1.1}.structure-slot.queued{opacity:.58;filter:grayscale(.75)}.structure-slot.queued.overflow{border-color:#ff7070d1;background:#762424b8;filter:grayscale(.45) sepia(.55) saturate(1.5);opacity:.82}.structure-slot img{max-width:100%;max-height:100%;image-rendering:pixelated}.queue-list{display:flex;flex-wrap:wrap;gap:.25rem;padding:.7rem}.queue-unavailable{align-self:center;color:var(--os-ui-muted)}.queue-item{position:relative;display:grid;width:2.35rem;height:2.35rem;place-items:center;border:1px solid var(--os-ui-grid-strong);border-radius:0;padding:0;background:#444;color:var(--os-ui-fg);font:inherit;box-shadow:none}.queue-item.is-ship{background:var(--os-ui-inset)}.queue-item img{max-width:100%;max-height:100%;image-rendering:pixelated}.queue-eta,.queue-qty{position:absolute;padding:0 .1rem;background:#0000009e;font-size:.55rem;font-weight:700;line-height:1.1}.queue-eta{top:0;right:0}.queue-qty{bottom:0;left:0}.queue-item.new-task{place-items:end start;padding:.1rem .15rem;background:#6e6e6e47;font-size:.6rem;font-weight:700}.structure-slot.selected,.queue-item.selected{outline:2px solid var(--os-ui-fg);outline-offset:-2px}.planet-info-card{min-height:12.5rem}.planet-info-card.is-preview h5{color:var(--os-ui-muted)}.planet-info-hint{margin:0;padding:.5rem .6rem;color:var(--os-ui-muted);font-size:.72rem}.planet-info-card .structure-status-table tbody,.planet-info-card .task-status-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.6rem;padding:0 .3rem}.planet-info-card .structure-status-table tr,.planet-info-card .task-status-table tr{display:flex;justify-content:space-between;gap:.4rem;border-bottom:1px solid var(--os-ui-grid)}.planet-info-card .structure-status-table th,.planet-info-card .structure-status-table td,.planet-info-card .task-status-table th,.planet-info-card .task-status-table td{width:auto;min-width:0;border:0;padding:.14rem 0;font-size:.7rem;white-space:nowrap}.planet-info-card .structure-status-table td,.planet-info-card .task-status-table td{overflow:hidden;text-align:right;text-overflow:ellipsis}.planet-info-card [hidden]{display:none!important}.planet-info-card .dialog-note,.planet-info-card .dialog-error:empty,.planet-info-card [data-inspector-status]:empty{margin:.2rem .4rem}.planet-info-card .dialog-error:empty,.planet-info-card [data-inspector-status]:empty{display:none}.structure-status{min-width:0;background:var(--os-ui-bg)}.structure-status-table,.task-status,.task-status-table{width:100%}.task-status-table th,.task-status-table td,.structure-status-table th,.structure-status-table td{border-bottom:1px solid var(--os-ui-grid);padding:.14rem .22rem;font-size:.66rem}.task-status-table th,.structure-status-table th{text-align:left}.task-status-table .num,.structure-status-table .num{text-align:right}.info-actions{display:grid;margin-top:.3rem;grid-template-columns:repeat(4,minmax(1.8rem,auto)) repeat(3,minmax(3.8rem,1fr));border-top:1px solid var(--os-ui-grid-strong)}.info-actions button{min-height:1.3rem;border-left:0;border-bottom:0;padding:.12rem .22rem;font-size:.66rem}.system-table-wrap{max-width:100%;overflow-x:auto;padding:.25rem}.system-planet-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.system-planet-table th,.system-planet-table td{border-right:1px solid var(--os-ui-grid);border-bottom:1px solid var(--os-ui-grid);padding:.14rem .18rem;color:var(--os-ui-fg);font:inherit;font-size:.64rem;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.system-planet-table th:last-child,.system-planet-table td:last-child{border-right:0}.system-planet-table th{color:var(--os-ui-muted);font-weight:700}.system-planet-table th:nth-child(1),.system-planet-table td:nth-child(1){width:15%}.system-planet-table th:nth-child(2),.system-planet-table td:nth-child(2){width:10%}.system-planet-table th:nth-child(3),.system-planet-table td:nth-child(3),.system-planet-table th:nth-child(4),.system-planet-table td:nth-child(4),.system-planet-table th:nth-child(5),.system-planet-table td:nth-child(5){width:5%}.system-planet-table th:nth-child(6),.system-planet-table td:nth-child(6){width:7%}.system-planet-table th:nth-child(7),.system-planet-table td:nth-child(7),.system-planet-table th:nth-child(9),.system-planet-table td:nth-child(9){width:4%}.system-planet-table th:nth-child(8),.system-planet-table td:nth-child(8){width:7%}.system-planet-table th:nth-child(10),.system-planet-table td:nth-child(10){width:6%}.system-planet-table th:nth-child(11),.system-planet-table td:nth-child(11){width:8%}.system-planet-table th:nth-child(12),.system-planet-table td:nth-child(12){width:24%}.system-planet-table tfoot td{border-top:1px solid var(--os-ui-grid-strong);font-weight:700}.system-planet-table .num{text-align:right}.system-planet-row{cursor:default}.system-planet-name{display:flex;align-items:center;gap:.22rem;min-width:0}.system-planet-name img{width:1.25rem;max-height:1.25rem;object-fit:contain}.system-summary-table{width:100%;border-collapse:collapse;table-layout:fixed}.system-summary-table th,.system-summary-table td{border-right:1px solid var(--os-ui-grid);border-bottom:1px solid var(--os-ui-grid);padding:.28rem .45rem;color:var(--os-ui-fg);font:inherit;font-size:.74rem;text-align:left;vertical-align:top}.system-summary-table th{width:7rem;color:var(--os-ui-muted);font-weight:400}.system-summary-table td{font-weight:700}.system-summary-table td small{display:block;margin-top:.08rem;color:var(--os-ui-muted);font-size:.66rem;font-weight:400}.system-summary-columns tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.system-summary-columns tr{display:grid;grid-template-columns:5.5rem minmax(0,1fr)}.dense-table{width:100%;border-collapse:collapse;table-layout:fixed}.dense-table th,.dense-table td{border-bottom:1px solid var(--os-ui-grid);padding:.24rem .35rem;color:var(--os-ui-fg);font:inherit;font-size:.72rem;text-align:left;vertical-align:top;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dense-table th{color:var(--os-ui-muted);font-weight:700}.dense-table .num{text-align:right}.selectable-table tbody tr{cursor:default}.selectable-table tbody tr:hover{background:var(--os-ui-hover)}.selectable-table tbody tr.selected{background:var(--os-ui-selected)}.research-layout{display:grid;grid-template-columns:minmax(22rem,1fr) minmax(22rem,1fr);gap:.25rem;height:calc(var(--os-content-h) - 5.5rem);min-height:24rem}.research-layout h4{margin:0;border-bottom:1px solid var(--os-ui-grid);padding:.2rem .3rem;background:var(--os-ui-title);color:var(--os-ui-fg);font-size:.78rem}.research-known,.research-right{display:flex;flex-direction:column;min-width:0;min-height:0}.research-table{display:block;flex:1 1 0;min-height:6rem;overflow:auto;scrollbar-gutter:stable}.queue-table{flex:0 1 auto;min-height:5.6rem;max-height:40%}.research-table thead,.research-table tbody,.research-table tr{display:table;width:100%;table-layout:fixed}.research-table th:nth-child(1),.research-table td:nth-child(1){width:66%}.research-table th:nth-child(2),.research-table td:nth-child(2){width:14%}.research-table th:nth-child(3),.research-table td:nth-child(3){width:20%}.queue-table th:nth-child(1),.queue-table td:nth-child(1){width:8%}.queue-table th:nth-child(2),.queue-table td:nth-child(2){width:48%}.queue-table th:nth-child(3),.queue-table td:nth-child(3){width:12%}.queue-table th:nth-child(4),.queue-table td:nth-child(4){width:18%}.queue-table th:nth-child(5),.queue-table td:nth-child(5){width:14%}.research-group-row td{border-right:0;border-bottom-color:var(--os-ui-grid-strong);padding:.18rem .35rem;background:var(--os-ui-title);color:var(--os-ui-muted);font-size:.64rem;font-weight:700;text-transform:uppercase}.research-table th,.research-table td{border-right:1px solid var(--os-ui-grid);vertical-align:middle}.research-table th:last-child,.research-table td:last-child{border-right:0}.research-actions{display:flex;flex-wrap:wrap;gap:.18rem;align-items:center;min-height:1.7rem;padding:.18rem 0}.research-control-stack{display:grid;gap:.02rem}.research-filter-actions{padding-top:0}.research-actions button{min-height:1.55rem;padding:.18rem .48rem;font-size:.72rem;font-weight:700}.research-actions button:disabled{font-weight:400}.research-actions .research-toggle{display:inline-flex;align-items:center;gap:.3rem;min-height:1.35rem;border:0;padding:.1rem .45rem;background:transparent;color:var(--os-ui-muted);font:inherit;font-size:.66rem;font-weight:400;line-height:1.15;text-transform:none;white-space:nowrap}.research-actions .research-toggle input{width:.78rem;height:.78rem;margin:0}.dialog-two-col,.dialog-three-col{display:grid;gap:.65rem;min-height:0}.dialog-two-col{grid-template-columns:minmax(0,1.1fr) minmax(18rem,.9fr)}.dialog-three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.dialog-scroll,.tech-list{max-height:calc(var(--os-content-h) - 5rem);overflow:auto}.tech-grid,.tech-list{display:grid;gap:.25rem}.tech-grid{grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));max-height:calc(var(--os-content-h) - 7rem);overflow:auto}.tech-grid button,.tech-list button{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.35rem;min-height:2.25rem;border:1px solid var(--os-ui-grid);border-radius:0;padding:.2rem .3rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit;text-align:left;box-shadow:none}.tech-list button{grid-template-columns:2rem minmax(0,1fr) auto}.tech-grid button.selected{border-color:#ffffff8c;background:var(--os-ui-selected)}.build-tech-grid button{grid-template-columns:2rem minmax(0,1fr)}.construction-picker .build-tech-grid{grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));margin-top:.5rem}.build-tech-grid button img{grid-row:span 2}.build-tech-grid button small{grid-column:2}.build-tech-grid button span{white-space:normal}.tech-grid img,.tech-list img,.tech-detail img{width:2rem;height:2rem;object-fit:contain;image-rendering:pixelated}.tech-grid span,.tech-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tech-list small{color:var(--os-ui-muted);font-size:.66rem;white-space:nowrap}.tech-detail{display:grid;grid-template-columns:3rem minmax(0,1fr);align-items:center;gap:.55rem;margin-bottom:.6rem}.tech-detail img{width:3rem;height:3rem}.tech-detail p,.dialog-note,.dialog-copy,.message-list p{margin:.35rem 0;color:var(--os-ui-muted);font-size:.74rem;line-height:1.35}.tech-dialog .dialog-scroll{max-height:calc(var(--os-content-h) - 11rem)}.tech-dialog-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem}.tech-dialog .tech-reference{border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;text-decoration:underline;white-space:normal;cursor:pointer}.tech-dialog [data-tech-back]{margin-bottom:.5rem;max-width:100%;white-space:normal}@media (max-width: 600px){.tech-dialog-layout{grid-template-columns:minmax(0,1fr)}}.construction-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,.45fr);gap:.75rem}.construction-centre{display:grid;grid-template-columns:minmax(13rem,.78fr) minmax(24rem,1.35fr);min-height:min(28rem,calc(var(--os-content-h) - 3rem))}.construction-designs,.construction-design-detail{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;border-right:1px solid var(--os-ui-grid)}.construction-design-detail{border-right:0;grid-template-rows:auto auto auto auto;align-content:start;overflow:auto}.construction-centre h4,.construction-equipment-section h5{display:flex;align-items:center;justify-content:flex-start;gap:.35rem;margin:0;border-bottom:1px solid var(--os-ui-grid-strong);padding:.18rem .3rem;background:var(--os-ui-title);color:var(--os-ui-fg);font:inherit;font-weight:700}.construction-equipment-section h5 button{order:0;min-height:1.15rem;padding:.04rem .45rem;font-size:.62rem;font-weight:600}.construction-equipment-section h5 span{order:1}.construction-design-table,.construction-equipment-table{align-self:start;width:100%;height:auto;table-layout:fixed;border-collapse:collapse}.construction-design-table{grid-row:2}.construction-design-table th,.construction-design-table td,.construction-equipment-table td{border-right:1px solid var(--os-ui-grid);padding:.04rem .22rem;font-size:.68rem;line-height:1.08;vertical-align:middle}.construction-design-table th:nth-child(1),.construction-design-table td:nth-child(1),.construction-design-table th:nth-child(2),.construction-design-table td:nth-child(2),.construction-equipment-table td:nth-child(1){width:2.3rem}.construction-design-table th:nth-child(4),.construction-design-table td:nth-child(4){width:4rem}.construction-design-form{display:grid}.construction-field{display:grid;grid-template-columns:4.6rem minmax(7rem,1fr) 4.7rem 3.4rem;gap:.22rem;border-bottom:1px solid var(--os-ui-grid);padding:.1rem .28rem;font-size:.68rem;line-height:1.15}.construction-field span{color:var(--os-ui-muted)}.construction-field strong{overflow:hidden;color:var(--os-ui-fg);font-weight:500;text-align:left;text-overflow:ellipsis;white-space:nowrap}.construction-field input,.construction-field .construction-link{min-height:1.1rem;border:0;padding:0;background:transparent;color:var(--os-ui-fg);font:inherit;font-size:.68rem;text-align:left}.construction-field .construction-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.construction-equipment-section{min-height:0}.construction-equipment-table td:nth-child(2){width:11rem}.construction-equipment-table td:nth-child(3){color:var(--os-ui-muted)}.construction-equipment-table td:nth-child(4){width:3rem}.construction-equipment-table tr.selected{background:var(--os-ui-selected)}.construction-equipment-controls{display:flex;gap:.12rem;justify-content:flex-end}.construction-equipment-controls button{min-width:1.15rem;min-height:1.15rem;padding:0;font-size:.62rem}.construction-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;border-top:1px solid var(--os-ui-grid-strong);padding:.3rem}.construction-bevel-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.construction-design-form .bevel-metric input,.construction-design-form .bevel-metric .construction-link{min-height:auto;border:0;padding:0;background:transparent;color:var(--os-ui-fg);font:inherit;font-size:.76rem;line-height:1.1;text-align:left}.construction-design-form .bevel-metric .construction-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.construction-bottom-actions,.construction-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--os-ui-grid-strong)}.construction-bottom-actions button{min-height:1.45rem;border-top:0;font-size:.68rem}.construction-detail-actions{display:flex;gap:.25rem;padding:.3rem}.construction-detail-actions button{white-space:nowrap}.construction-detail-actions .danger-action{margin-left:auto}.component-selector-table{width:100%;table-layout:fixed}.component-selector-table th,.component-selector-table td{border-right:1px solid var(--os-ui-grid);padding:.14rem .25rem;font-size:.68rem}.component-selector-table th:nth-child(2),.component-selector-table td:nth-child(2){width:7rem}.construction-form{display:grid;gap:.7rem;min-width:0}.construction-form>*{min-width:0}.construction-form h4{overflow-wrap:anywhere}.construction-form label{gap:.25rem;color:var(--os-ui-muted);font:inherit;font-size:.72rem;letter-spacing:0;text-transform:none}.construction-picker select{max-width:100%;min-width:0;padding:.35rem;border:1px solid var(--os-ui-grid-strong);background:var(--os-ui-button);color:var(--os-ui-fg);font:inherit}.construction-form .bevel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.construction-fixed-target{display:grid;gap:.25rem;font-size:.72rem}.construction-fixed-target span{color:var(--os-ui-muted)}.construction-form .construction-report{display:flex;align-items:center;gap:.5rem}.construction-form .construction-report input{width:auto;margin:0}.construction-form output,.construction-form input{border:1px solid var(--os-ui-grid);border-radius:0;padding:.35rem .45rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit}.message-list{display:grid;gap:.45rem}.message-list article{border:1px solid var(--os-ui-grid);padding:.45rem;background:var(--os-ui-inset)}.systems-controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end}.systems-controls label{flex:1 1 10rem;min-width:0}.systems-controls input,.systems-controls select{width:100%;min-width:0;font:inherit}.systems-controls select{border:1px solid var(--os-ui-grid-strong);padding:.35rem;background:var(--os-ui-bg-solid);color:var(--os-ui-fg)}.systems-table-scroll{max-height:calc(var(--os-content-h) - 9rem);min-height:8rem;overflow:auto}.systems-comparison{min-width:65rem;table-layout:auto}.systems-comparison th button{min-height:0;border:0;padding:0;background:transparent;line-height:inherit;white-space:nowrap;font-weight:700}.systems-comparison th[aria-sort]:not([aria-sort=none]){background:var(--os-ui-hover)}.systems-comparison td:first-child{min-width:11rem;max-width:18rem}.systems-comparison td small{display:block;font-size:.65rem;color:var(--os-ui-muted)}.system-inspect-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.systems-comparison .systems-coverage{white-space:nowrap}.empire-list-controls .list-checkbox{display:flex;align-items:center;gap:.35rem;padding-bottom:.4rem}.empire-list-controls .list-checkbox input{width:auto;margin:0}.empire-table-scroll{overflow:auto;max-height:calc(var(--os-content-h) - 9rem);min-height:8rem}.empire-list-table{table-layout:auto;min-width:65rem}.empire-list-table th button{min-height:0;border:0;padding:0;background:transparent;font:inherit;font-weight:700;line-height:inherit;white-space:nowrap}.empire-list-table th,.systems-comparison th{vertical-align:bottom}.empire-list-table thead{position:sticky;top:0;z-index:1;background:var(--os-ui-bg-solid)}.empire-list-table td small{display:block;font-size:.65rem;color:var(--os-ui-muted)}.empire-list-table td:first-child{min-width:10rem;max-width:17rem}.empire-inspect-link{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empire-list-table .list-long-text,.empire-list-table .list-owner{min-width:8rem;max-width:15rem;white-space:normal}.empire-list-table .relation-enemy{color:#f99}.empire-list-table .relation-unfriendly{color:#edc48e}.empire-list-table .relation-unknown{color:var(--os-ui-muted)}.messages-layout{display:grid;grid-template-columns:minmax(10rem,22%) minmax(0,1fr);gap:.35rem;min-height:min(28rem,calc(var(--os-content-h) - 3rem))}.map-dialog.messages-dialog:has(.messages-layout){display:flex;flex-direction:column;height:var(--os-content-h);overflow:hidden}.messages-dialog:has(.messages-layout) .map-dialog-body{display:flex;flex:1;flex-direction:column;min-height:0}.messages-dialog .messages-layout{flex:1;min-height:0}.messages-dialog .messages-forums{min-height:0}.messages-dialog .messages-main{grid-template-rows:minmax(5rem,2fr) auto minmax(6rem,3fr) auto auto auto;min-height:0}.messages-dialog .messages-table{min-height:0}.messages-dialog .message-detail{display:flex;flex-direction:column;min-height:0}.messages-dialog .message-detail .message-body{flex:1;min-height:0;max-height:none}.messages-forums th:first-child,.messages-forums td:first-child{width:70%;white-space:normal}.messages-main{display:grid;grid-template-rows:minmax(11rem,1fr) auto auto auto auto;gap:.35rem;min-width:0}.messages-forums,.messages-table{display:block;overflow:auto;border:1px solid var(--os-ui-grid)}.messages-forums thead,.messages-forums tbody,.messages-forums tr,.messages-table thead,.messages-table tbody,.messages-table tr{display:table;width:100%;table-layout:fixed}.messages-actions,.diplomacy-actions{display:flex;flex-wrap:wrap;gap:.25rem}.toolbar-separator{width:1px;margin:0 .2rem;align-self:stretch;background:var(--os-ui-grid-strong)}.messages-table :is(th,td):nth-child(1){width:1.6rem}.messages-table :is(th,td):nth-child(2){width:9.5rem}.messages-table :is(th,td):nth-child(3){width:22%}.message-body{min-height:9rem;max-height:18rem;overflow:auto;margin:0;border:1px solid var(--os-ui-grid);padding:.45rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit;font-size:.74rem;line-height:1.35;white-space:pre-wrap}.message-detail{min-height:0}.event-navigation{margin-bottom:.35rem;align-items:center}.event-navigation label{display:flex;align-items:center;gap:.25rem;font-size:.74rem;white-space:nowrap;font-weight:400}.event-navigation input{width:auto;margin:0;flex:none}.messages-table .event-severity-3{color:#f99}.messages-table .event-severity-2{color:#ffff80}.new-message-form{display:grid;gap:.45rem;min-width:min(28rem,calc(100vw - 4rem))}.new-message-dialog .new-message-form{min-width:0}.new-message-dialog .dialog-actions button{width:auto}.rename-system-dialog .new-message-form{min-width:0}.new-message-form label{display:grid;gap:.2rem;color:var(--os-ui-fg)}.message-recipients{margin:0;min-width:0;border:1px solid var(--os-ui-grid);padding:.45rem}.message-contact-list{max-height:8rem;overflow:auto;margin-top:.35rem}.new-message-form .message-contact-list label{display:flex;align-items:center;gap:.35rem;padding:.2rem}.new-message-form .message-contact-list label[hidden]{display:none}.new-message-form .message-contact-list input{width:auto;margin:0;flex:none}.message-destination{margin:0;font-size:.78rem}.message-delivery-status{max-height:10rem;overflow:auto;font-size:.74rem}.message-delivery-status:empty{display:none}.message-delivery-status p{margin:.25rem 0}.new-message-form input,.rename-system-dialog select,.new-message-form textarea{border:1px solid var(--os-ui-grid);border-radius:0;padding:.35rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit}.diplomacy-layout{display:grid;grid-template-columns:minmax(26rem,1.1fr) minmax(26rem,1fr);grid-template-rows:auto auto;gap:.45rem}.diplomacy-contact-panel{grid-row:span 2}.passage-panel{grid-column:1 / -1;border:1px solid var(--os-ui-grid);padding-bottom:.3rem}.passage-panel .dialog-note,.passage-panel .dialog-error,.passage-panel .help-note{margin:.35rem}.passage-panel .help-note .dialog-note{margin:0}.passage-table small{display:block;opacity:.75}.passage-status{margin-left:.6rem;color:var(--os-ui-muted);font-weight:400}.passage-table .passage-label{width:9rem}.passage-table .passage-state{width:10rem}.pact-table .pact-state{width:4.8rem}.diplomacy-contacts .contact-relation{width:5.2rem}.diplomacy-contacts .contact-stat{width:2.6rem}.diplomacy-contacts .contact-pop{width:3.4rem}.diplomacy-contacts .contact-type{width:3.6rem}.passage-table select{max-width:calc(100% - 4rem);margin-right:.3rem;background:var(--os-ui-bg);color:var(--os-ui-fg);font:inherit}.diplomacy-layout h4,.empire-overview h4{margin:0;border-bottom:1px solid var(--os-ui-grid-strong);padding:.18rem .3rem;background:var(--os-ui-title);color:var(--os-ui-fg);font-size:.76rem}.diplomacy-contacts,.diplomacy-pacts .dense-table{border:1px solid var(--os-ui-grid)}.empire-overview{display:grid;gap:.45rem}.empire-overview section{border:1px solid var(--os-ui-grid)}.empire-overview .overview-grid{padding:.4rem}.warn-cell{color:#ffff62!important}.planet-actions-card{display:flex;align-items:center;justify-content:flex-end;gap:.45rem;min-height:auto;padding:.55rem}.show-system-data,.planet-actions-card .primary-action{width:auto;margin:0}.fleet-order{display:grid;gap:.45rem}.fleet-order label{display:grid;gap:.2rem;color:var(--os-ui-fg)}.fleet-order select{border:1px solid var(--os-ui-grid);border-radius:0;padding:.2rem .35rem;background:var(--os-ui-inset);color:var(--os-ui-fg);font:inherit}.fleet-order dl{margin:0}.fleet-detail-layout{display:grid;grid-template-columns:minmax(18rem,1fr) minmax(18rem,1fr);grid-template-rows:minmax(10rem,auto) minmax(12rem,auto);gap:.35rem}.fleet-pane{min-width:0;border:1px solid var(--os-ui-grid)}.fleet-pane h4{margin:0;border-bottom:1px solid var(--os-ui-grid-strong);padding:.16rem .25rem;background:var(--os-ui-title)}.fleet-pane table{border:0}.fleet-ships-table .col-lvl{width:2.6rem}.fleet-ships-table .col-class{width:4.6rem}.fleet-ships-table .col-hp{width:4.2rem}.fleet-ships-table .col-exp{width:3rem}.fleet-ships-table .col-spd{width:3.4rem}.fleet-equipment-table .col-name{width:62%}.fleet-pane .help-note{margin:.2rem .25rem}.fleet-ships-pane tbody tr{cursor:default}.fleet-ships-pane tbody tr:hover,.fleet-ships-pane tbody tr.selected{background:var(--os-ui-selected)}.fleet-status-pane dl{display:grid;grid-template-columns:1fr 1fr;margin:0}.fleet-status-pane dl div{grid-template-columns:minmax(5rem,.9fr) minmax(4rem,1fr);border-width:0 1px 1px 0}.fleet-bevel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;padding:.3rem}.fleet-actions{display:flex;flex-wrap:wrap;gap:.2rem;padding:.25rem}.fleet-actions button{min-height:1.2rem;padding:.12rem .4rem}.problems-table{min-width:48rem}.problems-table th:nth-child(1){width:5rem}.problems-table th:nth-child(2){width:7rem}.problems-table th:nth-child(3){width:9rem}.problems-table th:nth-child(5){width:5rem}.problems-table .problem-message{white-space:normal}.problems-table .problem-severity{font-weight:700}.problems-table .problem-severity-0{color:#a6c5df}.problems-table .problem-severity-1{color:#f0d88a}.problems-table .problem-severity-2{color:#ffb16c}.problems-table .problem-severity-3{color:#f77}.problems-dialog details{margin-top:.75rem}.problems-dialog details li{margin:.4rem 0}.fleet-queue-review{margin:.5rem 0;padding:.5rem;border:1px solid var(--os-ui-grid-strong)}.fleet-queue-review p{margin:.3rem 0}.fleet-queue-review li{white-space:normal;margin:.3rem 0}.fleet-specs-controls{display:flex;flex-wrap:wrap;gap:.5rem 1rem}.fleet-specs-controls label{display:flex;align-items:center;gap:.4rem}.fleet-specs-controls input{width:auto;margin:0}.fleet-specs-table caption{padding:.5rem;text-align:left}.fleet-specs-table th:first-child{width:40%;white-space:normal}.fleet-specs-table small{display:block;font-weight:400;color:var(--os-ui-muted)}.redirection-controls{display:flex;flex-wrap:wrap;gap:.75rem}.redirection-controls label{flex:1 1 12rem}.redirection-controls select{display:block;width:100%;margin-top:.25rem;padding:.35rem;font:inherit;color:var(--os-ui-fg);background:var(--os-ui-bg-solid)}.redirection-table td,.redirection-table th{white-space:normal}.redirection-table input{width:auto;margin:0 .3rem 0 0}.redirection-table label{display:flex;align-items:center;gap:.35rem}.colony-state{margin-left:.5rem;font-size:.72rem}.colony-state.is-revolt{color:#f99;font-weight:700}.colony-state.is-risk{color:#f0d88a}.colony-explanation{margin:.2rem .4rem .35rem;font-size:.72rem}.colony-explanation summary{cursor:pointer}.colony-explanation td,.colony-explanation th,.colony-data .planet-metric small{white-space:normal}.system-planet-table .system-planet-owner,.system-planet-table .planet-condition{display:block;white-space:normal;font-size:.62rem;line-height:1.25}.system-planet-table .owner-mine .system-planet-owner{color:#a5d7ff}.system-planet-table .owner-enemy .system-planet-owner,.system-planet-table .condition-revolt{color:#f99}.system-planet-table .owner-unfriendly .system-planet-owner,.system-planet-table .condition-low{color:#f0d88a}.system-planet-table .owner-friendly .system-planet-owner,.system-planet-table .owner-allied .system-planet-owner,.system-planet-table .condition-high{color:#9addaf}.system-planet-table .owner-unknown .system-planet-owner,.system-planet-table .owner-unowned .system-planet-owner,.system-planet-table .is-uncolonizable td{color:var(--os-ui-muted)}.system-planet-table .owner-mine td:first-child{border-left:2px solid #a5d7ff}.system-planet-table .owner-enemy td:first-child{border-left:2px solid #ff9999}.system-planet-table td.resource-decreasing{color:#ffb16c;font-weight:700}tr[data-row-keyboard-bound]:focus-visible{outline:2px solid #b8dcff;outline-offset:-2px}.account-password-form{display:grid;gap:.6rem}.account-password-form label{display:grid;gap:.25rem}.map-preferences-form fieldset{display:grid;gap:.5rem}.map-preferences-form label{display:flex;align-items:center;gap:.5rem}.map-preferences-form input{width:auto}.resignation-form{min-width:0}.resignation-form p{white-space:normal;overflow-wrap:anywhere}.resignation-form label{white-space:normal}.resignation-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:.5rem}.resignation-form input[type=checkbox]{width:auto;flex:0 0 auto}.resignation-form textarea{width:100%;min-width:0;color:var(--os-ui-fg);background:var(--os-ui-bg-solid);font:inherit}.search-controls{display:flex;gap:.75rem;flex-wrap:wrap}.search-controls label{flex:1 1 12rem}@media (max-width: 760px){.game-menu{overflow-x:auto}.game-menu button{flex:0 0 auto}.map-dialog,.map-dialog.wide-dialog,.map-dialog.planet-dialog,.map-dialog.empire-list-dialog,.map-dialog.systems-overview-dialog{right:var(--os-edge);left:var(--os-edge);width:auto}.dialog-two-col,.dialog-three-col,.construction-picker,.planet-columns,.fleet-detail-layout{grid-template-columns:1fr}.system-columns .system-planets-card{grid-column:auto}.planet-metrics,.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}details.help-note{margin:.2rem 0;font-size:var(--os-fs-sm)}details.help-note>summary{width:fit-content;color:var(--os-ui-muted);cursor:pointer}details.help-note>summary:hover{color:var(--os-ui-fg)}details.help-note[open]>summary{margin-bottom:.2rem}details.help-note>.dialog-note{margin:0}#starting-form.collapsible>h2{cursor:pointer;color:var(--os-ui-muted)}#starting-form.collapsible>h2:before{content:"▸ "}#starting-form.collapsible.expanded>h2:before{content:"▾ "}#starting-form.collapsible:not(.expanded)>:not(h2){display:none}[data-player-menu-controls]{margin-top:.75rem}.highlight-swatch{display:inline-block;width:.7rem;height:.7rem;margin-right:.3rem;border:1px solid var(--os-ui-grid-strong);vertical-align:-1px}.diplomacy-highlights,.diplomacy-voting{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .6rem;margin-top:.4rem}.diplomacy-highlights input[type=color]{width:2rem;height:1.3rem;padding:0}.pact-table small{display:block;opacity:.8}.pact-table .pact-needs{width:8rem}.pact-blocked td{opacity:.75}.pact-cue{display:inline-block;width:1em;text-align:center}.diplomacy-layout .dense-table td:first-child{white-space:normal;text-overflow:clip;overflow-wrap:break-word}.danger-heading{margin-top:.8rem;border-top:1px solid var(--os-ui-grid-strong);padding-top:.5rem;color:#ff9a8a}.construction-sources{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;border-bottom:1px solid var(--os-ui-grid);padding:.4rem .5rem}.construction-sources-label{margin-right:.3rem;font-weight:700}.construction-sources button{width:auto;margin:0;padding:.15rem .5rem}.construction-sources button.selected{background:var(--os-ui-fg);color:var(--os-ui-bg)}.construction-sources button small{opacity:.8}.construction-route{margin:0 0 .4rem;font-size:.75rem}.construction-route span{color:var(--os-ui-muted)}.construction-remote{color:#ffd292!important}.messages-dialog .messages-forums thead,.messages-dialog .messages-table thead{position:sticky;top:0;z-index:1;background:var(--os-ui-bg-solid)}
