:root{--app-font:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;--bg:#edf1f5;--panel:#fff;--panel-soft:#fbfcfe;--line:#172033;--line-soft:#d9dde5;--line-mid:#c8cfda;--line-muted:#e4e8ef;--text:#263244;--muted:#667085;--accent:#2563eb;--accent-soft:#edf5ff;--primary:#1f7a70;--primary-soft:#e7f5f2;--primary-ink:#0f554f;--danger:#b91c1c;--radius:8px;--shadow:0 8px 22px #0f172a14;font-family:var(--app-font);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--app-font);background:var(--bg);color:var(--text);overflow:hidden}button,input,select,textarea{font:inherit}#root{height:100%}.stereonet-app{background:var(--bg);height:100vh;color:var(--line);flex-direction:column;display:flex;overflow:hidden}.command-bar{background:#fff;border-bottom:1px solid #cfd6e1;flex:none;align-items:center;gap:10px;min-height:64px;padding:0 14px;display:flex}.command-brand{align-items:center;gap:10px;min-width:235px;padding-right:8px;display:flex}.command-logo{object-fit:contain;flex:none;width:38px;height:38px}.command-brand-copy{min-width:0}.command-brand-copy h1{color:#172033;margin:0;font-size:1.04rem;font-weight:760;line-height:1.1}.command-brand-copy span{color:#667085;margin-top:2px;font-size:.72rem;font-weight:650;display:block}.command-cluster{border-left:1px solid #e4e8ef;align-items:center;gap:6px;padding:0 8px;display:flex}.command-primary-cluster{margin-left:auto}.command-button,.command-icon-button{color:#263244;cursor:pointer;background:#fff;border:1px solid #cbd4df;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:36px;font-size:.82rem;font-weight:700;line-height:1;transition:background-color .12s,border-color .12s,color .12s,opacity .12s;display:inline-flex}.command-button{width:auto;padding:0 12px}.command-icon-button{width:36px;padding:0}.command-button:hover,.command-icon-button:hover{background:#f6f8fb;border-color:#9ba8b9}.command-button.is-active{color:#0f554f;background:#e7f5f2;border-color:#1f7a70}.workspace-grid{background:#cfd6e1;flex:auto;grid-template-columns:56px minmax(310px,380px) minmax(0,1fr) minmax(300px,360px);gap:1px;min-height:0;display:grid;overflow:hidden}.tool-rail{background:#f9fafc;flex-direction:column;align-items:center;gap:8px;min-height:0;padding:8px 6px;display:flex;overflow:hidden auto}.tool-rail-section{flex-direction:column;gap:6px;display:flex}.tool-rail-button{color:#526071;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:background-color .12s,border-color .12s,color .12s,opacity .12s;display:inline-flex}.tool-rail-button:hover{color:#1d2939;background:#fff;border-color:#d4dae4}.tool-rail-button.is-active{color:#0f554f;background:#e5f3f0;border-color:#7da89f}.workspace-inspector,.results-sidebar{background:#fff;flex-direction:column;min-width:0;min-height:0;display:flex}.inspector-header,.results-sidebar-header{background:#fbfcfe;border-bottom:1px solid #e4e8ef;flex:none;padding:14px 16px}.inspector-title{color:#334155;align-items:center;gap:10px;min-width:0;display:flex}.inspector-title h2{color:#172033;margin:0;font-size:.95rem;font-weight:760;line-height:1.15}.inspector-title span{color:#667085;margin-top:2px;font-size:.72rem;font-weight:600;display:block}.inspector-content,.results-sidebar-body{flex:auto;min-height:0;overflow:auto}.section-block{background:0 0;border:0;border-bottom:1px solid #edf0f4;border-radius:0;padding:12px 14px}.section-block:last-child{border-bottom:0}.section-block[hidden]{display:none}.planes-input-card{flex-direction:column;min-height:100%;display:flex}.section-label{color:#667085;letter-spacing:.06em;text-transform:uppercase;margin:0 0 8px;font-size:.72rem;font-weight:760;line-height:1.1}.section-intro,.field-note,.results,.set-window-meta,.status-banner{color:#667085;overflow-wrap:anywhere;word-break:break-word;font-size:.75rem;line-height:1.3}.section-intro,.field-note{margin:0 0 10px}.field-grid{grid-template-columns:1fr;gap:8px;display:grid}.field-grid.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.field{color:#667085;margin-bottom:3px;font-size:.66rem;line-height:1.1;display:block}.field>span{display:block}.number-input,.text-input,.select-input,.color-input,label:not(.checkbox-field)>input:not([type=checkbox]),label:not(.checkbox-field)>select{color:#263244;background:#fff;border:1px solid #c8cfda;border-radius:6px;width:100%;min-height:28px;margin-top:4px;padding:3px 8px;font-size:.78rem;line-height:1.15;box-shadow:inset 0 1px 1px #0f172a05}.color-input,input[type=color]{min-height:32px;padding:4px}.number-input:focus,.text-input:focus,.select-input:focus,.color-input:focus,.plane-cell:focus,label:not(.checkbox-field)>input:not([type=checkbox]):focus,label:not(.checkbox-field)>select:focus{border-color:#8fb0e8;outline:none;box-shadow:0 0 0 3px #2563eb1f}.checkbox-field{color:#263244;align-items:center;gap:8px;min-height:28px;margin-bottom:8px;font-size:.78rem;display:flex}.checkbox-field input{accent-color:#2563eb;flex:none;width:14px;height:14px;margin:0}.panel-actions,.actions,.file-actions{flex-wrap:wrap;gap:8px;display:flex}.planes-actions,.window-manager-actions,.cluster-actions{margin-top:10px;margin-bottom:10px}.panel-actions button,.actions button,.set-window-item button,.primary-action,.ghost,.danger{color:#263244;cursor:pointer;background:#fff;border:1px solid #cbd4df;border-radius:6px;flex:1 1 0;padding:6px 8px;font-size:.74rem;font-weight:760;line-height:1.1;transition:background-color .12s,border-color .12s,color .12s,opacity .12s}.panel-actions button:hover,.actions button:hover,.set-window-item button:hover{background:#f6f8fb;border-color:#9ba8b9}.primary-action{color:#0f554f!important;background:#e7f5f2!important;border-color:#1f7a70!important}.primary-action:hover{background:#d9efeb!important}.danger{color:#b91c1c!important;border-color:#fecaca!important}.danger:hover{background:#fff1f2!important}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.45}.table-wrap{background:#fff;border:1px solid #e2e7ef;border-radius:8px;flex:auto;min-height:0;overflow:auto}.planes-table{border-collapse:collapse;width:100%;min-width:330px;font-size:.78rem}.planes-table thead th{z-index:1;text-align:left;color:#334155;background:#f8fafc;border-bottom:1px solid #e2e7ef;padding:8px 9px;font-weight:760;position:sticky;top:0}.planes-table thead th.row-select-head{text-align:center;width:34px;min-width:34px;padding:8px 0}.planes-table thead th.row-number-head{text-align:center;width:40px;min-width:40px;padding:8px 4px}.planes-table tbody td{border-bottom:1px solid #edf0f4;padding:0}.planes-table tbody tr:last-child td{border-bottom:0}.row-select-cell,.row-number-cell{background:#f8fafc;border-right:1px solid #edf0f4}.row-select-cell{text-align:center;width:34px;min-width:34px}.row-number-cell{text-align:center;width:40px;min-width:40px}.row-number-value{color:#667085;font-variant-numeric:tabular-nums;min-width:1.8ch;font-weight:700;display:inline-block}.row-select-input{cursor:pointer;accent-color:#2563eb;width:14px;height:14px;margin:0}.planes-table tbody tr.is-selected td{background:#edf5ff}.planes-table tbody tr.is-selected .row-select-cell,.planes-table tbody tr.is-selected .row-number-cell{background:#e5f3f0}.plane-cell{color:#263244;background:0 0;border:0;border-radius:0;width:100%;min-height:30px;margin:0;padding:7px 8px;font-size:.78rem}.plane-cell:focus{outline:none;box-shadow:inset 0 0 0 2px #2563eb29}.plane-cell[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.plane-cell[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.plane-cell[type=number]{appearance:textfield}.set-window-list,.set-styles-list{gap:8px;display:grid}.set-style-item{background:#fff;border:1px solid #e2e7ef;border-radius:8px;grid-template-columns:minmax(52px,.55fr) minmax(0,1.2fr) minmax(66px,.7fr) minmax(58px,.6fr);align-items:center;gap:8px;min-width:0;max-width:100%;padding:10px;display:grid;overflow:hidden}.set-style-title{color:#172033;align-items:center;min-height:28px;font-size:.8rem;font-weight:760;line-height:1.1;display:flex}.set-window-item,.result-card{background:#fff;border:1px solid #e2e7ef;border-radius:8px;min-width:0;max-width:100%;padding:10px;overflow:hidden}.set-window-item.is-editing{background:#f3faf8;border-color:#7da89f;box-shadow:inset 0 0 0 1px #1f7a702e}.set-window-title{color:#172033;margin-bottom:5px;font-size:.8rem;font-weight:760}.set-window-meta{margin:3px 0}.window-item-actions{margin-top:8px}button.small{min-height:28px;padding:5px 8px}.status-banner{color:#526071;background:#f7f9fc;border:1px solid #d8dee8;border-radius:7px;margin:0 0 10px;padding:8px 10px;font-weight:650}.stereonet-main{background:#fff;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.plot-stage{background:linear-gradient(#fffffff5,#f7f9fcf5),linear-gradient(90deg,#94a3b82e 1px,#0000 1px) 0 0/32px 32px,linear-gradient(#94a3b82e 1px,#0000 1px) 0 0/32px 32px;flex:auto;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.plot-toolbar{z-index:2;pointer-events:none;flex-wrap:wrap;gap:8px;display:flex;position:absolute;top:12px;left:12px}.scene-chip{color:#334155;max-width:min(520px,100vw - 760px);min-height:28px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);white-space:nowrap;background:#fffffff0;border:1px solid #d7dde7;border-radius:7px;align-items:center;gap:8px;padding:0 10px;font-size:.8rem;font-weight:700;display:inline-flex}.scene-chip.accent{color:#0f554f;background:#e7f5f2f0;border-color:#1f7a7052}.scene-chip.accent-blue{color:#193b68;background:#edf5fff0;border-color:#2563eb47}.plot-meta{text-overflow:ellipsis;min-width:0;overflow:hidden}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}canvas.assign-single{cursor:pointer}canvas.assign-window,canvas.assign-dragging{cursor:crosshair}canvas{aspect-ratio:1;background:#fff;border:0;width:min(100% - 36px,100vh - 134px,980px);max-height:calc(100vh - 134px);display:block;box-shadow:0 0 0 1px #cfd6e1b8,0 18px 38px #0f172a14}.results-sidebar-body{overflow:hidden}.results-panel{background:#fff;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,max-content);align-content:start;gap:10px;height:100%;min-height:0;padding:12px 14px;display:grid;overflow:auto}.results-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.results-header h3,.result-card h3{color:#172033;margin:0 0 6px;font-size:.9rem;font-weight:760}.results p{margin:0 0 7px}.results-section-title{color:#172033;margin:10px 0 7px;font-size:.82rem;font-weight:780;line-height:1.15}.results .bad{color:#b91c1c;font-weight:760}.results .kpi{color:#667085;min-width:150px;font-weight:700;display:inline-block}.symbol-preview{vertical-align:middle;justify-content:center;align-items:center;margin:0 7px;display:inline-flex}.symbol-preview svg{display:block;overflow:visible}.stereonet-statusbar{color:#64748b;letter-spacing:.02em;background:#f9fafc;border-top:1px solid #cfd6e1;flex:0 0 30px;justify-content:space-between;align-items:center;gap:1rem;height:30px;padding:0 14px;font-size:10px;font-weight:650;display:flex}.stereonet-statusbar div{align-items:center;gap:16px;min-width:0;display:flex}@media (width<=1260px){.workspace-grid{grid-template-columns:52px minmax(280px,330px) minmax(0,1fr) minmax(260px,310px)}.command-brand{min-width:190px}.scene-chip{max-width:min(460px,100vw - 690px)}}@media (width<=980px){.command-bar{flex-wrap:wrap;min-height:auto;padding:8px}.command-brand{min-width:100%}.command-primary-cluster{margin-left:0}.workspace-grid{grid-template-rows:minmax(310px,36vh) minmax(0,1fr) minmax(220px,28vh);grid-template-columns:52px minmax(0,1fr)}.tool-rail{grid-row:1/4;gap:5px;padding:6px 5px}.tool-rail-button{width:36px;height:36px}.workspace-inspector{grid-area:1/2}.stereonet-main{grid-area:2/2}.results-sidebar{border-top:1px solid #cfd6e1;grid-area:3/2}.field-grid.two-column,.set-style-item{grid-template-columns:1fr}.scene-chip{max-width:calc(100vw - 92px)}canvas{width:min(100% - 28px,100vh - 430px,740px);max-height:calc(100vh - 430px)}}@media (width<=640px){.command-button span,.stereonet-statusbar div:first-child span+span{display:none}}
