*{box-sizing:border-box} :root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#172d34;background:#f4f7f7;font-synthesis:none}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;transition:background .15s}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.97)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a2d9cc;outline-offset:2px}button.primary{background:#157363;color:white;border-radius:8px;padding:12px 20px;font-weight:600}button.secondary{background:white;border:1px solid #d9e3e1;border-radius:7px;padding:9px 13px;color:#35544f}.text-button{background:none;color:#658079;padding:7px}a{color:#147c69}h1,h2,p{margin-top:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.7px;margin-bottom:8px}h2{font-size:21px;margin:0}.muted{color:#7a8d89;font-size:13px;line-height:1.7}.eyebrow{color:#658c80;font-size:11px;letter-spacing:2.5px;font-weight:700;margin-bottom:10px}.brand-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;color:white;background:#167b68;font-size:23px}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top left,#dceee7,transparent 60%),#f4f7f7}.login-card{width:min(410px,92vw);padding:40px;background:white;border:1px solid #e3eae7;border-radius:15px;box-shadow:0 18px 65px #22433a0b}.login-card .brand-icon{margin-bottom:22px}.login-card button{width:100%;margin-top:12px}label{display:block;color:#45615a;font-size:13px;line-height:1.6;margin:17px 0}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #dbe4e1;border-radius:7px;padding:10px 12px;margin-top:6px;color:#23463d;background:#fff}textarea{resize:vertical}.error{color:#ba4242;font-size:13px;min-height:16px}aside{position:fixed;width:220px;inset:0 auto 0 0;background:#fff;border-right:1px solid #e5eae8;padding:30px 20px}.brand{display:flex;align-items:center;gap:11px;font-size:19px}.side-label{font-size:11px;color:#96a6a0;margin:42px 0 16px 12px}.nav-active{background:#e9f4ef;color:#166e58;border-radius:8px;font-size:14px;padding:13px 15px;font-weight:600}.side-bottom{position:absolute;bottom:28px;font-size:12px;color:#6a8279;line-height:2}.side-bottom .muted{font-size:10px}.workspace{margin-left:220px}header{height:73px;background:#fff;border-bottom:1px solid #e6ebe9;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:13px}.content{max-width:1550px;padding:38px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px}.page-heading p{margin-bottom:0}.page-heading .eyebrow{margin-bottom:9px}.engine{display:flex;align-items:center;gap:13px;background:#fff8e9;border:1px solid #f0e2bd;color:#816630;border-radius:9px;padding:15px 18px;margin-bottom:22px;font-size:13px;line-height:1.7}.engine.ready{background:#ecf7f0;border-color:#d2e8db;color:#376d51}.engine.error{background:#fff0ee;border-color:#f0d6d0;color:#a14b44}.engine b{font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.stats article{padding:21px 22px;background:#fff;border:1px solid #e3eae6;border-radius:10px}.stats span{font-size:12px;color:#6a7f77}.stats strong{display:block;font-size:33px;font-weight:600;line-height:1.6}.stats small{font-size:11px;color:#91a198}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#79b49c;margin-right:5px}.green{background:#3c9a6a}.red{background:#d16d67}.amber{background:#d3ab5d}.list-card{background:white;border:1px solid #e1e9e5;border-radius:11px;overflow:hidden}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 0;gap:15px}.tabs{display:flex;gap:20px;align-self:stretch}.tabs button{background:transparent;padding:13px 0 21px;color:#89968f;font-size:13px;border-bottom:2px solid transparent;white-space:nowrap}.tabs button.selected{border-color:#20785b;color:#216d54;font-weight:600}.tools{display:flex;align-items:center;gap:9px;padding-bottom:15px}.tools input{width:220px;font-size:12px;margin:0;padding:9px 11px}.tools button{font-size:12px;white-space:nowrap}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#87958e;font-weight:500;padding:15px 22px;background:#f9fbfa;border-top:1px solid #edf0ee;border-bottom:1px solid #edf0ee;white-space:nowrap}td{padding:19px 22px;border-bottom:1px solid #eef1ef;vertical-align:middle}.site-name{font-size:13px;font-weight:600;margin-bottom:6px}.site-url{display:block;color:#84948b;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.group-tag{color:#93a396;font-size:10px;margin-left:6px;font-weight:400}.badge{display:inline-block;font-size:11px;padding:5px 9px;border-radius:5px;white-space:nowrap;background:#f2f4f2;color:#879289}.badge.passed{color:#318561;background:#edf8f0}.badge.failed{color:#b1554e;background:#fdf0ed}.badge.pending{color:#ac8a47;background:#faf6e9}.rule-label{font-size:12px;color:#5f7b6a}.subtext{color:#91a098;font-size:10px;line-height:1.7;margin-top:5px;max-width:270px}.row-actions{display:flex;gap:7px}.row-actions button{background:none;color:#56836a;font-size:12px;padding:4px;white-space:nowrap}.row-actions button:last-child{color:#90a097}.table-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#98a59c;padding:16px 22px}.footnote{font-size:11px;color:#98a69e;margin:20px 0;line-height:1.9}.empty{text-align:center;padding:50px;color:#91a097;font-size:13px}dialog{border:1px solid #e1e7e3;border-radius:13px;padding:28px;width:min(630px,94vw);max-height:92vh;overflow:auto;box-shadow:0 25px 100px #173e3c25}dialog::backdrop{background:#163c374b;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.close{background:none;color:#7e9285;font-size:26px;line-height:1;padding:0 4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox{display:flex;gap:8px;align-items:center}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.history-item{padding:16px 0;border-bottom:1px solid #e5ece6;font-size:12px;line-height:1.9}.history-url{word-break:break-all;color:#7e9486}.screenshot{width:100%;max-height:520px;object-fit:contain;background:#f5f7f5;border:1px solid #e6ebe5;border-radius:7px;margin-top:15px}.history-summary{padding:12px;background:#f5f8f5;border-radius:7px;font-size:12px;margin-bottom:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 22px;color:#fff;background:#244b3b;border-radius:8px;font-size:13px;box-shadow:0 5px 30px #12352825;z-index:20}[hidden]{display:none!important}@media(max-width:1100px){aside{width:180px}.workspace{margin-left:180px}.content{padding:25px}.list-toolbar{align-items:flex-start;flex-direction:column}.tools{width:100%}.tools input{flex:1}.stats{gap:10px}.stats article{padding:17px}.table-footer{flex-direction:column;gap:6px}}@media(max-width:720px){aside{display:none}.workspace{margin:0}header{height:58px;padding:0 20px}.content{padding:24px 15px}.page-heading{align-items:flex-start}h1{font-size:23px}.page-heading button{padding:10px 12px;white-space:nowrap;font-size:12px}.eyebrow{font-size:9px}.stats{grid-template-columns:1fr 1fr}.stats strong{font-size:28px}.list-toolbar{padding:10px 15px 0}.tabs{gap:18px}.tabs button{padding:12px 0}.tools{flex-wrap:wrap}.tools input{min-width:150px}td,th{padding:15px}.engine{font-size:12px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid label{margin:10px 0}}

.telegram-dialog{width:min(840px,95vw)}.notification-status{font-size:12px;line-height:1.8;background:#f2f7f3;color:#547765;padding:14px;border-radius:8px;margin:22px 0}.telegram-dialog td,.telegram-dialog th{padding:13px}.telegram-dialog .row-actions{flex-wrap:wrap}.telegram-dialog .error{margin:5px 0;font-size:11px}header>.secondary{margin-left:auto;margin-right:18px;font-size:12px;padding:8px 12px}

.list-toolbar{flex-wrap:wrap}.tools{flex-wrap:wrap}.tools #handling-filter{width:150px;margin:0;font-size:12px;padding:9px}.tools #search-form{display:flex;align-items:center;gap:7px}.tools #search{width:210px}.batch-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 22px;background:#fafcfb;border-top:1px solid #edf0ee;color:#6a8278;font-size:12px}.batch-toolbar button{font-size:12px;padding:7px 10px}.batch-toolbar #result-count{margin-left:auto}.selection-cell{width:40px;padding-left:16px;padding-right:8px;text-align:center}.selection-cell input{width:16px;height:16px;accent-color:#157363;cursor:pointer}.handling-select{min-width:110px;margin:0;padding:8px;font-size:12px}.processing-row{background:#fffcf4}.processing-row .handling-select{color:#987027;border-color:#e5d5af;background:#fff9ea}.processing-row .badge{opacity:.7}.sites-table{min-width:1100px}.sites-table td,.sites-table th{padding-left:14px;padding-right:14px}.sites-table .selection-cell{padding-right:5px}.tools button:disabled,.batch-toolbar button:disabled{cursor:default}@media(max-width:720px){.batch-toolbar{padding:12px 15px}.tools #search-form{width:100%}.tools #search{min-width:140px;flex:1;width:auto}.batch-toolbar #result-count{width:100%;margin-left:0}}

.device-results{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.device-result{font-size:10px;padding:3px 6px}.device-history{padding:8px 10px;margin-top:7px;background:#f6f9f7;border-radius:6px}.screenshot-choices{display:flex;gap:8px;margin-bottom:12px}.screenshot-choices button{font-size:12px}.sites-table .subtext{overflow-wrap:anywhere}

.row-actions{flex-wrap:wrap;max-width:170px}.row-actions button:disabled{cursor:default}.sites-table .rule-label{min-width:80px}

.tabs .tab-count{display:inline-block;min-width:18px;padding:1px 5px;margin-left:2px;border-radius:9px;background:#f2f5f3;color:inherit;font-size:11px;line-height:1.5;text-align:center}.tabs button.selected .tab-count{background:#e9f4ef}
.check-window-fields{border:1px solid #dce8e1;border-radius:8px;padding:14px 18px;margin:22px 0 8px}.check-window-fields legend{padding:0 7px;color:#315c4c;font-size:15px;font-weight:600}.check-window-fields label{margin:5px 0 13px}.check-window-fields p{margin:0;font-size:12px}
.nav-link{display:block;text-decoration:none;color:#698478;border-radius:8px;font-size:14px;padding:13px 15px;margin-bottom:6px}.nav-link:hover{background:#f2f7f4}.nav-link.nav-active{color:#166e58;background:#e9f4ef;font-weight:600}.history-shortcut{margin-left:auto;margin-right:18px;text-decoration:none;font-size:12px;white-space:nowrap}header>.history-shortcut+.secondary{margin-left:0}@media(max-width:720px){.history-shortcut{margin-right:12px}header>#telegram-open{margin-right:8px;padding:7px;font-size:11px}}
