:root {
    --dark: #10262a;
    --dark-2: #0c2024;
    --paper: #f4f3ee;
    --card: #fff;
    --ink: #0b1e24;
    --muted: #6d7c80;
    --line: #d6dbd8;
    --orange: #ff712b;
    --blue: #4773e6;
    --green: #2b916c;
    --red: #c94a48;
    --aqua: #68d0c2;
    --shadow: 0 16px 38px rgba(16, 38, 42, .07);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.app-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.app-header { position: sticky; top: 0; z-index: 30; color: #fff; background: rgba(16, 38, 42, .98); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.topbar { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 14px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 900; }
.brand-mark.small { width: 38px; height: 38px; border-radius: 11px; font-size: 10px; }
.brand-copy strong { display: block; font-size: 14px; }
.brand-copy span { display: block; margin-top: 4px; color: #98adb1; font-size: 10px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 11px; border-radius: 9px; color: #b8c8ca; font-size: 11px; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.user-menu { display: flex; align-items: center; gap: 12px; padding-left: 17px; border-left: 1px solid rgba(255,255,255,.12); }
.user-menu span { max-width: 150px; text-align: right; }
.user-menu strong, .user-menu small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu strong { font-size: 11px; }
.user-menu small { margin-top: 3px; color: #8ea3a7; font-size: 8px; }
.user-menu button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #fff; background: #294146; cursor: pointer; }

.knowledge-hero { color: #f8f5ec; background: linear-gradient(rgba(127,183,181,.055) 1px,transparent 1px), linear-gradient(90deg,rgba(127,183,181,.055) 1px,transparent 1px), radial-gradient(circle at 78% 15%,rgba(48,121,108,.17),transparent 27rem), linear-gradient(135deg,var(--dark),var(--dark-2)); background-size: 72px 72px,72px 72px,auto,auto; }
.hero-inner { padding: 68px 0 74px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--aqua); font-size: 10px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.knowledge-hero h1 { max-width: 850px; margin: 0; color: #f8f4ea; font-size: clamp(48px, 6.1vw, 75px); font-weight: 760; line-height: 1.01; letter-spacing: -.055em; }
.knowledge-hero p:not(.eyebrow) { max-width: 700px; margin: 25px 0 0; color: #bdd0d1; font-size: 15px; line-height: 1.65; }
.hero-search { width: min(720px, 100%); min-height: 65px; margin-top: 32px; padding: 0 17px; display: flex; align-items: center; gap: 12px; border-radius: 17px; background: #fbfaf6; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.hero-search > span { color: #6f858a; font-size: 23px; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-search button { width: 29px; height: 29px; border: 1px solid #d5d8d4; border-radius: 8px; color: #7e8b8b; background: #f1f1ed; }
.hero-stats { margin-top: 22px; display: flex; gap: 28px; color: #8fa6aa; font-size: 9px; }
.hero-stats strong { margin-right: 6px; color: #fff; font-size: 11px; }

.content-space { padding: 48px 0 28px; }
.section-heading-row, .catalog-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-kicker { margin-bottom: 11px; color: #829397; }
.section-heading-row h1, .section-heading-row h2, .catalog-title-row h1, .form-heading h1 { margin: 0; font-size: 29px; font-weight: 520; letter-spacing: -.04em; }
.section-heading-row a { color: #39565d; font-size: 11px; text-decoration: none; }
.hub-nav-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.hub-nav-grid > a { min-height: 88px; padding: 16px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); text-decoration: none; font-size: 11px; }
.hub-nav-grid > a:last-child { border-right: 0; }
.hub-nav-grid > a:hover { background: #fafaf7; }
.hub-nav-grid > a > span:nth-child(2) { min-width: 0; flex: 1; }
.hub-nav-grid strong, .hub-nav-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-nav-grid small { margin-top: 5px; color: #8a999c; font-size: 8px; }
.nav-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; font-size: 9px; font-weight: 900; }
.nav-icon.orange { color:#d7561d;background:#fff0e7 }.nav-icon.blue{color:#315bc5;background:#eaf0ff}.nav-icon.green{color:#117555;background:#e5f4ee}.nav-icon.purple{color:#7d47b4;background:#f2eaff}.nav-icon.yellow{color:#a36a00;background:#fff4d9}
.section-block { margin-top: 72px; }

.knowledge-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.knowledge-list { margin-top: 28px; }
.knowledge-card { position: relative; min-height: 305px; padding: 27px 25px 22px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(16,38,42,.05); text-decoration: none; transition: transform .2s,box-shadow .2s; }
.knowledge-card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:var(--orange); }
.knowledge-card.category-cctv::before{background:var(--blue)}.knowledge-card.category-network::before{background:var(--green)}.knowledge-card.category-schemes::before{background:#8b58c6}.knowledge-card.category-checklists::before{background:#e3a328}.knowledge-card.category-general::before{background:#607d84}
.knowledge-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(16,38,42,.1); }
.card-top { display:flex;align-items:center;justify-content:space-between;gap:12px }.card-top b{color:#d65118;font-size:9px;letter-spacing:.12em}.category-cctv .card-top b{color:#315ecb}.category-network .card-top b{color:#117653}.card-top small{color:#91a0a3;font-size:8px}
.card-type { margin-top:21px;color:#6e7f84;font-size:9px }.knowledge-card h3{margin:16px 0 10px;font-size:21px;font-weight:520;line-height:1.16;letter-spacing:-.035em}.knowledge-card p{margin:0;color:#64767b;font-size:11px;line-height:1.55}.card-tags{margin-top:18px;display:flex;flex-wrap:wrap;gap:6px}.card-tags i{padding:6px 8px;border-radius:7px;color:#5e7075;background:#f1f2ef;font-size:8px;font-style:normal;font-weight:650}.card-action{margin-top:auto;padding-top:22px;color:#293f45;font-size:11px;font-weight:700}
.text-link { color: #d75a20 !important; font-weight: 700; }

.catalog-title-row small { display:block;margin-top:12px;color:#829095;font-size:10px }.segmented{padding:5px;display:flex;border:1px solid var(--line);border-radius:12px;background:#ebece8}.segmented a{padding:8px 13px;border-radius:8px;color:#64767b;font-size:9px;text-decoration:none}.segmented a.active{color:#fff;background:#56777f}
.catalog-search{margin-top:24px;min-height:52px;padding:0 16px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 9px 24px rgba(16,38,42,.04)}.catalog-search>span{font-size:20px;color:#71868a}.catalog-search input{min-width:0;flex:1;border:0;outline:0;background:transparent}.catalog-search small{color:#87969a;font-size:10px}.catalog-search select{padding:8px;border:1px solid var(--line);border-radius:8px;background:#f7f7f4}.catalog-search button{padding:9px 14px;border:0;border-radius:9px;color:#fff;background:#55777f}.filter-row{margin-top:15px;display:flex;flex-wrap:wrap;gap:7px}.filter-chip{min-height:32px;padding:0 13px;border:1px solid var(--line);border-radius:999px;color:#65777b;background:#fff;font-size:9px;font-weight:700;cursor:pointer}.filter-chip.active{border-color:#55777f;color:#fff;background:#55777f}
.document-filter-grid{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.document-filter-grid label{color:#63777c;font-size:9px;font-weight:750}.document-filter-grid select{width:100%;margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;color:#29454c;background:#fff;outline:0}.document-meta-chips{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:5px}.document-meta-chips span{padding:5px 7px;border-radius:6px;color:#506970;background:#f0f2ef;font-size:8px;font-weight:700}.doc-footer>span{display:flex;align-items:center;gap:10px}.doc-footer .index-link{color:#627a80;font-weight:600}.indexed-file{padding:15px;border:1px solid var(--line);border-radius:11px;background:#f4f5f2}.indexed-file strong,.indexed-file small{display:block;overflow-wrap:anywhere}.indexed-file small{margin-top:5px;color:#7a8b8f;font-size:9px}
.document-grid{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.document-card{position:relative;min-height:460px;padding:0 22px 21px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 10px 27px rgba(16,38,42,.045)}.document-card[hidden]{display:none}.document-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--orange);z-index:2}.document-card.cctv::before{background:var(--blue)}
.pdf-preview{position:relative;height:178px;margin:3px -22px 0;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;border-bottom:1px solid var(--line);background:#edf0ed}.pdf-preview canvas{width:100%;height:auto;min-height:100%;opacity:0;transition:opacity .2s}.pdf-preview.loaded canvas{opacity:1}.preview-loader{position:absolute;inset:0;display:grid;place-items:center;color:#879598;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.pdf-preview.loaded .preview-loader{display:none}.pdf-preview>b{position:absolute;right:9px;bottom:9px;padding:6px 7px;border-radius:7px;color:#fff;background:#18343c;font-size:8px;letter-spacing:.06em}
.doc-top{margin-top:20px;display:flex;justify-content:space-between;gap:10px}.doc-top strong{color:#d65019;font-size:9px;letter-spacing:.12em}.cctv .doc-top strong{color:#315ecb}.doc-top small{color:#95a2a4;font-size:8px}.doc-kind{margin-top:15px;color:#78878b;font-size:8px}.doc-kind i{font-style:normal}.document-card code{margin-top:12px;color:#344f56;font-family:inherit;font-size:9px;font-weight:800;overflow-wrap:anywhere}.document-card h3{margin:14px 0 9px;font-size:18px;font-weight:530;line-height:1.22;letter-spacing:-.025em}.document-card>p{margin:0;color:#7c8b8f;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.doc-footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px}.doc-footer small{color:#89979a;font-size:9px}.doc-footer a{color:#293f45;font-size:10px;font-weight:720;text-decoration:none}

.article-shell{padding:50px 0}.back-link{display:inline-flex;margin-bottom:22px;color:#49656c;font-size:11px;font-weight:700;text-decoration:none}.article-view{max-width:900px;padding:45px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.article-view h1{margin:0;font-size:42px;line-height:1.08;letter-spacing:-.045em}.article-summary{margin:20px 0 0;color:#63767b;font-size:17px;line-height:1.55}.article-meta{margin-top:25px;padding:15px 0;display:flex;flex-wrap:wrap;gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#829095;font-size:10px}.article-body{margin-top:34px;color:#1b3339;font-size:15px;line-height:1.8;white-space:normal}.source-box{margin-top:35px;padding:20px;border-left:4px solid var(--orange);border-radius:0 12px 12px 0;background:#f5f5f1}.source-box strong{font-size:11px;text-transform:uppercase;letter-spacing:.09em}.source-box p{margin:8px 0 0;color:#63767b;font-size:12px;line-height:1.55}.article-tags{margin:28px 0}

.form-page{padding:48px 0}.form-heading{max-width:800px}.form-heading p:not(.section-kicker){color:#6c7d81;line-height:1.55}.editor-card{max-width:900px;margin-top:27px;padding:30px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow)}.editor-card label,.login-card label,.installer-card label{display:block;margin-top:17px;color:#4f656b;font-size:10px;font-weight:750}.editor-card input,.editor-card textarea,.editor-card select,.login-card input,.installer-card input{width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cfd6d4;border-radius:10px;outline:0;color:var(--ink);background:#fbfbf9}.editor-card textarea{resize:vertical;line-height:1.55}.editor-card input:focus,.editor-card textarea:focus,.editor-card select:focus,.login-card input:focus,.installer-card input:focus{border-color:#55777f;box-shadow:0 0 0 3px rgba(85,119,127,.1)}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions{margin-top:24px;display:flex;justify-content:flex-end;gap:10px}
.primary-button,.secondary-button{min-height:42px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;font-size:10px;font-weight:750;text-decoration:none;cursor:pointer}.primary-button{color:#fff;background:#315f68}.secondary-button{color:#385159;background:#e9eeec}.primary-button.full{width:100%;margin-top:22px}.primary-button.compact{min-height:38px}.compact-form{margin:0}.compact-form h2{margin-top:0;font-size:20px}

.management-list{margin-top:26px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.management-list>a{padding:17px 19px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;border-bottom:1px solid var(--line);text-decoration:none}.management-list>a:last-child{border-bottom:0}.management-list strong,.management-list small{display:block}.management-list small{margin-top:5px;color:#829095;font-size:9px}.status{padding:6px 8px;border-radius:7px;font-size:8px;text-transform:uppercase}.status-draft{color:#6c7373;background:#eeefec}.status-review{color:#9a6810;background:#fff4d8}.status-published{color:#197453;background:#e5f4ee}.status-archived{color:#8b5050;background:#f6e7e7}
.review-grid{margin-top:26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.review-card{padding:24px;border:1px solid var(--line);border-radius:17px;background:#fff}.review-card h3{margin:18px 0 10px}.review-card h3 a{text-decoration:none}.review-card p{color:#6a7a7f;font-size:11px;line-height:1.5}.review-card form{margin-top:20px;display:flex;justify-content:flex-end;gap:8px}
.admin-layout{margin-top:28px;display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px;align-items:start}.user-list{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}.user-row{padding:14px;display:grid;grid-template-columns:minmax(170px,1fr) 150px auto 145px auto;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.user-row:last-child{border-bottom:0}.user-row strong,.user-row small{display:block}.user-row small{margin-top:4px;color:#829095;font-size:8px}.user-row select,.user-row input{min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fafaf8;font-size:9px}.check{font-size:9px;white-space:nowrap}.check input{width:auto}.password-small{width:145px}

.assistant-page{padding:46px 0 20px}.assistant-heading{padding:30px 32px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#10262a,#173a3e);box-shadow:var(--shadow)}.assistant-heading h1{margin:0;font-size:34px;letter-spacing:-.04em}.assistant-heading p:not(.section-kicker){margin:9px 0 0;color:#b5c9ca;font-size:12px;line-height:1.5}.assistant-orb{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;color:#fff;background:linear-gradient(145deg,var(--orange),#e64d1a);box-shadow:0 9px 24px rgba(255,113,43,.24);font-size:14px;font-weight:900}.assistant-orb.small{width:38px;height:38px;border-radius:12px;font-size:10px}.assistant-state{display:flex;align-items:center;gap:7px;color:#92a9ac;font-size:9px}.assistant-state i,.setup-status i{width:8px;height:8px;display:inline-block;border-radius:50%;background:#8c999a}.assistant-state.ready{color:#b7e6d4}.assistant-state.ready i,.setup-status.done i{background:#59c995;box-shadow:0 0 0 4px rgba(89,201,149,.12)}.assistant-empty{margin-top:22px;padding:55px 28px;border:1px dashed #bdc8c5;border-radius:18px;background:#fff;text-align:center}.assistant-empty strong{font-size:18px}.assistant-empty p{margin:10px auto 20px;max-width:600px;color:#718186;font-size:11px;line-height:1.5}
.chat-shell{margin-top:20px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.chat-messages{min-height:390px;max-height:690px;padding:28px;overflow-y:auto;background:linear-gradient(180deg,#fff,#fafaf7)}.chat-welcome{max-width:680px;margin:35px auto 0;display:flex;align-items:flex-start;gap:14px}.chat-welcome strong{font-size:19px}.chat-welcome p{margin:6px 0 0;color:#728286;font-size:11px}.prompt-grid{max-width:680px;margin:22px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.prompt-grid button{padding:14px;border:1px solid var(--line);border-radius:11px;color:#425d63;background:#fff;font-size:9px;text-align:left;cursor:pointer}.prompt-grid button:hover{border-color:#759298;background:#f4f8f6}.chat-message{max-width:880px;margin:0 auto 22px;display:flex;align-items:flex-start;gap:12px}.chat-message>span{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:11px;color:#fff;background:#315f68;font-size:9px;font-weight:850}.chat-message.from-user{flex-direction:row-reverse}.chat-message.from-user>span{background:#2a4147}.chat-message>div{max-width:78%;padding:15px 17px;border:1px solid var(--line);border-radius:5px 15px 15px;background:#fff}.chat-message.from-user>div{border-color:#dce6e2;border-radius:15px 5px 15px;background:#edf4f1}.chat-message p{margin:0;color:#263e44;font-size:12px;line-height:1.65}.chat-message footer{margin-top:14px;padding-top:11px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;border-top:1px solid var(--line);color:#718287;font-size:8px}.chat-message footer i{padding:5px 7px;border-radius:6px;background:#f0f2ef;font-style:normal}.chat-form{padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid var(--line);background:#f8f8f5}.chat-form textarea{min-height:54px;max-height:150px;padding:14px;border:1px solid #cbd4d1;border-radius:12px;outline:0;resize:vertical;background:#fff;font-size:12px;line-height:1.4}.chat-form textarea:focus{border-color:#55777f;box-shadow:0 0 0 3px rgba(85,119,127,.09)}.chat-form small{grid-column:1/-1;color:#899597;font-size:8px}.clear-chat{padding:0 18px 14px;text-align:right;background:#f8f8f5}.clear-chat button{border:0;color:#819093;background:transparent;font-size:8px;cursor:pointer}

.ai-admin-page>.section-heading-row p:not(.section-kicker),.pdf-sync-card .section-heading-row p{margin:9px 0 0;color:#718287;font-size:11px}.ai-setup-grid{margin-top:27px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.ai-setup-grid .editor-card{height:100%;display:flex;flex-direction:column}.ai-setup-grid .primary-button{margin-top:auto}.setup-number{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#315f68;font-size:11px;font-weight:850}.ai-setup-grid h2{margin:16px 0 0}.setup-status{margin:19px 0;display:flex;align-items:center;gap:8px;color:#7e8d90;font-size:9px}.setup-status.done{color:#247756}.store-id{margin-top:25px;padding:15px;border-radius:10px;background:#f1f3f0}.store-id small,.store-id code{display:block}.store-id small{color:#839194;font-size:8px}.store-id code{margin-top:6px;overflow-wrap:anywhere;color:#3e575e;font-size:9px}.external-help{margin-top:13px;color:#537078;font-size:9px;text-align:center;text-decoration:none}.primary-button:disabled{opacity:.46;cursor:not-allowed}
.pdf-sync-card{margin-top:24px;padding:28px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow)}.pdf-sync-list{max-height:490px;margin:16px 0;overflow:auto;border:1px solid var(--line);border-radius:13px}.pdf-sync-list label{padding:12px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line);cursor:pointer}.pdf-sync-list label:last-child{border-bottom:0}.pdf-sync-list label[hidden]{display:none}.pdf-sync-list input{width:16px;height:16px;accent-color:#315f68}.pdf-sync-list strong,.pdf-sync-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-sync-list strong{font-size:10px}.pdf-sync-list small{margin-top:4px;color:#849396;font-size:8px}.pdf-sync-list b{padding:6px 8px;border-radius:7px;color:#7c898b;background:#eef0ed;font-size:8px}.pdf-sync-list b.indexed{color:#197453;background:#e3f3eb}

.checklist-page{padding:30px 0 10px}.checklist-hero{position:relative;padding:50px 52px;overflow:hidden;border-radius:22px 22px 0 0;color:#fff;background:linear-gradient(115deg,#4c391a 0,#283124 44%,#132a2e 100%)}.checklist-hero::after{content:"";position:absolute;right:-45px;top:-95px;width:220px;height:220px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.checklist-hero .section-kicker{color:#7ed2c5}.checklist-hero h1{max-width:900px;margin:0;font-size:clamp(38px,5vw,58px);font-weight:520;line-height:1.03;letter-spacing:-.05em}.checklist-hero>p:not(.section-kicker){max-width:760px;margin:23px 0 0;color:#c3d0cc;font-size:13px;line-height:1.55}.checklist-close{position:absolute;z-index:2;right:24px;top:22px;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:12px;color:#fff;text-decoration:none;font-size:24px}.checklist-complete-badge{margin-top:22px;padding:8px 11px;display:inline-flex;border-radius:8px;color:#d8fff0;background:rgba(70,174,127,.2);font-size:10px;font-weight:750}.checklist-form{overflow:hidden;border:1px solid var(--line);border-top:0;border-radius:0 0 22px 22px;background:#f9f8f4;box-shadow:var(--shadow)}.checklist-context{padding:32px 52px;border-bottom:1px solid var(--line);background:#fff}.checklist-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.checklist-section-heading span{color:#809094;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.checklist-section-heading h2{margin:7px 0 0;font-size:21px;font-weight:560}.checklist-section-heading>small{color:#819094;font-size:9px}.checklist-context-grid{margin-top:21px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.checklist-context-grid label,.checklist-general-notes{color:#53696f;font-size:9px;font-weight:750}.checklist-context-grid input,.checklist-general-notes textarea{width:100%;margin-top:7px;padding:12px;border:1px solid #cfd7d4;border-radius:10px;outline:0;color:var(--ink);background:#fbfbf9}.checklist-context-grid input:focus,.checklist-general-notes textarea:focus,.checklist-comment:focus{border-color:#55777f;box-shadow:0 0 0 3px rgba(85,119,127,.09)}.checklist-work{padding:38px 52px 46px}.checklist-instructions h2{margin:0 0 16px;font-size:18px;font-weight:560}.checklist-instructions ul{margin:0;padding:0;list-style:none;color:#587078;font-size:11px}.checklist-instructions li{position:relative;margin:10px 0;padding-left:25px}.checklist-instructions li::before{content:"";position:absolute;left:0;top:.42em;width:8px;height:8px;border-radius:3px;background:#7db9ae}.checklist-progress{margin-top:34px;display:flex;align-items:flex-end;justify-content:space-between}.checklist-progress div>span{display:block;color:#96a2a3;font-size:8px;letter-spacing:.1em;text-transform:uppercase}.checklist-progress strong{display:block;margin-top:8px;font-size:22px}.checklist-progress strong b{font:inherit}.checklist-progress>b{color:#d17016;font-size:12px}.checklist-progress-bar{height:6px;margin-top:16px;overflow:hidden;border-radius:99px;background:#e2e5e1}.checklist-progress-bar i{height:100%;display:block;border-radius:99px;background:linear-gradient(90deg,#d99b2e,#55a989);transition:width .25s}.checklist-items{margin-top:24px;display:grid;gap:10px}.checklist-item{overflow:hidden;border:1px solid #d5dbd8;border-radius:13px;background:#fff;transition:border-color .2s,background .2s}.checklist-item.checked{border-color:#b8d9cd;background:#f8fcfa}.checklist-main-row{min-height:58px;padding:13px 16px;display:grid;grid-template-columns:auto 28px minmax(0,1fr);align-items:center;gap:10px;cursor:pointer}.checklist-main-row input{width:22px;height:22px;margin:0;accent-color:#397a6b}.checklist-main-row small{color:#91a0a1;font-size:8px;font-weight:750}.checklist-main-row span{color:#334c52;font-size:11px;line-height:1.45}.checklist-item.checked .checklist-main-row span{color:#536b69}.checklist-comment{width:calc(100% - 82px);margin:0 16px 13px 66px;padding:10px 12px;border:1px solid #e0e4e1;border-radius:8px;outline:0;color:#41595f;background:#f7f8f5;font-size:9px}.checklist-general-notes{margin-top:25px;display:block}.checklist-general-notes textarea{resize:vertical;line-height:1.5}.checklist-actions{position:sticky;bottom:12px;z-index:4;margin-top:25px;padding:13px;display:flex;justify-content:flex-end;gap:10px;border:1px solid rgba(206,214,211,.9);border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 10px 25px rgba(16,38,42,.08);backdrop-filter:blur(10px)}.checklist-history{margin-top:34px}.checklist-history-list{margin-top:16px;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.checklist-history-list a{padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);text-decoration:none}.checklist-history-list a:last-child{border-bottom:0}.checklist-history-list strong,.checklist-history-list small{display:block}.checklist-history-list strong{font-size:11px}.checklist-history-list small{margin-top:5px;color:#829094;font-size:9px}

.empty-state{margin-top:22px;padding:42px 24px;border:1px dashed #c3cbc9;border-radius:16px;color:#7b898c;background:rgba(255,255,255,.55);text-align:center;font-size:12px}.flash-stack{padding-top:15px}.alert{padding:13px 15px;border-radius:10px;font-size:11px;line-height:1.45}.alert+.alert{margin-top:8px}.alert-success{color:#176747;background:#e5f4ec;border:1px solid #c3e4d5}.alert-error{color:#922f2d;background:#fbe9e8;border:1px solid #efc6c4}
.app-footer{margin-top:72px;padding:35px 0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #d4d8d3;color:#879497;font-size:9px;letter-spacing:.08em}.footer-brand{display:flex;align-items:center;gap:11px;color:var(--ink);letter-spacing:0}.footer-brand strong,.footer-brand small{display:block}.footer-brand small{margin-top:4px;color:#879497}.app-footer>a{color:#557078;text-decoration:none}

.auth-body{color:#fff;background:linear-gradient(rgba(127,183,181,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(127,183,181,.05) 1px,transparent 1px),linear-gradient(135deg,var(--dark),var(--dark-2));background-size:72px 72px,72px 72px,auto}.login-shell,.installer-shell{width:min(1120px,calc(100% - 32px));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:70px;padding:45px 0}.login-brand h1,.installer-hero h1{margin:25px 0 0;font-size:clamp(45px,6vw,72px);line-height:1.02;letter-spacing:-.055em}.login-brand>p:not(.eyebrow),.installer-hero>p:not(.eyebrow){max-width:620px;color:#b9ccce;line-height:1.6}.login-brand .eyebrow,.installer-hero .eyebrow{margin-top:28px}.login-card,.installer-card{padding:34px;border:1px solid rgba(255,255,255,.12);border-radius:20px;color:var(--ink);background:#fbfaf6;box-shadow:0 24px 60px rgba(0,0,0,.2)}.login-card h2{margin:0;font-size:26px}.login-card>p{color:#728185;font-size:11px;line-height:1.5}.login-help{margin-top:18px!important;text-align:center}.installer-shell{display:block;max-width:900px}.installer-hero{padding:25px 0}.installer-hero h1{font-size:50px}.installer-card{margin-top:20px}.installer-card fieldset{margin:0 0 25px;padding:0 0 25px;border:0;border-bottom:1px solid var(--line)}.installer-card legend{font-size:17px;font-weight:700}.form-note{color:#7b898c;font-size:10px}

@media(max-width:1050px){.main-nav{overflow:auto}.main-nav a{white-space:nowrap}.hub-nav-grid{grid-template-columns:repeat(3,1fr)}.hub-nav-grid>a:nth-child(3){border-right:0}.hub-nav-grid>a:nth-child(-n+3){border-bottom:1px solid var(--line)}.document-grid,.knowledge-grid{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:1fr}.user-row{grid-template-columns:minmax(160px,1fr) 145px auto}.user-row .password-small,.user-row button{grid-column:auto}.ai-setup-grid{grid-template-columns:1fr 1fr}.ai-setup-grid>form:last-child{grid-column:1/-1}.checklist-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-shell{width:min(100% - 24px,1180px)}.topbar{min-height:68px}.brand-copy span{display:none}.main-nav{order:3;width:100%;margin:0;padding-bottom:8px}.topbar{flex-wrap:wrap}.user-menu{margin-left:auto}.knowledge-hero h1{font-size:clamp(40px,13vw,58px)}.hero-inner{padding:52px 0 58px}.hero-stats{flex-wrap:wrap;gap:15px}.hub-nav-grid{grid-template-columns:1fr}.hub-nav-grid>a{border-right:0!important;border-bottom:1px solid var(--line)}.hub-nav-grid>a:last-child{border-bottom:0}.document-grid,.knowledge-grid,.review-grid{grid-template-columns:1fr}.document-filter-grid{grid-template-columns:1fr}.section-heading-row,.catalog-title-row{align-items:flex-start;flex-direction:column}.segmented{width:100%;justify-content:space-between}.catalog-search.knowledge-search{align-items:stretch;flex-direction:column;padding:14px}.article-view{padding:27px}.article-view h1{font-size:33px}.form-grid.two{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.user-row{grid-template-columns:1fr}.password-small{width:100%}.login-shell{grid-template-columns:1fr;gap:30px;padding:35px 0}.login-brand h1{font-size:48px}.installer-card{padding:24px}.app-footer{align-items:flex-start;flex-direction:column}.management-list>a{grid-template-columns:1fr auto}.management-list>a>small:last-child{grid-column:1/-1}.assistant-heading{grid-template-columns:auto 1fr;padding:23px}.assistant-state{grid-column:1/-1}.assistant-heading h1{font-size:29px}.prompt-grid{grid-template-columns:1fr}.chat-messages{padding:18px 12px}.chat-message>div{max-width:86%}.chat-form{grid-template-columns:1fr}.ai-setup-grid{grid-template-columns:1fr}.ai-setup-grid>form:last-child{grid-column:auto}.pdf-sync-card{padding:19px}.pdf-sync-list label{grid-template-columns:auto minmax(0,1fr)}.pdf-sync-list b{grid-column:2}.assistant-page{padding-top:24px}.checklist-page{width:100%;padding-top:0}.checklist-hero{padding:42px 24px 35px;border-radius:0}.checklist-hero h1{font-size:38px}.checklist-context,.checklist-work{padding:28px 20px}.checklist-context-grid{grid-template-columns:1fr}.checklist-main-row{padding:13px 11px;grid-template-columns:auto 24px minmax(0,1fr)}.checklist-comment{width:calc(100% - 58px);margin-left:47px}.checklist-actions{align-items:stretch;flex-direction:column}.checklist-actions>*{width:100%}.checklist-history-list a{align-items:flex-start;flex-direction:column}}

@media print{.app-header,.app-footer,.checklist-close,.checklist-history,.checklist-actions{display:none!important}.checklist-page{width:100%;padding:0}.checklist-hero,.checklist-form{border-radius:0;box-shadow:none}.checklist-item{break-inside:avoid}.checklist-comment{border:0;border-top:1px solid #ddd}.checklist-work{padding:25px}.checklist-context{padding:25px}}
