:root{--grl-navy:#10213c;--grl-navy-2:#17345d;--grl-blue:#1769e0;--grl-blue-dark:#0d52ba;--grl-sky:#eaf3ff;--grl-bg:#f3f6fa;--grl-card:#fff;--grl-text:#162033;--grl-muted:#66758b;--grl-line:#e1e7ef;--grl-green:#18835b;--grl-red:#c73346;--grl-orange:#dc721f;--grl-amber:#dca70d;--grl-shadow:0 14px 38px rgba(16,33,60,.08);--grl-radius:18px}
.grl-shell{min-height:100vh;background:var(--grl-bg);color:var(--grl-text);font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.grl-shell *,.grl-admin *{box-sizing:border-box}.grl-shell h1,.grl-shell h2,.grl-shell h3,.grl-shell p,.grl-admin h1,.grl-admin h2,.grl-admin h3,.grl-admin p{margin-top:0}.grl-shell a,.grl-admin a{color:var(--grl-blue)}
.grl-nav{display:flex;align-items:center;gap:32px;min-height:68px;padding:0 max(22px,calc((100% - 1240px)/2));border-bottom:1px solid var(--grl-line);background:#fff;box-shadow:0 2px 14px rgba(16,33,60,.04)}.grl-brand{display:flex;align-items:center;gap:8px;color:var(--grl-navy)!important;text-decoration:none!important}.grl-brand span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--grl-navy),var(--grl-blue));font-size:12px;font-weight:900;letter-spacing:.08em}.grl-brand strong{font-size:17px}.grl-nav>div{display:flex;align-self:stretch;gap:4px}.grl-nav>div a{display:flex;align-items:center;padding:0 16px;border-bottom:3px solid transparent;color:#445168;text-decoration:none;font-weight:700}.grl-nav>div a:hover,.grl-nav>div a.is-active{color:var(--grl-blue);border-color:var(--grl-blue)}.grl-user{margin-left:auto;padding:8px 12px;border-radius:999px;background:#f1f5f9;color:#536078;font-size:12px;font-weight:750}
.grl-app{width:min(100%,1280px);margin:0 auto;padding:30px 20px 60px}.grl-hero,.grl-inspection-hero,.grl-ticket-head{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px;padding:34px 36px;border-radius:22px;color:#fff;background:linear-gradient(125deg,var(--grl-navy),var(--grl-navy-2) 65%,var(--grl-blue));box-shadow:0 18px 45px rgba(16,33,60,.18)}.grl-hero:after,.grl-inspection-hero:after,.grl-ticket-head:after{content:"";position:absolute;right:-60px;top:-110px;width:260px;height:260px;border:55px solid rgba(255,255,255,.06);border-radius:50%}.grl-hero>* ,.grl-inspection-hero>* ,.grl-ticket-head>*{position:relative;z-index:1}.grl-eyebrow,.grl-kicker{display:block;margin-bottom:7px;color:#9fc8ff;text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:850}.grl-kicker{color:#687893}.grl-hero h1,.grl-inspection-hero h1,.grl-ticket-head h1{margin-bottom:7px;color:#fff;font-size:32px;line-height:1.1;letter-spacing:-.025em}.grl-hero p,.grl-inspection-hero p,.grl-ticket-head p{max-width:680px;margin:0;color:#dceaff}.grl-hero-actions{display:flex;align-items:flex-end;flex-direction:column;gap:10px;color:#dceaff;font-size:11px;font-weight:700}.grl-white{background:#fff!important;color:var(--grl-blue-dark)!important}
.grl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:0;border-radius:11px;background:var(--grl-blue);color:#fff!important;text-decoration:none!important;font:750 14px/1.2 inherit;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}.grl-btn:hover{transform:translateY(-1px);background:var(--grl-blue-dark);box-shadow:0 8px 20px rgba(23,105,224,.22)}.grl-btn:disabled{opacity:.55;cursor:wait;transform:none}.grl-light{background:var(--grl-sky)!important;color:var(--grl-blue-dark)!important}.grl-light:hover{background:#dceaff!important}.grl-primary{background:var(--grl-blue)!important}.grl-icon-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;cursor:pointer}
.grl-panel{background:var(--grl-card);border:1px solid var(--grl-line);border-radius:var(--grl-radius);box-shadow:var(--grl-shadow)}.grl-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.grl-panel-head h2{margin:0 0 4px;font-size:19px}.grl-panel-head p{margin:0;color:var(--grl-muted)}.grl-panel-head>span,.grl-panel-head>strong{color:var(--grl-muted);font-size:12px}
.grl-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 18px}.grl-kpi{position:relative;overflow:hidden;padding:20px;background:#fff;border:1px solid var(--grl-line);border-radius:16px;box-shadow:0 8px 24px rgba(16,33,60,.05)}.grl-kpi:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--grl-blue)}.grl-kpi.red:before{background:var(--grl-red)}.grl-kpi.amber:before{background:var(--grl-amber)}.grl-kpi.green:before{background:var(--grl-green)}.grl-kpi>span{display:block;color:var(--grl-muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:800}.grl-kpi strong{display:block;margin:6px 0 5px;color:var(--grl-navy);font-size:31px;line-height:1}.grl-kpi small{color:#8490a3}
.grl-dashboard-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;margin-bottom:18px}.grl-trend,.grl-geo{min-height:300px;padding:22px}.grl-chart-bars{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;height:185px;margin-top:20px;padding-top:10px;border-bottom:1px solid var(--grl-line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 44px,#eef2f7 45px)}.grl-chart-column{display:flex;align-items:center;align-self:stretch;flex-direction:column;justify-content:flex-end;gap:7px}.grl-chart-values{display:flex;align-items:flex-end;justify-content:center;gap:4px;width:100%;height:155px}.grl-chart-values i{display:block;width:min(20px,36%);min-height:3px;border-radius:5px 5px 0 0}.grl-chart-values .opened,.grl-legend .opened{background:var(--grl-blue)}.grl-chart-values .closed,.grl-legend .closed{background:var(--grl-green)}.grl-chart-column>span{color:var(--grl-muted);font-size:11px;text-transform:uppercase}.grl-legend{display:flex;gap:16px;margin-top:14px;color:var(--grl-muted);font-size:11px}.grl-legend span{display:flex;align-items:center;gap:6px}.grl-legend i{display:block;width:9px;height:9px;border-radius:3px}
.grl-coordinate-map{position:relative;overflow:hidden;height:190px;margin-top:18px;border:1px solid #d7e3ef;border-radius:13px;background-color:#edf5f2;background-image:linear-gradient(rgba(60,107,92,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(60,107,92,.08) 1px,transparent 1px);background-size:32px 32px}.grl-coordinate-map:before{content:"";position:absolute;inset:22% -12%;border:18px solid rgba(78,132,114,.1);border-radius:50%;transform:rotate(-12deg)}.grl-coordinate-map a{position:absolute;z-index:2;transform:translate(-50%,-50%)}.grl-coordinate-map a>span{display:block;width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:var(--grl-red);box-shadow:0 2px 8px rgba(0,0,0,.25)}.grl-coordinate-map a:hover>span{transform:scale(1.25)}.grl-map-note{margin:9px 0 0!important;color:var(--grl-muted);font-size:10px}.grl-mini-empty{display:grid;place-items:center;min-height:150px;color:var(--grl-muted);text-align:center}
.grl-filter-panel{margin-bottom:24px;padding:20px}.grl-filters{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:12px}.grl-filters label,.grl-start-panel label,.grl-checklist label,.grl-review-card label,.grl-extra-card label,.grl-action-card label,.grl-admin-form label,.grl-inline-editor label,.grl-builder-item label{display:block;color:#3a465a;font-size:12px;font-weight:750}.grl-filters label>span,.grl-start-panel label>span,.grl-checklist label>span,.grl-extra-card label>span,.grl-action-card label>span,.grl-admin-form label>span,.grl-inline-editor label>span,.grl-builder-item label>span{display:block;margin-bottom:6px}.grl-filters input,.grl-filters select,.grl-start-panel input,.grl-start-panel select,.grl-checklist input:not([type=radio]):not([type=checkbox]),.grl-checklist select,.grl-checklist textarea,.grl-review-card textarea,.grl-extra-card input:not([type=checkbox]),.grl-extra-card select,.grl-extra-card textarea,.grl-action-card input:not([type=checkbox]),.grl-action-card select,.grl-action-card textarea,.grl-admin input:not([type=checkbox]):not([type=radio]),.grl-admin select,.grl-admin textarea{width:100%;min-height:44px;padding:10px 11px;border:1px solid #cdd6e2;border-radius:10px;background:#fff;color:var(--grl-text);font:inherit;outline:0}.grl-filters input:focus,.grl-filters select:focus,.grl-start-panel select:focus,.grl-checklist input:focus,.grl-checklist select:focus,.grl-checklist textarea:focus,.grl-extra-card input:focus,.grl-extra-card select:focus,.grl-extra-card textarea:focus,.grl-action-card input:focus,.grl-action-card select:focus,.grl-action-card textarea:focus,.grl-admin input:focus,.grl-admin select:focus,.grl-admin textarea:focus{border-color:#68a1eb;box-shadow:0 0 0 4px rgba(23,105,224,.1)}.grl-filters .grl-search{grid-column:span 2}.grl-checkbox{display:flex!important;align-items:center;align-self:end;gap:8px;min-height:44px}.grl-checkbox input{width:auto!important;min-height:0!important;margin:0}.grl-filter-actions{display:flex;align-items:end;gap:8px}
.grl-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:27px 0 12px}.grl-list-head h2{margin:0;font-size:22px}.grl-list-head h2 small{color:var(--grl-muted);font-size:13px}.grl-export-actions{display:flex;gap:8px}.grl-bulk{display:flex;gap:8px;margin-bottom:10px}.grl-bulk select{min-width:220px;min-height:43px;padding:8px 10px;border:1px solid #ccd5e2;border-radius:10px}.grl-ticket-list{display:grid;gap:9px}.grl-ticket-row{display:flex;align-items:center;overflow:hidden;background:#fff;border:1px solid var(--grl-line);border-radius:14px;box-shadow:0 5px 17px rgba(16,33,60,.04);transition:transform .14s,border .14s,box-shadow .14s}.grl-ticket-row:hover{transform:translateY(-1px);border-color:#b9cee8;box-shadow:0 9px 24px rgba(16,33,60,.07)}.grl-row-check{padding:18px 0 18px 16px}.grl-ticket-main{display:grid;grid-template-columns:120px 1.15fr 1.5fr auto 120px 16px;align-items:center;gap:17px;width:100%;padding:16px;color:var(--grl-text)!important;text-decoration:none!important}.grl-ticket-main>div{min-width:0}.grl-ticket-main strong,.grl-ticket-main span{display:block}.grl-ticket-main>div>span{overflow:hidden;color:var(--grl-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.grl-ticket-id strong{color:var(--grl-blue);font-size:13px}.grl-ticket-issue strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grl-ticket-meta{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.grl-ticket-sla{text-align:right}.grl-ticket-sla.is-overdue strong{color:var(--grl-red)}.grl-chevron{color:#9aa6b5!important;font-size:26px!important}.grl-badge{display:inline-flex!important;width:max-content;padding:5px 9px;border-radius:999px;background:#e8edf4;color:#435066!important;font-size:10px!important;font-weight:850;white-space:nowrap}.grl-critical{background:#ffe4e8!important;color:#a51728!important}.grl-high{background:#ffe9d9!important;color:#a04410!important}.grl-medium{background:#fff2c5!important;color:#725700!important}.grl-low{background:#e2f0ff!important;color:#185b91!important}.grl-open{background:#e5efff!important;color:#174fa7!important}.grl-assigned{background:#eee7ff!important;color:#5c35a4!important}.grl-in_progress,.grl-waiting_supplier{background:#fff1cc!important;color:#765600!important}.grl-pending_verification{background:#dff6eb!important;color:#116a45!important}.grl-closed{background:#e6eaef!important;color:#3f4a5a!important}.grl-cancelled{background:#f0f1f3!important;color:#68717e!important}.grl-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:18px;color:var(--grl-muted)}.grl-pagination>div{display:flex;gap:8px}.grl-empty{display:grid;place-items:center;padding:44px;border:1px dashed #c5d0de;border-radius:16px;background:#f8fafc;color:var(--grl-muted);text-align:center}.grl-empty>span{display:grid;place-items:center;width:44px;height:44px;margin-bottom:10px;border-radius:50%;background:#dff6eb;color:var(--grl-green);font-size:20px}.grl-empty h3{margin-bottom:4px;color:var(--grl-text)}
.grl-notice{margin:0 0 16px;padding:13px 16px;border:1px solid #b9dcca;border-radius:12px;background:#edf9f3;color:#126542;font-weight:700}.grl-notice.is-error{border-color:#efb6be;background:#fff0f2;color:#a51f31}.grl-access{max-width:540px;margin:50px auto;padding:28px;border:1px solid var(--grl-line);border-radius:18px;background:#fff;box-shadow:var(--grl-shadow)}.grl-access input:not([type=checkbox]){width:100%}
.grl-inspection-hero{align-items:center}.grl-progress{display:flex;align-items:center}.grl-progress>span{display:flex;align-items:center;gap:6px;color:#9eb0c9;font-size:11px;font-weight:800}.grl-progress>span:before{content:"";width:46px;height:2px;margin:0 8px;background:rgba(255,255,255,.18)}.grl-progress>span:first-child:before{display:none}.grl-progress>span.is-active{color:#fff}.grl-progress>span.is-active:before{background:#7bb7ff}.grl-progress small{font-weight:650}.grl-start-panel{padding:26px}.grl-start-panel .grl-panel-head{margin-bottom:20px}.grl-grid-2,.grl-grid-3,.grl-grid-4{display:grid;gap:15px}.grl-grid-2{grid-template-columns:repeat(2,1fr)}.grl-grid-3{grid-template-columns:repeat(3,1fr)}.grl-grid-4{grid-template-columns:repeat(4,1fr)}.grl-start-actions,.grl-submit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid var(--grl-line)}.grl-start-actions p,.grl-submit-row p{margin:0;color:var(--grl-muted);font-size:12px}
.grl-field-toolbar{position:sticky;top:18px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:13px 17px;border:1px solid #d2dfef;border-radius:13px;background:rgba(250,252,255,.96);box-shadow:0 8px 24px rgba(16,33,60,.09);backdrop-filter:blur(9px)}.grl-field-toolbar>div>span,.grl-live-status span{display:block;color:var(--grl-muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.grl-live-status{text-align:right}.grl-live-status strong{color:var(--grl-blue);font-size:20px;font-variant-numeric:tabular-nums}.grl-checklist{overflow:hidden}.grl-checklist>.grl-panel-head,.grl-existing>.grl-panel-head,.grl-extra-section>.grl-panel-head{padding:23px 25px;border-bottom:1px solid var(--grl-line)}.grl-check-section{padding:0 25px}.grl-check-section>header{display:flex;align-items:center;gap:12px;padding:22px 0 13px}.grl-check-section>header>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--grl-sky);color:var(--grl-blue);font-weight:850}.grl-check-section>header h3{margin:0;font-size:17px}.grl-check-section>header p{margin:2px 0 0;color:var(--grl-muted);font-size:12px}.grl-check-item{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:18px;padding:18px 0;border-top:1px solid #edf0f4}.grl-question strong{display:block}.grl-question small{display:block;margin-top:4px;color:var(--grl-muted)}.grl-result-switch{display:flex;align-items:flex-start;gap:6px}.grl-result-switch label{cursor:pointer}.grl-result-switch input{position:absolute;opacity:0}.grl-result-switch span{display:block;padding:8px 10px;border:1px solid #d6dde7;border-radius:9px;background:#fff;color:#536078;white-space:nowrap}.grl-result-switch input:checked+span{border-color:var(--grl-blue);background:var(--grl-sky);color:var(--grl-blue-dark);box-shadow:0 0 0 2px rgba(23,105,224,.08)}.grl-result-switch label:nth-child(2) input:checked+span{border-color:#df8792;background:#fff0f2;color:var(--grl-red)}.grl-fail-fields{grid-column:1/-1;padding:17px;border:1px solid #f0c8cd;border-radius:13px;background:#fff8f9}.grl-fail-fields[hidden]{display:none}.grl-file small{display:block;margin-top:4px;color:var(--grl-muted);font-weight:500}.grl-existing,.grl-extra-section{margin-top:18px;overflow:hidden}.grl-review-card{display:grid;grid-template-columns:1fr 1.1fr;gap:20px;margin:16px 24px;padding:18px;border:1px solid var(--grl-line);border-left:4px solid var(--grl-amber);border-radius:13px}.grl-review-card h3{margin:3px 0}.grl-review-card p{margin-bottom:10px;color:var(--grl-muted)}.grl-review-options{display:grid;gap:7px}.grl-review-options label{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d8dee7;border-radius:9px;cursor:pointer}.grl-review-options input{margin:0}.grl-review-options textarea{margin-top:5px}.grl-extra-section>#grl-extra-list{padding:0 24px}.grl-extra-card{position:relative;margin:18px 0;padding:20px;border:1px solid var(--grl-line);border-top:4px solid var(--grl-orange);border-radius:14px;background:#fbfcfe}.grl-extra-card legend{padding:0 8px;color:var(--grl-navy);font-weight:800}.grl-remove-extra{position:absolute;right:13px;top:10px;background:#fff0f2;color:var(--grl-red);font-size:22px}.grl-extra-card>label,.grl-extra-card>.grl-grid-2{margin-bottom:14px}.grl-coordinates{align-items:end}.grl-submit-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:24px;border-radius:17px;background:var(--grl-navy);color:#fff}.grl-submit-panel p{margin:3px 0 0;color:#cbd9ec}.grl-submit{min-width:220px}
.grl-back{display:inline-flex;margin-bottom:14px;text-decoration:none;font-weight:750}.grl-ticket-head{align-items:center}.grl-ticket-head>div:last-child{display:flex;gap:7px}.grl-ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.grl-detail{padding:24px}.grl-detail h2{font-size:22px;line-height:1.4}.grl-detail dl,.grl-meta-card dl{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0 0}.grl-detail dl div,.grl-meta-card dl div{padding:11px;border-radius:10px;background:#f5f7fa}.grl-detail dt,.grl-meta-card dt{color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-detail dd,.grl-meta-card dd{margin:3px 0 0;font-weight:750}.grl-photos{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:17px 0}.grl-photos figure{position:relative;overflow:hidden;margin:0;border-radius:14px;background:#e6ebf1}.grl-photos img{display:block;width:100%;height:330px;object-fit:cover}.grl-photos figcaption{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:8px;background:rgba(16,33,60,.84);color:#fff;font-size:11px;font-weight:750}.grl-timeline-panel{margin-top:18px;padding:23px}.grl-timeline{position:relative;margin-top:18px;padding-left:23px;border-left:2px solid #dce3ed}.grl-timeline article{position:relative;padding:0 0 21px}.grl-timeline article>i{position:absolute;left:-29px;top:4px;width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:var(--grl-blue);box-shadow:0 0 0 1px #b8c6d8}.grl-timeline time{color:var(--grl-muted);font-size:10px}.grl-timeline h3{margin:2px 0 5px;font-size:14px;text-transform:capitalize}.grl-timeline p{margin:0;color:#4e5b70}.grl-action-card,.grl-meta-card,.grl-closed-card{padding:22px;margin-bottom:16px}.grl-action-card form{display:grid;gap:13px}.grl-action-card .grl-btn{width:100%}.grl-meta-card dl{grid-template-columns:1fr 1fr}.grl-closed-card{text-align:center}.grl-closed-card>span{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#dff6eb;color:var(--grl-green);font-size:23px}
.grl-admin{max-width:1320px;margin:20px 20px 60px 0;color:var(--grl-text);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.grl-admin-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px;padding:25px 28px;border-radius:18px;color:#fff;background:linear-gradient(125deg,var(--grl-navy),var(--grl-navy-2))}.grl-admin-head h1{margin:0 0 4px;color:#fff;font-size:28px}.grl-admin-head p{margin:0;color:#d5e5f8}.grl-admin .grl-kicker{color:#7d8ba0}.grl-admin-head .grl-kicker{color:#9fc8ff}.grl-admin-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.grl-admin-cards>a{display:flex;flex-direction:column;min-height:150px;padding:20px;border:1px solid var(--grl-line);border-radius:16px;background:#fff;color:var(--grl-text);text-decoration:none;box-shadow:0 7px 20px rgba(16,33,60,.05)}.grl-admin-cards .dashicons{width:auto;height:auto;margin-bottom:auto;color:var(--grl-blue);font-size:28px}.grl-admin-cards strong{margin:13px 0 3px}.grl-admin-cards small{color:var(--grl-muted)}.grl-setup-status{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:17px}.grl-setup-status>div{display:grid;grid-template-columns:38px 1fr;align-items:center;padding:14px;border:1px solid var(--grl-line);border-radius:13px;background:#fff}.grl-setup-status>div>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;margin-right:9px;border-radius:50%;background:#edf1f5;color:var(--grl-muted);font-weight:850}.grl-setup-status .is-done>span{background:#dff6eb;color:var(--grl-green)}.grl-setup-status small{color:var(--grl-muted)}.grl-admin-form{display:grid;gap:14px;padding:24px}.grl-admin-form h2{margin:8px 0 0;font-size:19px}.grl-admin-form>h2:first-of-type{margin-top:0}.grl-admin-form textarea{min-height:90px}.grl-admin-form .grl-btn{width:max-content}.grl-admin-split{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;align-items:start}.grl-admin-table{overflow:auto}.grl-admin-table table,.grl-scope-table table{width:100%;border-collapse:collapse}.grl-admin-table th,.grl-admin-table td,.grl-scope-table th,.grl-scope-table td{padding:12px 14px;border-bottom:1px solid var(--grl-line);text-align:left;vertical-align:top}.grl-admin-table th,.grl-scope-table th{background:#f6f8fb;color:#657187;font-size:10px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.grl-admin-table tr:last-child td{border-bottom:0}.grl-admin-table td small,.grl-scope-table td small{display:block;color:var(--grl-muted)}.grl-status-dot{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#aab2be}.grl-status-dot.is-active{background:var(--grl-green)}
.grl-builder{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.grl-builder>aside{position:sticky;top:40px;overflow:hidden;padding:18px}.grl-builder>aside form{display:grid;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--grl-line)}.grl-builder>aside textarea{min-height:65px}.grl-builder>aside nav{display:grid;margin:12px -18px -18px}.grl-builder>aside nav a{display:block;padding:12px 18px;border-left:3px solid transparent;text-decoration:none}.grl-builder>aside nav a.is-active{border-color:var(--grl-blue);background:var(--grl-sky)}.grl-builder>aside nav small{display:block;color:var(--grl-muted)}.grl-builder>main{display:grid;gap:14px}.grl-inline-editor,.grl-builder-section{padding:20px}.grl-section-edit{display:grid;grid-template-columns:1fr 90px auto;gap:9px;padding-bottom:15px;border-bottom:1px solid var(--grl-line)}.grl-builder-items{display:grid;gap:10px;margin:15px 0}.grl-builder-item{display:grid;gap:10px;padding:15px;border:1px solid var(--grl-line);border-radius:12px;background:#fbfcfe}.grl-builder-item.is-disabled{opacity:.55}.grl-builder-item>div:last-child{display:flex;align-items:center;gap:12px}.grl-add-item{display:grid;grid-template-columns:2fr 1fr 140px 160px auto;gap:8px;padding-top:14px;border-top:1px dashed #cdd6e2}.grl-add-section{display:grid;grid-template-columns:1fr 100px auto;gap:8px;padding:17px}.grl-scope-table{overflow:auto}.grl-scope-check{display:flex;align-items:center;justify-content:center}.grl-scope-check span{position:absolute;left:-9999px}.grl-settings{max-width:900px}.grl-danger-option{margin-top:18px;padding:14px;border:1px solid #efc2c8;border-radius:11px;background:#fff5f6;color:#9c2434!important}.nav-tab-wrapper{margin-bottom:14px!important}
@media(max-width:1050px){.grl-filters{grid-template-columns:repeat(4,1fr)}.grl-filters .grl-search{grid-column:span 2}.grl-ticket-main{grid-template-columns:105px 1fr 1.3fr auto 100px 12px}.grl-ticket-layout{grid-template-columns:1fr 310px}.grl-admin-cards{grid-template-columns:1fr 1fr}.grl-add-item{grid-template-columns:1fr 1fr}.grl-add-item input:first-of-type{grid-column:1/-1}}
@media(max-width:850px){.grl-nav{padding:0 16px}.grl-user{display:none}.grl-kpis{grid-template-columns:1fr 1fr}.grl-dashboard-grid{grid-template-columns:1fr}.grl-ticket-main{grid-template-columns:100px 1fr auto 12px}.grl-ticket-place{display:none}.grl-ticket-sla{display:none}.grl-grid-4{grid-template-columns:1fr 1fr}.grl-ticket-layout{grid-template-columns:1fr}.grl-detail dl{grid-template-columns:1fr 1fr}.grl-admin-split,.grl-builder{grid-template-columns:1fr}.grl-builder>aside{position:static}.grl-setup-status{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.grl-nav{align-items:flex-start;min-height:auto;padding:10px 12px;flex-wrap:wrap;gap:7px}.grl-brand{margin-right:auto}.grl-nav>div{order:3;width:100%;overflow:auto}.grl-nav>div a{min-height:40px;padding:0 12px;white-space:nowrap}.grl-app{padding:15px 10px 40px}.grl-hero,.grl-inspection-hero,.grl-ticket-head{align-items:flex-start;flex-direction:column;padding:24px 21px;border-radius:16px}.grl-hero h1,.grl-inspection-hero h1,.grl-ticket-head h1{font-size:26px}.grl-hero-actions{align-items:flex-start}.grl-progress{width:100%;justify-content:space-between}.grl-progress>span:before{width:15px;margin:0 4px}.grl-kpis{gap:8px}.grl-kpi{padding:16px}.grl-kpi strong{font-size:26px}.grl-filters{grid-template-columns:1fr 1fr}.grl-filters .grl-search{grid-column:1/-1}.grl-filter-actions{grid-column:1/-1}.grl-list-head{align-items:flex-start;flex-direction:column}.grl-export-actions{width:100%;overflow:auto}.grl-ticket-main{grid-template-columns:1fr auto 10px;padding:13px;gap:9px}.grl-ticket-id{grid-column:1}.grl-ticket-issue{grid-column:1}.grl-ticket-meta{grid-column:2;grid-row:1/3;align-items:flex-end}.grl-chevron{grid-column:3;grid-row:1/3}.grl-ticket-row>.grl-row-check{padding-left:11px}.grl-grid-2,.grl-grid-3,.grl-grid-4{grid-template-columns:1fr}.grl-start-actions,.grl-submit-row,.grl-submit-panel{align-items:stretch;flex-direction:column}.grl-start-actions .grl-btn,.grl-submit-panel .grl-btn{width:100%}.grl-field-toolbar{top:6px}.grl-field-toolbar>div:first-child{display:none}.grl-live-status{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left}.grl-checklist>.grl-panel-head,.grl-existing>.grl-panel-head,.grl-extra-section>.grl-panel-head{padding:19px}.grl-check-section{padding:0 17px}.grl-check-item{grid-template-columns:1fr}.grl-result-switch{display:grid;grid-template-columns:1fr 1fr 1fr}.grl-result-switch span{text-align:center;padding:8px 4px}.grl-review-card{grid-template-columns:1fr;margin:12px;padding:15px}.grl-extra-section>#grl-extra-list{padding:0 12px}.grl-photos{grid-template-columns:1fr}.grl-photos img{height:250px}.grl-detail dl{grid-template-columns:1fr 1fr}.grl-admin{margin-right:10px}.grl-admin-head{align-items:flex-start;flex-direction:column}.grl-admin-cards,.grl-setup-status{grid-template-columns:1fr}.grl-section-edit,.grl-add-section,.grl-add-item{grid-template-columns:1fr}.grl-add-item input:first-of-type{grid-column:auto}.grl-builder-item .grl-grid-4{grid-template-columns:1fr 1fr}}
.grl-cancel-draft{margin-left:auto;color:var(--grl-red)!important;font-size:11px;font-weight:750;white-space:nowrap}
.grl-inspection-summary{padding:20px;margin-bottom:16px}.grl-inspection-summary dl{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0}.grl-inspection-summary dt{color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-inspection-summary dd{margin:3px 0 0;font-weight:750}.grl-response-list{padding:22px}.grl-response-list>h2{margin-bottom:14px}.grl-response-list>article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--grl-line)}.grl-response-list>article>div p{margin:3px 0 0;color:var(--grl-muted)}.grl-response-list>article>span{padding:5px 9px;border-radius:999px;background:#eef1f5;font-size:11px;font-weight:800}.grl-response-list>article.is-conform>span{background:#dff6eb;color:var(--grl-green)}.grl-response-list>article.is-nonconform>span{background:#ffe4e8;color:var(--grl-red)}
@media(max-width:620px){.grl-cancel-draft{margin-left:0}.grl-field-toolbar{flex-wrap:wrap}.grl-live-status{order:3}}

/* QR presence, daily compliance and prior issues */
.grl-daily,.grl-inspection-log{margin:18px 0;overflow:hidden}.grl-daily>.grl-panel-head,.grl-inspection-log>.grl-panel-head{padding:22px 24px;border-bottom:1px solid var(--grl-line)}.grl-daily>.grl-panel-head form{display:flex;align-items:end;gap:9px}.grl-daily>.grl-panel-head input{min-height:40px;padding:7px 9px;border:1px solid #ccd5e2;border-radius:9px}.grl-daily-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--grl-line)}.grl-daily-kpis>div{padding:18px 22px;background:#fff}.grl-daily-kpis span{display:block;color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-daily-kpis strong{display:block;margin-top:3px;font-size:25px}.grl-daily-kpis .is-done strong{color:var(--grl-green)}.grl-daily-kpis .is-missing strong{color:var(--grl-red)}.grl-daily-users{display:grid;gap:9px;padding:18px}.grl-daily-users>article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 18px;padding:15px 17px;border:1px solid var(--grl-line);border-left:4px solid var(--grl-green);border-radius:12px}.grl-daily-users>article.is-incomplete{border-left-color:var(--grl-red);background:#fff9fa}.grl-daily-users span,.grl-daily-users time{display:block;color:var(--grl-muted);font-size:11px}.grl-daily-users b{font-size:20px}.grl-daily-users details{grid-column:1/-1}.grl-daily-users details ul{margin:9px 0 0;padding-left:20px;color:#4e5b70}.grl-responsive-table{overflow:auto}.grl-responsive-table table{width:100%;border-collapse:collapse;min-width:950px}.grl-responsive-table th,.grl-responsive-table td{padding:12px 14px;border-bottom:1px solid var(--grl-line);text-align:left;vertical-align:top}.grl-responsive-table th{background:#f7f9fc;color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-responsive-table td small{display:block;margin-top:3px;color:var(--grl-muted)}.grl-presence{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef1f5;color:#4c586a;font-size:10px;font-weight:800}.grl-presence-verified{background:#dff6eb;color:#116a45}.grl-presence-outside_radius,.grl-presence-gps_missing,.grl-presence-gps_low_accuracy{background:#ffe4e8;color:#a51728}.grl-presence-manual{background:#fff2c5;color:#725700}
.grl-qr-start{padding:24px}.grl-qr-verified{display:flex;align-items:center;gap:13px;margin-bottom:20px}.grl-qr-verified>span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dff6eb;color:var(--grl-green);font-size:22px;font-weight:900}.grl-qr-verified small{color:var(--grl-green);font-weight:850;text-transform:uppercase}.grl-qr-verified h2{margin:1px 0}.grl-qr-start dl{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0}.grl-qr-start dl div{padding:12px;border-radius:11px;background:#f5f7fa}.grl-qr-start dt{color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-qr-start dd{margin:3px 0 0;font-weight:800}.grl-scan-required{display:grid;place-items:center;max-width:650px;margin:25px auto;padding:42px;text-align:center}.grl-scan-required .dashicons{width:auto;height:auto;color:var(--grl-blue);font-size:54px}.grl-scan-required h2{margin:12px 0 5px}.grl-scan-required p{max-width:520px;color:var(--grl-muted)}
.grl-existing.has-problems{border:2px solid #efb1ba;box-shadow:0 8px 28px rgba(175,28,48,.10)}.grl-existing.has-problems>.grl-panel-head{background:#fff5f6}.grl-existing-alert{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 24px;background:#a51f31;color:#fff}.grl-existing-alert span{font-size:12px}.grl-previous-issue{display:grid;grid-template-columns:1fr 130px;gap:15px}.grl-previous-issue .grl-badge{display:inline-flex!important;margin-right:5px}.grl-previous-photo{position:relative;display:block;overflow:hidden;height:110px;border-radius:10px;background:#e6ebf1}.grl-previous-photo img{width:100%;height:100%;object-fit:cover}.grl-previous-photo span{position:absolute;right:5px;bottom:5px;padding:3px 6px;border-radius:5px;background:rgba(16,33,60,.84);color:#fff;font-size:9px}.grl-review-options>strong{color:var(--grl-red);font-size:11px;text-transform:uppercase}
.grl-review-options .grl-review-resolved{border-color:#a9d9c4;background:#f3fbf7;color:#116a45;font-weight:800}.grl-review-options .grl-review-resolved:has(input:checked){border-color:var(--grl-green);background:#dff6eb;box-shadow:0 0 0 2px rgba(24,131,91,.12)}
.grl-submit-feedback{flex-basis:100%;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:750}.grl-submit-feedback[hidden]{display:none}.grl-submit-feedback.is-success{background:#dff6eb;color:#105f40}.grl-submit-feedback.is-error{background:#fff0f2;color:#a51f31}.grl-submit-panel{flex-wrap:wrap}
.grl-qr-admin{display:grid;grid-template-columns:390px minmax(0,1fr);gap:16px;align-items:start}.grl-qr-form{position:sticky;top:35px}.grl-qr-form fieldset{padding:14px;border:1px solid var(--grl-line);border-radius:11px}.grl-qr-form legend{padding:0 6px;font-weight:800}.grl-operator-checks{display:grid;gap:7px;max-height:210px;overflow:auto}.grl-operator-checks label{display:flex;align-items:center;gap:8px}.grl-operator-checks input{width:auto}.grl-operator-checks small{display:block;color:var(--grl-muted)}.grl-day-checks{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.grl-day-checks label{position:relative}.grl-day-checks input{position:absolute;opacity:0}.grl-day-checks span{display:block;padding:7px 2px;border:1px solid var(--grl-line);border-radius:7px;text-align:center;cursor:pointer}.grl-day-checks input:checked+span{border-color:var(--grl-blue);background:var(--grl-sky);color:var(--grl-blue);font-weight:800}.grl-qr-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grl-qr-card{padding:18px}.grl-qr-card.is-disabled{opacity:.55}.grl-qr-print{display:grid;grid-template-columns:155px 1fr;gap:17px;align-items:center}.grl-qr-canvas svg{display:block;width:100%;height:auto}.grl-qr-print h2{margin:3px 0 8px;font-size:20px}.grl-qr-print p{margin:0 0 8px}.grl-qr-print small{color:var(--grl-muted)}.grl-qr-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.grl-qr-card dl div{padding:9px;border-radius:8px;background:#f5f7fa}.grl-qr-card dt{color:var(--grl-muted);font-size:9px;text-transform:uppercase}.grl-qr-card dd{margin:2px 0 0;font-size:12px;font-weight:750}.grl-qr-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--grl-line)}
@media(max-width:1050px){.grl-qr-admin{grid-template-columns:1fr}.grl-qr-form{position:static}.grl-qr-list{grid-template-columns:1fr}.grl-daily-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.grl-daily>.grl-panel-head{align-items:stretch;flex-direction:column}.grl-daily>.grl-panel-head form{align-items:stretch}.grl-daily-kpis{grid-template-columns:1fr 1fr}.grl-qr-start dl{grid-template-columns:1fr 1fr}.grl-existing-alert{align-items:flex-start;flex-direction:column}.grl-previous-issue{grid-template-columns:1fr}.grl-previous-photo{height:180px}.grl-qr-print{grid-template-columns:120px 1fr}}
@media print{body.grl-printing-qr *{visibility:hidden!important}body.grl-printing-qr .grl-qr-card.is-print-target,body.grl-printing-qr .grl-qr-card.is-print-target *{visibility:visible!important}body.grl-printing-qr .grl-qr-card.is-print-target{position:absolute;left:0;top:0;width:100%;max-width:none;padding:30px;border:0;box-shadow:none}body.grl-printing-qr .grl-qr-actions,body.grl-printing-qr .grl-qr-card dl{display:none!important}body.grl-printing-qr .grl-qr-print{grid-template-columns:260px 1fr;max-width:850px;margin:0 auto}}

/* Branding, ticket workflow and stable filter layout */
.grl-brand img{display:block;width:42px;height:42px;object-fit:contain;border-radius:9px}.grl-hero-brand{display:flex;align-items:center;gap:18px}.grl-hero-brand>img{width:76px;height:76px;padding:7px;border-radius:15px;background:#fff;object-fit:contain}.grl-admin-heading{display:flex;align-items:center;gap:16px}.grl-admin-logo{display:block;width:58px;height:58px;padding:5px;border-radius:12px;background:#fff;object-fit:contain}.grl-media-field{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.grl-template-tabs{display:grid;grid-template-columns:1fr 1fr;gap:13px}.grl-email-template{display:grid;gap:9px;margin:0;padding:16px;border:1px solid var(--grl-line);border-radius:12px}.grl-email-template legend{padding:0 7px;font-weight:850}.grl-archive-filters{grid-template-columns:minmax(260px,2fr) repeat(5,minmax(130px,1fr))}.grl-filters>*{min-width:0}.grl-filters input,.grl-filters select{min-width:0;max-width:100%}.grl-ticket-tabs{display:flex;gap:8px;margin:0 0 18px;padding:7px;overflow:auto;border:1px solid var(--grl-line);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(16,33,60,.04)}.grl-ticket-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border-radius:9px;color:#48566b!important;text-decoration:none!important;font-weight:800;white-space:nowrap}.grl-ticket-tabs a:hover,.grl-ticket-tabs a.is-active{background:var(--grl-sky);color:var(--grl-blue-dark)!important}.grl-ticket-tabs b{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e9eef5;font-size:10px}.grl-supplier-send{align-self:auto!important;padding:11px;border:1px solid #bad3f5;border-radius:10px;background:#f2f7ff}.grl-mail-note{display:block;margin-top:-8px;color:var(--grl-muted)}.grl-delete-card{margin-bottom:16px;padding:20px;border-color:#efc2c8;background:#fff8f9}.grl-delete-card p{color:#7a3e47;font-size:12px}.grl-delete-card form{display:grid;gap:10px}.grl-danger{background:var(--grl-red)!important}.grl-danger:hover{background:#a61e31!important}
@media(max-width:1200px){.grl-archive-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.grl-archive-filters .grl-search{grid-column:span 2}.grl-template-tabs{grid-template-columns:1fr}}
@media(max-width:700px){.grl-media-field{grid-template-columns:1fr}.grl-archive-filters{grid-template-columns:1fr 1fr}.grl-archive-filters .grl-search,.grl-archive-filters .grl-filter-actions{grid-column:1/-1}.grl-hero-brand{align-items:flex-start;flex-direction:column}.grl-hero-brand>img{width:62px;height:62px}.grl-admin-heading{align-items:flex-start}.grl-admin-logo{width:48px;height:48px}.grl-ticket-tabs{margin-left:-2px;margin-right:-2px}}

/* SaaS license client */
.grl-license-status{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-bottom:16px;padding:22px;border:1px solid var(--grl-line);border-left:5px solid #9aa6b5;border-radius:15px;background:#fff;box-shadow:var(--grl-shadow)}.grl-license-status.is-active{border-left-color:var(--grl-green)}.grl-license-status.is-grace{border-left-color:var(--grl-amber)}.grl-license-status.is-invalid{border-left-color:var(--grl-red)}.grl-license-status>div>span,.grl-license-status dt{display:block;color:var(--grl-muted);font-size:10px;text-transform:uppercase}.grl-license-status>div>strong{display:block;margin:4px 0;font-size:25px}.grl-license-status>div>small{color:var(--grl-muted)}.grl-license-status dl{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:0}.grl-license-status dl div{min-width:0;padding:10px;border-radius:9px;background:#f5f7fa}.grl-license-status dd{overflow:hidden;margin:3px 0 0;text-overflow:ellipsis}.grl-license-status code{font-size:10px}.grl-license-actions{display:flex;gap:10px;margin-top:15px}.grl-license-actions form{margin:0}@media(max-width:700px){.grl-license-status{grid-template-columns:1fr}.grl-license-status dl{grid-template-columns:1fr}.grl-license-actions{align-items:stretch;flex-direction:column}.grl-license-actions .grl-btn{width:100%}}

/* 2.2: completed checklist archive and role administration */
.grl-role-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.grl-role-guide article{display:flex;gap:13px;padding:18px;border:1px solid var(--grl-line);border-radius:14px;background:#fff}.grl-role-guide article>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--grl-sky);color:var(--grl-blue);font-weight:900}.grl-role-guide article p{margin:3px 0 0;color:var(--grl-muted);font-size:12px}.grl-access-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:12px}.grl-access-toolbar p{margin:3px 0 0;color:var(--grl-muted)}.grl-role-select{min-width:265px}.grl-access-level{display:inline-flex;padding:7px 10px;border-radius:999px;font-weight:800}.grl-access-level.is-admin{background:#e9e4ff;color:#51409b}.grl-centre-checks{display:flex;flex-wrap:wrap;gap:6px}.grl-centre-checks label{position:relative}.grl-centre-checks input{position:absolute;opacity:0}.grl-centre-checks label span,.grl-all-centres,.grl-no-centres{display:inline-flex;padding:7px 9px;border:1px solid var(--grl-line);border-radius:8px;background:#fff;color:var(--grl-muted);font-size:11px;cursor:pointer}.grl-centre-checks input:checked+span{border-color:var(--grl-blue);background:var(--grl-sky);color:var(--grl-blue);font-weight:800}.grl-all-centres{border-color:#b7e2ce;background:#e9f8f1;color:var(--grl-green);cursor:default}.grl-no-centres{background:#fff7df;color:#7a5b00;cursor:default}.grl-sticky-save{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:14px 18px;border:1px solid #c9d6e7;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 10px 34px rgba(16,33,60,.15)}.grl-sticky-save span{color:var(--grl-muted)}
.grl-archive-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:12px}.grl-archive-intro>div{display:flex;align-items:center;gap:13px}.grl-archive-intro .dashicons{width:auto;height:auto;color:var(--grl-green);font-size:30px}.grl-archive-intro p{margin:2px 0 0;color:var(--grl-muted)}.grl-admin-filters{display:grid;grid-template-columns:1.4fr repeat(5,1fr) auto;align-items:end;gap:10px;padding:16px;margin-bottom:12px}.grl-admin-filters label>span{display:block;margin-bottom:4px;color:var(--grl-muted);font-size:10px;font-weight:800;text-transform:uppercase}.grl-admin-filters input,.grl-admin-filters select{width:100%}.grl-admin-filters>div{display:flex;gap:7px}.grl-btn.grl-small{min-height:32px;padding:6px 10px;border-radius:8px;font-size:11px;white-space:nowrap}.grl-cancel-link{display:block;margin-top:7px;color:var(--grl-red)!important;font-size:11px}.grl-admin-pagination .page-numbers{display:flex;gap:5px;list-style:none}.grl-admin-pagination a,.grl-admin-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid var(--grl-line);border-radius:8px;background:#fff;text-decoration:none}.grl-admin-pagination .current{border-color:var(--grl-blue);background:var(--grl-blue);color:#fff}
.grl-archive-hero{margin-bottom:18px}.grl-archive-filters{grid-template-columns:2fr repeat(5,1fr) auto}.grl-completed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grl-completed-card{padding:21px}.grl-completed-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.grl-completed-top>span{color:var(--grl-muted);font-size:10px;font-weight:850;text-transform:uppercase}.grl-completed-top b{padding:5px 8px;border-radius:999px;font-size:10px}.grl-completed-top .is-conform{background:#dff6eb;color:var(--grl-green)}.grl-completed-top .is-nonconform{background:#ffe4e8;color:var(--grl-red)}.grl-completed-card h2{margin:12px 0 4px;font-size:19px}.grl-completed-card>p{color:var(--grl-muted)}.grl-completed-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.grl-completed-card dl div{padding:10px;border-radius:9px;background:#f6f8fb}.grl-completed-card dt{color:var(--grl-muted);font-size:9px;text-transform:uppercase}.grl-completed-card dd{margin:3px 0 0;font-size:12px;font-weight:750}.grl-completed-card>.grl-btn{width:100%}.grl-kpi-name{font-size:18px!important;line-height:1.2}.grl-kpi-presence{font-size:14px!important;line-height:1.25}.grl-full-responses{overflow:hidden;margin-top:18px}.grl-full-responses>.grl-panel-head,.grl-linked-tickets>.grl-panel-head{padding:20px 22px;border-bottom:1px solid var(--grl-line)}.grl-full-responses>article{padding:15px 22px}.grl-full-responses>article>div small{display:block;margin-bottom:3px;color:var(--grl-muted);font-size:9px;font-weight:800;text-transform:uppercase}.grl-linked-tickets{margin-top:16px;overflow:hidden}.grl-linked-tickets>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--grl-line);text-decoration:none}.grl-linked-tickets>a span{color:var(--grl-muted)}
.grl-qr-error{display:grid;place-items:center;min-height:145px;padding:12px;border:1px dashed var(--grl-red);border-radius:10px;background:#fff5f6;color:var(--grl-red);font-size:11px;text-align:center}
@media(max-width:1050px){.grl-admin-filters{grid-template-columns:repeat(3,1fr)}.grl-admin-filters>div{grid-column:1/-1}.grl-archive-filters{grid-template-columns:repeat(3,1fr)}.grl-role-guide{grid-template-columns:1fr}.grl-scope-table table{min-width:900px}}
@media(max-width:700px){.grl-completed-grid{grid-template-columns:1fr}.grl-archive-filters{grid-template-columns:1fr 1fr}.grl-archive-filters .grl-search{grid-column:1/-1}.grl-completed-card dl{grid-template-columns:1fr}.grl-access-toolbar,.grl-sticky-save,.grl-archive-intro{align-items:stretch;flex-direction:column}.grl-admin-filters{grid-template-columns:1fr 1fr}.grl-admin-filters>label:first-of-type{grid-column:1/-1}.grl-full-responses>article{grid-template-columns:1fr}.grl-full-responses>article>span{width:max-content}}

/* 4.1: tenant turnover, Google sync and consistent product navigation */
.grl-admin-nav-wrap{margin-top:18px!important;margin-bottom:-6px!important}.grl-admin-nav{display:flex;gap:5px;margin:12px 0 20px;padding:6px;overflow:auto;border:1px solid var(--grl-line);border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(16,33,60,.05)}.grl-admin-nav a{padding:10px 14px;border-radius:9px;color:#4b586d!important;text-decoration:none;font-weight:750;white-space:nowrap}.grl-admin-nav a:hover,.grl-admin-nav a.is-active{background:var(--grl-sky);color:var(--grl-blue-dark)!important}.grl-tenant-form{display:grid;gap:20px;margin-bottom:18px;padding:24px}.grl-tenant-form h2{margin:2px 0}.grl-looker{overflow:hidden;padding:0}.grl-looker iframe{display:block;width:100%;height:min(78vh,900px);min-height:620px;border:0}.grl-code{width:100%;padding:15px;border:1px solid var(--grl-line);border-radius:10px;background:#101b2d;color:#dbeafe;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.grl-admin-table form{display:inline-block;margin:2px}.grl-admin-table td small{display:block;color:var(--grl-muted)}
.grl-admin-split>.grl-admin-form .grl-grid-2,.grl-admin-split>.grl-admin-form .grl-grid-3{grid-template-columns:1fr}
@media(max-width:760px){.grl-tenant-form .grl-grid-3{grid-template-columns:1fr}.grl-looker iframe{min-height:520px}.grl-admin-nav{margin-left:0;margin-right:0}.grl-nav{align-items:flex-start;flex-wrap:wrap;padding:10px 14px}.grl-nav>div{order:3;width:100%;overflow:auto}.grl-nav>div a{min-height:42px}.grl-user{margin-left:auto}}

/* 4.3: contextual help and unlimited item anomalies */
.grl-new-same-category{width:100%;margin-top:7px}.grl-new-same-category-help{display:block;color:var(--grl-muted);font-weight:500;line-height:1.35}
.grl-question>div{display:flex;align-items:center;gap:9px}.grl-info-toggle{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;padding:0;border:1px solid #8ab5ef;border-radius:50%;background:var(--grl-sky);color:var(--grl-blue);font-weight:900;font-style:italic;cursor:pointer}.grl-info-toggle[aria-expanded="true"]{background:var(--grl-blue);color:#fff}.grl-info-popover{position:relative;margin-top:10px;padding:12px 14px;border:1px solid #bdd6f6;border-radius:11px;background:#f2f7ff;color:#34445d;font-size:13px;line-height:1.5}.grl-info-popover[hidden]{display:none}.grl-item-anomalies{display:grid;gap:12px;margin-top:15px}.grl-item-anomaly-card{position:relative;margin:0;padding:16px;border:1px solid #f0c8cd;border-radius:12px;background:#fff}.grl-item-anomaly-card legend{padding:0 7px;color:var(--grl-red);font-weight:800}.grl-item-anomaly-card>label{display:block;margin-bottom:12px}.grl-remove-item-anomaly{position:absolute;right:10px;top:8px;background:#fff0f2;color:var(--grl-red);font-size:20px}.grl-add-item-anomaly{margin-top:14px}
.grl-quick-anomaly,.grl-add-photo{margin-top:9px;padding:0;border:0;background:transparent;color:var(--grl-blue);font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.grl-photo-list{display:grid!important;gap:7px;margin:0!important}.grl-photo-list input[type=file]{display:block}.grl-add-photo{display:inline-block;margin:7px 0 0;text-align:left}.grl-question .grl-quick-anomaly{display:block}
