@font-face{font-family:Geist;src:url(/fonts/Geist-Latin.woff2)format("woff2");font-display:swap;font-weight:100 900}:root{--navy:#0b1726;--navy-2:#13283d;--navy-3:#1e3a53;--orange:#f5a000;--orange-soft:#fff4da;--green:#21a67a;--green-soft:#e8f8f2;--red:#df4d55;--red-soft:#fff0f1;--blue:#4f83cc;--blue-soft:#edf4ff;--teal:#17a2a0;--teal-soft:#e8f7f7;--ink:#172230;--muted:#657282;--line:#e4e9ee;--panel:#fff;--canvas:#f6f7f9;--surface-canvas:var(--canvas);--surface-panel:var(--panel);--surface-subtle:#fafbfc;--surface-emphasis:var(--navy);--text-primary:var(--ink);--text-secondary:var(--muted);--border-subtle:var(--line);--action-primary:var(--orange);--action-primary-text:var(--navy);--action-label-weight:400;--focus-ring:color-mix(in srgb, var(--orange) 78%, white);--control-height:40px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}html{background:var(--canvas)}body{color:var(--ink);background:var(--canvas);font-family:var(--font-latin), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;margin:0}html[lang=ar] body{font-family:var(--font-arabic), var(--font-latin), ui-sans-serif, system-ui, sans-serif}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.directional-icon{transition:transform .14s}[dir=rtl] .directional-icon{transform:scaleX(-1)}.auth-shell{background:#fff;place-items:center;min-height:100vh;display:grid}.auth-form-wrap{place-items:center;width:100%;min-height:100vh;padding:32px;display:grid}.auth-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;width:min(460px,100%);padding:clamp(26px,5vw,42px);box-shadow:0 14px 40px #0b172614}.auth-card-workspace{min-height:410px;box-shadow:none;border:0}.auth-card-aligned-workspace{position:relative}.auth-card-aligned-workspace:not(:has(.alert)){height:410px}.auth-card-aligned-workspace:not(:has(.alert)) .auth-footer-row{inset-inline:clamp(26px,5vw,42px);margin-top:0;position:absolute;bottom:24px}.auth-card-aligned-workspace:not(:has(.alert)) .auth-footer-row>*{transform:translateY(-28px)}@media (min-width:768px){.auth-card-aligned-workspace:not(:has(.alert)) .auth-footer-row>*{transform:translateY(-7.5px)}}.auth-card-workspace .auth-card-logo{margin-bottom:24px}.auth-workspace-form{margin-top:14px}.auth-workspace-fields,.context-selector-fields{gap:10px;display:grid}.context-selector-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}.context-selector-fields.auth-workspace-fields{grid-template-columns:minmax(0,1fr);gap:10px}.auth-workspace-form select{appearance:none;background-image:none;padding-inline-end:11px}.auth-footer-row{justify-content:space-between;align-items:center;gap:16px;margin-top:20px;font-size:.78rem;display:flex}.auth-footer-link{color:var(--muted)}body{font-family:Geist,system-ui,sans-serif;font-size:15px}h1{margin:0 0 8px;font-size:1.6rem;line-height:1.3}h2{margin:0 0 16px;font-size:1.15rem}h3{margin:0 0 8px;font-size:1rem}p{line-height:1.6}small,.muted{color:var(--muted);line-height:1.5}.stack{gap:16px;display:grid}.field{gap:6px;min-width:0;display:grid}.field input,.field select,.field textarea{width:100%}input,select,textarea{border:1px solid var(--line);min-width:0;max-width:100%;min-height:40px;color:var(--ink);background:#fff;border-radius:7px;padding:9px 11px;font-size:16px}textarea{resize:vertical;min-height:100px}input[type=checkbox],input[type=radio]{width:20px;min-height:20px;accent-color:var(--navy);margin:0}input[type=range]{min-height:32px;padding:0}.report-options{flex-wrap:wrap;align-items:center;gap:8px 24px;display:flex}.report-switch{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:inline-flex;position:relative}.report-entry-switch .report-switch{min-width:0}.report-entry-details{overflow-wrap:anywhere;min-width:0}.report-switch input{z-index:1;opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.report-switch-control{background:#dfe4e9;border:1px solid #c8d1d9;border-radius:999px;flex:0 0 46px;width:46px;height:26px;transition:background-color .15s,border-color .15s;display:inline-block;position:relative}.report-switch-control:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0b172638}.report-switch input:checked+.report-switch-control{background:var(--orange);border-color:#d88700}.report-switch input:checked+.report-switch-control:after{transform:translate(20px)}.report-switch input:focus-visible+.report-switch-control{outline:3px solid var(--focus-ring);outline-offset:3px}.report-switch:has(input:disabled){opacity:.5;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.report-switch-control,.report-switch-control:after{transition:none}}.check{align-items:center;gap:9px;min-height:40px;display:flex}.btn{border:1px solid var(--line);min-height:40px;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:8px 15px;font-size:16px;display:inline-flex}.btn:hover{background:#f5f7f9}.btn.primary{color:var(--navy);background:var(--orange);border-color:#0000}.btn.primary:hover{background:#ffae12}.btn.danger{color:#b32630;background:var(--red-soft)}button:disabled{opacity:.5;cursor:not-allowed}.icon-btn{flex-shrink:0;width:40px;padding:8px}.topbar .icon-btn,.sidebar .mobile-menu,.row-actions-trigger{border:0}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.alert{background:var(--blue-soft);overflow-wrap:anywhere;border-radius:7px;padding:12px 16px;line-height:1.5}.alert.error{background:var(--red-soft);color:#9b2028}.auth-card-logo{width:min(250px,72%);height:auto;margin:0 auto 28px;display:block}.auth-card h1{margin:8px 0 20px;font-size:1.4rem}.app-shell{min-height:100dvh}.sidebar{z-index:40;background:#fff;flex-direction:column;width:252px;padding:22px 18px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{flex-wrap:nowrap;justify-content:space-between;min-height:71px;padding:2px 0 36px 14px}.sidebar-brand img{width:32px;height:auto}.nav-list{gap:4px;display:grid}.nav-link{min-height:43px;color:var(--ink);border-radius:9px;align-items:center;gap:12px;padding:0 12px;font-size:.88rem;display:flex}.nav-link:hover{background:#f5f7f9}.nav-link.active{background:#f1f4f7}.content{min-width:0;margin-left:252px}.member .content{margin-left:0}.topbar{z-index:20;background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 30px;display:flex;position:sticky;top:0}.topbar-title{overflow-wrap:anywhere;min-width:0}.account{overflow-wrap:anywhere;gap:10px;margin-top:auto;padding-top:28px;display:grid}.workspace{max-width:1480px;margin:auto;padding:30px}.page-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:24px}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;display:grid}.entry-card{overflow-wrap:anywhere}.entry-card .description{white-space:pre-wrap;margin:14px 0;line-height:1.65}.entry-context{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:.88rem;display:flex}.quantity{margin-top:14px;font-size:1.3rem;font-weight:600}.issue,.note{background:#fff7e7;border-radius:8px;margin:16px 0;padding:14px}.issue.resolved{background:var(--green-soft)}.note{background:#f1f4f7}.badge{background:#f1f4f7;border-radius:5px;align-items:center;padding:3px 8px;font-size:.75rem;display:inline-flex}.gallery{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:12px;display:flex;overflow:auto}.gallery img{aspect-ratio:1;object-fit:contain;scroll-snap-align:start;border-radius:8px;flex-shrink:0;align-self:flex-start;width:calc(25% - 9px);height:auto}.gallery-controls{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;display:grid}.photo-grid img{aspect-ratio:1;object-fit:contain;border-radius:8px;width:100%}.photo-tile{overflow-wrap:anywhere;min-width:0}.report-photo{aspect-ratio:1;background:var(--canvas);border-radius:8px;display:block;position:relative}.report-photo img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.report-photo-input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.report-photo-selection{color:var(--muted);pointer-events:none;background:radial-gradient(circle closest-side,#fff 70%,#0000 71%);border-radius:50%;display:flex;position:absolute;top:8px;right:8px}.report-photo-input:checked+.report-photo-selection{color:var(--orange)}.report-photo:has(.report-photo-input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}.report-photo-input:disabled{cursor:wait}.settings-shell{background:#fff;border-radius:14px;grid-template-columns:210px minmax(0,1fr);min-height:620px;display:grid;overflow:hidden}.settings-nav{align-content:start;gap:4px;padding:20px 16px;display:grid}.settings-nav a{border-radius:9px;align-items:center;gap:12px;min-height:43px;padding:0 12px;font-size:.88rem;display:flex}.settings-nav a.active{background:#f1f4f7}.settings-detail{min-width:0}.settings-detail-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:14px 24px;display:flex}.settings-detail-head h2{margin:0;font-size:1.18rem;line-height:1.3}.settings-detail-head>.btn{flex:none}.settings-detail-body{padding:26px}.list-row{border-bottom:1px solid var(--line);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.list-row>div:first-child{min-width:0}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.metric strong{margin-top:14px;font-size:2rem;display:block}.bar-chart{align-items:end;gap:10px;min-height:160px;padding-top:24px;display:flex;overflow-x:auto}.bar-column{text-align:center;flex:1;min-width:38px;font-size:.75rem}.bar{background:var(--navy-3);border-radius:4px 4px 0 0;width:75%;min-height:2px;margin:5px auto}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:12px}th{background:#f6f7f9;font-weight:500}.notice-wrap{position:relative}.notices{width:min(380px,100vw - 32px);max-height:70vh;box-shadow:none;z-index:50;position:absolute;top:48px;right:0;overflow:auto}.notice{border-bottom:1px solid var(--line);padding:12px 0;line-height:1.5;display:block}.notice.unread{font-weight:600}.mobile-menu{display:none}.empty{text-align:center;color:var(--muted);padding:38px 18px}.crop-dialog{z-index:100;background:#0b172680;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow:auto}.crop-content{background:#fff;border-radius:12px;flex-direction:column;gap:16px;width:min(540px,100%);max-height:100%;padding:24px;display:flex;overflow:auto}.crop-frame{aspect-ratio:1;touch-action:none;background:#111;position:relative;overflow:hidden}.crop-frame canvas{width:100%;height:100%;display:block}.pdf-controls{justify-content:center;gap:8px}.pdf-pagination{white-space:nowrap;align-items:center;gap:8px;display:flex}.pdf-controls .icon-btn{border:0;justify-content:center;align-items:center;height:40px;min-height:40px;display:inline-flex}.pdf-zoom select{width:88px;height:40px;min-height:40px;padding:6px 8px}.pdf-preview{border:1px solid var(--line);width:100%;min-height:600px;overflow:auto}.pdf-preview canvas{max-width:100%;height:auto;margin:16px auto;display:block}.report-layout{gap:20px;display:grid}.hide{display:none}.focus-entry{outline:3px solid var(--orange);outline-offset:4px}@media (max-width:1023px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0);box-shadow:0 0 0 100vmax #0b172640}.content{margin-left:0}.mobile-menu{display:inline-flex}.workspace{padding:24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:12px 24px}}@media (max-width:767px){.workspace{padding:16px}.topbar{gap:10px;padding:10px 16px}.page-head{flex-wrap:wrap;align-items:flex-start}.panel{padding:18px}.grid2{grid-template-columns:minmax(0,1fr)}.settings-shell{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr)}.settings-nav{flex-wrap:wrap;padding:12px;display:flex;overflow:auto}.settings-nav a{padding:0 10px}.settings-detail-head{min-height:56px;padding:12px 20px}.settings-detail-head h2{font-size:1.05rem}.settings-detail-body{padding:20px}.list-row{flex-wrap:wrap;align-items:flex-start}.gallery img{width:calc(33.3333% - 8px)}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:1.7rem}.metrics{gap:10px}.crop-content,.auth-form-wrap{padding:16px}.auth-card{padding:26px}.pdf-preview{min-height:400px}}@media (max-width:389px){.filters{grid-template-columns:minmax(0,1fr)}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.pdf-preview canvas{max-width:none}.notice-wrap>.icon-btn{position:relative}.notice-wrap>.icon-btn>.badge{background:var(--orange);color:var(--navy);position:absolute;top:-7px;right:-10px}dialog.crop-dialog{background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0}dialog.crop-dialog:not([open]){display:none}dialog.crop-dialog::backdrop{background:#0b172680}.team-row,.catalog-row{flex-wrap:nowrap;align-items:flex-start}.team-row>div:first-child,.catalog-row>div:first-child{flex:1}.row-actions{flex:none}.row-actions-trigger{width:40px;height:40px;min-height:40px}.row-actions-trigger[aria-expanded=true]{background:var(--canvas)}.row-actions-menu{border:1px solid var(--line);background:var(--panel);min-width:196px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);box-shadow:none;border-radius:10px;margin:0;padding:6px;position:fixed;inset:auto;overflow-y:auto}.row-actions-menu>button{width:100%;min-height:44px;color:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:10px 12px;display:block}.row-actions-menu>button:hover,.row-actions-menu>button:focus-visible{background:var(--canvas)}.row-actions-menu>button.danger{color:#b32630}.row-actions-menu>button.danger:hover,.row-actions-menu>button.danger:focus-visible{background:var(--red-soft)}.notices-head{flex-wrap:nowrap;justify-content:space-between}.notices-head h2{margin:0}.notices-footer{justify-content:center;padding-top:8px;display:flex}.settings-item-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.status-badge{border-radius:50%;flex-shrink:0;justify-content:center;width:22px;height:22px;padding:0}.status-badge.is-active{color:#16a34a;background:0 0}.status-badge.is-inactive{color:#ef4444;background:0 0}.status-badge.is-invited{color:var(--orange);background:0 0}.entry-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.entry-header .entry-context{min-width:0}.crop-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.crop-header h2{margin:0}.crop-header .icon-btn{border:0;flex-shrink:0}.crop-stage{justify-content:center;align-items:center;min-height:0;display:flex}.crop-frame{flex-shrink:0;width:min(100%,100dvh - 200px)}.crop-frame canvas{cursor:grab}.crop-frame canvas:active{cursor:grabbing}.crop-frame canvas:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}.crop-zoom{align-items:center;gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute;bottom:12px;right:12px}.crop-zoom .icon-btn,.crop-zoom-slider{background:var(--panel);border:1px solid var(--line);border-radius:8px}.crop-zoom .icon-btn{flex-shrink:0}.crop-zoom-slider{align-items:center;min-width:0;padding:0 10px;display:flex}.crop-zoom-slider input{width:140px;max-width:100%;min-height:40px;accent-color:var(--orange);border:0;margin:0;padding:0}.crop-actions{flex-shrink:0}@media (max-width:767px){dialog.crop-dialog{padding:0}.crop-content{width:100%;height:100%;max-height:none;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));border-radius:0}.crop-stage{flex:1}.crop-frame{width:min(100%, calc(100dvh - 176px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.crop-actions .btn{flex:1}}.topbar .user-name{text-overflow:ellipsis;white-space:nowrap;max-width:clamp(130px,20vw,240px);overflow:hidden}.topbar-actions{flex-wrap:nowrap;flex-shrink:0;position:relative}.topbar-title{flex-wrap:nowrap}.topbar-title>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.topbar-actions .notice-wrap{position:static}
