:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#173436;background:#f3f7f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;border-radius:10px;padding:11px 16px;background:#0f6768;color:#fff;cursor:pointer;font-weight:700}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#e2eeee;color:#124f50}button.danger-button{background:#f7dedb;color:#9b3028}input,select,textarea{width:100%;border:1px solid #c9d9d7;border-radius:9px;padding:11px 12px;background:#fff;color:#173436}textarea{min-height:92px;resize:vertical}label{display:grid;gap:7px;color:#486263;font-size:14px}h1,h2,h3,p{margin-top:0}.eyebrow{color:#0f6768;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow.light{color:#9ed6d2}.login-shell,.center{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#e7f4f1,#f8fbfa 55%,#dcebea)}.login-card{width:min(440px,100%);padding:38px;border-radius:18px;background:#fff;box-shadow:0 20px 60px #194a481f;display:grid;gap:18px}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}aside{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 22px;color:#fff;background:#123f42}aside nav{display:grid;gap:8px;margin-top:40px}aside nav button{text-align:left;text-transform:capitalize;background:transparent;color:#cde2e0}aside nav button.active{background:#276164;color:#fff}.sign-out{margin-top:auto;background:transparent;text-align:left}.content{padding:42px clamp(24px,5vw,72px);overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:end}.panel{background:#fff;border:1px solid #dce7e5;border-radius:14px;box-shadow:0 6px 24px #1d43420d}.inline-form{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(130px,1fr)) auto;gap:12px;padding:18px;margin:20px 0}.guideline-create-form{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(130px,1fr)) auto;gap:12px;align-items:start;padding:18px;margin:20px 0}.module-create-form{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) minmax(100px,.6fr) auto;gap:12px;align-items:start;padding:18px;margin:20px 0}.category-create-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,1fr) auto;gap:12px;align-items:end;padding:18px}.category-create-form h3{margin:4px 0 0}.category-list{display:grid;gap:10px}.category-card,.uncategorized-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;color:#173436;text-align:left;background:#fff}.category-open{display:flex;flex:1;align-items:center;justify-content:space-between;gap:12px;padding:0;color:#173436;text-align:left;background:transparent}.category-card span,.uncategorized-card span{color:#698080;font-size:13px}.uncategorized-card{margin-top:8px;background:#f7fbfa}.create-file-field{grid-column:1 / -2;padding:12px;border:1px dashed #aac5c2;border-radius:10px;background:#f7fbfa}.guideline-create-form>button{grid-column:-2;grid-row:2;align-self:center}.field-hint{color:#698080;font-size:12px}.status{color:#0f6768;font-weight:700}.bulk-upload{display:grid;gap:16px;padding:20px;margin:20px 0}.bulk-upload h3{margin-bottom:8px}.bulk-upload p{margin-bottom:0}.bulk-preview{display:grid;gap:10px}.bulk-preview>span{color:#486263}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.toggle-switch{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#e2eeee;color:#486263;font-size:12px}.toggle-switch.active{background:#dff0e9;color:#126161}.toggle-knob{width:14px;height:14px;border-radius:50%;background:#789392}.toggle-switch.active .toggle-knob{background:#0f6768}.module-content{display:grid;gap:14px;padding:18px;border-radius:12px;background:#fbfdfd}.module-content-page{display:grid;gap:18px;margin-top:20px}.module-item-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(90px,.45fr) auto;gap:10px;align-items:start;padding:18px}.module-item-form.file-create{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(90px,.5fr) auto}.content-mode-switch{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px}.mode-card{display:grid;gap:4px;padding:14px;border:1px solid #c9d9d7;background:#f7fbfa;color:#173436;text-align:left}.mode-card span{color:#698080;font-size:12px;font-weight:600}.mode-card.active{border-color:#0f6768;background:#dff0e9;color:#124f50}.module-item-form .create-file-field{grid-column:1 / -2}.file-create>button{grid-column:-2;grid-row:2;align-self:center}.faq-create-fields,.faq-edit-fields{display:grid;grid-column:1 / -2;gap:10px}.faq-create-fields{grid-template-columns:repeat(2,minmax(180px,1fr)) minmax(90px,.45fr)}.faq-create-fields>textarea:first-child,.faq-edit-fields>textarea:first-child{grid-column:1 / -1}.faq-question-row{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,1fr) 88px auto;gap:10px;align-items:end}.faq-question-row textarea{min-height:92px}.faq-order-field{display:grid;gap:5px;color:#486263;font-size:12px;font-weight:700}.faq-order-input{min-width:0}.faq-publish-button{white-space:nowrap}.choice-editor{display:grid;grid-column:1 / span 2;gap:7px;margin:0;padding:10px 12px;border:1px solid #c9d9d7;border-radius:9px;background:#f7fbfa}.choice-editor legend{padding:0 4px;color:#486263;font-size:14px}.choice-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.choice-row input[type=radio]{width:auto}.choice-remove,.choice-add{padding:7px 10px;font-size:12px}.choice-add{justify-self:start}.faq-edit-fields{grid-template-columns:repeat(2,minmax(180px,1fr)) minmax(90px,.45fr)}.module-item-list{display:grid;gap:12px}.empty-state{padding:24px;color:#698080}.module-item-row{display:grid;gap:10px;padding:14px;border:1px solid #dce7e5;border-radius:12px;background:#fff}.module-item-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(100px,.8fr) minmax(90px,.5fr);gap:10px}.module-item-fields.faq-item-fields{grid-template-columns:minmax(220px,1fr)}.module-item-fields.file-item-fields{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(90px,.5fr)}.faq-item-toolbar,.file-item-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.faq-item-summary,.faq-item-actions,.file-item-summary,.file-item-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.faq-item-actions,.file-item-actions{justify-content:flex-end}.file-name{color:#173436;font-size:14px;font-weight:700}.file-replace-field{display:grid;gap:7px;padding:12px;border:1px dashed #aac5c2;border-radius:10px;background:#f7fbfa}.data-table-import{display:grid;gap:12px;min-width:0}.module-item-form>.data-table-import{grid-column:1 / -1}.data-table-import label{display:grid;gap:7px;color:#385758;font-weight:700}.data-table-preview-wrap{max-width:100%;max-height:360px;overflow:auto;border:1px solid #dce7e5;border-radius:10px;background:#fff}.data-table-preview{min-width:720px}.data-table-preview th{position:sticky;top:0;background:#edf6f4;color:#244f50}.data-table-preview th,.data-table-preview td{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px 12px}.module-order-input{min-width:96px;width:96px}.module-home-group{color:#385758;font-weight:700;white-space:nowrap}.employee-task-details>td{background:#f6fbfa;padding:16px}.employee-task-details table{margin:0;min-width:720px}.employee-task-details td,.employee-task-details th{padding:10px 12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:15px 18px;border-bottom:1px solid #e5eeed;text-align:left}th{font-size:12px;color:#698080;text-transform:uppercase;letter-spacing:.06em}.employee-actions,.employee-routine-actions{display:flex;align-items:center;gap:8px}.employee-actions,.employee-routine-actions{flex-wrap:wrap}.employee-actions .danger-button{margin-left:4px;border-left:1px solid #ead0cc}.guideline-list{display:grid;gap:10px}.guideline-row{overflow:hidden}.guideline-summary{width:100%;display:grid;grid-template-columns:minmax(180px,2fr) minmax(110px,1fr) minmax(100px,.8fr) auto auto minmax(150px,1fr) 24px;gap:14px;align-items:center;padding:17px 20px;border-radius:0;background:#fff;color:#173436;text-align:left;font-weight:500}.guideline-summary:hover{background:#f7fbfa}.guideline-title{font-weight:800}.status-badge{justify-self:start;padding:5px 9px;border-radius:999px;background:#edf1f0;color:#596d6d;font-size:12px;font-weight:800}.status-badge.published{background:#dff0e9;color:#176044}.updated-at{color:#698080;font-size:13px}.row-chevron{color:#0f6768;font-size:22px;text-align:right}.guideline-details{display:grid;gap:16px;padding:20px;border-top:1px solid #e5eeed;background:#fbfdfd}.edit-fields{display:grid;gap:9px}.guideline-actions{display:flex;flex-wrap:wrap;gap:10px}.guideline-actions button{flex:1 1 160px}.pdf-preview{display:grid;gap:12px;padding:14px;border:1px solid #dce7e5;border-radius:12px;background:#fff}.pdf-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdf-preview iframe{width:100%;height:70vh;border:1px solid #dce7e5;border-radius:8px}.pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#e2f0ed;color:#126161;font-size:12px;font-weight:800}.file-label input{margin-top:6px}.alert{padding:12px;border-radius:9px;background:#fff0ef;color:#9b3028}.inline-actions{display:grid;gap:10px}.inline-actions button{width:100%}.temporary-password{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 0;color:#173436}.temporary-password code{padding:6px 9px;border-radius:7px;background:#edf6f4;color:#124f50;font-size:14px;font-weight:800}@media(max-width:800px){.app-shell{grid-template-columns:1fr}aside{position:static;height:auto}aside nav{grid-template-columns:repeat(3,1fr);margin-top:20px}.sign-out{margin-top:12px}.inline-form,.guideline-create-form,.module-create-form,.category-create-form,.module-item-form,.module-item-fields,.faq-create-fields,.faq-edit-fields,.content-mode-switch{grid-template-columns:1fr}.create-file-field,.guideline-create-form>button,.module-item-form .create-file-field,.module-item-form>button,.faq-create-fields,.faq-edit-fields,.choice-editor,.faq-question-row,.faq-create-fields textarea:first-child,.faq-edit-fields textarea:first-child,.content-mode-switch{grid-column:auto;grid-row:auto}.guideline-summary{grid-template-columns:1fr auto;gap:7px 12px}.guideline-summary>span:not(.guideline-title):not(.row-chevron){grid-column:1}.guideline-title{grid-column:1}.row-chevron{grid-column:2;grid-row:1}.pdf-preview iframe{height:55vh}.faq-item-toolbar,.file-item-toolbar{align-items:stretch;flex-direction:column}.faq-item-actions,.file-item-actions{justify-content:stretch}.faq-item-actions button,.file-item-actions button{flex:1 1 130px}}
