:root{--ink:#14213d;--muted:#68758b;--blue:#2563eb;--blue-soft:#edf3ff;--teal:#0f9c8c;--border:#e6ebf2;--surface:#f4f6fa;--nav:#111d35;--radius:18px;--shadow:0 10px 35px #1726420a;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--surface);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #75b5ff;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.18;margin-bottom:9px;font-weight:750}h2{font-size:25px;line-height:1.25;letter-spacing:-.6px}h3{font-size:17px;letter-spacing:-.25px;margin-bottom:8px}h4{font-size:14px;margin:19px 0 8px}p{line-height:1.7;color:var(--muted);margin-bottom:16px}small,.small{font-size:12px;line-height:1.6}.muted{color:var(--muted)}.wide{width:100%}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.eyebrow{display:block;font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--blue);margin-bottom:12px}.eyebrow.light{color:#8ab7fb}.btn{border:1px solid var(--border);color:var(--ink);background:white;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;border-radius:10px;line-height:1.3;font-weight:650;white-space:nowrap;min-height:42px;text-decoration:none;transition:background .15s,box-shadow .15s,transform .15s}.btn:hover{text-decoration:none;background:#f4f7fd;box-shadow:0 3px 10px #18264d08}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 4px 10px #2563eb15}.btn.primary:hover{filter:brightness(1.06)}.btn.white{background:white;border-color:white;color:var(--ink)}.btn.small{font-size:12px;min-height:32px;padding:7px 11px;border-radius:8px}.btn.danger{color:#b42334;background:#fff1f2;border-color:#ffd4dc}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:white;color:#6b7990;border-radius:9px;width:35px;height:35px;flex:none}.icon-button:hover{background:var(--blue-soft);color:var(--blue)}.text-link{font-weight:650;display:inline-flex;align-items:center;gap:7px}.text-link .icon{width:17px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:10px;letter-spacing:.2px;font-weight:750;line-height:1.3;white-space:nowrap}.badge.success{color:#087c68;background:#e7f7f0}.badge.blue{color:#2563eb;background:#eef3ff}.badge.warning{color:#a56c0a;background:#fff5de}.badge.neutral{color:#6d788d;background:#f0f3f7}.badge.error{color:#b42334;background:#fff0f2}.badge .icon{width:14px;height:14px}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:10px;letter-spacing:.3px;line-height:1.7;white-space:nowrap}.brand:hover{text-decoration:none}.brand strong{font-size:10px;font-weight:700;letter-spacing:.7px}.brand-mark{width:37px;height:40px;background:#3571ec;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:800;color:white;position:relative;flex:none}.brand-mark span{position:absolute;width:10px;height:10px;border:2px solid var(--nav);border-radius:50%;right:-3px;bottom:2px;background:#5eead4}.brand.dark{color:var(--ink)}.brand.dark .brand-mark span{border-color:white}.app-shell{display:flex;min-height:100vh}.sidebar{width:247px;background:var(--nav);color:#adbad0;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;padding:31px 19px 15px;z-index:30}.sidebar .brand{margin:0 8px 15px}.edition{font-size:9px;letter-spacing:2px;color:#7f96be;margin:0 8px 32px}.nav-caption{font-size:9px;letter-spacing:1.8px;color:#6e83a6;padding:0 13px;margin:11px 0}.nav-item{width:100%;border:0;display:flex;align-items:center;gap:11px;background:transparent;color:#a9b9d2;font-size:12px;text-align:left;border-radius:9px;padding:12px 13px;margin-bottom:6px;transition:background .15s}.nav-item .icon{width:18px;height:18px}.nav-item.active{background:#233b66;color:white;box-shadow:inset 3px 0 #65a8ff}.nav-item:hover{background:#203151;color:white}.nav-count{background:#405880;color:#dee9ff;font-size:9px;margin-left:auto;padding:3px 7px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding-top:30px}.protected-label{border:1px solid #2a3b5b;display:flex;gap:10px;align-items:center;border-radius:12px;padding:13px 10px;margin:0 7px 16px}.protected-label>.icon{color:#65d0bd}.protected-label strong{display:block;font-size:11px;color:#dce9fa}.protected-label small{display:block;font-size:9px;color:#8aa0c3;margin-top:4px}.version{font-size:10px;color:#657c9d;display:block;margin:10px 20px}.main-shell{margin-left:247px;min-width:0;flex:1}.topbar{height:77px;border-bottom:1px solid var(--border);background:#ffffffd9;display:flex;justify-content:space-between;align-items:center;padding:0 35px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:#93a0b5}.breadcrumb strong{color:#43546c;font-weight:600}.top-actions{display:flex;gap:14px;align-items:center}.secure-pill{color:#77859a;font-size:10px;display:flex;gap:6px;align-items:center}.secure-pill .icon{width:14px;height:14px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#eef2fa;color:#506587;border:1px solid #e1e7f2;border-radius:50%;font-size:11px;font-weight:750}.main-content{max-width:1610px;padding:32px 35px 34px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading p{font-size:12px;margin-bottom:0}.page-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px}.page-heading h1{font-size:30px}.hero{background:radial-gradient(ellipse at 62% 100%,#1d477a 0,transparent 60%),linear-gradient(125deg,#152443,#1b365b);border-radius:var(--radius);padding:31px 38px;display:grid;grid-template-columns:1.3fr 1fr;gap:50px;align-items:center;color:white;overflow:hidden;position:relative;box-shadow:0 13px 35px #192e5020}.hero:before{content:"";position:absolute;width:460px;height:460px;border:1px solid #ffffff09;border-radius:50%;right:-200px;top:-150px;pointer-events:none}.hero .eyebrow{font-size:8px;letter-spacing:1.8px}.hero h2{font-size:30px;letter-spacing:-.8px;margin-bottom:12px}.hero p{font-size:12px;color:#b8cce4;max-width:370px;margin-bottom:19px}.hero .btn{font-size:11px;min-height:35px;padding:9px 13px}.hero-flow{max-width:330px;justify-self:end;width:100%;position:relative}.flow-card{display:flex;align-items:center;gap:12px;padding:12px 17px;background:#ffffff09;border:1px solid #ffffff13;border-radius:12px;box-shadow:0 5px 15px #081e3820}.flow-card strong{font-size:12px;font-weight:600;display:block;margin-top:4px}.flow-card small{color:#8dadce;letter-spacing:1.2px;font-size:7px;font-weight:650}.flow-icon{display:grid;place-items:center;width:34px;height:34px;background:#8bbbf915;border-radius:8px;color:#99c4ff}.flow-icon .icon{width:18px}.mini-dot{width:6px;height:6px;border-radius:50%;background:#6ad3bf;margin-left:auto}.flow-line{display:block;width:1px;height:12px;margin-left:32px;background:#7a9dbc55}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:24px 0}.kpi-card{border:1px solid var(--border);background:white;padding:20px 21px;border-radius:15px;box-shadow:var(--shadow);position:relative;min-height:125px}.kpi-label{font-size:11px;color:#7a879c;margin:0 0 10px;max-width:85%}.kpi-value{font-size:28px;letter-spacing:-.8px;font-weight:750;line-height:1.1}.kpi-note{font-size:9px;color:#8c99ac;margin-top:11px;display:flex;gap:5px;align-items:center}.kpi-note .icon{width:12px;height:12px;color:var(--teal)}.kpi-icon{position:absolute;right:16px;top:17px;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eff4fc;color:#5180d6}.kpi-icon .icon{width:16px;height:16px}.dashboard-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:21px}.panel{background:white;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px 15px}.panel-head h3{font-size:14px;margin-bottom:5px}.panel-head p{font-size:10px;margin:0;color:#929eaf}.panel-head>.icon{color:#9aa7ba;width:18px}.chart{padding:2px 20px 17px;height:211px;position:relative}.chart.large{height:310px}.chart svg{width:100%;height:100%;overflow:visible}.chart-empty{position:absolute;inset:30px 50px;display:flex;justify-content:center;align-items:center;flex-direction:column;background:#ffffffd9;color:#8492a7;gap:7px;font-size:11px;pointer-events:none}.chart-empty strong{font-size:12px;color:#43546e}.top-resource{display:flex;align-items:center;gap:12px;margin:0 23px;padding:14px 0;border-bottom:1px solid #eff2f7}.top-resource:last-child{border:0;margin-bottom:11px}.top-resource .rank{font-size:10px;color:#9ba8bc;width:12px}.top-resource .top-name{flex:1;min-width:0}.top-name strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.top-name small{font-size:9px;color:#9aa6b7}.top-number{font-size:13px;font-weight:700}.empty-mini{padding:30px 22px;color:#8b97aa;text-align:center;font-size:12px;line-height:1.7}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:24px}.quick-actions button{display:flex;align-items:center;gap:12px;text-align:left;background:white;border:1px solid var(--border);border-radius:13px;padding:18px 16px}.quick-actions button>.icon:first-child{color:#638ad0;width:19px}.quick-actions button>.icon:last-child{margin-left:auto;color:#b0bccd;width:14px}.quick-actions strong{font-size:11px;display:block;margin-bottom:4px}.quick-actions small{font-size:9px;color:#939fb1;display:block}.admin-footer{padding:0 36px 20px;display:flex;justify-content:space-between;gap:20px;color:#9ba7b7;font-size:9px}.filter-bar{padding:20px;display:flex;gap:10px;border-bottom:1px solid var(--border);align-items:center}.search-field{position:relative;flex:1;min-width:180px}.search-field input{padding-left:38px;width:100%}.search-field .icon{position:absolute;top:12px;left:12px;width:16px;height:16px;color:#a1adbd}input,select,textarea{border:1px solid #dfe5ef;border-radius:8px;padding:11px 12px;background:white;color:var(--ink);outline:none;min-height:40px;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#8eaff7;box-shadow:0 0 0 3px #2563eb10}input[type=checkbox]{width:15px;height:15px;min-height:0;accent-color:var(--blue)}input[type=color]{width:65px;padding:4px}input[readonly]{background:#f6f8fb;color:#8090a5}textarea{width:100%;resize:vertical;min-height:96px;line-height:1.6}select{font-size:11px;max-width:210px}.filter-bar input{font-size:12px}.filter-bar select{max-width:150px}label{display:block;font-size:11px;font-weight:650;color:#506079;margin:17px 0 7px}label:first-child{margin-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid>div input,.form-grid>div select{width:100%;max-width:none}.full-field{grid-column:1/-1}.form-hint{font-size:10px;color:#8b98ac;line-height:1.7;margin:6px 0}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;font-weight:500;color:#506079}.check-row input{margin-top:3px;flex:none}.check-row strong{display:block;color:var(--ink);font-size:12px}.check-row small{display:block;color:#8a98ac}.table-scroll{overflow:auto}.files-table{width:100%;border-collapse:collapse;min-width:810px}.files-table th{text-align:left;font-size:9px;letter-spacing:.8px;color:#94a0b3;background:#fbfcfe;padding:15px 12px;border-bottom:1px solid var(--border);font-weight:650}.files-table td{padding:16px 12px;border-bottom:1px solid #edf0f6;font-size:11px;vertical-align:middle}.files-table th:first-child,.files-table td:first-child{padding-left:22px;width:30px}.files-table tr:last-child td{border-bottom:0}.files-table tbody tr:hover{background:#fafcff}.file-name-cell{display:flex;align-items:center;gap:13px;min-width:230px;max-width:340px}.file-name-cell strong{font-size:12px;display:block;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:255px}.file-name-cell small{color:#94a1b4;font-size:10px;max-width:255px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-type{display:grid;place-items:center;flex:none;min-width:36px;max-width:45px;min-height:42px;border-radius:9px;background:#f0f4fb;color:#6c85ad;font-size:8px;font-weight:800;position:relative;padding:4px}.file-type.pdf{background:#fff1f0;color:#d07776}.file-type.docx,.file-type.doc{background:#edf3ff;color:#5b80ce}.file-type.xlsx,.file-type.xls,.file-type.xlsm{background:#eaf8f2;color:#409e7e}.file-type.zip{background:#fff6e6;color:#b68b3e}.file-actions{display:flex;gap:6px}.file-actions .icon-button{width:29px;height:29px;border-radius:7px}.file-actions .icon{width:14px;height:14px}.table-footer{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--border);font-size:10px;color:#8b97aa}.table-footer .button-row{gap:12px}.bulk-bar{padding:12px 20px;background:#f0f6ff;display:flex;align-items:center;gap:12px;font-size:11px}.empty-state{text-align:center;padding:55px 20px}.empty-state>.icon{width:39px;height:39px;color:#a5b8d6;margin-bottom:18px}.empty-state h3{font-size:17px}.empty-state p{font-size:12px}.upload-columns{display:grid;grid-template-columns:1fr 300px;gap:23px}.dropzone{background:#f9fbff;border:1.5px dashed #b8ccec;border-radius:18px;padding:43px 25px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;transition:.2s}.dropzone.drag-over{background:#e5efff;border-color:var(--blue)}.drop-icon{display:grid;place-items:center;width:60px;height:60px;background:var(--blue-soft);color:#447de1;border-radius:17px;margin:0 auto 22px}.drop-icon .icon{width:29px;height:29px}.dropzone h2{font-size:22px;margin:0 0 12px}.dropzone p{font-size:12px}.dropzone .small{margin-top:21px;color:#95a2b6;font-size:10px}.dropzone label.btn{margin-top:0;font-size:12px;cursor:pointer;color:white}.guide-card{padding:26px}.guide-card h3{font-size:21px;margin-top:19px;line-height:1.4}.guide-card p{font-size:11px}.guide-card h4{font-size:12px}.upload-list-panel{margin-top:23px}.upload-row{padding:16px 23px;border-top:1px solid var(--border);display:flex;gap:14px;align-items:center}.upload-details{flex:1;min-width:0}.upload-details strong{font-size:12px;display:block;overflow-wrap:anywhere}.upload-info{font-size:10px;color:#7f8ca3;margin-top:5px}.progress-track{height:5px;background:#eef2fa;border-radius:10px;overflow:hidden;margin-top:12px}.progress-track>span{height:100%;display:block;background:var(--blue);width:0;transition:width .2s}.upload-row .button-row{max-width:110px}.upload-row .btn{font-size:10px;min-height:27px;padding:6px}.sync-panel{padding:36px;max-width:960px}.sync-icon{display:grid;place-items:center;border-radius:14px;width:50px;height:50px;background:#edf4ff;color:var(--blue);margin-bottom:23px}.sync-panel h2{font-size:24px}.sync-panel>p{font-size:12px}.path-box{border:1px solid var(--border);padding:18px;background:#f7f9fc;border-radius:10px;position:relative;margin:22px 0}.path-box>span{display:block;color:#8797b0;font-size:9px;letter-spacing:1px;margin-bottom:11px}.path-box code{display:block;font-size:12px;overflow-wrap:anywhere;padding-right:110px}.path-box>.btn{position:absolute;right:17px;top:26px}.three-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.three-cards>.panel{padding:23px}.three-cards strong{font-size:13px}.three-cards p{font-size:11px;margin:8px 0 0}.sync-progress{font-size:12px;margin-top:20px}.metric-definition{padding:5px 23px 15px}.metric-definition strong{font-size:12px}.metric-definition p{font-size:11px;margin:6px 0 18px}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.settings-section{padding:25px}.settings-section h3{font-size:18px}.settings-section>p{font-size:11px}.settings-section input:not([type=checkbox]):not([type=color]),.settings-section select{width:100%;max-width:none}.settings-section .btn{margin-top:17px}.settings-section .button-row .btn{margin-top:0}.settings-section+.settings-section{margin-top:22px}.settings-actions{position:sticky;bottom:16px;background:#ffffffed;backdrop-filter:blur(15px);border:1px solid #dce5f5;box-shadow:0 8px 30px #10223e14;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;border-radius:12px;z-index:10}.settings-actions span{font-size:11px;color:#8897ad}.diagnostic-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);font-size:11px}.diagnostic-row span{color:#92a0b3}.diagnostic-row strong{text-align:right;max-width:70%;overflow-wrap:anywhere;font-weight:500}.audit-row{padding:10px 0;border-bottom:1px solid #f0f3f8}.audit-row strong{display:block;font-size:10px}.audit-row small{display:block;font-size:9px;color:#96a3b7}.callout{border:1px solid var(--border);border-radius:10px;padding:14px 16px;font-size:11px;line-height:1.7;margin:16px 0;color:#53647e}.callout.warning{background:#fffbf0;border-color:#f4dfac;color:#8a6a25}.callout.neutral{background:#f6f9fd;border-color:#e4ebf7;color:#6b7c96}.callout.success{background:#eefaf6;border-color:#ccebdd;color:#1e785a}.callout a{color:inherit;text-decoration:underline}.callout strong{font-weight:700}.message{border-radius:10px;padding:13px 15px;font-size:12px;line-height:1.65;margin:15px 0}.message.error{color:#a53647;background:#fff0f3;border:1px solid #f9d4dc}.message.warning{color:#8c6820;background:#fff8e9;border:1px solid #f2dda6}.message.success{color:#18725a;background:#e9f8f0;border:1px solid #cbe9d9}hr{border:0;border-top:1px solid var(--border);margin:24px 0}.modal{background:white;padding:0;box-shadow:0 25px 100px #06142940;border:1px solid #dce4f0;border-radius:20px;width:min(800px,calc(100vw - 36px));max-height:calc(100dvh - 40px);color:var(--ink);overflow:auto}.modal::backdrop{background:#0e1b38a3;backdrop-filter:blur(5px)}.modal-head{position:sticky;top:0;background:white;border-bottom:1px solid var(--border);padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:5}.modal-head .eyebrow{font-size:8px;margin-bottom:8px}.modal-head h2{margin-bottom:0;font-size:23px}.modal-body{padding:26px 29px}.modal-body p{font-size:12px}.modal-body input:not([type=checkbox]):not([type=color]),.modal-body select{width:100%;max-width:none}.modal-body .btn{margin-top:0}.modal-body form>.btn{margin-top:19px}.resource-modal{width:min(920px,calc(100vw - 36px))}.resource-head-data{display:flex;align-items:center;gap:15px;margin-bottom:22px}.resource-head-data .file-type{min-width:48px;height:56px;font-size:10px}.resource-head-data strong{font-size:16px;display:block;overflow-wrap:anywhere}.resource-head-data small{color:#8b99ae;font-size:11px}.resource-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);margin-bottom:22px;overflow:auto}.resource-tabs button{padding:12px 11px;border:0;border-bottom:2px solid transparent;background:none;color:#8b99ae;font-size:11px;white-space:nowrap}.resource-tabs button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}.resource-section[hidden]{display:none}.share-box{background:#f5f8fe;border:1px solid #dee8fc;padding:19px;border-radius:12px;margin-top:15px}.share-box input{background:white;color:#375983;font-size:12px;margin-bottom:13px}.share-box>label{font-size:10px}.share-columns{display:grid;grid-template-columns:1fr 175px;gap:25px;align-items:start}.qr-box{text-align:center;border:1px solid var(--border);padding:13px;border-radius:12px;margin-top:15px}.qr-box canvas{width:144px;height:144px;image-rendering:pixelated}.qr-box .btn{font-size:10px}.html-snippet{font-family:Consolas,monospace;font-size:11px;min-height:100px;background:#f8faff}.resource-preview{height:380px;width:100%;border:1px solid var(--border);border-radius:10px}.resource-preview-img{max-width:100%;max-height:400px;border-radius:10px;object-fit:contain}.version-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:14px 0}.version-row strong{font-size:12px;display:block}.version-row small{font-size:10px;color:#8a99af}.modal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.modal-stat{padding:20px;background:#f6f9fd;border:1px solid #e6edf7;border-radius:11px}.modal-stat strong{display:block;font-size:25px;margin-bottom:7px}.modal-stat small{font-size:10px;color:#8b98ac}.danger-zone{border:1px solid #f4d4db;background:#fffbfc;border-radius:12px;padding:20px;margin-top:24px}.danger-zone h3{color:#9c4a5b;font-size:14px}.help-modal{width:min(1050px,calc(100vw - 30px))}.help-toolbar{padding:12px 27px;background:#f6f8fc;border-bottom:1px solid var(--border)}.help-toolbar input{width:100%;font-size:12px}.manual-content{font-size:13px;line-height:1.8}.manual-content h2{font-size:22px;border-bottom:1px solid var(--border);padding-bottom:13px;margin-top:30px}.manual-content h3{font-size:16px;margin-top:23px}.manual-content p{font-size:13px;color:#50627e;line-height:1.85}.manual-content li{margin:8px 0;color:#50627e}.manual-content code{font-size:11px;background:#f0f4fc;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}.manual-content table{width:100%;border-collapse:collapse;font-size:12px}.manual-content td,.manual-content th{padding:12px;border:1px solid var(--border);text-align:left;line-height:1.6}.manual-content th{background:#f2f6ff}.manual-content .toc{columns:2;column-gap:30px}.manual-content .toc a{display:block;break-inside:avoid;font-size:12px;margin:8px 0}.manual-page{max-width:1000px;margin:45px auto;background:white;border:1px solid var(--border);border-radius:18px;padding:38px 45px}.manual-page header{border-bottom:1px solid var(--border);margin-bottom:30px;padding-bottom:20px}.manual-page header h1{font-size:34px}.toast-region{position:fixed;right:24px;bottom:24px;display:flex;flex-direction:column;gap:9px;z-index:1000;max-width:min(440px,calc(100vw - 30px));pointer-events:none}.toast{padding:14px 18px;border:1px solid #d9e5f7;background:#fff;border-radius:11px;box-shadow:0 5px 30px #10203925;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;pointer-events:auto}.toast .icon{color:var(--teal);width:18px}.toast.error .icon{color:#b74859}.toast.error{border-color:#f4ccd5}.auth-body{min-height:100vh;background:#f2f5fa}.auth-layout{max-width:1120px;min-height:650px;margin:7vh auto;display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:0 20px 80px #13284b0a}.auth-intro{padding:44px;background:radial-gradient(ellipse at 100% 100%,#214a70,transparent 80%),#14223f;color:white}.auth-intro .brand{margin-bottom:60px}.auth-intro .eyebrow{font-size:9px}.auth-intro h1{font-size:44px;letter-spacing:-1.6px;line-height:1.15;margin:20px 0}.auth-intro h1 span{color:#82cfc9}.auth-intro>p{font-size:12px;color:#9fb8d6;margin-bottom:26px;max-width:330px}.auth-feature{display:flex;align-items:center;gap:11px;color:#b6c9e1;font-size:11px;margin:20px 0}.auth-feature .icon{width:18px;color:#6dbdb9}.auth-card{padding:57px 46px;display:flex;flex-direction:column;justify-content:center}.auth-card h2{font-size:29px}.auth-card>p{font-size:12px}.auth-card input{width:100%}.auth-card .btn{margin-top:23px}.auth-card .callout{font-size:10px}.auth-card>.small{font-size:10px;margin-top:18px}.auth-card>.text-link{font-size:11px;margin-top:20px}.auth-foot{font-size:10px;color:#a0acbc;margin-top:35px;display:flex;align-items:center;gap:8px}.auth-foot .icon{width:15px}.public-body{background:radial-gradient(ellipse at 15% 15%,#edf3fc,transparent 45%),#f7f9fc;min-height:100vh}.public-header{max-width:1220px;margin:auto;padding:28px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}.public-header .brand{font-size:11px}.public-header .brand strong{font-size:9px;letter-spacing:1.4px;color:#8695ab}.public-lock{display:flex;align-items:center;gap:8px;color:#91a0b5;font-size:10px}.public-lock .icon{width:16px;height:16px;color:#73a496}.public-main{max-width:1100px;margin:30px auto 42px;padding:0 30px}.public-intro{text-align:center;margin-bottom:35px}.public-intro h1{font-size:38px;letter-spacing:-1.4px;line-height:1.2}.public-intro h1 span{color:#7185a4;font-size:31px;font-weight:500}.public-intro .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:17px}.public-intro p{font-size:12px;color:#91a0b5;margin-top:17px}.resource-public-card{display:grid;grid-template-columns:1.1fr 1fr;background:white;border:1px solid #e4eaf4;border-radius:22px;overflow:hidden;box-shadow:0 18px 65px #152d5308}.resource-presentation{padding:36px 38px;background:linear-gradient(160deg,#fff,#f9fbff)}.resource-presentation>.badge{font-size:8px;letter-spacing:.8px}.public-file-icon{width:75px;height:90px;border:1px solid #dce6f9;border-radius:16px;background:#f0f5ff;margin:32px 0 23px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#5481c9;gap:7px}.public-file-icon .icon{width:30px;height:30px;stroke-width:1.3}.public-file-icon span{font-size:9px;font-weight:800;letter-spacing:1px}.resource-presentation h2{font-size:27px;line-height:1.35;overflow-wrap:anywhere}.resource-description{font-size:12px;max-height:310px;overflow:auto}.resource-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:#8d9bb2;overflow-wrap:anywhere}.resource-meta span{padding:5px 8px;background:#f0f4fa;border-radius:5px;max-width:100%}.public-benefit{display:flex;gap:12px;margin-top:29px;border-top:1px solid #e3eaf5;padding-top:23px}.public-benefit>.icon{color:#75a8a0;width:18px}.public-benefit p{font-size:11px;color:#7f90a8;line-height:1.8}.verification-panel{padding:36px 34px;border-left:1px solid #e8edf6}.step-label{color:#788cab;font-size:8px;font-weight:700;letter-spacing:1.3px;display:flex;align-items:center;gap:8px;margin-bottom:20px}.step-label span{width:20px;height:20px;background:#eaf1ff;color:#5784db;border-radius:50%;display:grid;place-items:center;font-size:10px;letter-spacing:0}.verification-panel h3{font-size:24px;letter-spacing:-.7px;margin-bottom:11px}.verification-panel>p{font-size:12px}.email-input{position:relative;margin-bottom:17px}.email-input>.icon{position:absolute;left:14px;top:13px;width:18px;color:#96a8c4}.email-input input{width:100%;padding:13px 12px 13px 42px;font-size:12px;min-height:46px}.verification-panel .btn{font-size:11px;min-height:45px}.newsletter-invitation{margin-top:24px;padding-top:23px;border-top:1px solid #edf1f7}.newsletter-invitation strong{font-size:12px}.newsletter-invitation p{font-size:11px;margin:9px 0 10px}.newsletter-invitation .text-link{font-size:11px}.privacy-note{margin-top:26px;display:flex;align-items:flex-start;gap:8px}.privacy-note>.icon{width:12px;height:12px;color:#a3aec0;margin-top:3px}.privacy-note p{font-size:9px;line-height:1.75;color:#a4afc0}.privacy-note a{color:#7f94b4;text-decoration:underline}.public-steps{display:flex;align-items:center;justify-content:center;gap:45px;margin-top:30px}.public-steps span{display:flex;align-items:center;gap:8px;font-size:10px;color:#9aa9bc}.public-steps .icon{width:15px;height:15px}.public-footer{max-width:1160px;margin:auto;border-top:1px solid #e9edf5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 15px;color:#9ba8bc;font-size:9px}.public-footer div{display:flex;gap:20px}.public-footer a{color:#8f9cb0}.public-empty{max-width:700px;margin:30px auto;background:white;border:1px solid var(--border);border-radius:20px;padding:40px;text-align:center;box-shadow:var(--shadow)}.public-empty h2{font-size:25px}.public-empty p{font-size:12px;line-height:1.9}.public-empty .btn{font-size:12px}.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}#download-ready h3{font-size:21px;margin-top:20px}#download-ready p{font-size:12px}#download-expiry{display:block;font-size:10px;color:#90a0b4;margin-top:12px}.error-page{max-width:640px;padding:40px;background:white;border-radius:20px;border:1px solid var(--border);margin:12vh auto;text-align:center}.error-page .brand-mark{margin:0 auto 30px}.error-page h1{font-size:28px}.mobile-only{display:none}[hidden]{display:none!important}body.modal-open{overflow:hidden}.loading-block{padding:35px;text-align:center;color:#9aa9bd;font-size:12px}.spin{animation:spin 1.4s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.main-content{padding-top:40px}.hero{padding:40px 46px}.hero-flow{max-width:370px}.hero h2{font-size:35px}.page-heading h1{font-size:33px}.hero p{font-size:13px}.chart{height:245px}}
@media(max-width:1250px){.sidebar{width:223px;padding-left:12px;padding-right:12px}.main-shell{margin-left:223px}.main-content{padding:28px 25px}.topbar{padding:0 25px}.hero{padding:26px;gap:28px}.hero h2{font-size:26px}.page-heading h1{font-size:27px}.kpi-grid{gap:12px}.kpi-card{padding:18px 15px}.kpi-icon{right:12px}.kpi-label{max-width:75%;font-size:10px}.kpi-value{font-size:25px}.quick-actions{grid-template-columns:1fr}.quick-actions button{padding:15px 18px}.upload-columns{grid-template-columns:1fr 260px}.filter-bar{flex-wrap:wrap}.filter-bar .search-field{flex-basis:100%}.dashboard-columns{grid-template-columns:1.3fr 1fr}.top-resource{margin:0 17px}.top-name strong{max-width:175px}.settings-grid{grid-template-columns:1fr 1fr}.auth-layout{margin:5vh 25px}}
@media(max-width:1000px){.hero-flow{display:none}.hero{grid-template-columns:1fr}.hero h2{font-size:29px}.hero p{max-width:90%}.dashboard-columns{grid-template-columns:1fr}.kpi-grid{grid-template-columns:1fr 1fr}.upload-columns{grid-template-columns:1fr}.guide-card{display:none}.settings-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button-row{justify-content:flex-end}.page-heading>.btn{font-size:11px}.public-main{padding:0 25px}.resource-presentation{padding:30px}.verification-panel{padding:30px 26px}.resource-presentation h2{font-size:25px}.auth-intro{padding:35px}.auth-card{padding:40px 32px}.auth-intro h1{font-size:37px}.auth-layout{min-height:630px}.three-cards{grid-template-columns:1fr}}
@media(max-width:760px){h1{font-size:28px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:247px;box-shadow:10px 0 80px #07172c40}.sidebar.open{transform:translateX(0)}.main-shell{margin-left:0}.mobile-only{display:inline-flex}.topbar{height:65px;padding:0 18px}.main-content{padding:25px 18px}.top-actions{gap:9px}.secure-pill{display:none}.breadcrumb{font-size:10px;gap:7px}.page-heading{flex-direction:column;gap:18px;margin-bottom:23px}.page-heading h1{font-size:27px}.page-heading p{font-size:11px}.hero{padding:27px}.hero h2{font-size:28px}.hero p{font-size:11px}.hero .eyebrow{font-size:8px}.kpi-grid{gap:12px;margin:19px 0}.kpi-card{min-height:117px}.kpi-value{font-size:25px}.kpi-note{font-size:9px}.kpi-icon{width:25px;height:25px;right:12px;top:16px}.kpi-label{font-size:10px}.panel-head{padding:20px}.filter-bar{padding:15px;gap:8px}.filter-bar select{flex:1;min-width:100px;max-width:none;font-size:10px}.table-footer{padding:15px;align-items:flex-start;flex-direction:column}.bulk-bar{flex-wrap:wrap}.dropzone{padding:33px 20px}.dropzone h2{font-size:20px}.sync-panel{padding:23px}.path-box code{padding-right:0;font-size:11px}.path-box>.btn{position:static;margin-top:12px}.admin-footer{padding:0 19px 22px;font-size:8px;flex-direction:column;gap:8px}.settings-section{padding:22px}.settings-actions{flex-wrap:wrap;position:static}.form-grid{grid-template-columns:1fr}.modal{max-height:calc(100dvh - 22px);width:calc(100vw - 22px);border-radius:14px}.modal-head{padding:19px 21px;gap:10px}.modal-head h2{font-size:20px}.modal-head .btn{font-size:9px}.modal-body{padding:23px 21px}.share-columns{grid-template-columns:1fr}.qr-box{justify-self:start;margin-top:0}.resource-head-data strong{font-size:13px}.resource-head-data small{font-size:10px}.modal-stats{grid-template-columns:1fr 1fr}.manual-content .toc{columns:1}.manual-page{padding:25px;margin:15px;border-radius:14px}.manual-page header h1{font-size:28px}.help-toolbar{padding:10px 21px}.auth-layout{margin:20px;grid-template-columns:1fr;min-height:0}.auth-intro{padding:28px}.auth-intro .brand{margin-bottom:25px}.auth-intro h1{font-size:30px}.auth-intro h1 br{display:none}.auth-intro>p,.auth-feature{display:none}.auth-card{padding:33px 28px}.auth-card h2{font-size:26px}.auth-intro .eyebrow{font-size:8px}.public-header{padding:22px;justify-content:center}.public-lock{display:none}.public-main{padding:0 18px;margin-top:23px}.public-intro{margin-bottom:28px}.public-intro h1{font-size:29px}.public-intro h1 span{font-size:24px}.public-intro .eyebrow{font-size:8px}.resource-public-card{grid-template-columns:1fr;border-radius:19px}.resource-presentation{padding:27px}.resource-presentation h2{font-size:25px}.public-file-icon{margin:24px 0 20px;width:59px;height:71px}.public-file-icon .icon{width:25px}.verification-panel{border-left:0;border-top:1px solid #e8edf6;padding:28px}.public-benefit{margin-top:22px;padding-top:18px}.public-benefit p{margin:0;font-size:11px}.verification-panel h3{font-size:23px}.public-steps{gap:16px;flex-direction:column;align-items:flex-start;max-width:215px;margin:28px auto}.public-footer{padding:22px;margin:0 20px;flex-direction:column;text-align:center;gap:13px}.public-empty{padding:30px 24px}.error-page{margin:12vh 20px;padding:32px}.toast-region{right:15px;bottom:15px}.manual-content table{font-size:11px}.manual-content td,.manual-content th{padding:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.manual-page{margin:0;border:0;box-shadow:none;padding:0}.manual-page header a{display:none}.manual-content h2{break-after:avoid}.manual-content section{break-inside:auto}body{background:white}.manual-content .callout{break-inside:avoid}}

/* Readable small-print on public resource pages. */
.privacy-note p{font-size:10px;color:#64748b}.privacy-note a{color:#4f6587}.public-benefit p{font-size:12px;color:#667c9b}.public-footer{font-size:10px;color:#71829d}

/* Premium popup readability & persistent action controls — patch 1.0.2 */
.modal{width:min(1030px,calc(100vw - 28px));max-height:calc(100dvh - 28px);box-shadow:0 30px 110px rgba(8,23,57,.42);border:1px solid #c8d6eb;border-radius:19px;z-index:3000;overscroll-behavior:contain}
.modal::backdrop{background:rgba(8,20,44,.76);backdrop-filter:blur(8px)}
.modal-head{position:sticky;top:0;z-index:12;background:#f8fbff;padding:21px 27px;border-bottom:2px solid #d8e4f4;box-shadow:0 3px 14px rgba(11,40,87,.07)}
.modal-head h2{font-size:25px;line-height:1.3;color:#14284d}
.modal-head .eyebrow{font-size:10px;letter-spacing:1.3px}
.modal-head .icon-button{width:43px;height:43px;border:1px solid #c7d5e9;background:#fff;color:#213d68}
.modal-head .icon-button:hover{background:#feecef;color:#b42334}
.modal-body{padding:27px 32px 36px;font-size:14px;line-height:1.55;color:#273c5d}
.modal-body p,.modal-body .form-hint{font-size:13px;line-height:1.7;color:#526580}
.modal-body label{font-size:13px;font-weight:650}
.modal-body input:not([type=checkbox]):not([type=color]),.modal-body select,.modal-body textarea{font-size:14px;min-height:43px}
.modal-body .btn{font-size:13px;min-height:42px;white-space:normal;text-align:center}
.resource-modal{width:min(1100px,calc(100vw - 28px))}
.resource-tabs{position:sticky;top:76px;z-index:10;background:#fff;box-shadow:0 5px 10px rgba(13,36,68,.09);display:flex;flex-wrap:wrap;gap:6px;padding:9px 0;border-bottom:2px solid #dce7f5}
.resource-tabs button{font-size:13px;font-weight:700;min-height:40px;padding:9px 14px;border-radius:9px}
.resource-tabs button.active{background:#e8f1ff;color:#164fad;box-shadow:inset 0 -3px #2563eb}
.resource-section{padding-top:20px}
.resource-section h3{font-size:18px}
.resource-section .button-row:has(button[type=submit]){position:sticky;bottom:0;z-index:11;padding:14px 9px;margin:22px -9px -8px;background:#f7faff;border:1px solid #dce7f5;border-radius:12px;box-shadow:0 -5px 22px rgba(18,47,90,.10)}
.help-modal{width:min(1180px,calc(100vw - 28px))}
.help-modal .manual-content{font-size:14px;line-height:1.8}
.help-toolbar{position:sticky;top:78px;z-index:11;background:#fff;box-shadow:0 4px 12px #16274812}
.modal .callout{font-size:13px;line-height:1.7}
@media(max-width:760px){.modal,.resource-modal,.help-modal{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:13px}.modal-head{padding:15px 17px}.modal-head h2{font-size:20px}.modal-body{padding:19px 16px 27px}.resource-tabs{top:72px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.resource-tabs button{flex-shrink:0;font-size:12px;padding:9px 11px}.resource-section .button-row:has(button[type=submit]){position:sticky;bottom:0;display:flex;justify-content:center}.resource-section .button-row:has(button[type=submit]) .btn{flex:1 1 130px}.help-toolbar{top:72px}}

/* v1.0.3: permanent, prominent replacement control before popup tabs */
.resource-modal .replace-feature{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 25px;margin:17px 0 12px;border-radius:16px;border:2px solid #7ba7ff;background:linear-gradient(120deg,#eaf3ff,#f8fbff);box-shadow:0 8px 22px #2356a114}
.replace-feature-copy{min-width:0;flex:1 1 auto}
.replace-feature-copy>strong{font-size:15px;font-weight:850;color:#123b80;letter-spacing:.35px}
.replace-feature-copy p{margin:7px 0 10px;font-size:13px!important;line-height:1.55}
.replace-feature-url{font-size:12px;font-weight:650;color:#255fc3;overflow-wrap:anywhere;word-break:break-word}
.replace-feature-buttons{display:flex;flex-direction:column;gap:10px;flex:0 0 290px}
.replace-feature-buttons .btn{padding:13px 15px;line-height:1.4;font-size:13px!important;font-weight:750;min-height:49px}
.replace-feature-buttons .btn.primary{box-shadow:0 6px 16px #2862c64a}
@media(max-width:850px){.resource-modal .replace-feature{flex-direction:column;align-items:stretch;padding:17px;gap:13px}.replace-feature-buttons{flex:0 0 auto}.replace-feature-buttons .btn{width:100%}}

/* PATCH v1.0.4 — scheda risorsa compatta, senza scorrimento orizzontale */
#resource-dialog.resource-modal{width:min(1130px,calc(100vw - 36px));max-width:calc(100vw - 36px);max-height:calc(100dvh - 22px);overflow-x:hidden;overflow-y:auto;padding:0;box-sizing:border-box}
#resource-dialog .modal-head{padding:11px 22px;top:0;min-height:65px}
#resource-dialog .modal-head h2{font-size:21px;margin:0}
#resource-dialog .modal-head .eyebrow{margin-bottom:2px}
#resource-dialog .modal-body{padding:12px 22px 18px;width:100%;min-width:0;overflow-x:hidden}
#resource-dialog #resource-content{min-width:0}
#resource-dialog .resource-head-data{padding:3px 0 7px;min-width:0;overflow:hidden}
#resource-dialog .resource-head-data>div{min-width:0}
#resource-dialog .resource-head-data strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:100%}
#resource-dialog .replace-feature{padding:9px 14px;margin:7px 0 8px;gap:15px;border-radius:12px;align-items:center}
#resource-dialog .replace-feature-copy>strong{font-size:12px}
#resource-dialog .replace-feature-copy p{margin:3px 0;font-size:11px!important;line-height:1.3}
#resource-dialog .replace-feature-url{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#resource-dialog .replace-feature-buttons{flex:0 0 260px;gap:5px}
#resource-dialog .replace-feature-buttons .btn{padding:7px 9px;min-height:32px;font-size:11px!important}
#resource-dialog .resource-tabs{position:static;padding:3px 0 5px;gap:4px;box-shadow:none;flex-wrap:wrap;top:auto}
#resource-dialog .resource-tabs button{min-height:31px;padding:5px 10px;font-size:11px}
#resource-dialog .resource-section{padding-top:7px;min-width:0}
#resource-dialog #tab-info form{display:flex;flex-direction:column;min-width:0;gap:3px}
#resource-dialog #tab-info form>label,#resource-dialog .resource-category-block>label{font-size:11px;margin:0 0 2px}
#resource-dialog #tab-info input:not([type=checkbox]),#resource-dialog #tab-info textarea{min-height:33px;padding:7px 10px;font-size:12px;width:100%;max-width:100%;box-sizing:border-box}
#resource-dialog #tab-info textarea{height:56px;min-height:56px;resize:vertical;line-height:1.35}
#resource-dialog .resource-category-block{width:100%;min-width:0;display:flex;flex-direction:column}
#resource-dialog .resource-enable-row{display:flex!important;align-items:center;justify-content:flex-start;gap:9px;white-space:normal;width:100%;max-width:100%;margin:4px 0 3px;padding:8px 10px;background:#edf5ff;border:1px solid #cbdef7;border-radius:9px;color:#173b72;line-height:1.3;font-weight:700}
#resource-dialog .resource-enable-row input{position:static;flex:0 0 auto;width:17px;height:17px;margin:0;accent-color:#2563eb}
#resource-dialog .resource-enable-row span{min-width:0;overflow-wrap:break-word;font-size:12px}
#resource-dialog .resource-section .button-row:has(button[type=submit]){position:static;margin:7px 0 2px;padding:7px 9px;box-shadow:none;gap:7px}
#resource-dialog .resource-section .button-row:has(button[type=submit]) .btn{min-height:34px;padding:6px 10px;font-size:11px}
#resource-dialog #tab-info .form-hint{margin:3px 0 6px;font-size:10px;line-height:1.3}
#resource-dialog .danger-zone{padding:9px 12px;margin-top:7px;border-radius:10px}
#resource-dialog .danger-zone h3{font-size:12px;margin:0 0 3px}
#resource-dialog .danger-zone p{font-size:10px;line-height:1.3;margin:0 0 5px}
#resource-dialog .danger-zone .btn{min-height:29px;padding:4px 8px;font-size:10px}
#resource-dialog .resource-section,#resource-dialog .resource-section *{min-width:0}
@media(max-width:850px){#resource-dialog .replace-feature{flex-direction:column;align-items:stretch}#resource-dialog .replace-feature-buttons{flex:0 0 auto;flex-direction:row;flex-wrap:wrap}#resource-dialog .replace-feature-buttons .btn{width:auto;flex:1 1 180px}}
@media(max-width:600px){#resource-dialog.resource-modal{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}#resource-dialog .modal-head{padding:9px 13px}#resource-dialog .modal-body{padding:10px 12px 16px}#resource-dialog .resource-tabs{flex-wrap:wrap;overflow:visible}#resource-dialog .resource-tabs button{font-size:10px;padding:5px 7px}#resource-dialog .resource-section .button-row:has(button[type=submit]){flex-wrap:wrap}#resource-dialog .resource-section .button-row:has(button[type=submit]) .btn{flex:1 1 130px}}
@media(max-height:750px){#resource-dialog .replace-feature-copy p{display:none}#resource-dialog .modal-body{padding-top:7px}#resource-dialog .danger-zone{padding:6px 10px}#resource-dialog #tab-info textarea{height:42px;min-height:42px}}
