:root{--ink:#18253c;--muted:#65748b;--accent:#355cde}body{background:#f3f5fa;color:var(--ink);font-family:system-ui,-apple-system,sans-serif}.topbar{display:flex;align-items:center;gap:32px;background:#fff;border-bottom:1px solid #e4e8f1;padding:20px max(24px,calc((100vw - 1140px)/2))}.brand{font-size:25px;font-weight:800;color:var(--ink);text-decoration:none;line-height:1}.brand span{display:block;font-size:11px;letter-spacing:.04em;color:var(--muted);font-weight:500;margin-top:6px}.topbar nav{display:flex;align-items:center;gap:24px;flex:1}.topbar nav a,.nav-button{color:#53627a;text-decoration:none;font-size:14px}.nav-button{border:0;background:none;padding:0}.identity{font-size:14px;font-weight:650}h1{font-size:clamp(25px,4vw,34px);font-weight:750;letter-spacing:-.035em;margin:8px 0 12px}h2{font-size:19px;font-weight:650}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700;color:var(--accent)}.surface{background:white;border:1px solid #e3e8f2;border-radius:18px;padding:26px;box-shadow:0 4px 18px #223e6b04}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:12px 0 25px}.btn{border-radius:10px;font-weight:600;padding:10px 18px}.btn-primary{background:var(--accent);border-color:var(--accent)}.status{display:inline-flex;padding:5px 11px;border-radius:20px;font-size:12px;font-weight:700;background:#eff2f8;color:#68768b}.passed{background:#e6f6ee;color:#087746}.failed,.error{background:#ffecec;color:#b32d39}.running{background:#e9efff;color:#355cde}.run-card{display:flex;justify-content:space-between;text-decoration:none;color:var(--ink);gap:20px;margin-bottom:12px}.run-card:hover{border-color:#9aaee8}.run-card h2{margin:13px 0 6px}.run-meta{display:flex;flex-direction:column;gap:6px;text-align:right;font-size:13px;color:var(--muted);justify-content:center}.facts{display:flex;gap:45px;flex-wrap:wrap}.facts span,.facts strong{display:block}.facts span{font-size:12px;color:var(--muted);margin-bottom:7px}.back{display:inline-block;margin:5px 0 12px;text-decoration:none;color:var(--muted);font-size:14px}.result-image{width:100%;max-height:450px;object-fit:cover;object-position:top;border-radius:10px;border:1px solid #e3e8f2}.mobile-image{max-width:300px}.login{max-width:460px;margin:50px auto}.form-surface{max-width:650px;margin:15px auto}form p{margin:18px 0}form label{display:block;font-weight:600;font-size:14px;margin-bottom:7px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select{display:block;width:100%;padding:11px 12px;border:1px solid #ccd4e3;border-radius:9px;background:white;color:var(--ink)}input:focus,select:focus{outline:2px solid #a4b8ff;outline-offset:1px}input[type=checkbox]{margin-right:8px;width:17px;height:17px;vertical-align:middle}.helptext{display:block;color:var(--muted);font-size:12px;margin-top:6px}.errorlist{padding-left:18px;color:#b32d39;font-size:13px}.user-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.actions{display:flex;gap:10px}footer{font-size:12px;color:var(--muted)}.pagination-bar{display:flex;justify-content:space-between;margin:22px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f5f6fa;padding:15px;border-radius:10px}code{overflow-wrap:anywhere}@media(max-width:640px){.topbar{padding:16px;gap:14px;flex-wrap:wrap}.topbar nav{order:3;flex-basis:100%;gap:20px}.identity{margin-left:auto}.page-heading{align-items:flex-start;flex-direction:column}.page-heading .btn{width:100%}.surface{padding:20px;border-radius:14px}.run-card{flex-direction:column}.run-meta{text-align:left;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.facts{gap:20px}.user-card{align-items:flex-start;flex-direction:column}.actions{width:100%;flex-wrap:wrap}.login{margin:20px auto}.container{padding-left:16px;padding-right:16px}}

.blocked{background:#fff4d6;color:#886000}.test-option{display:flex!important;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5}.test-option small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.test-option span{min-width:0;overflow-wrap:anywhere}.test-option input{flex-shrink:0;margin-top:3px}.test-options{max-height:65vh;overflow:auto}

.selection-mode legend{font-size:19px;font-weight:650}.selection-mode #id_selection_mode{display:flex;flex-wrap:wrap;gap:12px}.selection-mode label{border:1px solid #ccd4e3;border-radius:10px;padding:12px 16px;cursor:pointer;margin:0}.selection-mode label:has(input:checked){border-color:var(--accent);background:#eff3ff}.selection-mode input[type=radio]{width:17px;height:17px;margin-right:8px;vertical-align:middle}.test-option[hidden],#selective-tests[hidden]{display:none!important}.test-options{display:grid;gap:10px}.test-option{display:flex;gap:8px;padding:12px;border:1px solid #e3e8f2;border-radius:10px}.test-option small{display:block;font-weight:400;color:var(--muted);margin-top:4px}.test-option input{flex-shrink:0;margin-top:3px}

.test-group{border:1px solid #dde3ed;border-radius:16px;margin:16px 0;padding:16px}.group-choice,.subgroup-choice{display:flex;gap:10px;align-items:center;cursor:pointer}.group-choice{font-size:1.15rem}.group-choice span{margin-left:auto;font-size:.9rem;color:#52617a}.test-subgroup{border-top:1px solid #e6ebf2;margin-top:12px;padding-top:12px}.test-subgroup summary{cursor:pointer;font-weight:600;padding:8px 0}.test-subgroup summary span{font-weight:400;color:#52617a;margin-left:8px}.subgroup-choice{margin:10px 0}.group-choice input,.subgroup-choice input{flex:none}
.group-choice span{white-space:nowrap;flex-shrink:0}

.library-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr auto;gap:14px;align-items:end}.library-filters>div{min-width:0}.logic-grid,.logic-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.logic-card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);overflow-wrap:anywhere}.logic-card:hover{border-color:#9aaee8}.logic-card h2{margin:12px 0}.logic-card-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:auto;font-size:13px;color:var(--accent)}.logic-list{padding-left:22px;margin-bottom:0}.logic-list li{margin:10px 0;overflow-wrap:anywhere}.logic-readiness{background:#f3f5fa;border-radius:8px;padding:10px 12px;font-size:14px}.logic-target{margin:12px 0}.logic-url{overflow-wrap:anywhere;color:var(--muted);font-size:14px;margin-top:4px}.logic-statuses{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;margin-bottom:0}.logic-statuses dd{margin:0}.topbar nav{flex-wrap:wrap}@media(max-width:900px){.library-filters{grid-template-columns:1fr 1fr}.library-filters>div:first-child{grid-column:1/-1}}@media(max-width:640px){.logic-grid,.logic-detail-grid,.library-filters,.logic-statuses{grid-template-columns:1fr}.logic-statuses{gap:6px}.logic-statuses dd{margin-bottom:12px}.library-filters>div:first-child{grid-column:auto}.logic-card-bottom{flex-wrap:wrap}.topbar nav{gap:14px 18px}}
.topbar nav{min-width:0;max-width:100%}

.origin-badge{display:inline-block;background:#edf2fb;color:#264879;padding:.2rem .5rem;border-radius:.5rem;margin:.1rem;font-size:.85rem}.coverage-card{margin-bottom:1rem;overflow-wrap:anywhere}.coverage-summary{display:flex;flex-wrap:wrap;gap:.6rem}.coverage-card details{margin-top:.6rem}

.url-case{padding:1rem 0;border-top:1px solid #dde3ec;overflow-wrap:anywhere}.url-case p{margin-bottom:.4rem}#http-case-groups{margin-top:1.5rem}

.report-secondary,.report-time,.report-hint{color:var(--muted);font-size:13px;font-weight:400}.report-statuses{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.report-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.report-toolbar label{margin:0;font-weight:600;font-size:14px}.report-toolbar select{margin-top:6px}.report-controls .report-hint:last-child{margin:14px 0 0}.report-group-heading{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:19px;font-weight:650}.report-group-heading::before,.report-test-heading::before{content:'▸';color:var(--muted);font-size:14px}.report-group[open]>.report-group-heading::before,.report-test[open]>.report-test-heading::before{content:'▾'}.report-group-heading::-webkit-details-marker,.report-test-heading::-webkit-details-marker{display:none}.report-group-heading>[data-report-group-count]{margin-left:auto}.report-group-actions{margin:16px 0}.report-test{border-top:1px solid #e3e8f2}.report-test-heading{display:grid;grid-template-columns:14px minmax(0,1fr) auto 105px;align-items:center;gap:14px;padding:15px 0;cursor:pointer}.report-test-title{min-width:0;overflow-wrap:anywhere}.report-test-title strong{font-size:14px;font-weight:650}.report-test-title small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.report-time{text-align:right;white-space:nowrap}.report-test-body{padding:0 0 18px 28px}.report-variant{border:1px solid #e3e8f2;border-radius:12px;padding:16px;margin:8px 0 16px;overflow-wrap:anywhere}.report-variant-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.report-variant-heading h3{font-size:16px;margin:0}.report-variant-heading .report-time{margin-left:auto}.report-cases summary{padding:10px 0;cursor:pointer;font-weight:600}.report-test[hidden],.report-group[hidden]{display:none!important}.skipped{background:#eff2f8;color:#65748b}.report-controls .actions,.report-group-actions{flex-wrap:wrap}@media(max-width:640px){.report-toolbar{grid-template-columns:1fr}.report-test-heading{grid-template-columns:12px minmax(0,1fr);gap:8px 10px}.report-test-heading>.status{grid-column:2;justify-self:start;max-width:100%}.report-test-heading>.report-time{grid-column:2;justify-self:start}.report-test-body{padding-left:0}.report-group-actions .btn{font-size:12px;padding:8px 10px}.report-group{padding:16px}.report-variant{padding:12px}.report-variant-heading .report-time{margin-left:0}.report-controls h2 .report-secondary{display:block;margin-top:6px}}

.report-screenshot{margin:18px 0 0;min-width:0}.report-screenshot figcaption{font-size:14px;font-weight:600;margin-bottom:10px}.screenshot-actions{flex-wrap:wrap;margin-bottom:10px}.screenshot-actions [aria-pressed=true]{background:#e9efff;border-color:var(--accent);color:var(--accent)}.screenshot-frame{max-height:65vh;overflow:auto;max-width:100%;border:1px solid #dbe2ee;border-radius:10px;background:#eef1f6;overscroll-behavior:contain}.screenshot-frame .result-image{display:block;width:auto;height:auto;max-width:100%;max-height:none;object-fit:initial;border:0;border-radius:0}.screenshot-frame[data-zoom=actual] .result-image{max-width:none;width:auto;height:auto}.screenshot-frame:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.report-screenshot .report-hint{margin-top:8px}.photo-audit{padding:12px;border:1px solid #dbe2ee;border-radius:10px;margin:12px 0;font-size:13px}.photo-audit summary{cursor:pointer;font-weight:600}.photo-problems,.photo-audit-unknown{background:#fff7e5;color:#785600}.photo-audit-unknown{padding:10px;border-radius:8px;font-size:12px}.photo-warning{display:inline-block;margin-left:8px;color:#a14608;font-size:12px;font-weight:600}.photo-audit code{word-break:break-all}.photo-problems{border-color:#e8ca8b}

.account-filter{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.account-filter>div{flex:1;min-width:180px}.account-card{display:flex;justify-content:space-between;gap:20px}.account-card>div:first-child{min-width:0;overflow-wrap:anywhere}.account-card h2{margin-top:12px}.account-purpose{white-space:normal;overflow-wrap:anywhere}.account-phone{font-variant-numeric:tabular-nums}.form-surface textarea{display:block;width:100%;padding:11px 12px;border:1px solid #ccd4e3;border-radius:9px;color:var(--ink);resize:vertical}@media(max-width:640px){.account-card{flex-direction:column}.account-filter>div{min-width:0;flex-basis:100%}}

.screenshot-source{font-size:14px;overflow-wrap:anywhere;margin:10px 0 14px}.report-variant a,.logic-url a{overflow-wrap:anywhere}pre a{white-space:normal}

.screenshot-frame{scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#74859f #e3e8f2}.screenshot-frame.has-vertical-scroll{overflow-y:scroll}.screenshot-frame::-webkit-scrollbar{width:14px;height:14px}.screenshot-frame::-webkit-scrollbar-track{background:#e3e8f2}.screenshot-frame::-webkit-scrollbar-thumb{background:#74859f;border:3px solid #e3e8f2;border-radius:8px;min-height:36px}.screenshot-frame::-webkit-scrollbar-thumb:hover{background:#465b7b}.screenshot-frame::-webkit-scrollbar-corner{background:#e3e8f2}
.screenshot-viewer{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-width:none;max-height:none;margin:auto;border:1px solid #cbd5e5;border-radius:14px;padding:20px;color:var(--ink);background:#fff}.screenshot-viewer[open]{display:flex;flex-direction:column;gap:12px}.screenshot-viewer::backdrop{background:#18253ccc}.screenshot-viewer-header{display:flex;gap:16px;align-items:start;justify-content:space-between}.screenshot-viewer-header h2{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere;min-width:0}.screenshot-viewer-header button{flex-shrink:0}.screenshot-viewer-source{max-height:12vh;overflow:auto;overflow-wrap:anywhere;flex-shrink:0}.screenshot-viewer-source:empty{display:none}.screenshot-viewer .screenshot-source,.screenshot-viewer .report-hint{margin:0}.screenshot-viewer .screenshot-actions{margin:0;flex-shrink:0}.screenshot-viewer-frame{flex:1;min-height:0;max-height:none;width:100%}.screenshot-viewer-open{overflow:hidden}@media(max-width:640px){.screenshot-viewer{width:calc(100vw - 12px);height:calc(100dvh - 12px);padding:12px;gap:8px!important}.screenshot-viewer-header h2{font-size:14px}.screenshot-viewer .btn{font-size:12px;padding:8px 10px}}

.screenshot-actions [hidden]{display:none!important}

.screenshot-scroll-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;min-height:0}.screenshot-scroll-layout.has-scroll-control{grid-template-columns:minmax(0,1fr) 24px}.screenshot-scroll-layout input.screenshot-scroll-control[type=range]{writing-mode:vertical-lr;direction:ltr;appearance:auto;accent-color:var(--accent);width:24px;height:100%;min-height:0;max-height:65vh;padding:0;margin:0;border:0;background:transparent;cursor:ns-resize;align-self:stretch}.screenshot-scroll-control[hidden]{display:none!important}.screenshot-viewer-scroll{flex:1;min-height:0}.screenshot-viewer-scroll>.screenshot-viewer-frame{height:100%;max-height:none}.screenshot-viewer-scroll input.screenshot-scroll-control[type=range]{max-height:none}

.report-variant[hidden],.url-case[hidden],.report-cases[hidden],[data-filter-context][hidden],[data-result-summary-label][hidden]{display:none!important}[data-filter-context]:not([hidden]){display:block;color:var(--muted);font-size:12px;margin-top:5px}

[data-whole-status][hidden]{display:none!important}

.photo-page{border-top:1px solid #e3e8f2;margin-top:10px;padding-top:8px}.photo-page>summary{font-weight:650;cursor:pointer}.photo-case-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;margin-bottom:8px}.photo-case-links{font-size:12px;overflow-wrap:anywhere}.photo-case>p{margin:7px 0}.photo-params-scroll{overflow:auto;max-height:360px}.photo-params{width:100%;min-width:780px;border-collapse:collapse;font-size:12px}.photo-params th,.photo-params td{padding:7px 9px;border-bottom:1px solid #e3e8f2;vertical-align:top}.photo-params th{background:#f5f6fa;text-align:left;position:sticky;top:0}.photo-params td:nth-child(2){max-width:340px;overflow-wrap:anywhere}

.redmine-badge{display:inline-block;background:#fbe9eb;color:#9c2333;border:1px solid #e8b5bd;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;text-decoration:none}.redmine-ticket-links{display:flex;flex-wrap:wrap;gap:8px 14px}.redmine-ticket-links a{white-space:nowrap}
