/* PAYRAOS Quality 1.5.0: evidence-first, comfortable, accessible in both themes. */
:root{--q-radius:20px;--q-focus:#1659d8}html[data-theme=light]{--blue:#155cd6;--muted:#53637b;--muted-2:#5a6b83;--sidebar-muted:#53657c;--paper:#f3f6fb}html[data-theme=dark]{--blue:#82afff;--muted:#acbbd0;--muted-2:#a0b1c9;--sidebar-muted:#9cacc4}
button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.btn,.icon-button,.btn-icon,.locale-toggle{min-height:44px}.icon-button,.btn-icon{min-width:44px}.nav-link{min-height:44px;font-size:13px}.theme-toggle{height:44px}.theme-choice{height:36px;min-width:36px}.topbar .demo-mode-toggle{min-height:44px}.topbar .global-search input{min-height:44px}.topbar .topbar-profile{max-width:175px}.tenant-switcher{cursor:default}.data-table{font-size:14px}.data-table td{padding-top:15px;padding-bottom:15px}.data-table th{font-size:11px;line-height:1.5}.form-field input,.form-field select,.input,.select{min-height:44px}.modal{max-height:90dvh;overflow:auto}.modal:focus{outline:none}.modal-body{font-size:15px;line-height:1.6}.modal-body details summary{min-height:44px;cursor:pointer}.modal-body p{overflow-wrap:anywhere}.q-skip{position:fixed;top:-100px;left:20px;z-index:10000;background:var(--surface);padding:14px 20px;color:var(--ink)}.q-skip:focus{top:10px}.q-routeload{opacity:.55;pointer-events:none}.q-skeleton-bar{position:fixed;left:0;right:0;top:0;height:3px;background:var(--blue);z-index:10000}
.q-focus{max-width:1500px;margin:auto;padding:34px 32px 60px}.q-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.q-head h1{font-size:clamp(28px,3vw,44px);line-height:1.13;letter-spacing:-1.6px;margin:10px 0 12px}.q-head>div>p:last-child{font-size:15px;color:var(--muted);line-height:1.6}.q-eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:var(--muted);line-height:1.6}.q-head>.btn{flex-shrink:0}.q-fresh{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:13px 0 22px}.q-fresh strong{color:var(--ink);font-weight:600}.q-text{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;color:var(--blue);min-height:44px;cursor:pointer;font-size:13px;font-weight:650}.q-text svg{width:16px;height:16px}.q-fresh .q-text{margin-left:auto}.q-pill{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border:1px solid var(--line);border-radius:6px;font-size:10px;font-weight:750;letter-spacing:.7px;color:var(--muted);background:var(--surface-2);white-space:normal}.q-danger{color:var(--red);background:var(--red-soft);border-color:transparent}.q-warning{color:var(--amber);background:var(--amber-soft);border-color:transparent}
.q-hero{display:grid;grid-template-columns:1.3fr 1fr;border-radius:24px;border:1px solid var(--line);background:var(--surface);overflow:hidden;box-shadow:0 18px 60px #12346308}.q-hero-copy{padding:32px;background:linear-gradient(120deg,var(--surface),var(--blue-soft))}.q-status{display:flex;gap:14px;align-items:center;margin:22px 0 16px}.q-status h2{font-size:clamp(24px,2.5vw,36px);letter-spacing:-1px;line-height:1.2}.q-status-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--blue-soft);color:var(--blue);flex-shrink:0}.q-status-mark.danger{background:var(--red-soft);color:var(--red)}.q-status-mark svg{width:27px;height:27px}.q-hero-copy>p:not(.q-eyebrow){max-width:55ch;font-size:15px;line-height:1.7;color:var(--muted)}.q-hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px;padding-top:21px;border-top:1px solid var(--line)}.q-hero-bottom>div>span{font-size:10px;letter-spacing:1px;color:var(--muted);display:block;max-width:230px;line-height:1.4}.q-hero-bottom>div>strong{display:block;font-size:22px;margin-top:7px;letter-spacing:-.5px}.q-hero-metrics{display:grid;grid-template-columns:1fr 1fr;padding:24px;gap:10px}.q-hero-metrics>button{display:flex;flex-direction:column;text-align:left;background:transparent;border:0;padding:14px 18px;gap:10px;color:var(--ink);cursor:pointer;border-radius:14px;min-width:0}.q-hero-metrics>button:hover{background:var(--paper)}.q-hero-metrics strong{font-size:clamp(42px,4.5vw,64px);letter-spacing:-2.4px;line-height:1;font-variant-numeric:tabular-nums;color:var(--red)}.q-hero-metrics>button>span{font-size:13px;color:var(--muted);line-height:1.5}.q-hero-metrics .q-ready{grid-column:1 / -1;border-top:1px solid var(--line);border-radius:0;flex-direction:row;align-items:center;padding-top:18px;gap:20px}.q-ready small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.q-donut{--pct:0;width:80px;height:80px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--blue) calc(var(--pct)*1%),var(--line) 0)}.q-donut:before{content:'';position:absolute;inset:7px;border-radius:50%;background:var(--surface)}.q-donut span{z-index:1;font-size:21px;font-weight:750;letter-spacing:-.8px}
.q-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:36px 0 18px;scroll-margin-top:90px}.q-section-head h2{font-size:24px;letter-spacing:-.6px;margin-top:6px;line-height:1.3}.q-tabs{display:flex;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px;flex-shrink:0}.q-tabs button{min-height:40px;border:0;background:transparent;color:var(--muted);padding:8px 14px;border-radius:8px;font-size:12px;font-weight:650;cursor:pointer}.q-tabs button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}.q-tabs b{padding-left:5px}.q-attention-list{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}.q-attention-row{width:100%;display:grid;grid-template-columns:34px 1fr 210px 22px;gap:18px;padding:20px 24px;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;cursor:pointer;color:var(--ink)}.q-attention-row:last-child{border-bottom:0}.q-attention-row:hover{background:var(--surface-2)}.q-order{font-size:12px;color:var(--muted);align-self:start;padding-top:7px}.q-attention-row h3{font-size:15px;line-height:1.45;margin:8px 0 4px}.q-attention-row p{font-size:12px;color:var(--muted);line-height:1.6}.q-owner{display:flex;flex-direction:column;gap:5px;font-size:13px}.q-owner small{font-size:9px;letter-spacing:1px;color:var(--muted)}.q-owner strong{font-weight:600;font-size:12px}.q-owner span{color:var(--muted);font-size:12px}.q-attention-row>svg{width:20px;color:var(--blue)}
.q-modules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.q-module{padding:20px 18px;border:1px solid var(--line);background:var(--surface);border-radius:18px;text-decoration:none;color:var(--ink);transition:transform .15s,border-color .15s;min-width:0;display:flex;flex-direction:column}.q-module:hover{transform:translateY(-3px);border-color:var(--blue)}.q-module header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:var(--muted);font-size:11px}.q-module-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--blue-soft);color:var(--blue)}.q-module-icon svg{width:19px;height:19px}.q-module h3{font-size:14px;font-weight:650;line-height:1.45;min-height:42px;margin:0 0 14px;overflow-wrap:anywhere}.q-module>strong{font-variant-numeric:tabular-nums;letter-spacing:-1.5px;font-size:34px;line-height:1.15}.q-module>small{font-size:11px;color:var(--muted);line-height:1.5;min-height:35px;margin-top:6px;overflow-wrap:anywhere}.q-module footer{border-top:1px solid var(--line);padding-top:14px;margin-top:15px;display:flex;align-items:center;justify-content:space-between;gap:6px}.q-module footer .q-pill{font-size:9px;letter-spacing:0;padding:4px 6px}.q-module footer svg{width:17px;height:17px;flex-shrink:0}
.q-cycles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.q-cycle{display:block;text-align:left;cursor:pointer;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);padding:23px;min-width:0}.q-cycle:hover{border-color:var(--blue)}.q-cycle>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.q-country{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.q-cycle h3{font-size:18px;line-height:1.4;margin:18px 0 10px;overflow-wrap:anywhere}.q-cycle>p{font-size:12px;color:var(--muted);line-height:1.5}.q-cycle-numbers{display:flex;gap:36px;margin:24px 0 15px}.q-cycle-numbers>span{font-size:12px;color:var(--muted)}.q-cycle-numbers strong{display:block;font-size:29px;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.2;margin-bottom:5px}.q-progress{height:7px;background:var(--line);border-radius:5px;overflow:hidden}.q-progress>span{display:block;height:100%;background:var(--blue)}.q-cycle footer{display:flex;align-items:center;gap:9px;margin-top:17px;font-size:12px;color:var(--muted)}.q-cycle footer svg{width:16px;height:16px}.q-cycle footer svg:last-child{margin-left:auto}.q-brief{border:1px solid var(--line);border-radius:20px;margin:34px 0 18px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--blue-soft)}.q-brief>div>svg{width:24px;height:24px;color:var(--blue);margin-bottom:12px}.q-brief h2{font-size:22px;line-height:1.35;letter-spacing:-.5px}.q-brief p{font-size:14px;color:var(--muted);line-height:1.6;margin-top:8px}.q-brief>.btn{flex-shrink:0}.q-fine{font-size:12px;line-height:1.6;color:var(--muted)}.q-empty{padding:32px;color:var(--muted);font-size:15px;line-height:1.6;grid-column:1 / -1}.q-detail-value{font-size:64px;font-variant-numeric:tabular-nums;font-weight:750;letter-spacing:-3px;margin:10px 0 20px}.q-rule,.q-next{border-radius:14px;background:var(--paper-2);padding:18px;margin-bottom:20px}.q-sources>div{display:flex;flex-direction:column;gap:4px;padding:15px 0;border-bottom:1px solid var(--line)}.q-sources small{color:var(--muted)}.q-sources+.q-fine{margin:20px 0}.q-record{margin:20px 0}.q-record>div{display:grid;grid-template-columns:120px 1fr;border-bottom:1px solid var(--line);gap:20px;padding:12px 0;font-size:14px}.q-record dt{color:var(--muted)}.q-record dd{margin:0;overflow-wrap:anywhere}.q-alert-context p{margin:15px 0}.q-next small{letter-spacing:1px;font-size:10px;color:var(--muted)}.q-next h3{font-size:19px;line-height:1.5;margin:10px 0}.q-quality-list>div{display:flex;align-items:center;gap:20px;margin-bottom:14px}.q-quality-list strong{font-size:36px;color:var(--blue)}.q-answer-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.q-answer-facts button{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:15px;cursor:pointer}.q-answer-facts strong{font-size:32px}.q-answer-facts span{font-size:12px;color:var(--muted)}
/* Landing extension: pick the situation, then see it. Never claim fictional proof. */
.vs-quality-picker{padding:0 0 30px}.vs-quality-picker>div{border-top:1px solid var(--vs-line,var(--line));border-bottom:1px solid var(--vs-line,var(--line));padding:23px 0;display:flex;gap:25px;align-items:center}.vs-quality-picker h2{font-size:18px;letter-spacing:-.3px;max-width:220px;line-height:1.4;flex-shrink:0}.vs-quality-options{display:flex;gap:10px;flex-wrap:wrap}.vs-quality-options button{min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}.vs-quality-options button svg{width:18px;height:18px;color:var(--blue)}.vs-quality-options button:hover{border-color:var(--blue);background:var(--blue-soft)}.vs-boss{margin-top:55px;margin-bottom:55px;padding:32px;border-radius:24px;border:1px solid var(--line);background:var(--surface);display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center}.vs-boss h2{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:12px 0}.vs-boss p{font-size:15px;line-height:1.7;color:var(--muted);max-width:50ch}.vs-boss .vs-button{margin-top:22px}.vs-boss-micro{border:1px solid var(--line);border-radius:18px;padding:23px;background:var(--paper)}.vs-boss-micro>small{font-size:10px;letter-spacing:1px;color:var(--muted)}.vs-boss-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.vs-boss-stats strong{display:block;font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-1px}.vs-boss-stats span{font-size:11px;color:var(--muted);line-height:1.5;display:block}.vs-boss-proof{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted)}.vs-boss-proof svg{width:18px;height:18px;color:var(--blue)}.vs-timehint{font-size:12px;color:var(--muted);margin:14px 0 0}.vs-theme-switch button,.vs-locale,.vs-menu{min-width:44px;min-height:44px}.vs nav a{min-height:44px;display:inline-flex;align-items:center}.vs button:disabled{opacity:.55}.vs-quick-demo{background:transparent;color:var(--ink);border:1px solid var(--line)}.vs-hero-actions{gap:12px;flex-wrap:wrap}.q-palette-input{width:100%;font-size:18px;min-height:52px;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px}.q-palette-results{display:grid;gap:6px;margin-top:15px}.q-palette-results a{display:flex;gap:14px;align-items:center;padding:15px;border-radius:10px;color:var(--ink);background:var(--paper);min-height:52px;font-size:15px}.q-palette-results a svg{width:20px;height:20px;color:var(--blue)}
@media(min-width:1600px){.q-head h1{font-size:45px}.q-modules{gap:18px}}
@media(max-width:1250px){.q-modules{grid-template-columns:repeat(3,minmax(0,1fr))}.q-head h1{font-size:34px}.q-hero{grid-template-columns:1.15fr 1fr}.q-focus{padding:26px}.q-hero-copy{padding:24px}.q-hero-bottom{flex-wrap:wrap}.q-attention-row{grid-template-columns:25px 1fr 145px 20px}.q-cycles{grid-template-columns:repeat(2,minmax(0,1fr))}.q-tabs button{padding:8px 10px}}
@media(max-width:900px){.q-hero{grid-template-columns:1fr}.q-hero-metrics{grid-template-columns:1fr 1fr 1.3fr;padding:14px}.q-hero-metrics .q-ready{grid-column:auto;border-top:0;border-left:1px solid var(--line);padding:10px;gap:10px}.q-donut{width:60px;height:60px}.q-donut span{font-size:17px}.q-ready small{display:none}.q-head h1{font-size:32px}.q-section-head{flex-wrap:wrap}.q-brief{flex-direction:column;align-items:start}.vs-boss{gap:25px}.vs-quality-picker>div{align-items:start;flex-direction:column}.vs-quality-picker h2{max-width:none}.topbar-profile{display:none!important}}
@media(max-width:600px){.q-focus{padding:22px 16px 45px}.q-head{align-items:start}.q-head h1{font-size:28px;letter-spacing:-1px}.q-head .btn{font-size:0;min-width:44px;padding:10px}.q-head .btn svg{width:20px}.q-head>div>p:last-child{font-size:14px}.q-fresh{gap:8px;font-size:11px}.q-fresh .q-text{margin-left:0}.q-hero-copy{padding:22px}.q-hero-copy>.q-eyebrow{font-size:10px}.q-status h2{font-size:28px}.q-hero-bottom{gap:18px}.q-hero-metrics{grid-template-columns:1fr 1fr}.q-hero-metrics .q-ready{grid-column:1 / -1;border-left:0;border-top:1px solid var(--line);padding:15px;gap:18px}.q-hero-metrics strong{font-size:52px}.q-ready small{display:block}.q-attention-row{grid-template-columns:1fr 20px;gap:8px;padding:19px}.q-order{display:none}.q-attention-row>.q-owner{grid-column:1;font-size:11px}.q-attention-row>svg{grid-column:2;grid-row:1}.q-owner{margin-top:8px}.q-owner small{display:none}.q-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.q-module{padding:17px 14px}.q-module>strong{font-size:34px}.q-module h3{font-size:13px}.q-cycles{grid-template-columns:1fr}.q-section-head h2{font-size:23px}.q-tabs{width:100%}.q-tabs button{flex:1;min-height:44px}.q-fresh>strong{max-width:90%;overflow-wrap:anywhere}.q-brief{padding:23px}.q-brief h2{font-size:22px}.q-record>div{grid-template-columns:1fr;gap:5px}.vs-boss{grid-template-columns:1fr;padding:24px;gap:24px;margin-top:30px;margin-bottom:35px}.vs-boss h2{font-size:28px}.vs-quality-options{display:grid;grid-template-columns:1fr 1fr;width:100%}.vs-quality-options button{font-size:12px;padding:12px;text-align:left}.vs-boss-stats strong{font-size:30px}.vs-header-actions{gap:6px}.vs-theme-switch{padding:2px}.vs-theme-switch button{min-width:36px;min-height:44px}.q-hero-bottom .btn{width:100%;justify-content:center}.q-detail-value{font-size:54px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.q-module:hover{transform:none}}
.q-tower-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:30px 0}.q-tower-kpis>div{background:var(--surface);border:1px solid var(--line);padding:24px;border-radius:18px}.q-tower-kpis strong{display:block;font-size:44px;letter-spacing:-.05em;line-height:1.1}.q-tower-kpis span{color:var(--muted);display:block;margin-top:12px}.q-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:24px 0}.q-search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:var(--surface);min-width:280px}.q-search input{background:transparent;border:0;height:48px;min-width:0;color:var(--ink);font:inherit;outline:0;width:100%}.q-search svg{width:18px;flex-shrink:0}.q-tower-list{display:grid;gap:20px}.q-tower-card{padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.q-tower-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.q-tower-card h2{font-size:24px;letter-spacing:-.03em}.q-tower-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;padding:26px 0}.q-tower-grid strong{display:block;font-size:28px;letter-spacing:-.04em;margin-top:8px}.q-tower-grid small{color:var(--muted);font-size:11px;letter-spacing:.09em}.q-tower-card footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:24px}.q-tower-card footer p{font-size:13px;color:var(--muted);margin-top:5px}#q-save-error{color:var(--red);margin-bottom:12px}.q-tower .q-fine{margin-top:20px}
@media(max-width:700px){.q-tower-kpis{grid-template-columns:repeat(2,1fr);gap:10px}.q-tower-kpis>div{padding:18px}.q-toolbar{flex-direction:column;align-items:stretch}.q-search{min-width:0}.q-tower-card{padding:20px}.q-tower-card header{flex-direction:column;gap:12px}.q-tower-card footer{align-items:stretch;flex-direction:column}.q-tower-grid{grid-template-columns:1fr 1fr}.q-tower-grid>div:first-child{grid-column:1/-1}.q-tower-grid strong{font-size:28px}}

.q-more{display:block;width:100%;padding:16px;text-align:center;background:var(--surface-2);color:var(--blue);font:inherit;font-weight:600;border:0;cursor:pointer;min-height:48px}
@media(max-width:600px){.topbar{height:auto;min-height:64px;padding:10px 12px;gap:8px}.topbar-left{flex:0 0 44px;width:44px;min-width:0}.topbar-actions{flex:1;justify-content:flex-end;gap:6px;min-width:0}.topbar .global-search{display:none!important}.topbar-actions .demo-mode-toggle{font-size:11px;padding:0 8px;min-width:56px}.topbar-actions .locale-toggle{min-width:44px;padding:8px}.topbar .theme-toggle{gap:0;padding:2px}.topbar .theme-choice{min-width:26px;width:26px}.topbar .notification-button{min-width:44px;flex:0 0 44px}}
@media(max-width:1250px){.topbar-profile{display:none!important}.topbar .global-search{display:none!important}.topbar-actions{flex-shrink:0}.breadcrumbs{max-width:280px;overflow:hidden;text-overflow:ellipsis}.topbar-left{min-width:0}}
@media(max-width:1250px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar .input,.filter-bar .select{min-width:0;width:100%}.table-wrap{max-width:100%;overscroll-behavior-x:contain}}
@media(max-width:600px){.filter-bar{grid-template-columns:1fr}}
/* Identity is already in the sidebar; avoid duplicating it at the expense of navigation. */
.topbar-profile{display:none!important}.topbar-left{min-width:0}.topbar-actions{min-width:0}.topbar .global-search{min-width:120px;width:clamp(140px,20vw,300px)}
