:root{--ink:#192b24;--text:#293831;--muted:#67746d;--deep:#133a30;--green:#205444;--green-dark:#123d31;--line:#e4e9e3;--surface:#fff;--bg:#f5f7f3;--gold:#e0c88c;--radius:15px;--shadow:0 2px 4px #193c2910;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #518971;outline-offset:3px}h1,h2,p{margin:0}svg{display:block;width:20px;height:20px;flex:none}button svg{pointer-events:none}.shell{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:23px 14px 14px;z-index:5;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;margin:0 9px 27px;width:fit-content}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#173f33;color:#e5cd94;box-shadow:0 2px 4px #16372c20}.brand-mark svg{width:36px;height:36px}.brand strong{display:block;font-family:Georgia,serif;font-size:22px;line-height:1;letter-spacing:.075em}.brand small{display:block;margin-top:4px;font-size:9px;font-weight:800;letter-spacing:.22em;color:#687971}.workspace{display:flex;align-items:center;gap:9px;padding:9px;margin:0 3px 25px;border-radius:10px;background:#f6f8f4;border:1px solid #edf0eb}.workspace-icon{display:grid;place-items:center;width:32px;height:32px;color:#42735d;background:#e9f0e8;border-radius:8px}.workspace-icon svg{width:16px;height:16px}.workspace b,.demo-label b{display:block;font-size:12px}.workspace small,.demo-label small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.workspace-dot,.demo-dot{width:7px;height:7px;background:#66a382;border-radius:50%;margin-left:auto;margin-right:3px}.nav-label{margin:0 11px 8px;color:#778278;font-weight:750;font-size:10px;letter-spacing:.11em}.nav-group{display:grid;gap:3px;margin-bottom:23px}.nav-link{display:flex;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border-radius:8px;color:#536359;font-size:13px;font-weight:600}.nav-link svg{width:17px;height:17px}.nav-link:hover{background:#f1f5ef}.nav-link.active{color:#174636;background:#e7f0e7;font-weight:750}.nav-link.active:after{content:"";margin-left:auto;width:6px;height:6px;border-radius:50%;background:#438169}.nav-count{margin-left:auto;font-size:10px;padding:2px 6px;background:#f0f2ec;color:#66726a;border-radius:6px}.sidebar-bottom{margin-top:auto}.demo-label{display:flex;align-items:center;gap:9px;margin:9px 3px 15px;padding:10px 11px;border:1px solid #ede8d8;background:#faf7ee;border-radius:9px}.demo-dot{margin:0;background:#b68a39}.sidebar-footer{display:flex;justify-content:space-between;border-top:1px solid #eef0eb;color:#748078;font-size:9px;font-weight:650;letter-spacing:.055em;padding:12px 4px 0}.workspace-main{min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:12px}.crumb,.top-actions,.profile{display:flex;align-items:center;gap:12px}.crumb{font-size:13px;color:var(--muted)}.crumb strong{color:var(--ink)}.crumb-chevron svg{width:13px;height:13px}.top-search{display:flex;align-items:center;gap:8px;background:#f8faf7;color:#5d6c63;border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:12px}.top-search svg{width:15px;height:15px}.top-search kbd{font-family:inherit;background:#fff;border:1px solid #e6ebe5;border-radius:4px;padding:1px 4px;margin-left:11px;font-size:10px}.top-divider{height:29px;width:1px;background:var(--line)}.profile{gap:8px}.profile-avatar,.avatar{display:grid;place-items:center;flex:none;border-radius:50%;font-weight:750}.profile-avatar{width:34px;height:34px;background:#e4efe3;color:#285544;font-size:12px}.profile b,.profile small{display:block;font-size:12px}.profile small{color:var(--muted);font-size:10px;margin-top:2px}.mobile-toggle,.scrim{display:none!important}
.content{max-width:1510px;margin:0 auto;padding:25px 29px 40px}.hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;overflow:hidden;min-height:160px;background:linear-gradient(106deg,#133c31,#194a39 72%,#235743);border-radius:16px;color:#fff;padding:24px 27px;margin-bottom:18px;box-shadow:0 5px 13px #1c49351a}.hero:before{content:"";position:absolute;z-index:-1;inset:0;background:url("ornament.svg") right 6% center/405px auto no-repeat;opacity:.8}.hero-copy{max-width:610px}.eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:750;letter-spacing:.15em;color:#d9c48c}.eyebrow svg{width:14px;height:14px}.hero h1{font-size:clamp(27px,3.1vw,38px);line-height:1.12;letter-spacing:-.045em;margin:9px 0}.hero p{color:#d5e2d9;font-size:13px;line-height:1.5}.hero-actions,.head-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:8px;min-height:36px;padding:7px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700;white-space:nowrap}.btn svg{width:16px;height:16px}.btn:hover,.icon-btn:hover,.top-search:hover{filter:brightness(.96)}.btn-primary{background:var(--green);color:#fff}.btn-gold{background:#ecd6a0;color:#20362c}.btn-ghost{background:#fff;color:#355a48;border-color:#dfe7df}.hero .btn-ghost{background:#ffffff12;color:#fff;border-color:#ffffff3d}.btn-danger{color:#a13939;background:#fff;border-color:#efd7d6}.text-btn{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#2d624c;font-weight:750;font-size:12px;padding:5px 0;white-space:nowrap}.text-btn svg{width:15px;height:15px}.icon-btn{width:33px;height:33px;display:inline-grid;place-items:center;color:#506459;border:1px solid var(--line);background:#fff;border-radius:7px;flex:none}.icon-btn svg{width:17px;height:17px}.icon-btn.flat{border-color:transparent;background:transparent}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:23px}.stat,.panel,.flight-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat{padding:14px 15px;min-width:0}.stat-top{display:flex;align-items:center;gap:8px;min-width:0;color:#536259;font-size:12px;font-weight:650}.tile-icon{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;flex:none;background:#e9f3eb;color:#3b7258}.tile-icon svg{width:17px;height:17px}.tile-icon.gold{background:#f8f0df;color:#9a6b24}.tile-icon.blue{background:#eaf1f8;color:#4f7393}.tile-icon.violet{background:#efedf6;color:#746590}.stat-value{font-size:25px;letter-spacing:-.035em;font-weight:790;margin:7px 0 3px}.stat-foot{font-size:11px;color:var(--muted)}.stat-foot strong{color:#386953}.section-head,.page-head,.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head{margin-bottom:11px}.section-head h2,.panel-head h2{font-size:17px;letter-spacing:-.025em}.section-head p,.panel-head p,.page-head p{color:var(--muted);margin-top:4px;font-size:12px}.flight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:21px}.flight-card{display:block;text-align:left;color:var(--ink);padding:13px 14px;transition:border-color .15s,transform .15s;min-width:0}.flight-card:hover{border-color:#8db39d;transform:translateY(-1px)}.flight-top,.flight-bottom,.meter-label{display:flex;align-items:center;justify-content:space-between;gap:7px}.flight-top{margin-bottom:11px}.flight-date{display:flex;gap:8px;align-items:center}.flight-date b{font-size:13px;display:block}.flight-date small{color:var(--muted);display:block;font-size:10px;margin-top:1px}.flight-route{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:770;letter-spacing:-.025em}.flight-route svg{color:#7b8b7f;width:13px;height:13px}.flight-route span{min-width:0}.flight-note{font-size:11px;color:var(--muted);margin:4px 0 11px}.meter-label{font-size:10px;color:var(--muted);margin-bottom:5px}.meter-label b{font-size:11px;color:#3d5548}.meter{height:5px;border-radius:6px;background:#eef1eb;overflow:hidden}.meter i{display:block;height:100%;background:#5b9575;border-radius:6px}.meter i.full{background:#c09754}.tag{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:750;padding:4px 7px;border-radius:20px;white-space:nowrap;background:#eef1ec;color:#58675e}.tag.dot:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.tag.green{background:#e7f2e8;color:#306246}.tag.gold{background:#f8efdb;color:#8b6022}.tag.red{background:#f9eaea;color:#984545}.tag.blue{background:#e9f1fa;color:#3c668d}.tag.violet{background:#eeedf7;color:#64568a}
.panel{overflow:hidden}.panel-head{padding:14px 16px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f7f9f6;font-size:10px;color:#5f6e64;font-weight:750;letter-spacing:.045em;padding:9px 12px}td{border-top:1px solid #eef0ec;padding:8px 12px;font-size:12px;color:#34483d}th:first-child,td:first-child{padding-left:16px}th:last-child,td:last-child{padding-right:16px}tbody tr:hover{background:#fafcf9}.person{border:0;padding:0;background:none;text-align:left;display:flex;align-items:center;gap:8px;color:var(--ink)}.person b{font-size:12px}.person small,.subcell{display:block;margin-top:2px;color:var(--muted);font-size:10px}.avatar{width:29px;height:29px;font-size:10px;color:#3c6856;background:#e7f0e8}.avatar.gold{color:#8a6632;background:#f8efde}.avatar.blue{color:#466989;background:#e9eff8}.avatar.violet{color:#6b5b88;background:#efebf7}.empty{padding:32px 20px!important;color:var(--muted);text-align:center;font-size:13px}.table-foot{padding:9px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.page-head{margin:2px 0 18px}.page-head h1{font-size:31px;letter-spacing:-.04em;line-height:1.15}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.field,.search-field{min-height:36px;border:1px solid #dce5dd;border-radius:8px;background:#fff;padding:7px 9px;color:#263b30}.search-field{display:flex;align-items:center;gap:6px;padding:0 9px}.search-field svg{width:16px;height:16px;color:#617168}.search-field input{border:0;background:none;min-height:34px;outline:none;font-size:13px;max-width:100%;width:205px}.split{display:grid;grid-template-columns:1fr 1fr;gap:13px}.stack{display:grid;gap:13px}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.summary-line:last-child{border:0}.muted{color:var(--muted)}.flight-detail{margin-bottom:15px;padding:15px 16px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:13px}.detail-grid span,.detail-grid b{display:block}.detail-grid span{font-size:11px;color:var(--muted);margin-bottom:3px}.group-card{padding:16px}.group-card h2{font-size:16px}.group-card p{font-size:12px;margin:9px 0;color:var(--muted)}.group-top{display:flex;gap:9px;align-items:center}.group-card .head-actions{margin-top:12px}.notice{background:#f9f4e8;border:1px solid #eee2c7;color:#6b5736;border-radius:9px;padding:10px 12px;font-size:12px;margin-bottom:12px;line-height:1.5}.table-actions{display:flex;align-items:center;gap:5px}.linkish{color:#2d624c;font-weight:700}.positive{color:#27614b}.negative{color:#9b4644}
dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 30px);padding:0;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 70px #0e2a2260}dialog::backdrop{background:#10251ec0;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px;letter-spacing:-.02em}.modal-body{padding:15px 16px}.modal-body p{line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding-top:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.form-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;min-width:0}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0}.form-grid textarea{min-height:72px;resize:vertical}.form-error{color:#a13e3e;margin-top:8px;font-size:12px}.action-list{display:grid;gap:6px;margin-top:13px}.action-list button{display:flex;align-items:center;gap:9px;text-align:left;color:var(--ink);background:#f9fbf8;border:1px solid var(--line);border-radius:8px;padding:9px}.action-list button:hover{background:#edf4eb}.action-list svg{width:16px;height:16px;color:#3f775d}.toast{position:fixed;bottom:19px;right:20px;z-index:20;max-width:calc(100vw - 36px);background:#173f33;color:#fff;padding:11px 14px;border-radius:9px;box-shadow:0 4px 24px #10251e50;display:none}.toast.visible{display:block}.doc-preview{display:block;width:100%;max-height:55vh;object-fit:contain;border:1px solid var(--line);border-radius:8px;margin-top:12px}.result-list{max-height:340px;overflow:auto}.result-list .action-list{margin-top:8px}
@media(max-width:1160px){.shell{grid-template-columns:204px minmax(0,1fr)}.content{padding-left:20px;padding-right:20px}.topbar{padding:0 20px}.hero{padding:21px}.stats,.flight-grid{gap:9px}.stat{padding:12px}.flight-card{padding:11px}}
@media(max-width:930px){.hero{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.flight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero:before{background-position:right -110px center}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none;position:fixed;width:224px;left:0;top:0}.sidebar.open{display:flex}.scrim.open{display:block!important;position:fixed;inset:0;background:#152b2170;z-index:4}.mobile-toggle{display:inline-grid!important}.crumb-home,.crumb-chevron,.top-search kbd,.profile-text,.top-divider{display:none}.topbar{height:56px;padding:0 11px}.crumb,.top-actions{gap:7px}.content{padding:13px 11px 30px}.hero{padding:16px;min-height:145px}.hero p{font-size:12px}.hero:before{opacity:.5}.page-head{flex-wrap:wrap}.page-head h1{font-size:25px}}
@media(max-width:440px){.top-search span:nth-child(2){display:none}.flight-grid,.split{grid-template-columns:1fr}.stat-value{font-size:22px}.stat-top{font-size:11px}.hero h1{font-size:27px}.panel-head{padding:11px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ---- Umra bazasi: sign-in, profile menu, the sheet grid, galleries (8 Nov 2026) ---- */
.login-wrap{min-height:100dvh;display:grid;place-items:center;padding:20px;background:var(--bg)}
.login-card{width:min(380px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:26px 24px}
.login-card .brand{margin:0 0 22px}.login-card h1{font-size:21px;letter-spacing:-.02em;margin-bottom:4px}.login-card p{color:var(--muted);font-size:12px;margin-bottom:16px}
.login-card label{display:block;font-size:12px;font-weight:650;margin:12px 0 5px}.login-card input{width:100%}.login-card .btn{width:100%;margin-top:18px;min-height:40px}
.login-error{color:#984545;font-size:12px;margin-top:10px;min-height:16px}
.profile{position:relative;cursor:pointer;border:0;background:none;padding:4px 6px;border-radius:8px}.profile:hover{background:#f3f6f2}
.menu{position:absolute;right:0;top:calc(100% + 6px);min-width:200px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #0f2a2018;padding:5px;z-index:30;text-align:left}
.menu button{display:flex;width:100%;gap:8px;align-items:center;border:0;background:none;padding:8px 9px;border-radius:7px;font-size:12px;color:var(--text)}.menu button:hover{background:#f1f5ef}.menu svg{width:15px;height:15px}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:10px}.sheet-head h1{font-size:25px;letter-spacing:-.03em}.sheet-head p{color:var(--muted);font-size:12px;margin-top:3px}
.sheet-panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.sheet-bar{display:flex;align-items:center;gap:8px;padding:7px 9px;border-bottom:1px solid var(--line);background:#fafbf9;flex-wrap:wrap}
.cell-ref{min-width:54px;font:600 12px ui-monospace,Consolas,monospace;color:#3d5247;border:1px solid #dfe6df;border-radius:6px;padding:5px 7px;background:#fff;text-align:center}
.cell-formula{flex:1;min-width:160px;font:13px ui-monospace,Consolas,monospace;border:1px solid #dfe6df;border-radius:6px;padding:5px 8px;background:#fff;color:#22352c;outline:none}
.sheet-wrap{overflow:auto;max-height:calc(100dvh - 300px);min-height:300px;position:relative;background:#fff}
table.sheet{border-collapse:separate;border-spacing:0;white-space:nowrap;width:max-content;table-layout:fixed;font-size:12.5px}
table.sheet th{position:sticky;top:0;z-index:2;background:#f1f4f0;color:#5f6e64;font:600 11px system-ui;text-align:center;padding:4px 6px;border-right:1px solid #e1e6e0;border-bottom:1px solid #d9dfd8;letter-spacing:0}
table.sheet th.rn,table.sheet td.rn{position:sticky;left:0;z-index:1;background:#f1f4f0;color:#6a786f;font:11px system-ui;text-align:center;border-right:1px solid #d9dfd8;width:44px;min-width:44px;padding:0 4px}
table.sheet th.rn{z-index:3}
table.sheet td{border-top:0;border-right:1px solid #eceeea;border-bottom:1px solid #eceeea;padding:3px 6px;height:24px;overflow:hidden;text-overflow:ellipsis;color:#1f2f27;cursor:cell;font-size:12.5px;line-height:17px;max-width:420px}
table.sheet td:first-child{padding-left:4px}
table.sheet tr.r0 td:not(.rn){font-weight:800;font-size:14px;background:#f8f6ee;text-align:center}
table.sheet tr.r1 td:not(.rn){font-weight:750;background:#f4f7f3;color:#2c4a3c;text-align:center;font-size:11.5px}
table.sheet td.sel{outline:2px solid #2f7a5c;outline-offset:-2px;background:#eef6f1}
table.sheet td.hit{background:#fff4c9}
table.sheet tr.focus td:not(.rn){background:#f2f8f4}
table.sheet td.num{text-align:right}
table.sheet td.ro{color:#7b867f;cursor:default}
table.sheet td.editing{padding:0;overflow:visible}
table.sheet td.editing input{width:100%;height:100%;min-height:24px;border:2px solid #2f7a5c;padding:2px 5px;font:inherit;outline:none;box-shadow:0 2px 10px #00000022;background:#fff}
.sheet-tabs{display:flex;gap:2px;padding:5px 7px;border-top:1px solid var(--line);background:#f7f9f6;overflow-x:auto}
.sheet-tabs button{border:1px solid transparent;background:none;padding:6px 12px;border-radius:7px;font-size:12px;color:#55665c;white-space:nowrap}
.sheet-tabs button.on{background:#fff;border-color:#dce5dd;color:#173f33;font-weight:750;box-shadow:0 1px 2px #0001}
.saving{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
.browser{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}
.folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.folder{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 13px;box-shadow:var(--shadow)}
.folder h3{font-size:13px;margin:0 0 8px;display:flex;align-items:center;gap:7px;color:#24453a}.folder h3 svg{width:16px;height:16px;color:#5a8a72}
.folder a{display:flex;justify-content:space-between;gap:8px;padding:6px 7px;border-radius:7px;font-size:12.5px;color:#2a3e34}.folder a:hover{background:#f1f5ef}.folder a small{color:var(--muted)}
.results{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:13px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:9px;padding:12px 14px 14px}
.gallery button{border:1px solid var(--line);border-radius:9px;padding:0;overflow:hidden;background:#f3f5f2;aspect-ratio:3/4}
.gallery img{width:100%;height:100%;object-fit:cover;display:block}
dialog.wide{width:min(980px,calc(100vw - 24px))}
.photo-big{width:100%;max-height:78dvh;object-fit:contain;background:#111;border-radius:8px}
.order-text{white-space:pre-wrap;font-size:13px;line-height:1.55;background:#f7f9f6;border:1px solid var(--line);border-radius:9px;padding:11px 12px}
.qr-box{display:grid;place-items:center;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;width:260px;height:260px;margin:10px 0}.qr-box svg{width:236px;height:236px}
.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:13px;align-items:start}
.panel-body{padding:14px 16px}.form-row{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}.form-row label{display:grid;gap:4px;font-size:11px;font-weight:650;color:#4d5f55}
@media(max-width:900px){.admin-grid{grid-template-columns:1fr}.sheet-wrap{max-height:calc(100dvh - 210px)}}

[hidden]{display:none!important}
table.sheet td.ovf{overflow:visible;text-overflow:clip;text-align:left!important;position:relative;z-index:0}
/* Families: a soft rounded box per order, a gap between orders, alternate orders lightly tinted. */
.cell-ref{width:auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11.5px system-ui;padding:6px 10px}
table.sheet td{border-right:1px solid #f0f2ef;border-bottom:1px solid #f0f2ef}
table.sheet tr.r0 td{background:transparent;font-size:15px;text-align:left;padding:10px 8px 8px;border:0}
table.sheet tr.hdr td{position:sticky;top:0;z-index:3;background:#f3f6f2!important;color:#4b5f54;font-size:11px;letter-spacing:.03em;text-transform:uppercase;border-bottom:1px solid #dbe3dc;height:30px}
table.sheet tr.gap td{height:7px;padding:0;border:0;background:transparent;cursor:default}
table.sheet tr.fam td{background:#fff}
table.sheet tr.fam.alt td{background:#f8faf7}
table.sheet td.ft{border-top:1px solid #cbd6ce}
table.sheet td.fb{border-bottom:1px solid #cbd6ce}
table.sheet td.fl{border-left:1px solid #cbd6ce}
table.sheet td.fr{border-right:1px solid #cbd6ce}
table.sheet td.ft.fl{border-top-left-radius:9px}
table.sheet td.ft.fr{border-top-right-radius:9px}
table.sheet td.fb.fl{border-bottom-left-radius:9px}
table.sheet td.fb.fr{border-bottom-right-radius:9px}
table.sheet td.sel{background:#eef6f1!important}
table.sheet td.hit{background:#fff4c9!important}
.sheet-wrap{padding:0 12px 12px}
table.sheet tr.r0 td:not(.rn){background:transparent;text-align:left;font-size:15px;border:0}
/* ---- Oilalar view: the same table, read nicely ---- */
.sheet-wrap:focus,.sheet-wrap:focus-visible{outline:none}
.view-switch{display:inline-flex;padding:3px;background:#eef2ee;border-radius:9px;gap:2px;flex:none}
.view-switch button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#55675d;font-size:12px;font-weight:700;padding:6px 11px;border-radius:7px}
.view-switch button svg{width:15px;height:15px}
.view-switch button.on{background:#fff;color:#173f33;box-shadow:0 1px 3px #1a3b2c22}
.pk{--c:#56645d;--b:#edf1ee;display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:750;padding:3px 9px;border-radius:999px;color:var(--c);background:var(--b);white-space:nowrap;line-height:16px}
.pk b{font-weight:800;opacity:.7}
.af{--c:#2b7454;--b:#e4f1e8}.bar{--c:#386b9b;--b:#e7eff9}.ms{--c:#67559a;--b:#eeebf8}.st{--c:#56645d;--b:#edf1ee}.sx{--c:#9a6a1f;--b:#f8eedb}.other{--c:#8a7a68;--b:#f2eee8}
.chip{font-style:normal;font-size:10.5px;font-weight:650;color:#5c6d63;background:#f1f4f0;border:1px solid #e3e9e3;border-radius:999px;padding:0 7px;margin-left:5px;line-height:17px;display:inline-block}
.sheet-panel.pretty .sheet-wrap{background:#f7f9f6;padding:14px 16px 18px}
.fam-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.fs-item{display:flex;align-items:baseline;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:7px 12px}
.fs-item span{font-size:11.5px;color:var(--muted);font-weight:600}
.fs-item b{font-size:15px;letter-spacing:-.01em;color:#173329;font-variant-numeric:tabular-nums}
.fam-packs{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
table.sheet.nice{font-size:13px;border-spacing:0}
table.sheet.nice td{height:34px;padding:5px 8px;font-size:13px;border-right:0;border-bottom:1px solid #f0f3ef;color:#1f3128;vertical-align:middle}
table.sheet.nice tr.hdr td{height:34px;background:#f7f9f6!important;color:#6b7a71;font-size:10.5px;font-weight:750;letter-spacing:.05em;border:0;border-bottom:1px solid #e3e9e3;padding:0 8px;text-overflow:clip}
table.sheet.nice tr.gap td{height:8px;border:0}
table.sheet.nice tr.fam td{background:#fff}
table.sheet.nice tr.fam.alt td{background:#fff}
table.sheet.nice td.ft{border-top:1px solid #dde5de}
table.sheet.nice td.fb{border-bottom:1px solid #dde5de}
table.sheet.nice td.fr{border-right:1px solid #dde5de}
table.sheet.nice td.fl{border-left:4px solid var(--c,#cfd9d1)}
table.sheet.nice td.ft.fl{border-top-left-radius:10px}
table.sheet.nice td.ft.fr{border-top-right-radius:10px}
table.sheet.nice td.fb.fl{border-bottom-left-radius:10px}
table.sheet.nice td.fb.fr{border-bottom-right-radius:10px}
table.sheet.nice tr.fam:hover td{background:#fbfdfb}
table.sheet.nice td[rowspan]{border-bottom-color:#dde5de}
table.sheet.nice td.num{font-variant-numeric:tabular-nums;font-weight:650;color:#18392c}
table.sheet.nice td:first-child{color:#9aa59e;font-size:12px;font-weight:700;text-align:center}
table.sheet.nice .nm{font-weight:620}
table.sheet.nice .ph{font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:.01em;color:#132a21}
table.sheet.nice .opn{font-weight:650;color:#2f4a3c}
table.sheet.nice .dt{color:#738279;font-size:12px;font-variant-numeric:tabular-nums}
table.sheet.nice td.sel{outline:2px solid #2f7a5c;outline-offset:-2px;background:#f0f7f2!important}
table.sheet.nice td.hit{background:#fff6d6!important}
table.sheet.nice tr:not(.fam):not(.hdr):not(.gap) td{border-bottom:1px solid #eef1ed;background:transparent}
@media(max-width:760px){.sheet-panel.pretty .sheet-wrap{padding:10px 8px}.fam-packs{margin-left:0}}

/* ---- a person's card: passport from PASPORTLAR 5 + what the sheet says ---- */
table.sheet.nice .nm{cursor:pointer;border-bottom:1px dashed transparent}
table.sheet.nice .nm:hover{color:#1d6b4c;border-bottom-color:#8fbca4}
dialog.wide{width:min(940px,calc(100vw - 24px))}
.person-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;align-items:start}
.pp-card{border:1px solid #e4e9e3;border-radius:14px;overflow:hidden;background:#fff}
.pp-photo{display:block;width:100%;max-height:330px;object-fit:cover;background:#eef1ed}
.pp-body{padding:14px 16px 12px}
.pp-body h3{font-size:17px;letter-spacing:.01em;color:#b0661d;margin:0 0 10px}
.pp-no{display:flex;align-items:center;gap:8px;background:#f5f1e9;border:1px solid #ece3d2;color:#5e4a2c;border-radius:9px;padding:8px 11px;font-size:13px;margin-bottom:10px}
.pp-no svg,.pp-list svg,.pp-note svg{width:16px;height:16px;flex:none;color:#8a7350}
.pp-no b{letter-spacing:.04em}
.pp-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.pp-list li{display:flex;align-items:center;gap:9px;font-size:13px;color:#33453b}
.pp-list li b{font-weight:650;color:#1d2f26;font-variant-numeric:tabular-nums}
.pp-list .tag{font-style:normal;margin-left:6px}
.pp-note{display:flex;gap:9px;align-items:flex-start;margin-top:12px;padding:9px 11px;border-left:3px solid #c9a46a;background:#faf7f1;border-radius:0 9px 9px 0;font-size:13px;color:#4a3d2a;line-height:1.45}
.pp-src{margin-top:10px;font-size:11px;color:var(--muted)}
.pp-more{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.pp-more button{width:64px;height:46px;border-radius:8px;border:2px solid transparent;padding:0;overflow:hidden;background:#eef1ed}
.pp-more button.on{border-color:#2f7a5c}
.pp-more img{width:100%;height:100%;object-fit:cover}
.pp-empty{border:1px dashed #d6ded7;border-radius:14px;padding:26px 18px;text-align:center;color:var(--muted);display:grid;justify-items:center;gap:8px}
.pp-empty svg{width:30px;height:30px;color:#9aaba0}
.pp-empty b{color:#2d4237;font-size:14px}
.pp-empty p{font-size:12.5px;line-height:1.5}
.pi-sheet{border:1px solid #e4e9e3;border-radius:14px;padding:14px 16px;background:#fbfcfa}
.pi-sheet h3{font-size:13px;color:#4f6157;margin:0 0 8px;font-weight:750}
.pi-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid #eef1ed;font-size:13px}
.pi-row:last-of-type{border-bottom:0}
.pi-row span{color:var(--muted)}
.pi-row b{font-weight:650;color:#1d2f26;text-align:right;font-variant-numeric:tabular-nums}
.pi-row small{color:#6b7a71;font-weight:500;margin-left:4px}
.pi-fam{margin-top:10px;font-size:12px;color:#5c6d63;line-height:1.5}
@media(max-width:760px){.person-grid{grid-template-columns:1fr}}
.pp-src .ok{color:#2b7454}.pp-src .warn{color:#9a5a1f}
.pp-mismatch{background:#fbeeee;border:1px solid #f0d4d4;color:#8f3b3b;border-radius:8px;padding:7px 10px;font-size:12.5px;margin:-4px 0 10px;line-height:1.45}

.pi-right{display:grid;gap:14px;align-content:start}
.pi-orders h3{font-size:13px;color:#4f6157;margin:0 0 8px;font-weight:750}
.pi-order{border:1px solid #e4e9e3;border-radius:14px;padding:12px 14px;background:#fff}
.pi-order+.pi-order{margin-top:10px}
.pi-order header{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px}
.pi-order header b{font-size:13.5px}
.pi-order header .muted{font-size:11.5px}
.pi-order header .tag{font-style:normal}
.pi-kv{display:flex;flex-wrap:wrap;gap:6px 14px}
.pi-kv span{display:flex;flex-direction:column;font-size:13px;font-weight:650;color:#1d2f26}
.pi-kv small{font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#8a968e}
.pi-izoh{margin-top:8px;font-size:12.5px;color:#4d5f55;background:#f7f9f6;border-radius:8px;padding:7px 9px;line-height:1.45}
.pi-order h4{display:flex;align-items:center;gap:6px;font-size:12px;margin:12px 0 6px;color:#2f4a3c}
.pi-order h4 span{font-size:11px;background:#eef2ee;border-radius:999px;padding:0 7px;color:#55675d}
.ck-grid{display:flex;flex-wrap:wrap;gap:7px}
.ck{display:block;width:62px;height:100px;border-radius:9px;overflow:hidden;border:1px solid #e1e7e1;background:#eef1ed}
.ck.fayl{width:92px;height:68px}
.ck img{width:100%;height:100%;object-fit:cover}
.ck:hover{border-color:#7fb096}

/* ---- month folders (Reys sanalari, Ketganlar 2) ---- */
.month-title{font-size:14px;color:#4f6157;font-weight:750;margin:6px 0 10px;letter-spacing:.01em}
.month-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:13px;margin-bottom:22px}
.month-folder{position:relative;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:4px 14px 14px 14px;padding:14px 15px 13px;box-shadow:var(--shadow);color:var(--ink);transition:border-color .15s,transform .15s,box-shadow .15s;margin-top:9px}
.month-folder:before{content:"";position:absolute;left:-1px;top:-10px;width:86px;height:11px;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:8px 10px 0 0}
.month-folder:hover{border-color:#8db39d;transform:translateY(-1px);box-shadow:0 4px 14px #183a2a14}
.month-folder:hover:before{border-color:#8db39d}
.month-folder.current{border-color:#7fb096;box-shadow:0 0 0 3px #7fb09622}
.month-folder.current:before{border-color:#7fb096}
.month-folder.past{background:#fbfcfa}
.month-folder.past:before{background:#fbfcfa}
.mf-top{display:flex;align-items:center;gap:10px}
.mf-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e9f3eb;color:#3b7258;flex:none}
.month-folder.past .mf-icon{background:#f1efe9;color:#8a7350}
.mf-icon svg{width:19px;height:19px}
.mf-name b{display:block;font-size:16px;letter-spacing:-.02em}
.mf-name small{display:block;font-size:11px;color:var(--muted);margin-top:1px}
.mf-meta{display:flex;gap:14px;font-size:12px;color:var(--muted)}
.mf-meta b{color:#183a2d;font-size:15px;font-variant-numeric:tabular-nums;margin-right:2px}
.mf-days{display:flex;flex-wrap:wrap;gap:4px}
.mf-days span{min-width:26px;text-align:center;font-size:11px;font-weight:700;color:#355a48;background:#f1f5f1;border-radius:6px;padding:2px 5px;font-variant-numeric:tabular-nums}
.mf-bar{display:flex;height:5px;border-radius:5px;overflow:hidden;background:#eef1ed}
.mf-bar i{display:block;height:100%;background:var(--c)}

.nt-steps{margin:0 0 12px;padding-left:18px;font-size:13px;line-height:1.7;color:#33453b}
.nt-wait{margin-top:10px;font-size:13px;line-height:1.55;color:#33453b}
.nt-events{display:grid;gap:8px;margin-top:12px}
.nt-events label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#26392f}
.nt-events input{width:16px;height:16px;accent-color:#2f7a5c}
.top-actions{position:relative}
.nt-ai{margin-top:16px;padding-top:14px;border-top:1px solid #eef1ed}.nt-ai h3{font-size:13px;margin:0 0 8px;color:#2f4a3c}.nt-ai p{font-size:12.5px;line-height:1.55;margin-bottom:10px}
.rp-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.rp-check{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:#26392f}.rp-check input{width:16px;height:16px;accent-color:#2f7a5c}.rp-time{display:flex;align-items:center;gap:6px;font-size:13px;color:#4f6157}.rp-time .field{min-height:32px;padding:4px 8px}

/* each operator its own colour, so whose client it is shows at a glance */
table.sheet.nice .opn{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;line-height:18px;background:#eef1ee;color:#33463b}
.opn.op0{background:#e3effa;color:#245b8f}.opn.op1{background:#e9f4e6;color:#2e6b2a}.opn.op2{background:#fbeede;color:#94551b}
.opn.op3{background:#f6e6f1;color:#8a2f6c}.opn.op4{background:#e6f4f3;color:#1f6b66}.opn.op5{background:#fdeaea;color:#9b2f2f}
.opn.op6{background:#efe9fa;color:#5b3c99}.opn.op7{background:#fff4d6;color:#7d5b00}.opn.op8{background:#e8eefb;color:#2f4fa0}
.opn.op9{background:#f0f3e2;color:#5b6b17}.opn.op-x{background:#f1f1f1;color:#666}

/* ---- Oilaviy bloklar (the owner's mockup, 9 Nov 2026) ---- */
.sheet-panel.pretty{background:transparent;border:0;box-shadow:none}
.sheet-panel.pretty .sheet-bar{background:transparent;border:0;padding:0 0 6px;justify-content:flex-end}
.sheet-panel.pretty .cell-ref,.sheet-panel.pretty .cell-formula,.sheet-panel.pretty .sheet-bar .search-field,.sheet-panel.pretty .sheet-tabs{display:none}
.sheet-panel.pretty .sheet-wrap{max-height:none;overflow:visible;background:transparent;padding:0}
#content:has(.sheet-panel.pretty) .sheet-head{display:none}
.fb-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:4px 0 18px}
.fb-crumb{font-size:11.5px;font-weight:800;letter-spacing:.06em;color:#1d6b4c;text-transform:uppercase}
.fb-crumb a{color:inherit}
.fb-title{font-size:40px;line-height:1.1;letter-spacing:-.03em;color:#123d2c;margin:6px 0 6px;font-weight:800}
.fb-sub{font-size:15px;color:#5d6d64}
.fb-date{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e1e7e1;border-radius:14px;padding:12px 16px;min-width:200px}
.fb-date svg{width:22px;height:22px;color:#1d6b4c}
.fb-date small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;color:#6c7a72}
.fb-date b{display:block;font-size:19px;color:#123d2c}
.fb-link{margin-left:auto;color:#6c7a72}
.fb-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}
.fb-stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e1e7e1;border-radius:14px;padding:14px 16px}
.fb-stat-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#e6f2ea;color:#1d6b4c;flex:none}
.fb-stat-ico svg{width:20px;height:20px}
.fb-stat small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;color:#6c7a72}
.fb-stat b{display:block;font-size:26px;letter-spacing:-.02em;color:#123d2c;font-variant-numeric:tabular-nums}
.fb-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.fb-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe6df;border-radius:10px;padding:0 12px;min-height:44px;flex:0 1 420px}
.fb-search svg{width:18px;height:18px;color:#56675d}
.fb-search input{border:0;outline:none;background:none;font-size:14px;width:100%}
.fb-select{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe6df;border-radius:10px;padding:0 10px;min-height:44px}
.fb-select svg{width:17px;height:17px;color:#56675d}
.fb-select select{border:0;outline:none;background:none;font:inherit;font-size:14px;color:#26392f;cursor:pointer}
.fb-count{margin-left:auto;font-size:14px;color:#56675d;font-weight:650;display:flex;align-items:center;gap:8px}
.fb-count i{width:8px;height:8px;border-radius:50%;background:#1d6b4c}
.fb-list{display:grid;gap:14px}
.fb-card{position:relative;background:#fff;border:1px solid #e1e7e1;border-radius:16px;padding:14px 18px 10px 24px;overflow:hidden}
.fb-card:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:5px;border-radius:0 4px 4px 0;background:var(--c)}
.fb-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:10px}
.fb-no{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:var(--b);color:var(--c);font-weight:800;font-size:15px}
.fb-name b{display:block;font-size:20px;color:#152a20}
.fb-name small{display:block;font-size:13px;color:#6c7a72}
.fb-pk.pk{font-size:13px;padding:4px 12px}
.fb-meta{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:14.5px;color:#56675d}
.fb-meta span{display:flex;align-items:center;gap:6px}
.fb-meta svg{width:16px;height:16px;color:#6c7a72}
.fb-meta .fb-op{font-weight:600;color:#33463b}
.fb-total{margin-left:auto;text-align:right}
.fb-total small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;color:#6c7a72}
.fb-total .fb-ed{font-size:24px;font-weight:800;color:#1d6b4c;font-variant-numeric:tabular-nums}
.fb-more{border:0;background:none;color:#56675d;padding:6px;border-radius:8px;cursor:pointer}
.fb-more:hover{background:#f1f5f1}
.fb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px}
.fb-table th{background:#f4f6f4;color:#56675d;font-size:11px;font-weight:800;letter-spacing:.05em;text-align:left;padding:10px 14px}
.fb-table th:first-child{border-radius:8px 0 0 8px;width:70px;padding-left:28px}
.fb-table th:last-child{border-radius:0 8px 8px 0}
.fb-table td{padding:9px 14px;border-bottom:1px solid #edf0ed;color:#1f3128;background:#fff}
.fb-table td.n{color:#6c7a72;padding-left:28px;font-variant-numeric:tabular-nums}
.fb-table .r{text-align:right}
.fb-table td.r{font-variant-numeric:tabular-nums}
.fb-table td.air .fb-ed{color:#1d6b4c;font-weight:750}
.fb-person{font-weight:700;color:#152a20;cursor:pointer}
.fb-person:hover{color:#1d6b4c;text-decoration:underline}
.fb-pen{opacity:0;margin-left:4px}
.fb-pen svg{width:14px;height:14px;display:inline;vertical-align:-2px;color:#8a978f}
.fb-table tr:hover .fb-pen{opacity:1}
.fb-merged{color:#b9c3bc}
.fb-ed{cursor:text;border-radius:6px;padding:1px 4px;margin:-1px -4px}
.fb-ed:hover{background:#eef5f0;box-shadow:inset 0 0 0 1px #cfe0d5}
.fb-empty{color:#a3ada7;font-style:italic}
.fb-note{display:flex;align-items:center;gap:8px;font-size:14px;color:#56675d;padding:10px 4px 4px}
.fb-note svg{width:16px;height:16px;color:#6c7a72}
.fb-note b{color:#26392f}
.fb-foot{display:flex;justify-content:space-between;border-top:1px solid #e1e7e1;margin-top:20px;padding-top:12px;font-size:11.5px;font-weight:800;letter-spacing:.06em;color:#56675d}
@media(max-width:900px){.fb-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-title{font-size:30px}.fb-top{flex-direction:column}.fb-total{margin-left:0;text-align:left}.fb-count{margin-left:0}}
.fb-table{table-layout:fixed}.fb-table td{overflow:hidden;text-overflow:ellipsis}
