/* Orion Studio. Status variables --tone, --status and --ticket-color are intentionally untouched. */
@font-face{font-family:OrionStudio;src:url('./rubik-hebrew-variable.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:OrionStudio;src:url('./rubik-latin-variable.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html.os-studio{--os-paper:#fff;--os-canvas:#f7f8fc;--os-soft:#f3f4f8;--os-ink:#1c2139;--os-muted:#687087;--os-line:#e3e6ee;--os-purple:#7800ab;--os-purple-soft:#f3eafb;--os-turquoise:#008c95;--os-turquoise-soft:#e8f7f7;--os-action:#7800ab;--os-action-text:#fff;--os-shadow:0 12px 38px #22213a12;--os-rail:180px;--os-header:56px;--os-radius:10px;--os-font:OrionStudio,Rubik,sans-serif;color-scheme:light}
html.os-studio[data-theme=dark]{--os-paper:#1c1b25;--os-canvas:#14131b;--os-soft:#24232f;--os-ink:#f4f3fa;--os-muted:#aaa9be;--os-line:#353443;--os-purple:#cb8cf3;--os-purple-soft:#35213f;--os-turquoise:#54dedc;--os-turquoise-soft:#183537;--os-action:#cb8cf3;--os-action-text:#21122a;--os-shadow:0 12px 40px #0004;color-scheme:dark}
html.os-studio,html.os-studio[data-theme]{--bg:var(--os-canvas);--surface:var(--os-paper);--surface-2:var(--os-soft);--surface-3:var(--os-line);--text:var(--os-ink);--muted:var(--os-muted);--line:var(--os-line);--purple:var(--os-purple);--purple-2:var(--os-purple);--purple-ink:var(--os-purple);--purple-soft:var(--os-purple-soft);--brand:var(--os-purple);--turquoise:var(--os-turquoise);--shadow:var(--os-shadow);--header:var(--os-header);--header-h:var(--os-header);--oa-ink:var(--os-ink);--oa-muted:var(--os-muted);--oa-purple:var(--os-purple);--oa-purple-soft:var(--os-purple-soft);--oa-border:var(--os-line);--oa-paper:var(--os-paper)}
html.os-studio body,html.os-studio body :where(*):not(.fa):not(.fas):not(.far):not(.fab):not(.material-icons){font-family:var(--os-font)!important;box-sizing:border-box}
html.os-studio body{margin:0;color:var(--os-ink);background:var(--os-canvas);font-size:13px;line-height:1.45}
html.os-studio body [hidden]{display:none!important}
html.os-studio :where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--os-turquoise)!important;outline-offset:3px}
html.os-studio :where(button,input,select,textarea){font-size:12px;font-weight:450}
html.os-studio :where(input,select,textarea){color:var(--os-ink);accent-color:var(--os-turquoise);font-variant-numeric:tabular-nums}
html.os-studio :where(input,textarea)::placeholder{color:var(--os-muted);opacity:.9}
html.os-studio button:disabled,html.os-studio a[aria-disabled=true]{opacity:.45;cursor:not-allowed}
html.os-studio :where(button,a){-webkit-tap-highlight-color:transparent}
html.os-studio :where(h1,h2,h3,p){overflow-wrap:break-word}
html.os-studio :where(h1,h2,h3){font-weight:650;letter-spacing:-.025em}
html.os-studio :where(button,input,select,textarea,a){scroll-margin-block:12px}
html.os-studio *{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--os-muted) 30%,transparent) transparent}
.os-icon,.os-studio svg[data-os-icon]{width:18px;height:18px;flex:none;vertical-align:middle;stroke:currentColor;fill:none}
.os-studio .os-icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;padding:6px;border:1px solid var(--os-line);border-radius:8px;background:var(--os-paper);color:var(--os-muted);cursor:pointer}
.os-studio .os-icon-button>span:not(.os-theme-glyph){display:none}
.os-studio .os-brand{display:flex;align-items:center;gap:10px;color:var(--os-purple)}
.os-studio .os-brand-mark{display:block;width:94px;height:46px;background:var(--os-purple);mask:url('./logo.svg') center/contain no-repeat;-webkit-mask:url('./logo.svg') center/contain no-repeat}
.os-studio .os-brand-label{font-size:11px;font-weight:550;letter-spacing:.1em}
.os-studio .os-rail{grid-area:rail;display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:17px 9px;border-inline-end:1px solid var(--os-line);background:var(--os-paper);z-index:1020}
.os-studio .os-rail>.os-brand{flex-direction:column;align-items:flex-start;gap:14px;margin:0 13px 14px}
.os-studio .os-rail>nav{display:flex!important;flex-direction:column;align-items:stretch!important;gap:5px!important;margin:0!important;width:100%;overflow:auto}
html.os-studio .os-rail nav :is(button,a){display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:40px;height:auto;padding:9px 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--os-muted)!important;text-align:start;font-size:12px!important;font-weight:450!important;text-decoration:none;white-space:normal;cursor:pointer}
html.os-studio .os-rail nav :is(button,a):hover{background:var(--os-soft)!important;color:var(--os-ink)!important}
html.os-studio .os-rail nav .active{background:var(--os-purple-soft)!important;color:var(--os-purple)!important;box-shadow:inset -3px 0 var(--os-purple);font-weight:550!important}
.os-studio .os-rail nav b{margin-inline-start:auto}
.os-studio .os-menu-toggle,.os-studio .os-rail-close,.os-studio .os-nav-scrim,.os-studio .os-bottom-nav{display:none}
html.os-studio.os-enhanced[data-os-portal=admin] #admin-r22-app{display:grid;grid-template-columns:var(--os-rail) minmax(0,1fr);grid-template-rows:var(--os-header) minmax(0,1fr);grid-template-areas:'rail header' 'rail main';height:100dvh;direction:rtl;overflow:hidden}
html.os-studio.os-enhanced[data-os-portal=my] #app{display:grid;grid-template-columns:var(--os-rail) minmax(0,1fr);grid-template-rows:var(--os-header) auto minmax(0,1fr);grid-template-areas:'rail header' 'rail context' 'rail main';height:100dvh;direction:rtl;overflow:hidden}
html.os-studio.os-enhanced #admin-r22-header,html.os-studio.os-enhanced[data-os-portal=my] .topbar{grid-area:header;display:flex;align-items:center;justify-content:space-between;height:var(--os-header)!important;min-height:0;padding:8px 20px!important;gap:16px!important;background:var(--os-paper)!important;border-bottom:1px solid var(--os-line);box-shadow:none!important;z-index:1030;backdrop-filter:none}
html.os-studio.os-enhanced #admin-r22-header>.brand,html.os-studio.os-enhanced[data-os-portal=my] .topbar>.brand{display:none!important}
html.os-studio.os-enhanced #admin-r22-main,html.os-studio.os-enhanced[data-os-portal=my] #main{grid-area:main;min-height:0;min-width:0;overflow:hidden}
html.os-studio .top-actions{display:flex;align-items:center;gap:6px;margin-inline-start:auto;flex-shrink:0}
html.os-studio .top-actions>.icon-button{width:32px;height:32px;padding:4px;border:0;border-radius:7px;background:transparent;color:var(--os-muted);font-size:20px}
html.os-studio .os-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:13px 20px;background:var(--os-paper);flex:none}
html.os-studio .os-page-heading h1{margin:0;color:var(--os-ink);font-size:25px;font-weight:650;line-height:1.2}
html.os-studio .os-page-heading :is(.primary-action,.new-mission){display:inline-flex;align-items:center;gap:7px;min-height:35px;height:auto;margin:0;padding:8px 13px!important;border:1px solid var(--os-action)!important;border-radius:8px;background:var(--os-action)!important;color:var(--os-action-text)!important;box-shadow:none;font-size:12px;font-weight:550;text-decoration:none;white-space:nowrap}
html.os-studio .os-theme-control{position:relative;font-size:0!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--os-muted)!important;width:34px!important;min-width:34px!important;height:34px!important;padding:0!important}
html.os-studio .os-theme-control>:not(.os-theme-glyph){display:none!important}
html.os-studio .os-theme-control .os-theme-glyph{display:grid!important;place-items:center;position:absolute;inset:0}
html.os-studio .os-theme-glyph svg{width:20px;height:20px}
html.os-studio #oa-account-slot{position:static!important;display:flex!important;align-items:center;gap:9px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0;flex:none;font-size:12px!important}
html.os-studio #oa-account-slot .oa-avatar,html.os-studio #account-avatar{display:none!important}
html.os-studio .oa-account-button{display:flex;align-items:center;gap:4px;min-height:32px!important;height:32px!important;padding:3px 7px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--os-ink)!important;font-size:12px!important;box-shadow:none!important}
html.os-studio .oa-account-arrow{display:none!important}
html.os-studio .os-account-host{display:flex;align-items:center;gap:7px;min-width:0}
.os-studio .os-system-menu{position:relative;flex:none}
.os-studio .os-system-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:5px 9px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-muted);cursor:pointer;font-size:11px;list-style:none}
.os-studio .os-system-toggle::-webkit-details-marker{display:none}
html.os-studio #oa-portals{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:232px;max-width:85vw;padding:10px!important;border:1px solid var(--os-line);border-radius:10px;background:var(--os-paper)!important;box-shadow:var(--os-shadow);z-index:1040}
html.os-studio .os-system-menu:not([open]) #oa-portals{display:none!important}
html.os-studio #oa-portals a{display:flex!important;align-items:center;justify-content:center;min-height:38px!important;padding:8px!important;border:1px solid var(--os-line)!important;border-radius:7px!important;background:var(--os-soft)!important;color:var(--os-purple)!important;font-size:11px!important;box-shadow:none!important}
html.os-studio #oa-portals a::after{display:none!important}
html.os-studio .oa-account-dialog{width:min(700px,calc(100vw - 32px));padding:24px;background:var(--os-paper)!important;color:var(--os-ink);border:1px solid var(--os-line);border-radius:14px;box-shadow:var(--os-shadow)}
html.os-studio .oa-account-dialog :is(input,textarea,select){color:var(--os-ink)!important;background:var(--os-soft)!important;border-color:var(--os-line)!important;font-size:13px!important}
html.os-studio .oa-account-dialog :is(h2,label),html.os-studio .oa-close{color:var(--os-ink)!important}
html.os-studio .oa-close{background:var(--os-soft)!important;border-color:var(--os-line)!important}
html.os-studio .oa-primary{background:var(--os-action)!important;color:var(--os-action-text)!important;box-shadow:none!important}
html.os-studio #orion-auth-root .oa-content{background:radial-gradient(ellipse at 100% 0,var(--os-purple-soft),transparent 60%),var(--os-paper)}
html.os-studio #orion-auth-root :is(input,select){background:var(--os-paper);color:var(--os-ink);border-color:var(--os-line)}
html.os-studio #orion-auth-root label{color:var(--os-muted)}
html.os-studio #orion-auth-root .oa-footer,html.os-studio .oa-account-dialog p{color:var(--os-muted)}
html.os-studio[data-theme=dark] .oa-topline img{filter:brightness(1.9) saturate(.55)}
/* ADMIN workspace, every existing mode retains its DOM and behavior. */
html.os-studio #view-work.active{display:flex!important;flex-direction:column;height:100%;min-height:0;overflow:hidden}
html.os-studio #work-toolbar{position:relative;display:flex;align-items:center;flex:none;min-height:42px;height:auto;padding:0 20px!important;gap:12px!important;border-bottom:1px solid var(--os-line);background:var(--os-paper)}
html.os-studio #view-switcher,html.os-studio .view-switcher{display:flex;align-items:center;gap:3px;padding:0;border:0;border-radius:0;background:transparent;max-width:100%;overflow:auto;scrollbar-width:none}
html.os-studio #view-switcher button,html.os-studio .view-switcher button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:41px;padding:8px 11px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--os-muted)!important;font-size:12px;font-weight:450;white-space:nowrap}
html.os-studio #view-switcher button.active,html.os-studio .view-switcher button.active{color:var(--os-purple)!important;border-bottom-color:var(--os-purple);font-weight:550}
html.os-studio #view-switcher button span,html.os-studio .view-switcher button span{color:inherit!important;font-size:inherit}
html.os-studio #admin-r22-save-state{margin-inline-start:auto;white-space:nowrap;color:var(--os-turquoise);font-size:10px}
html.os-studio #admin-r22-header .search-control{position:relative;width:min(520px,55%);max-width:none;min-width:190px;margin:0;flex:1}
html.os-studio .search{display:flex;align-items:center;gap:7px;height:35px;border:1px solid var(--os-line);border-radius:8px;background:var(--os-soft);padding:0 10px}
html.os-studio .search input{width:100%;min-width:0;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--os-ink);font-size:12px;box-shadow:none}
html.os-studio #admin-r22-header .search-control .search{width:100%;height:34px}
html.os-studio #ticket-search-state{position:absolute;top:100%;inset-inline-start:10px;color:var(--os-muted);background:var(--os-paper);font-size:9px;z-index:2}
html.os-studio #ticket-search-state:empty{display:none}
html.os-studio #ticket-search-clear{position:absolute;inset-inline-end:6px;top:4px;width:26px;height:26px;border:0;background:var(--os-soft);color:var(--os-muted)}
html.os-studio #bulk-action-bar{display:flex;flex:none;flex-wrap:wrap;align-items:center;min-height:46px;height:auto;padding:7px 20px!important;gap:7px!important;border-bottom:1px solid var(--os-line);background:var(--os-paper)}
html.os-studio #bulk-action-bar :is(button,select){min-height:30px;height:30px;padding:4px 9px;border:1px solid var(--os-line);border-radius:6px;background:var(--os-paper);color:var(--os-muted);font-size:11px;font-weight:450;box-shadow:none;max-width:100%}
html.os-studio #bulk-action-bar button{display:inline-flex;align-items:center;justify-content:center;gap:5px}
html.os-studio #bulk-action-bar>label,html.os-studio .os-selection-actions>label{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--os-muted)}
html.os-studio #bulk-action-bar input[type=checkbox]{width:15px;height:15px}
.os-studio .os-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--os-turquoise) 35%,var(--os-line));border-radius:8px;background:var(--os-turquoise-soft)}
html.os-studio #bulk-count{font-size:11px;color:var(--os-turquoise);white-space:nowrap}
html.os-studio #filter-popover{position:absolute;top:calc(100% + 43px);inset-inline-start:20px;inset-inline-end:auto;width:min(600px,calc(100vw - 40px));max-height:65dvh;overflow:auto;padding:16px;gap:12px;border:1px solid var(--os-line);border-radius:12px;background:var(--os-paper);color:var(--os-ink);box-shadow:var(--os-shadow);z-index:1010}
html.os-studio #filter-popover:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
html.os-studio #filter-popover label{font-size:11px;line-height:1.5;color:var(--os-muted)}
html.os-studio #filter-popover :is(select,input:not([type=checkbox])){height:34px;width:100%;padding:5px 8px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-soft);color:var(--os-ink);font-size:12px}
html.os-studio #view-work>.mode{flex:1;min-height:0;height:auto;overflow:hidden;background:var(--os-canvas)}
html.os-studio #view-work>.mode:not(.active){display:none!important}
html.os-studio #mode-map.active{display:grid!important;grid-template-columns:var(--map-panel-width,350px) 7px minmax(0,1fr);direction:rtl;gap:0}
html.os-studio #status-tree-panel{grid-column:1;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--os-paper);border:0}
html.os-studio #admin-r22-map{grid-column:3;grid-row:1;min-width:0;min-height:0;background:var(--os-soft)}
html.os-studio #map-resizer{grid-column:2;grid-row:1;display:block!important;background:var(--os-soft);width:auto;height:auto;border-inline:1px solid var(--os-line)}
html.os-studio #status-tree-panel>header{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:13px 15px!important;border-bottom:1px solid var(--os-line);background:var(--os-paper)}
html.os-studio #status-tree-panel h1{margin:0;font-size:17px;font-weight:600}
html.os-studio #status-tree-panel header p{margin:4px 0 0;font-size:10px;color:var(--os-muted)}
html.os-studio .map-list-actions{display:flex;align-items:center;gap:5px}
html.os-studio .map-list-actions button{flex:1;height:29px;min-width:0;padding:4px 7px;border:1px solid var(--os-line);border-radius:6px;background:var(--os-paper);color:var(--os-muted);font-size:10px;font-weight:450}
html.os-studio .map-list-actions button[aria-pressed=true]{background:var(--os-turquoise-soft);border-color:var(--os-turquoise);color:var(--os-turquoise)}
html.os-studio #status-tree{flex:1;min-height:0;overflow:auto;padding:6px 9px!important}
html.os-studio .status-group{margin:0 0 8px;border:0!important;border-radius:0!important;background:transparent!important}
html.os-studio .status-head{min-height:34px;padding:3px 4px!important;border:0!important;background:transparent!important;color:var(--status)}
html.os-studio .status-toggle{display:flex;align-items:center;gap:6px;min-height:29px;padding:3px 4px!important;background:transparent!important;color:inherit;font-size:12px!important;font-weight:550}
html.os-studio .status-toggle b{font-size:10px!important;font-weight:450;opacity:.8}
html.os-studio .status-toggle i{font-size:13px!important;font-style:normal;color:var(--os-muted)}
html.os-studio .status-select-all input,html.os-studio .tree-ticket-select input{width:15px;height:15px;accent-color:var(--os-turquoise)}
html.os-studio .status-items{padding:2px 0!important}
html.os-studio .tree-ticket{position:relative;display:flex!important;align-items:center;gap:8px;height:auto!important;min-height:64px!important;margin:0 0 6px;padding:8px 9px!important;border:1px solid var(--os-line)!important;border-radius:8px!important;background:var(--os-paper)!important;box-shadow:none!important}
html.os-studio .tree-ticket:hover{border-color:var(--os-turquoise)!important;background:var(--os-turquoise-soft)!important}
html.os-studio .tree-ticket:has(input:checked){border-color:var(--os-turquoise)!important;background:var(--os-turquoise-soft)!important}
html.os-studio .tree-ticket-select{position:static!important;flex:none;display:grid;place-items:center;margin:0}
html.os-studio .tree-ticket-open{position:static!important;display:flex!important;flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:4px;height:auto!important;padding:0!important;border:0;background:transparent!important;color:var(--os-ink);text-align:right}
html.os-studio .tree-ticket-line1{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:2px 9px;align-items:center;height:auto!important}
html.os-studio .tree-ticket-line1 b{grid-column:1;grid-row:1;font-size:12px!important;font-weight:550;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.os-studio .tree-ticket-line1>span{grid-column:1;grid-row:2;color:var(--os-muted);font-size:10px!important;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.os-studio .tree-ticket-line1 strong{grid-column:2;grid-row:1/3;position:static!important;color:var(--os-purple)!important;font-size:12px!important;font-weight:600;direction:ltr;white-space:nowrap}
html.os-studio .tree-ticket-line2{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 9px;color:var(--os-muted)!important;font-size:9px!important;line-height:1.4}
html.os-studio .tree-ticket-line2 svg{width:11px;height:11px}
/* Tables keep the existing pointer-driven column resizers, not native textarea resizers. */
html.os-studio #mode-table.active{display:block!important}
html.os-studio .table-scroll,html.os-studio .table-wrap{height:100%;padding:12px 16px;overflow:auto;background:var(--os-canvas)}
html.os-studio table{border:1px solid var(--os-line);border-collapse:separate;border-spacing:0;border-radius:9px;background:var(--os-paper);font-size:12px;color:var(--os-ink)}
html.os-studio :is(th,td){padding:9px 11px!important;border-color:var(--os-line)!important;font-size:11px!important;line-height:1.4}
html.os-studio th{background:var(--os-soft)!important;color:var(--os-muted);font-weight:500!important}
html.os-studio #tickets-table .column-row th{resize:none!important;overflow:hidden!important;white-space:nowrap;text-overflow:ellipsis;padding-inline-end:12px!important}
html.os-studio #tickets-table .column-resizer{position:absolute;inset-inline-end:0;top:0;width:7px;height:100%;cursor:col-resize;touch-action:none;z-index:5}
html.os-studio #tickets-table tbody tr:hover,html.os-studio #oum-table tbody tr:hover{background:var(--os-purple-soft)!important}
html.os-studio #tickets-table td :is(button,select){min-height:27px;font-size:11px!important;background:var(--os-paper);color:var(--os-ink);border-color:var(--os-line)}
/* Compact, aligned cards. No generated initials and no face images. */
html.os-studio #tickets-cards{height:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(268px,1fr))!important;align-content:start;gap:12px!important;padding:16px!important;overflow:auto}
html.os-studio .ticket-card-stack{min-width:0;width:auto!important;display:flex;flex-direction:column;gap:6px;align-self:start}
html.os-studio[data-os-portal=admin] .ticket-card{position:relative;display:flex!important;flex-direction:column;min-height:170px!important;height:auto!important;margin:0!important;padding:0!important;border:1px solid var(--os-line)!important;border-inline-start:3px solid var(--tone)!important;border-radius:10px!important;overflow:hidden;background:var(--os-paper)!important;box-shadow:none!important;color:var(--os-ink)!important}
html.os-studio[data-os-portal=admin] .ticket-card:hover{border-color:color-mix(in srgb,var(--tone) 50%,var(--os-line))!important;transform:none!important}
html.os-studio .ticket-card-status{position:static!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:7px 10px!important;background:color-mix(in srgb,var(--tone) 7%,var(--os-paper))!important;border-bottom:1px solid var(--os-line)!important;color:var(--tone)!important}
html.os-studio .ticket-card-status>span{position:static!important;font-size:11px!important;line-height:1.3;font-weight:500!important;color:var(--tone)!important}
html.os-studio .ticket-card-status>strong{position:static!important;margin-inline-start:auto;color:var(--os-purple)!important;font-size:12px!important;font-weight:600!important;white-space:nowrap;direction:ltr}
html.os-studio .ticket-card-status .card-select{position:static!important;inset:auto!important;display:grid;place-items:center;width:18px;height:18px;padding:0!important;background:none!important;border:0!important}
html.os-studio .card-select input{position:static!important;width:15px!important;height:15px!important;margin:0!important}
html.os-studio .ticket-card-body{display:flex!important;flex-direction:column;gap:9px;padding:11px!important;min-width:0}
html.os-studio .ticket-card-identity{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:0!important;min-height:0!important}
html.os-studio .ticket-card-identity h3{position:static!important;grid-column:1/-1;transform:none!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important;color:var(--os-ink)!important;font-size:14px!important;line-height:1.35;font-weight:600!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.os-studio .ticket-card-identity>b{position:static!important;grid-column:1;grid-row:2;font-size:11px!important;line-height:1.35;font-weight:450!important;color:var(--os-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.os-studio .ticket-card-identity small{position:static!important;grid-column:2;grid-row:2;display:flex!important;align-items:center;gap:3px;font-size:9px!important;line-height:1.35;color:var(--os-muted)!important}
html.os-studio .ticket-card-identity small svg{width:12px;height:12px}
html.os-studio .ticket-card .compact-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:0!important;background:none!important}
html.os-studio .ticket-card .compact-fact{display:flex!important;flex-direction:column;align-items:flex-start;min-width:0;gap:2px;padding:5px 6px!important;border:0!important;border-radius:5px;background:var(--os-soft)!important}
html.os-studio .ticket-card .compact-fact :is(small,span){font-size:9px!important;line-height:1.3;color:var(--os-muted)!important}
html.os-studio .ticket-card .compact-fact b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;line-height:1.4;color:var(--os-ink)!important;font-weight:500!important}
html.os-studio .ticket-card .card-note{margin:0!important;padding:4px 0!important;font-size:10px!important;line-height:1.5;color:var(--os-muted)!important}
html.os-studio .ticket-card footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 0 0!important;border-top:1px solid var(--os-line);font-size:10px!important;color:var(--os-muted)!important;background:none!important}
html.os-studio .ticket-card footer b{font-size:10px!important;color:var(--os-purple)!important;font-weight:500!important}
html.os-studio .card-map-shot{position:relative;min-height:96px;height:130px;max-height:150px;margin:0!important;border:1px solid var(--os-line);border-radius:9px;overflow:hidden;background:var(--os-soft)}
html.os-studio .card-map-shot img{width:100%;height:100%;object-fit:cover;display:block}
.os-studio .os-image-fallback{display:grid;place-items:center;min-height:96px;padding:15px;color:var(--os-muted);font-size:11px;text-align:center}
html.os-studio #tickets-kanban{display:flex!important;align-items:flex-start;gap:13px!important;height:100%;padding:16px!important;overflow:auto}
html.os-studio #tickets-kanban>.kanban-column{flex:0 0 278px!important;width:278px!important;min-width:278px!important;max-width:278px!important;max-height:100%;border:1px solid var(--os-line)!important;border-radius:10px;background:var(--os-soft)!important;overflow:hidden}
html.os-studio .kanban-column>header{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:10px!important;background:var(--os-paper)!important;border-bottom:1px solid var(--os-line)}
html.os-studio .kanban-column h2{font-size:12px!important;margin:0;font-weight:550!important}
html.os-studio .kanban-column h2 span{font-size:11px!important}
html.os-studio .kanban-column .kanban-items{padding:8px!important;display:grid;gap:8px;overflow:auto;min-height:0}
html.os-studio .kanban-card .compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Detail windows and nested forms. The action set is unchanged. */
html.os-studio dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--os-line)!important;border-radius:14px!important;background:var(--os-paper)!important;color:var(--os-ink)!important;box-shadow:0 25px 90px #0004;overflow:auto}
html.os-studio dialog::backdrop{background:#14132680;backdrop-filter:blur(3px)}
html.os-studio dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:35px;padding:7px 9px;border:1px solid var(--os-line)!important;border-radius:7px!important;background:var(--os-soft)!important;color:var(--os-ink)!important;font-size:12px!important;box-shadow:none}
html.os-studio dialog :is(label,dt){font-size:11px!important;color:var(--os-muted)!important;line-height:1.5}
html.os-studio dialog :is(dd,p,small){font-size:11px!important;line-height:1.55}
html.os-studio dialog :is(h2,h3){color:var(--os-ink);line-height:1.4}
html.os-studio dialog h2{font-size:19px!important}
html.os-studio dialog h3{font-size:13px!important}
html.os-studio dialog button{min-height:32px;padding:6px 11px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-ink);font-size:12px!important;font-weight:450}
html.os-studio :is(.primary,.primary-button,.primary-action),html.os-studio dialog button[type=submit]{background:var(--os-action)!important;border-color:var(--os-action)!important;color:var(--os-action-text)!important;box-shadow:none!important}
html.os-studio button[data-os-cancel]{background:var(--os-soft)!important;color:var(--os-muted)!important;border-color:var(--os-line)!important}
html.os-studio[data-os-portal=admin] #ticket-dialog{width:min(1200px,calc(100vw - 40px))!important;height:min(860px,calc(100dvh - 40px))!important;margin:auto!important;overflow:hidden}
html.os-studio #ticket-drawer{display:flex;flex-direction:column;height:100%;padding:0!important;background:var(--os-paper)!important}
html.os-studio #ticket-fixed-header{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 20px!important;border-bottom:1px solid var(--os-line);background:var(--os-paper)!important;color:var(--os-ink)!important}
html.os-studio #ticket-fixed-header :is(h2,strong){font-size:18px!important;color:var(--os-ink)!important}
html.os-studio #ticket-fixed-header :is(p,span){font-size:11px!important;color:var(--os-muted)!important}
html.os-studio #ticket-detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:16px!important;min-height:0;flex:1;padding:16px!important;overflow:auto;background:var(--os-canvas)!important}
html.os-studio #ticket-detail-main,html.os-studio #ticket-map-column{min-width:0;min-height:0;background:transparent!important;overflow:visible!important}
html.os-studio #ticket-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px!important;border:1px solid var(--os-line);border-radius:9px;background:var(--os-paper)!important}
html.os-studio #ticket-overview{margin-top:12px}
html.os-studio #ticket-overview :is(.info-group,.info-card,.overview-section,.detail-section),html.os-studio #pilot-update,html.os-studio .file-center,html.os-studio .live-map-section{border:1px solid var(--os-line)!important;border-radius:10px!important;background:var(--os-paper)!important;box-shadow:none!important;padding:12px!important;margin-bottom:12px}
html.os-studio #ticket-overview :is(.info-item,.kv,.fact){min-width:0;min-height:0;padding:7px!important;border-color:var(--os-line)!important;background:var(--os-soft)!important;border-radius:6px!important}
html.os-studio #ticket-overview :is(small,dt,label){font-size:10px!important;color:var(--os-muted)!important}
html.os-studio #ticket-overview :is(b,dd,strong){font-size:12px!important;color:var(--os-ink)!important;line-height:1.5}
html.os-studio #ticket-live-map{height:260px!important;min-height:220px;border-radius:7px;overflow:hidden}
html.os-studio #ticket-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html.os-studio #ticket-downloads :is(a,button){display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px;border:1px solid var(--os-line);border-radius:6px;background:var(--os-soft);color:var(--os-purple);font-size:11px!important;text-decoration:none}
html.os-studio :is(#edit-ticket-form,#price-reason-form,#assign-dialog form,#columns-dialog form,#billing-form){padding:20px!important}
html.os-studio .form-grid,html.os-studio .edit-grid{gap:12px!important}
html.os-studio #edit-ticket-form label{display:grid;gap:5px}
html.os-studio #edit-dialog{width:min(760px,calc(100vw - 32px))}
html.os-studio :is(.dialog-actions,.modal-actions){display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid var(--os-line)}
/* Reporting and scheduling use the same surface system, not a second visual language. */
html.os-studio .dashboard-shell{height:100%;padding:16px!important;overflow:auto;background:var(--os-canvas)!important}
html.os-studio .dashboard-controls{display:flex;align-items:end;flex-wrap:wrap;gap:9px;padding:12px!important;border:1px solid var(--os-line);border-radius:10px;background:var(--os-paper)!important}
html.os-studio .dashboard-controls label{font-size:10px!important;color:var(--os-muted)}
html.os-studio .dashboard-controls :is(select,input,button){height:33px;padding:5px 8px;border:1px solid var(--os-line);border-radius:6px;background:var(--os-soft);color:var(--os-ink);font-size:11px!important}
html.os-studio #dashboard-content :is(.kpi-card,.dashboard-card,.chart-card,.dashboard-panel){border:1px solid var(--os-line)!important;border-radius:10px!important;background:var(--os-paper)!important;box-shadow:none!important;padding:14px!important}
html.os-studio #dashboard-content :is(h2,h3){font-size:14px!important;margin:0 0 10px}
html.os-studio #dashboard-content :is(small,label){font-size:10px!important;color:var(--os-muted)}
html.os-studio .calendar-screen{display:flex;flex-direction:column;min-height:0;height:100%;background:var(--os-canvas)}
html.os-studio .calendar-toolbar{padding:9px 15px!important;gap:7px;border-bottom:1px solid var(--os-line);background:var(--os-paper)!important}
html.os-studio .calendar-toolbar :is(button,select,input){height:32px;padding:5px 9px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-ink);font-size:11px!important}
html.os-studio .calendar-layout{flex:1;min-height:0;overflow:hidden}
html.os-studio #calendar-backlog{background:var(--os-paper)!important;border-color:var(--os-line)!important}
html.os-studio #calendar-week{overflow:auto;background:var(--os-canvas)!important}
html.os-studio :is(.calendar-ticket,.calendar-event,.backlog-ticket){border-radius:7px!important;box-shadow:none!important;font-size:11px!important}
/* MY */
html.os-studio #admin-context{grid-area:context;min-height:45px;padding:7px 18px;gap:8px;flex-wrap:wrap;background:var(--os-purple-soft);border-bottom:1px solid var(--os-line);color:var(--os-ink)}
html.os-studio #admin-context :is(button,select,input){height:31px;padding:5px 8px;border:1px solid var(--os-line);border-radius:6px;background:var(--os-paper);color:var(--os-ink);font-size:11px}
html.os-studio #admin-context :is(span,output,label){font-size:10px}
html.os-studio #admin-context strong{font-size:11px}
html.os-studio #section-tasks.active{display:flex;flex-direction:column;min-height:0;height:100%}
html.os-studio .task-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:none;height:auto;padding:0 20px;border:0;background:var(--os-paper)}
html.os-studio .task-toolbar .view-switcher{order:5;flex:1 0 100%;border-bottom:1px solid var(--os-line)}
html.os-studio .task-toolbar .search{flex:1;max-width:530px;min-width:130px}
html.os-studio .task-toolbar .search input{width:100%}
html.os-studio .compact-select,html.os-studio .filter-reset{height:35px;border-color:var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-muted);font-size:11px}
html.os-studio .compact-select select{min-width:100px;color:var(--os-ink);font-size:11px}
html.os-studio .summary-strip{height:40px;min-height:40px;padding:5px 20px;gap:6px;border-bottom:1px solid var(--os-line);background:var(--os-paper)}
html.os-studio .summary-chip{padding:3px 7px;border-radius:5px;background:var(--os-soft);font-size:10px;white-space:nowrap}
html.os-studio #section-tasks>.view{flex:1;height:auto;min-height:0;overflow:hidden}
html.os-studio #cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:13px;padding:16px;overflow:auto;background:var(--os-canvas)}
html.os-studio[data-os-portal=my] .ticket-card{min-height:180px;border:1px solid var(--os-line);border-inline-start:3px solid var(--tone);border-radius:10px;background:var(--os-paper);box-shadow:none;transform:none!important}
html.os-studio[data-os-portal=my] .ticket-card header{min-height:34px;padding:8px 11px;background:color-mix(in srgb,var(--tone) 7%,var(--os-paper));border-bottom:1px solid var(--os-line)}
html.os-studio[data-os-portal=my] .ticket-card header span{font-size:11px;font-weight:500}
html.os-studio[data-os-portal=my] .ticket-card header small{font-size:10px}
html.os-studio[data-os-portal=my] .ticket-card .card-body{gap:8px;padding:12px}
html.os-studio[data-os-portal=my] .ticket-card h3{font-size:15px;font-weight:600;color:var(--os-ink)}
html.os-studio[data-os-portal=my] .ticket-card p{font-size:11px;height:auto;max-height:34px;line-height:1.5}
html.os-studio[data-os-portal=my] .ticket-card .facts{gap:7px}
html.os-studio[data-os-portal=my] .ticket-card .fact{padding:7px 8px;background:var(--os-soft);border-radius:6px}
html.os-studio[data-os-portal=my] .fact small{font-size:10px;color:var(--os-muted)}
html.os-studio[data-os-portal=my] .fact b{font-size:12px;color:var(--os-ink);font-weight:500;margin-top:2px}
html.os-studio[data-os-portal=my] .ticket-card footer{padding:9px 12px!important;font-size:11px!important}
html.os-studio[data-os-portal=my] .ticket-card footer strong{color:var(--os-turquoise);font-size:15px}
html.os-studio #view-map.active{display:grid;grid-template-columns:var(--os-my-list-width,320px) 7px minmax(0,1fr)}
html.os-studio #view-map .map-side{grid-column:1;grid-row:1;background:var(--os-paper);border-color:var(--os-line)}
html.os-studio #view-map #map{grid-column:3;grid-row:1;min-height:0}
html.os-studio .os-my-splitter{grid-column:2;grid-row:1;background:var(--os-soft)}
html.os-studio .map-side>header{padding:13px;font-size:13px}
html.os-studio .map-list-item{padding:11px 8px;border-bottom:1px solid var(--os-line)}
html.os-studio .map-list-item b{font-size:12px;line-height:1.5}
html.os-studio .map-list-item small,html.os-studio .map-list-item>span{font-size:10px}
html.os-studio .board{gap:12px;padding:16px}
html.os-studio .board-column{flex-basis:278px;border:1px solid var(--os-line);border-top:3px solid var(--tone);border-radius:10px;background:var(--os-soft)}
html.os-studio .board-column>header{padding:12px;background:var(--os-paper)}
html.os-studio .board-column h2{font-size:12px}
html.os-studio .board-item{min-height:74px;padding:11px;border-inline-start-width:3px;border-radius:8px}
html.os-studio .board-item b{font-size:12px}
html.os-studio .board-item small{font-size:10px}
html.os-studio .calendar-head strong{font-size:13px}
html.os-studio .calendar-item{padding:10px;border-inline-start-width:3px}
html.os-studio .calendar-item b{font-size:11px}
html.os-studio .calendar-item small{font-size:10px}
html.os-studio .content-section{padding:22px 24px 36px;background:var(--os-canvas)}
html.os-studio .section-heading{margin-bottom:18px;gap:12px}
html.os-studio .section-heading h1{font-size:25px;margin:4px 0}
html.os-studio .section-heading p{font-size:11px;line-height:1.6}
html.os-studio .eyebrow{font-size:10px;letter-spacing:0;color:var(--os-purple);font-weight:550}
html.os-studio :is(.form-card,.notification-card,.preference-card,.deliverable-card,.financial-summary article,.document-row){border:1px solid var(--os-line);border-radius:10px;background:var(--os-paper);box-shadow:none}
html.os-studio :is(.deliverable-card,.document-row) h3{font-size:13px}
html.os-studio :is(.deliverable-card,.document-row) p,html.os-studio .file-meta{font-size:11px}
html.os-studio .file-actions button,html.os-studio .document-row button{font-size:11px;min-height:34px}
html.os-studio .financial-summary strong{font-size:25px;color:var(--os-purple)}
html.os-studio .financial-summary span{font-size:11px;color:var(--os-muted)}
html.os-studio .form-card{padding:18px}
html.os-studio .form-card h2{font-size:16px}
html.os-studio .form-card p,html.os-studio .form-grid label{font-size:11px}
html.os-studio .form-grid :is(input,textarea){min-height:37px;background:var(--os-soft);font-size:13px;border-radius:7px}
html.os-studio .account-layout{grid-template-columns:minmax(250px,.8fr) minmax(320px,1.2fr)}
html.os-studio .notification-layout{grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr)}
html.os-studio[data-os-portal=my] #ticket-dialog{width:min(940px,calc(100vw - 40px));height:min(780px,calc(100dvh - 40px));overflow:hidden}
html.os-studio[data-os-portal=my] #ticket-dialog>article{display:flex;flex-direction:column;height:100%;min-height:0}
html.os-studio[data-os-portal=my] .ticket-header{padding:18px 20px;background:var(--os-paper);border-bottom:1px solid var(--os-line)}
html.os-studio #ticket-price{color:var(--os-turquoise);font-size:22px}
html.os-studio .ticket-tabs{display:flex;gap:5px;background:var(--os-paper);border-bottom:1px solid var(--os-line);overflow:auto;flex:none}
html.os-studio .ticket-tabs button{flex:1;white-space:nowrap;min-height:42px;padding:8px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--os-muted);font-size:12px;font-weight:450}
html.os-studio .ticket-tabs button.active{color:var(--os-purple);border-bottom-color:var(--os-purple);background:none}
html.os-studio #ticket-content{flex:1;min-height:0;padding:18px;overflow:auto;background:var(--os-canvas)}
html.os-studio #ticket-content :is(.detail-card,.overview-card,.mission-card){border:1px solid var(--os-line);border-radius:10px;background:var(--os-paper);box-shadow:none}
/* PILOT: desktop split workspace and a genuine two-column mobile form. */
html.os-studio[data-os-portal=pilot] #pilot-app{height:100dvh;display:flex;flex-direction:column}
html.os-studio[data-os-portal=pilot] #pilot-header{height:58px!important;min-height:58px;flex:0 0 58px;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:14px;padding:7px 15px!important;align-items:center;background:var(--os-paper)!important;border-bottom:1px solid var(--os-line);box-shadow:none;z-index:1030}
html.os-studio #pilot-brand{min-width:0;gap:9px}
html.os-studio #pilot-header-logo{width:104px;height:39px;object-fit:contain}
html.os-studio #pilot-header-title{display:block!important;color:var(--os-purple);font-size:12px;font-weight:500}
html.os-studio[data-theme=dark] #pilot-header-logo{filter:brightness(1.75) saturate(.65)}
html.os-studio #pilot-header-actions{display:flex;align-items:center;justify-content:center;gap:7px;overflow:visible}
html.os-studio #pilot-header-actions .header-button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;width:auto;min-width:32px;height:33px;padding:6px 8px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-muted)}
html.os-studio #pilot-header-actions .header-button small{display:block!important;font-size:10px;font-weight:450}
html.os-studio #pilot-header-actions .header-button svg{width:17px;height:17px}
html.os-studio #pilot-header-actions .accent{color:var(--os-turquoise);border-color:var(--os-turquoise);background:var(--os-turquoise-soft)}
html.os-studio #pilot-workspace{flex:1;display:grid;grid-template-columns:minmax(0,var(--os-map-share-x,60%)) 8px minmax(280px,1fr);grid-template-rows:minmax(0,1fr);direction:ltr;min-height:0;overflow:hidden}
html.os-studio #pilot-map-column{grid-column:1;grid-row:1;min-height:0;min-width:0;border:0}
html.os-studio #pilot-map{min-height:0;filter:none!important}
html.os-studio .os-pilot-splitter{grid-column:2;grid-row:1;background:var(--os-soft)}
html.os-studio #pilot-panel{grid-column:3;grid-row:1;min-height:0;background:var(--os-paper)}
html.os-studio #pilot-map-footer{display:flex;align-items:center;gap:13px;min-height:31px;height:31px;flex-basis:31px;padding:4px 11px;background:var(--os-paper);color:var(--os-muted);border-top:1px solid var(--os-line);font-size:10px}
html.os-studio #pilot-map-footer b{font-size:12px;font-weight:550;color:var(--os-ink)}
html.os-studio #pilot-list-toolbar{padding:11px;gap:6px;grid-template-columns:minmax(0,1fr) auto;background:var(--os-paper)}
html.os-studio #pilot-list-toolbar .search{height:34px;padding:0 9px}
html.os-studio .sort-actions{gap:4px}
html.os-studio .sort-button{width:31px;height:34px;padding:5px;border-radius:6px;font-size:11px;font-weight:500;background:var(--os-paper)}
html.os-studio .sort-button.active{background:var(--os-purple-soft);border-color:var(--os-purple);color:var(--os-purple)}
html.os-studio #pilot-ticket-list{padding:10px;background:var(--os-canvas)}
html.os-studio[data-os-portal=pilot] .ticket-card{min-height:78px;grid-template-columns:20px minmax(0,1fr) 68px;gap:8px;margin-bottom:8px;padding:10px;border:1px solid var(--os-line);border-inline-start:3px solid var(--ticket-color);border-radius:9px;background:var(--os-paper);box-shadow:none}
html.os-studio .ticket-title{font-size:13px;font-weight:550;color:var(--os-ink)}
html.os-studio .ticket-meta{font-size:10px;line-height:1.5;color:var(--os-muted)}
html.os-studio .ticket-number{font-size:10px;font-weight:450;color:var(--os-muted)}
html.os-studio .icon-link{width:30px;height:32px;border-radius:6px;border-color:var(--os-line);background:var(--os-soft);color:var(--os-purple)}
html.os-studio #pilot-ticket-header{min-height:76px;padding:12px 15px;background:var(--os-paper)!important;color:var(--os-ink)!important;border-bottom:1px solid var(--os-line);border-inline-start:4px solid var(--ticket-color);gap:10px}
html.os-studio #pilot-ticket-back{order:2;margin-inline-start:auto;width:33px;height:33px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-muted)}
html.os-studio #pilot-ticket-heading{display:grid;grid-template-columns:auto 1fr;gap:5px 7px;min-width:0;flex:1}
html.os-studio #pilot-ticket-identity{grid-column:1/-1;grid-row:1;color:var(--os-ink);font-size:16px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
html.os-studio #pilot-ticket-date-label{grid-row:2;grid-column:1;color:var(--os-muted);font-size:10px;opacity:1}
html.os-studio #pilot-ticket-date{grid-row:2;grid-column:2;color:var(--os-muted);font-size:11px;font-weight:450}
html.os-studio #pilot-ticket-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
html.os-studio #pilot-ticket-tabs button{height:41px;min-height:41px;padding:7px 5px;font-size:11px}
html.os-studio #pilot-tab-panels{flex:1;min-height:0;overflow:auto;background:var(--os-paper)}
html.os-studio #pilot-execution-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:15px;align-content:start}
html.os-studio #pilot-completion-label{grid-row:1;grid-column:1}
html.os-studio #pilot-completion-select{grid-row:2;grid-column:1}
html.os-studio #pilot-rtk-label{grid-row:1;grid-column:2}
html.os-studio #pilot-rtk-select{grid-row:2;grid-column:2}
html.os-studio #pilot-gcp-label{grid-row:3;grid-column:1/-1;margin-top:7px}
html.os-studio #pilot-gcp-select{grid-row:4;grid-column:1/-1}
html.os-studio #pilot-notes-label{grid-row:5;grid-column:1/-1;margin-top:7px}
html.os-studio #pilot-notes-input{grid-row:6;grid-column:1/-1;min-height:78px;height:88px;resize:vertical}
html.os-studio #pilot-save-execution{grid-row:7;grid-column:1;margin-top:8px;min-height:39px;height:auto;padding:9px;border-radius:7px;font-size:12px;font-weight:550}
html.os-studio .os-pilot-materials{grid-row:7;grid-column:2;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;padding:8px;min-height:39px;border:1px solid var(--os-turquoise);border-radius:7px;background:var(--os-paper);color:var(--os-turquoise);font-size:12px;font-weight:500;cursor:pointer}
html.os-studio #pilot-execution-status{grid-row:8;grid-column:1/-1;text-align:start;font-size:11px;color:var(--os-turquoise)}
html.os-studio #pilot-execution-panel label{font-size:11px;font-weight:500;line-height:1.5;color:var(--os-ink)}
html.os-studio #pilot-execution-panel :is(select,textarea){min-height:36px;padding:7px 9px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-ink);font-size:12px;box-shadow:none}
html.os-studio .technical-grid{gap:8px}
html.os-studio .technical-grid>div{padding:9px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-soft)}
html.os-studio .technical-grid dt{font-size:10px}
html.os-studio .technical-grid dd{font-size:12px;font-weight:500}
html.os-studio .notes-box{border-radius:8px;padding:11px;background:var(--os-soft);border-color:var(--os-line)}
html.os-studio .notes-box h2{font-size:12px;font-weight:550}
html.os-studio .notes-box p{font-size:12px}
html.os-studio .action-card{min-height:44px;padding:8px;border-radius:7px;font-size:12px;font-weight:500;background:var(--os-paper);color:var(--os-purple)}
.os-studio .os-splitter{position:relative;touch-action:none;cursor:col-resize;outline-offset:-2px}
.os-studio .os-splitter::after{content:'';position:absolute;left:50%;top:50%;width:3px;height:36px;transform:translate(-50%,-50%);border-radius:3px;background:color-mix(in srgb,var(--os-muted) 40%,var(--os-line))}
.os-studio.os-resizing,.os-studio.os-resizing *{user-select:none!important}
/* Users and every secondary page inherit the shared font and theme. */
html.os-studio.os-enhanced .os-users-shell{display:grid;grid-template-columns:var(--os-rail) minmax(0,1fr);grid-template-rows:var(--os-header) auto minmax(0,1fr);grid-template-areas:'rail top' 'rail heading' 'rail main';height:100dvh;overflow:hidden;direction:rtl}
html.os-studio .os-users-topbar{grid-area:top;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:8px 20px;border-bottom:1px solid var(--os-line);background:var(--os-paper);z-index:1030}
html.os-studio .os-users-topbar>.os-brand{display:none}
html.os-studio #oum-header{grid-area:heading;position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0;padding:18px 20px!important;border:0;border-bottom:1px solid var(--os-line);background:var(--os-paper)!important;min-height:0;box-shadow:none}
html.os-studio #oum-header h1{margin:0;font-size:24px!important;color:var(--os-ink)}
html.os-studio #oum-header p{margin:4px 0 0;font-size:11px!important;color:var(--os-muted)}
html.os-studio #oum-header>div:first-child>a{display:none}
html.os-studio #oum-header-actions{display:flex;gap:6px;flex-wrap:wrap}
html.os-studio #oum-header-actions button{display:inline-flex;align-items:center;gap:6px;min-height:32px;height:32px;padding:6px 10px!important;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-muted);font-size:11px!important;font-weight:450;box-shadow:none}
html.os-studio #oum-app{grid-area:main;display:flex;flex-direction:column;min-height:0;min-width:0;width:auto;max-width:none;margin:0;padding:16px 20px!important;gap:12px;overflow:hidden;background:var(--os-canvas)}
html.os-studio #oum-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin:0}
html.os-studio #oum-stats :is(button,article){padding:10px 12px!important;border:1px solid var(--os-line);border-radius:8px;background:var(--os-paper);color:var(--os-ink);box-shadow:none}
html.os-studio #oum-stats strong{font-size:21px!important;line-height:1.25;font-weight:600;color:var(--os-purple)}
html.os-studio #oum-stats :is(span,small){font-size:10px!important;color:var(--os-muted)}
html.os-studio #oum-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
html.os-studio #oum-toolbar :is(input,select,button){height:34px;min-height:34px;padding:5px 9px;border:1px solid var(--os-line);border-radius:7px;background:var(--os-paper);color:var(--os-ink);font-size:11px!important}
html.os-studio #oum-search{flex:1;min-width:220px}
html.os-studio #oum-table-wrap{flex:1;min-height:0;overflow:auto;margin:0;border:1px solid var(--os-line);border-radius:9px;background:var(--os-paper)}
html.os-studio #oum-table{border:0;border-radius:0;font-size:12px!important;width:100%}
html.os-studio #oum-table :is(th,td){padding:10px!important;background:transparent;vertical-align:middle}
html.os-studio #oum-table td :is(strong,b){font-size:12px!important;font-weight:550;color:var(--os-ink)}
html.os-studio #oum-table td :is(small,span,p){font-size:10px!important;line-height:1.5}
html.os-studio #oum-table button{height:28px;min-height:28px;padding:4px 8px!important;border:1px solid var(--os-line);border-radius:6px;background:var(--os-paper);color:var(--os-muted);font-size:10px!important;font-weight:450}
html.os-studio #oum-bulk{padding:8px 10px;border:1px solid var(--os-turquoise);border-radius:8px;background:var(--os-turquoise-soft);font-size:11px}
html.os-studio #oum-bulk button{height:30px;padding:5px 9px;font-size:11px;border-radius:6px;background:var(--os-paper);border:1px solid var(--os-line);color:var(--os-ink)}
html.os-studio #oum-dialog{width:min(850px,calc(100vw - 32px))}
html.os-studio #oum-form{padding:22px}
html.os-studio #oum-form .grid{gap:12px}
html.os-studio #oum-form label{display:grid;gap:4px;font-size:11px!important}
html.os-studio .dialog-head{padding:0 0 14px;border-bottom:1px solid var(--os-line);margin-bottom:16px;background:var(--os-paper);color:var(--os-ink)}
html.os-studio .dialog-head h2{margin:0}
html.os-studio .permission-fieldset{padding:12px;border:1px solid var(--os-line);border-radius:8px;background:var(--os-soft)}
html.os-studio .permission-list{gap:7px}
html.os-studio .permission-list label{display:flex!important;align-items:center;gap:6px;font-size:11px!important}
html.os-studio .permission-fieldset :is(p,legend){font-size:11px!important;color:var(--os-muted)}
html.os-studio .compact-dialog form,html.os-studio #oum-audit-dialog form{padding:20px}
html.os-studio .preview-box,html.os-studio .audit-list{color:var(--os-ink);background:var(--os-soft);border-color:var(--os-line);font-size:11px}
html.os-studio .review-shell{max-width:1160px;margin:auto;padding:24px;background:var(--os-canvas)}
html.os-studio .review-head{gap:15px;flex-wrap:wrap}
html.os-studio .review-head h1{font-size:25px}
html.os-studio .review-head p,html.os-studio .review-summary span{font-size:11px;line-height:1.5}
html.os-studio .review-item{padding:16px;border-inline-start:3px solid var(--os-purple);border-radius:10px}
html.os-studio .review-item h2{font-size:15px}
html.os-studio .review-item :is(p,pre),html.os-studio .review-form label{font-size:11px}
html.os-studio .review-actions button{font-size:12px;border-radius:7px}
html.os-studio[data-os-portal=viewer] body>header{background:var(--os-paper);border-color:var(--os-line);color:var(--os-ink)}
html.os-studio[data-os-portal=viewer] body>header :is(a,small){color:var(--os-muted)}
html.os-studio[data-os-portal=viewer] #stage{background:var(--os-canvas);color:var(--os-ink)}
html.os-studio[data-os-portal=viewer] body>footer{background:var(--os-paper);color:var(--os-muted);border-color:var(--os-line)}
html.os-studio[data-os-portal=viewer] .state p{color:var(--os-muted)}
html.os-studio[data-os-portal=share] body{background:var(--os-canvas)!important;color:var(--os-ink)!important}
html.os-studio #share-stage article{position:relative;border:1px solid var(--os-line);border-radius:14px;background:var(--os-paper)!important;box-shadow:var(--os-shadow);color:var(--os-ink)!important}
html.os-studio #share-stage .os-account-host{position:absolute;top:14px;left:14px}
html.os-studio #share-stage p{color:var(--os-muted)!important}
html.os-studio #share-stage .brand{color:var(--os-purple)!important}
/* UPLOAD keeps its independently deployed preparation, transfer and history code. */
html.os-studio[data-os-portal=upload] body{background:var(--os-canvas)!important;color:var(--os-ink)!important}
html.os-studio[data-os-portal=upload] #pilot-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:56px;height:auto;padding:9px 16px!important;background:var(--os-paper)!important;border-color:var(--os-line)!important;box-shadow:none!important}
html.os-studio[data-os-portal=upload] #pilot-header .os-account-host{margin-inline-start:auto}
html.os-studio[data-os-portal=upload] :is(.panel,.step,.job-tab,.metrics,.transfer,.file-details,.history,.map-top,.map-bottom,.pickers,.settings){background:var(--os-paper)!important;color:var(--os-ink)!important;border-color:var(--os-line)!important;box-shadow:none!important}
html.os-studio[data-os-portal=upload] :is(.workspace,.map-shell){background:var(--os-canvas)!important;color:var(--os-ink)!important}
html.os-studio[data-os-portal=upload] :is(.drop-zone,.dropzone,.map-empty,.job-number,.metadata,.metric,.jobs-empty){background:var(--os-soft)!important;color:var(--os-muted)!important;border-color:var(--os-line)!important}
html.os-studio[data-os-portal=upload] :is(h1,h2,h3,h4,strong){color:var(--os-ink)}
html.os-studio[data-os-portal=upload] :is(.hint,.muted,.meta,small){color:var(--os-muted)!important}
html.os-studio[data-os-portal=upload] :is(input,select,textarea){background:var(--os-soft)!important;color:var(--os-ink)!important;border-color:var(--os-line)!important;font-size:12px!important}
html.os-studio[data-os-portal=upload] button:not(.primary):not(.primary-button){background:var(--os-paper);color:var(--os-ink);border-color:var(--os-line)}
html.os-studio[data-os-portal=upload] .job-tab.active{background:var(--os-purple-soft)!important;color:var(--os-purple)!important;border-color:var(--os-purple)!important}
html.os-studio[data-theme=dark][data-os-portal=upload] #pilot-header img{filter:brightness(1.9) saturate(.6)}
/* Map UI only. Map imagery, geometry, markers and status hues are never inverted. */
html.os-studio .leaflet-popup-content-wrapper,html.os-studio .leaflet-popup-tip{background:var(--os-paper)!important;color:var(--os-ink)!important}
html.os-studio .leaflet-popup-content{font-size:12px!important;line-height:1.5}
html.os-studio .leaflet-popup-content :is(h3,strong){font-size:13px;color:var(--os-ink)}
html.os-studio .leaflet-popup-content :is(p,small){font-size:11px;color:var(--os-muted)}
html.os-studio .leaflet-popup-content button{min-height:32px;padding:6px 12px;border:0;border-radius:7px;background:var(--os-action);color:var(--os-action-text);font-size:12px}
html.os-studio .leaflet-control-zoom a,html.os-studio .leaflet-control-layers{background:var(--os-paper)!important;color:var(--os-ink)!important;border-color:var(--os-line)!important}
html.os-studio .leaflet-bar{border:1px solid var(--os-line)!important;box-shadow:var(--os-shadow)!important;border-radius:8px;overflow:hidden}
html.os-studio .leaflet-control-attribution{background:color-mix(in srgb,var(--os-paper) 90%,transparent)!important;color:var(--os-muted)!important;font-size:9px!important}
html.os-studio .leaflet-control-attribution a{color:var(--os-purple)}
html.os-studio .leaflet-container a.leaflet-popup-close-button{color:var(--os-muted)}
/* Responsive composition, not a scaled desktop canvas. */
@media(min-width:861px) and (max-width:1200px){html.os-studio{--os-rail:154px}html.os-studio .os-rail nav :is(a,button){padding:9px 8px!important;font-size:11px!important;gap:8px}html.os-studio #pilot-header-actions .header-button small{display:none!important}html.os-studio #pilot-header-actions .header-button{width:34px}html.os-studio #pilot-workspace{grid-template-columns:minmax(0,55%) 8px minmax(280px,1fr)}html.os-studio #admin-r22-header{gap:8px!important;padding-inline:12px!important}html.os-studio .os-system-toggle>span{display:none}html.os-studio .account-layout,html.os-studio .notification-layout{grid-template-columns:1fr}}
@media(max-width:860px){
  html.os-studio{--os-header:56px;--os-rail:228px}
  html.os-studio.os-enhanced[data-os-portal=admin] #admin-r22-app{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:'header' 'main'}
  html.os-studio.os-enhanced[data-os-portal=my] #app{grid-template-columns:minmax(0,1fr);grid-template-rows:56px auto minmax(0,1fr) calc(55px + env(safe-area-inset-bottom));grid-template-areas:'header' 'context' 'main' 'bottom'}
  html.os-studio .os-rail{position:fixed;top:0;bottom:0;inset-inline-start:0;width:var(--os-rail);z-index:1200;transform:translateX(105%);transition:transform .18s ease;padding-top:55px;box-shadow:var(--os-shadow)}
  html.os-studio.os-nav-open .os-rail{transform:translateX(0)}
  html.os-studio .os-rail-close{display:flex;position:absolute;top:12px;inset-inline-end:12px}
  html.os-studio .os-menu-toggle{display:inline-flex;flex:none;order:9;border:0;background:transparent;color:var(--os-ink)}
  html.os-studio.os-nav-open .os-nav-scrim{position:fixed;inset:0;display:block;width:100%;height:100%;border:0;border-radius:0;background:#10102080;z-index:1150;padding:0}
  html.os-studio .os-nav-scrim>span{display:none}
  html.os-studio.os-enhanced #admin-r22-header,html.os-studio.os-enhanced[data-os-portal=my] .topbar{display:flex;flex-wrap:wrap;gap:5px!important;min-height:56px;height:auto!important;padding:8px 10px!important}
  html.os-studio.os-enhanced #admin-r22-header>.brand,html.os-studio.os-enhanced[data-os-portal=my] .topbar>.brand{display:flex!important;align-items:center;min-width:0;gap:5px;margin-inline-end:auto}
  html.os-studio #admin-r22-brand .brand-logo{width:73px;height:33px;flex-basis:73px;background:var(--os-purple)}
  html.os-studio #admin-r22-brand strong{font-size:10px;color:var(--os-purple);border:0;padding:0}
  html.os-studio[data-os-portal=my] .topbar .brand-logo{width:74px;height:31px;object-fit:contain}
  html.os-studio[data-theme=dark][data-os-portal=my] .topbar .brand-logo{filter:brightness(1.8) saturate(.65)}
  html.os-studio[data-os-portal=my] .topbar>.brand strong{font-size:0;padding:0;border:0;width:auto}
  html.os-studio[data-os-portal=my] .topbar>.brand strong::after{content:'MY';font-size:12px;color:var(--os-purple);font-weight:500}
  html.os-studio .top-actions{gap:1px;margin:0!important;flex:0 1 auto;min-width:0}
  html.os-studio .top-actions>#refresh,html.os-studio .top-actions>#admin-r22-refresh{width:28px;min-width:28px;font-size:18px}
  html.os-studio #oa-account-slot{gap:3px!important;min-width:0!important;flex:0 1 auto!important}
  html.os-studio .oa-account-button{padding:3px 4px!important;font-size:11px!important;max-width:123px!important;min-width:0!important}
  html.os-studio #oa-greeting{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html.os-studio .os-system-toggle{padding:5px;border:0;background:transparent;min-height:30px}
  html.os-studio .os-system-toggle>span{display:none}
  html.os-studio #oa-portals{position:fixed;top:55px;left:10px;right:auto;width:230px;max-width:calc(100vw - 20px)}
  html.os-studio #admin-r22-header .search-control{flex:1 0 100%;order:10;width:100%;min-width:0;margin-top:4px}
  html.os-studio #ticket-search-state{display:none}
  html.os-studio .os-page-heading{min-height:56px;padding:12px!important;gap:8px}
  html.os-studio .os-page-heading h1{font-size:21px}
  html.os-studio .os-page-heading :is(.primary-action,.new-mission){padding:7px 9px!important;font-size:11px;min-height:34px}
  html.os-studio #work-toolbar{padding:0 8px!important;min-height:39px}
  html.os-studio #view-switcher{width:100%}
  html.os-studio #view-switcher button{flex:1 0 auto;gap:4px;padding:7px 8px;height:39px;font-size:11px}
  html.os-studio #view-switcher svg{width:15px;height:15px}
  html.os-studio #admin-r22-save-state{position:absolute;inset-inline-end:12px;top:-15px;font-size:8px;pointer-events:none}
  html.os-studio #bulk-action-bar{padding:6px 9px!important;min-height:43px;gap:5px!important}
  html.os-studio #bulk-action-bar :is(button,select){font-size:10px;min-height:30px;padding:4px 6px}
  html.os-studio #bulk-action-bar .toolbar-spacer{display:none}
  html.os-studio #bulk-action-bar .saved-view-control{flex:1;min-width:0}
  html.os-studio #saved-view{min-width:0;width:110px}
  html.os-studio .os-selection-actions{flex-basis:100%;gap:5px}
  html.os-studio #filter-popover{position:fixed;top:132px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 165px);padding:13px}
  html.os-studio #mode-map.active{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(80px,var(--os-map-share,45%)) 16px minmax(0,1fr)}
  html.os-studio #admin-r22-map{grid-column:1;grid-row:1}
  html.os-studio #map-resizer{grid-column:1;grid-row:2;border:0}
  html.os-studio #status-tree-panel{grid-column:1;grid-row:3;border-radius:0;overflow:hidden}
  html.os-studio #status-tree-panel>header{padding:8px 12px!important;gap:5px;flex-direction:row;align-items:center;flex-wrap:wrap}
  html.os-studio #status-tree-panel h1{font-size:14px}
  html.os-studio #status-tree-panel header p{font-size:9px;margin:0}
  html.os-studio .map-list-actions{flex:1;margin-inline-start:auto;min-width:210px}
  html.os-studio .map-list-actions button{font-size:9px;padding:4px}
  html.os-studio #status-tree{padding:4px 9px!important}
  html.os-studio .tree-ticket{min-height:62px!important}
  html.os-studio .os-splitter{cursor:row-resize;background:var(--os-paper)!important;min-height:16px}
  html.os-studio .os-splitter::after{width:38px;height:4px}
  html.os-studio #tickets-cards{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:11px!important}
  html.os-studio #tickets-kanban{padding:11px!important;gap:10px!important;scroll-snap-type:x proximity}
  html.os-studio #tickets-kanban>.kanban-column{flex-basis:280px!important;width:280px!important;min-width:280px!important;max-width:280px!important;scroll-snap-align:start}
  html.os-studio .table-scroll,html.os-studio .table-wrap{padding:8px}
  html.os-studio :is(th,td){padding:9px!important}
  html.os-studio dialog,html.os-studio[data-os-portal=admin] #ticket-dialog,html.os-studio[data-os-portal=my] #ticket-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important;border-radius:12px!important}
  html.os-studio[data-os-portal=admin] #ticket-dialog,html.os-studio[data-os-portal=my] #ticket-dialog{height:calc(100dvh - 16px)!important}
  html.os-studio #ticket-fixed-header{min-height:65px;padding:12px!important}
  html.os-studio #ticket-fixed-header :is(h2,strong){font-size:16px!important}
  html.os-studio #ticket-detail-layout{display:flex;flex-direction:column;gap:12px!important;padding:11px!important}
  html.os-studio #ticket-detail-main,html.os-studio #ticket-map-column{flex:none;overflow:visible!important}
  html.os-studio #ticket-live-map{height:240px!important}
  html.os-studio #ticket-actions{gap:5px;padding:8px!important}
  html.os-studio #ticket-actions :is(button,select){font-size:11px!important}
  html.os-studio dialog .form-grid,html.os-studio dialog .edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
  html.os-studio dialog :is(form,.dialog-body){max-width:100%}
  html.os-studio :is(#edit-ticket-form,#price-reason-form,#assign-dialog form,#columns-dialog form,#billing-form){padding:14px!important}
  html.os-studio .dashboard-shell{padding:10px!important}
  html.os-studio .dashboard-controls{gap:7px;padding:9px!important}
  html.os-studio .dashboard-controls label{flex:1 0 42%;min-width:0}
  html.os-studio .dashboard-controls select{width:100%;min-width:0}
  html.os-studio .calendar-toolbar{flex-wrap:wrap;padding:8px!important;gap:6px}
  html.os-studio .calendar-layout{overflow:auto}
  html.os-studio #admin-context{padding:7px 10px;gap:6px;max-height:120px;overflow:auto}
  html.os-studio #admin-context .admin-context-current{flex:1 0 100%;display:flex;gap:8px}
  html.os-studio #admin-context input{max-width:140px}
  html.os-studio .task-toolbar{padding:0 12px;gap:7px}
  html.os-studio .task-toolbar .search{flex:1;max-width:none}
  html.os-studio .task-toolbar .compact-select{max-width:148px;font-size:0;padding-inline-start:0}
  html.os-studio .task-toolbar .compact-select select{min-width:85px;max-width:148px;font-size:11px;padding:4px}
  html.os-studio .task-toolbar .filter-reset{padding:4px 7px;font-size:10px}
  html.os-studio .task-toolbar output{font-size:9px;margin:0}
  html.os-studio .task-toolbar .view-switcher{gap:0;padding-top:3px}
  html.os-studio .task-toolbar .view-switcher button{flex:1 0 auto;gap:5px;padding:7px;height:40px;font-size:11px}
  html.os-studio .task-toolbar .view-switcher svg{width:15px;height:15px}
  html.os-studio .summary-strip{height:34px;min-height:34px;padding:4px 12px}
  html.os-studio .summary-chip{font-size:9px;padding:3px 6px}
  html.os-studio #cards{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}
  html.os-studio[data-os-portal=my] .ticket-card{min-height:0}
  html.os-studio[data-os-portal=my] .ticket-card h3{font-size:15px}
  html.os-studio[data-os-portal=my] .ticket-card .card-body{padding:11px;gap:7px}
  html.os-studio[data-os-portal=my] .ticket-card .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.os-studio[data-os-portal=my] .ticket-card footer strong{font-size:16px}
  html.os-studio .os-bottom-nav{grid-area:bottom;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:55px;padding:3px 7px calc(3px + env(safe-area-inset-bottom));border-top:1px solid var(--os-line);background:var(--os-paper);z-index:1020}
  html.os-studio .os-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border:0;border-radius:7px;background:none;color:var(--os-muted);font-size:10px;padding:4px;cursor:pointer}
  html.os-studio .os-bottom-nav svg{width:20px;height:20px}
  html.os-studio .os-bottom-nav button.active{color:var(--os-purple);font-weight:550;background:var(--os-purple-soft)}
  html.os-studio #view-map.active{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(90px,var(--os-map-share,52%)) 16px minmax(0,1fr)}
  html.os-studio #view-map #map{grid-column:1;grid-row:1}
  html.os-studio #view-map .os-my-splitter{grid-column:1;grid-row:2}
  html.os-studio #view-map .map-side{grid-column:1;grid-row:3;min-height:0;overflow:hidden}
  html.os-studio .map-side>header{padding:7px 11px}
  html.os-studio .map-side h2{font-size:13px}
  html.os-studio #map-list{min-height:0;overflow:auto}
  html.os-studio .content-section{padding:17px 12px 28px}
  html.os-studio .section-heading{align-items:flex-start;margin-bottom:14px}
  html.os-studio .section-heading h1{font-size:23px}
  html.os-studio .section-heading p{font-size:11px}
  html.os-studio .section-heading>button{padding:5px 8px;min-width:50px;font-size:11px}
  html.os-studio .deliverable-grid,html.os-studio .account-layout,html.os-studio .notification-layout{grid-template-columns:minmax(0,1fr)}
  html.os-studio .section-filters{flex-wrap:wrap;gap:7px}
  html.os-studio .section-filters>.search{flex:1;min-width:150px}
  html.os-studio .section-filters input{width:100%}
  html.os-studio .financial-summary{gap:6px}
  html.os-studio .financial-summary article{padding:10px 8px}
  html.os-studio .financial-summary strong{font-size:20px}
  html.os-studio .financial-summary span{font-size:10px}
  html.os-studio .document-row{grid-template-columns:32px minmax(0,1fr) auto;gap:7px;padding:10px}
  html.os-studio .document-row button{min-height:32px;padding:5px 7px;font-size:11px}
  html.os-studio .form-card{padding:14px}
  html.os-studio[data-os-portal=my] .ticket-header{padding:14px 12px;gap:8px}
  html.os-studio[data-os-portal=my] .ticket-header h2{font-size:17px!important}
  html.os-studio #ticket-price{font-size:18px}
  html.os-studio #ticket-content{padding:12px}
  html.os-studio #ticket-dialog .ticket-tabs button{font-size:11px!important;min-width:70px;flex:1 0 auto;padding:7px}
  html.os-studio[data-os-portal=pilot] #pilot-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:43px 39px;height:96px!important;min-height:96px;flex:0 0 96px;padding:4px 9px 6px!important;gap:0 5px!important}
  html.os-studio #pilot-brand{grid-column:1;grid-row:1;gap:5px}
  html.os-studio #pilot-header-logo{width:77px;height:33px}
  html.os-studio #pilot-header-title{font-size:10px}
  html.os-studio #pilot-header>.os-account-host{grid-column:2;grid-row:1;gap:1px}
  html.os-studio #pilot-header-actions{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;gap:4px;padding-top:4px;border-top:1px solid var(--os-line);overflow-x:auto;scrollbar-width:none}
  html.os-studio #pilot-header-actions .header-button{flex:1;min-width:40px;height:30px;gap:4px;padding:5px 4px;border:0;border-radius:5px;background:transparent;color:var(--os-muted);white-space:nowrap}
  html.os-studio #pilot-header-actions .header-button small{display:block!important;font-size:9px}
  html.os-studio #pilot-header-actions .header-button svg{width:15px;height:15px}
  html.os-studio #pilot-header-actions .accent{color:var(--os-turquoise);background:var(--os-turquoise-soft)}
  html.os-studio #pilot-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(80px,var(--os-map-share,45%)) 16px minmax(0,1fr)}
  html.os-studio #pilot-map-column{grid-column:1;grid-row:1}
  html.os-studio .os-pilot-splitter{grid-column:1;grid-row:2}
  html.os-studio #pilot-panel{grid-column:1;grid-row:3;min-height:0;overflow:hidden}
  html.os-studio #pilot-map-footer{height:28px;min-height:28px;flex-basis:28px;font-size:9px;padding:3px 9px;gap:8px;white-space:nowrap}
  html.os-studio #pilot-map-footer b{font-size:11px}
  html.os-studio #pilot-summary-status{font-size:9px}
  html.os-studio #pilot-list-toolbar{padding:8px}
  html.os-studio #pilot-ticket-list{padding:8px}
  html.os-studio #pilot-ticket-header{min-height:69px;padding:9px 12px}
  html.os-studio #pilot-ticket-identity{font-size:15px}
  html.os-studio #pilot-ticket-tabs button{font-size:10px;min-height:36px;height:36px;padding:5px}
  html.os-studio #pilot-execution-panel{padding:11px 12px;gap:5px 10px}
  html.os-studio #pilot-execution-panel label{font-size:10px}
  html.os-studio #pilot-execution-panel :is(select,textarea){min-height:34px;padding:6px 8px;font-size:12px}
  html.os-studio #pilot-notes-input{height:66px;min-height:66px}
  html.os-studio #pilot-save-execution,html.os-studio .os-pilot-materials{margin-top:6px;min-height:37px;padding:8px;font-size:11px}
  html.os-studio #pilot-technical-panel,html.os-studio #pilot-navigation-panel{padding:11px}
  html.os-studio.os-enhanced .os-users-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:56px auto minmax(0,1fr);grid-template-areas:'top' 'heading' 'main'}
  html.os-studio .os-users-topbar{padding:7px 10px;gap:3px}
  html.os-studio .os-users-topbar>.os-brand{display:flex;margin-inline-end:auto;gap:5px}
  html.os-studio .os-users-topbar .os-brand-mark{width:72px;height:32px}
  html.os-studio .os-users-topbar .os-brand-label{font-size:9px}
  html.os-studio .os-users-topbar .os-account-host{gap:1px}
  html.os-studio #oum-header{padding:12px!important;gap:10px}
  html.os-studio #oum-header h1{font-size:22px!important}
  html.os-studio #oum-header p{font-size:10px!important}
  html.os-studio #oum-header-actions{gap:5px}
  html.os-studio #oum-header-actions button{font-size:10px!important;padding:5px 8px!important}
  html.os-studio #oum-app{padding:10px!important;gap:9px}
  html.os-studio #oum-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  html.os-studio #oum-stats :is(button,article){padding:8px!important}
  html.os-studio #oum-stats strong{font-size:19px!important}
  html.os-studio #oum-toolbar{gap:5px}
  html.os-studio #oum-search{flex:1 0 100%;min-width:0}
  html.os-studio #oum-toolbar select{flex:1;min-width:80px;max-width:42%;padding:5px;font-size:10px!important}
  html.os-studio #oum-table{min-width:850px}
  html.os-studio #oum-form{padding:15px}
  html.os-studio #oum-form .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html.os-studio .permission-list{grid-template-columns:1fr 1fr}
  html.os-studio .review-shell{padding:15px}
  html.os-studio .review-head h1{font-size:22px}
  html.os-studio .review-item{padding:12px}
  html.os-studio[data-os-portal=viewer] body>header{flex-wrap:wrap;height:auto;min-height:60px;padding:9px;gap:8px}
  html.os-studio[data-os-portal=upload] #pilot-header{padding:7px 10px!important;gap:5px}
  html.os-studio[data-os-portal=upload] #pilot-header .os-account-host{gap:0}
}
@media(max-width:380px){html.os-studio .oa-account-button{max-width:92px!important;font-size:10px!important}html.os-studio .top-actions>#refresh,html.os-studio .top-actions>#admin-r22-refresh{width:23px;min-width:23px}html.os-studio #pilot-header-actions .header-button small{font-size:8px}html.os-studio #pilot-header-actions .header-button{gap:2px}html.os-studio .os-page-heading h1{font-size:19px}html.os-studio #oum-form .grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html.os-studio *,html.os-studio *::before,html.os-studio *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{html.os-studio :is(.os-rail,.os-bottom-nav,.os-menu-toggle,.os-nav-scrim,.os-system-menu){display:none!important}html.os-studio.os-enhanced #admin-r22-app,html.os-studio.os-enhanced #app,html.os-studio.os-enhanced .os-users-shell{display:block!important;height:auto!important;overflow:visible!important}html.os-studio body{overflow:visible!important}}
