/* WizoTork portal: DreamERP layout, spacing, typography and component palette. */
:root{color-scheme:light;--page:#f8f9fa;--white:#fff;--ink:#2f3a4b;--muted:#67707d;--line:#e8e9ec;--blue:#0f766e;--blue-soft:#ebf2f1;--green:#059669;--navy:#1e293b;--soft:#f8f9fa;--shadow:0 2px 6px #2f3a4b08;--font:Geist,Arial,sans-serif}
html[data-theme=dark]{color-scheme:dark;--page:#1a1e22;--white:#1a1a1a;--ink:#d8dee8;--muted:#9299a5;--line:#303237;--blue:#41b4a9;--blue-soft:#133630;--green:#30ba8b;--navy:#c2ccda;--soft:#1c2026;--shadow:0 2px 6px #0003}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--muted);font:400 14px/1.5 var(--font)}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--ink);font-family:var(--font);font-weight:700;line-height:1.35;letter-spacing:-.02em}a{color:var(--blue);text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:3px}svg{display:inline-block;width:18px;height:18px;flex-shrink:0;vertical-align:middle}img{max-width:100%;height:auto}button svg,a svg{pointer-events:none}[hidden]{display:none!important}.sr-only,.skip-panel:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-panel:focus{position:fixed;z-index:5000;top:12px;left:20px;padding:12px;background:var(--white)}
input,textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);font-size:14px;min-height:40px;padding:9px 12px;outline:0}input::placeholder,textarea::placeholder{color:#9198a2}input:focus,select:focus,textarea:focus{border-color:var(--blue)}input[readonly]{background:var(--soft);color:var(--muted)}textarea{resize:vertical;line-height:1.7}label{display:block;color:var(--ink);font-size:14px;font-weight:500;margin-bottom:16px}label>input,label>select,label>textarea{margin-top:5px}.optional{font-weight:400;color:var(--muted);font-size:12px}.field-help{font-size:12px;margin:6px 0 16px;color:var(--muted)}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-label,.remember-row{display:flex;align-items:center;gap:8px;font-weight:400;color:var(--muted)}.checkbox-label input,.remember-row input{margin:0;width:16px;min-height:16px;height:16px;accent-color:#0f766e}.form-feedback{color:#b91c1c;font-size:13px;line-height:1.7;margin:10px 0 14px}.form-feedback:empty{display:none}.form-feedback.success{color:var(--green)}.noscript-note{background:#fff1c9;color:#765a13;padding:15px;text-align:center}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:6px;padding:7px 11px;min-height:32px;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}.button:hover{background:var(--soft)}.button.primary{background:#1e293b;border-color:#1e293b;color:#fff}.button.primary:hover{background:#0f766e;border-color:#0f766e}.button.small{font-size:11px;min-height:28px;padding:5px 9px}.button.text{padding:4px 8px;background:var(--soft);font-size:12px}.button svg{width:15px;height:15px}.icon-button{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--muted);padding:6px}.icon-button:hover{color:var(--blue);background:var(--soft)}.icon-button svg{width:17px;height:17px}.muted{color:var(--muted)}.overline{font-size:10px;letter-spacing:.1em;font-weight:500;margin:0 0 5px}.portal-logo{position:relative;display:block;width:160px;height:43px;overflow:hidden;flex-shrink:0;border-radius:4px;background:#fff}.portal-logo img{position:absolute;width:128%;max-width:none;left:-14%;top:50%;transform:translateY(-50%)}.avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#e2efeb;color:#0f766e;font-size:12px;font-weight:600;border:1px solid #d2e4dd}.avatar:empty:before{content:'W'}
/* Branded campus backdrop supplied by the website owner. */
.auth-page{background:#163b61}.auth-page:before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(110deg,#06172b38,#06172b16),url('img/wizotork-campus.png?v=2') center center/cover no-repeat}.auth-page .auth-layout{position:relative;z-index:1}.auth-page .auth-card{box-shadow:0 20px 70px #03183040}.auth-page .auth-copyright{color:#fff;text-shadow:0 1px 5px #0009}.auth-page .auth-theme{z-index:5;box-shadow:var(--shadow)}
/* Same compact centered sign-in card as the reference's basic login. */
.auth-layout{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:20px}.auth-card{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:6px;width:100%;max-width:448px;padding:32px}.auth-heading{text-align:center;margin-bottom:24px}.auth-logo{margin:0 auto 16px;width:176px;height:46px}.auth-heading h1{font-size:20px;line-height:28px;margin:0 0 4px}.auth-heading p{font-size:14px;line-height:20px;color:var(--muted)}.auth-card label{font-size:14px}.auth-card #auth-form>label:first-child{font-weight:600}.auth-card input{height:42px}.password-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}.password-label label{margin:0;font-weight:400}.password-label a{font-size:14px}.password-field{position:relative;margin-bottom:16px}.password-field input{height:40px;min-height:40px;padding-left:32px;padding-right:38px}.password-lock{position:absolute;left:11px;top:10px;color:var(--muted);line-height:1}.password-lock svg{width:15px;height:18px}.password-field button{display:grid;place-items:center;position:absolute;right:4px;top:3px;height:34px;width:34px;border:0;background:transparent;color:var(--muted);padding:8px}.password-field button svg{width:16px;height:16px}.remember-row{margin:0 0 16px}.remember-row input{height:16px}.auth-submit{width:100%;min-height:40px;font-size:14px;font-weight:600;padding:9px}.auth-divider{text-align:center;font-size:14px;color:var(--muted);margin:16px 0}.auth-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-options a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:14px}.auth-options a:hover{background:var(--soft)}.auth-options svg{width:15px;height:15px}.auth-switch{text-align:center;font-size:14px;margin:16px 0 0}.setup-callout{padding:15px;background:var(--soft);border:1px solid var(--line);border-radius:6px;margin-top:20px;font-size:13px}.setup-callout p{margin:7px 0}.auth-copyright{font-size:12px;color:var(--muted)}.auth-theme{position:fixed;right:20px;top:20px;z-index:5}
.auth-layout{position:relative}.auth-copyright{position:absolute;bottom:18px}.brief-heading{font-size:16px;margin:0 0 10px}.request-brief{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin-bottom:22px}.conversation-messages{display:flex;flex-direction:column;gap:14px;max-height:320px;overflow:auto;margin:16px 0 22px;padding-right:3px}.conversation-empty{font-size:12px;background:var(--soft);padding:15px;border-radius:5px}.message-bubble header{font-size:11px;color:var(--ink);font-weight:600;margin-bottom:7px}.message-bubble time{font-size:10px;display:block;margin-top:8px;color:var(--muted)}
/* Floating sidebar and toolbar, separated by a 12px gutter. */
.sidebar{position:fixed;z-index:100;left:12px;top:12px;bottom:12px;width:240px;background:var(--white);border:1px solid var(--line);border-radius:6px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;transition:width .2s,transform .2s}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:10px 15px;border-bottom:1px solid var(--line);min-height:56px;gap:8px}.sidebar-brand .portal-logo{width:153px;height:35px}.sidebar-collapse{border:0;width:24px;padding:3px}.sidebar-collapse svg{width:16px;height:16px}.sidebar-scroll{flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 16px 20px}.nav-caption{font-size:12px;font-weight:600;color:var(--ink);margin:18px 0 9px}.panel-nav{display:flex;flex-direction:column;gap:3px}.panel-nav button,.panel-nav>a{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;border-radius:6px;color:var(--ink);background:transparent;padding:8px 10px;min-height:34px;font-size:14px;line-height:20px;font-weight:500}.panel-nav button:hover,.panel-nav>a:hover{background:var(--soft);color:var(--blue)}.panel-nav button.active{background:#1e293b;color:#fff}.panel-nav [data-icon]{display:flex;align-items:center}.panel-nav svg{width:16px;height:16px}.nav-text{white-space:nowrap}.nav-arrow{margin-left:auto;display:flex;align-items:center}.nav-arrow svg{width:12px;height:12px;transform:rotate(90deg)}.nav-count{margin-left:auto;font-size:10px;padding:0 6px;line-height:18px;min-width:19px;border-radius:4px;background:var(--blue-soft);color:var(--blue)}.dashboard-subnav{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--blue);padding:10px 5px 5px 30px}.subnav-dot{width:4px;height:4px;background:currentColor;border-radius:50%;flex-shrink:0}.sidebar-support{background:var(--soft);border:1px solid var(--line);border-radius:6px;margin-top:27px;padding:15px}.sidebar-support-icon{color:var(--blue);display:block;margin-bottom:9px}.sidebar-support strong{font-size:13px;color:var(--ink)}.sidebar-support p{font-size:12px;line-height:1.7;margin:6px 0 10px}.sidebar-support a{font-size:12px;display:flex;align-items:center;justify-content:space-between;font-weight:500}.sidebar-support svg{width:14px;height:14px}.sidebar-account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:12px 16px;min-height:65px}.sidebar-account>div{min-width:0;flex:1}.sidebar-account strong{display:block;color:var(--ink);font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sidebar-account small{font-size:10px}.sidebar-account .icon-button{width:26px;height:26px;border:0}.sidebar-account .avatar{width:30px;height:30px}
.panel-shell{margin-left:264px;padding:12px 12px 0 0;min-height:100svh;display:flex;flex-direction:column;transition:margin-left .2s}.workspace-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 12px;background:var(--white);border:1px solid var(--line);border-radius:6px;box-shadow:var(--shadow);position:sticky;top:12px;z-index:60}.header-left,.header-right{display:flex;align-items:center;gap:8px;min-width:0}.workspace-company{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:13px;border:1px solid var(--line);border-radius:6px;padding:6px 8px;min-height:36px;box-shadow:var(--shadow)}.company-mark{display:grid;place-items:center;border-radius:4px;background:#1e293b;color:#e96da1;width:20px;height:20px;font-weight:800;font-size:12px}.company-dots{font-weight:700;letter-spacing:1px;color:var(--muted)}.header-divider{height:21px;width:1px;background:var(--line);margin:0 3px}.header-avatar{width:32px;height:32px;cursor:pointer}.header-profile-wrap{position:relative;line-height:1}.account-menu{position:absolute;right:0;top:44px;min-width:210px;background:var(--white);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 25px #0002;padding:13px;line-height:1.5}.account-menu>strong{display:block;color:var(--ink);font-size:13px;overflow-wrap:anywhere}.account-menu>small{display:block;font-size:11px;margin:3px 0 10px}.account-menu button{display:flex;align-items:center;gap:9px;background:none;border:0;width:100%;color:var(--ink);padding:9px 5px;text-align:left;font-size:13px;border-radius:4px}.account-menu button:hover{background:var(--soft)}.account-menu svg{width:15px;height:15px}.notification-button{position:relative}.notification-button i{position:absolute;top:4px;right:4px;width:5px;height:5px;border-radius:50%;background:#b91c1c;box-shadow:0 0 0 2px #fcecea}.menu-toggle{display:none}#workspace{padding-top:23px;flex:1;min-width:0;outline:0}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);padding:18px 0;margin-top:6px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.page-heading h1{font-size:20px;line-height:28px;margin:0 0 3px}.page-heading p{font-size:14px;color:var(--muted)}.page-heading .overline{display:none}.heading-actions{display:flex;align-items:center;gap:8px}.heading-actions .button{font-size:12px}.heading-actions .icon-button{width:32px;height:32px}
/* Reference dashboard: summary, four metric cards, two-column analytics and tables. */
.erp-top-grid{display:grid;gap:12px;margin-bottom:12px}.erp-total{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:16px;min-height:132px;position:relative}.erp-total h2{font-size:16px;margin:8px 0 14px}.erp-total-value{display:flex;align-items:center;gap:10px;margin-bottom:2px}.erp-total-value>strong{font-size:24px;line-height:32px;color:var(--ink);font-weight:700}.erp-total>p{font-size:12px;margin:0}.erp-total-icon{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:40px;height:40px;color:#fff;background:#3730a3;border-radius:6px}.erp-live{display:inline-flex;align-items:center;gap:4px;background:#ecf5f1;color:#059669;border-radius:4px;font-size:10px;line-height:20px;padding:0 7px;font-weight:500}.erp-live:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.erp-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.erp-metric{background:var(--white);border:1px solid var(--line);border-radius:6px;min-height:130px;padding:16px}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.metric-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:#fff;background:#0f766e}.metric-icon.orange{background:#d97706}.metric-icon.purple{background:#7e22ce}.metric-icon.red{background:#b91c1c}.metric-top>span:last-child{font-size:10px;font-weight:500;color:var(--green);padding:2px 7px;background:#ecf5f1;border-radius:4px}.erp-metric>p{font-size:12px;margin:0 0 3px}.erp-metric>strong{font-size:24px;line-height:29px;color:var(--ink);font-weight:700}.erp-analytics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px}.surface{background:var(--white);border:1px solid var(--line);border-radius:6px;min-width:0;overflow:hidden}.surface-heading{padding:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.surface-heading h2{font-size:18px;line-height:24px}.surface-heading p{font-size:12px;margin-top:4px}.surface-body{padding:0 16px 16px}.erp-donut-layout{display:flex;align-items:center;gap:24px;min-height:176px}.erp-donut{width:150px;height:150px;border-radius:50%;position:relative;flex-shrink:0;background:#e8e9ec}.erp-donut:before{content:'';position:absolute;inset:23px;border-radius:50%;background:var(--white)}.erp-donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px}.erp-donut-center strong{font-size:24px;color:var(--ink);line-height:32px}.erp-legend{display:grid;gap:13px;flex:1}.erp-legend>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.erp-legend span{display:flex;align-items:center;gap:8px}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.erp-legend strong{font-weight:400;color:var(--ink)}.erp-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.erp-mini-stats>div{background:var(--soft);border:1px solid var(--line);border-radius:6px;text-align:center;padding:8px}.erp-mini-stats strong{display:block;font-size:18px;color:var(--ink)}.erp-mini-stats span{font-size:12px}.erp-quick-action{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;padding:12px;background:var(--soft);border-radius:6px}.erp-quick-action strong{display:block;color:var(--ink);font-size:14px}.erp-quick-action p{font-size:12px;margin:3px 0 0}.erp-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.erp-summary-grid>div{padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:6px}.erp-summary-grid span{display:block;font-size:12px}.erp-summary-grid strong{display:block;color:var(--ink);font-size:20px;line-height:28px}.erp-summary-grid small{font-size:10px}.erp-chart-title{font-size:12px;margin:16px 0 12px;font-weight:500;color:var(--ink)}.erp-bar-chart{height:120px;display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid var(--line);padding:0 5px 22px;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 29px,var(--line) 30px)}.erp-bar-chart>div{flex:1;height:100%;display:flex;align-items:flex-end;position:relative;justify-content:center}.erp-bar-chart i{display:block;width:100%;max-width:25px;background:#0f766e;border-radius:4px 4px 0 0;min-height:2px}.erp-bar-chart span{position:absolute;bottom:-22px;font-size:10px}.erp-chart-note{font-size:10px;margin-top:10px}.activity-item{display:flex;gap:11px;align-items:flex-start;margin-bottom:18px}.activity-item:last-child{margin-bottom:0}.activity-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:var(--blue);margin-top:5px}.activity-item strong{font-size:13px;font-weight:500;color:var(--ink);overflow-wrap:anywhere}.activity-item p{font-size:11px;margin-top:4px}.erp-progress-item{margin-bottom:18px}.erp-progress-item>div{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:8px}.erp-progress-item strong{color:var(--ink);font-size:12px}.distribution-track{height:5px;background:var(--soft);border-radius:5px;overflow:hidden}.distribution-track>span{height:100%;display:block;background:var(--blue);border-radius:5px}.erp-no-chart{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.erp-recent{margin-bottom:12px}
.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th{font-weight:500;color:var(--ink);background:var(--soft);padding:12px 16px;border-block:1px solid var(--line);font-size:12px}td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:middle;color:var(--muted)}tr:last-child td{border-bottom:0}td strong{display:block;color:var(--ink);font-size:13px;font-weight:500;max-width:290px;overflow:hidden;text-overflow:ellipsis}td small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.row-open{display:grid;place-items:center;width:25px;height:25px;color:var(--muted);border:1px solid var(--line);border-radius:4px;background:var(--white)}.row-open:hover{color:var(--blue)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;padding:3px 7px;border-radius:5px;background:#ebf2f1;color:#0f766e;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.new{background:#eef2ff;color:#4f46e5}.badge.in_progress{background:#fff6e7;color:#b76c05}.badge.review{background:#f5edff;color:#7e22ce}.badge.completed,.badge.active{background:#ecf5f1;color:#059669}.badge.closed,.badge.inactive{background:#fcecea;color:#b91c1c}.priority{font-size:11px;color:var(--muted)}.priority.high{color:#b91c1c}.filters-bar{display:flex;align-items:center;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line)}.search-field{display:flex;align-items:center;position:relative;min-width:180px;flex:1;max-width:340px}.search-field>svg{position:absolute;left:12px;width:16px;height:16px;color:var(--muted)}.search-field input{padding-left:36px;font-size:12px;min-height:36px;height:36px}.filter-select{width:155px;font-size:12px;min-height:36px;height:36px;padding-block:5px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-top:1px solid var(--line);font-size:12px}.pagination>div{display:flex;align-items:center;gap:12px}.pagination .button{font-size:11px;min-height:28px;padding:4px 8px}.empty-state{text-align:center;padding:40px 20px}.empty-icon{display:grid;place-items:center;background:var(--soft);width:46px;height:46px;border:1px solid var(--line);border-radius:50%;margin:0 auto 15px;color:var(--blue)}.empty-state h3{font-size:17px;margin-bottom:8px}.empty-state p{font-size:13px;max-width:410px;margin:0 auto 16px;line-height:1.8}.overview-empty{padding:34px 20px}.quick-note{font-size:13px;line-height:1.8}.quick-note a{display:block;margin-top:15px}.loading-state{padding:70px 20px;text-align:center}.loading-state p{font-size:13px}.loader{display:block;width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;margin:0 auto 15px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-surface{padding:30px}.error-surface h2{font-size:20px;margin-bottom:10px}.error-surface p{margin-bottom:20px}
.service-filter{display:flex;justify-content:space-between;gap:15px;margin-bottom:16px}.service-filter select{max-width:240px;font-size:12px;min-height:36px;height:36px}.service-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portal-service{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:22px;display:flex;align-items:flex-start;flex-direction:column;min-width:0}.service-card-icon{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);border-radius:6px;width:36px;height:36px;margin-bottom:15px}.service-category{font-size:10px;color:var(--muted);margin-bottom:8px}.portal-service h3{font-size:17px;margin-bottom:10px}.portal-service p{font-size:12px;line-height:1.8;margin-bottom:20px;flex:1}.portal-service .button{font-size:12px}.client-cell{display:flex;align-items:center;gap:10px}.client-cell .avatar{width:30px;height:30px;font-size:10px}.client-toggle{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:4px;font-size:11px;padding:5px 9px}.profile-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.profile-layout .surface-body{padding-top:8px}.profile-intro{display:flex;align-items:center;gap:14px;margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-intro .avatar{width:45px;height:45px;font-size:16px}.profile-intro h3{font-size:16px;margin-bottom:5px}.profile-intro p{font-size:11px}.profile-layout .quick-note{margin-bottom:22px}.message-list{display:grid}.conversation-row{display:flex;align-items:center;gap:14px;text-align:left;border:0;border-bottom:1px solid var(--line);background:var(--white);color:var(--muted);padding:17px;width:100%}.conversation-row:hover{background:var(--soft)}.conversation-row>div{flex:1;min-width:0}.conversation-row h3{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-row p{font-size:11px;margin-top:5px}.conversation-row .badge{margin-left:auto}
.panel-dialog{border:1px solid var(--line);background:var(--white);color:var(--muted);border-radius:8px;padding:26px;width:min(590px,calc(100% - 30px));max-height:calc(100svh - 50px);overflow:auto;box-shadow:0 15px 70px #0003}.panel-dialog::backdrop{background:#0f172a80;backdrop-filter:blur(2px)}.dialog-open{overflow:hidden}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.dialog-heading h2{font-size:22px;line-height:1.4}.dialog-heading .icon-button{flex-shrink:0}.dialog-intro{font-size:13px;line-height:1.8;margin-bottom:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.dialog-actions .button{font-size:13px;padding:8px 14px;min-height:36px}.panel-dialog label{font-size:13px}.detail-dialog{width:min(760px,calc(100% - 30px))}.detail-title{font-size:24px;margin-bottom:13px;overflow-wrap:anywhere}.detail-badges{display:flex;gap:12px;align-items:center;margin-bottom:18px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:18px;margin-bottom:22px}.detail-meta small{display:block;font-size:10px;margin-bottom:5px}.detail-meta strong,.detail-meta a{font-size:12px;font-weight:500;color:var(--ink);overflow-wrap:anywhere}.detail-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;margin-bottom:22px}.request-update-form{padding:17px;background:var(--soft);border:1px solid var(--line);border-radius:6px;margin-bottom:25px}.request-update-form .form-columns{grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}.request-update-form label{margin-bottom:0;font-size:12px}.conversation-heading{font-size:17px;margin-bottom:16px}.message-thread{display:flex;flex-direction:column;gap:15px;margin:18px 0 24px}.message-bubble{max-width:90%;align-self:flex-start;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:13px 15px}.message-bubble.mine{align-self:flex-end;background:var(--blue-soft)}.message-bubble>div{display:flex;justify-content:space-between;gap:20px;font-size:10px;margin-bottom:7px}.message-bubble strong{color:var(--ink)}.message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.message-empty{font-size:12px;background:var(--soft);padding:14px;border-radius:5px}.compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.compose-footer>span{font-size:10px}.compose-footer .button{font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:2000;padding:12px 20px;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#fff;box-shadow:0 8px 25px #0002;font-size:13px;max-width:calc(100% - 32px);text-align:center}.toast.error{background:#b91c1c}.mobile-scrim{position:fixed;inset:0;z-index:90;background:#0f172a80}.search-shortcuts{font-size:12px;font-weight:600;color:var(--ink);margin:24px 0 12px}.search-links{display:flex;gap:8px;flex-wrap:wrap}
html[data-theme=dark] .panel-nav button.active{background:#b5c1d3;color:#182334}html[data-theme=dark] .erp-live,html[data-theme=dark] .metric-top>span:last-child{background:#12352e;color:#3bb89c}html[data-theme=dark] .avatar{background:#193c35;color:#72c8b7;border-color:#28564b}html[data-theme=dark] .auth-card .portal-logo,html[data-theme=dark] .sidebar-brand .portal-logo{background:#fff}html[data-theme=dark] .badge{filter:saturate(.8);opacity:.94}
@media(min-width:1536px){.erp-dashboard-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.erp-dashboard-primary>.erp-top-grid{display:flex;flex-direction:column;gap:12px;margin:0}.erp-dashboard-primary>.erp-analytics{display:contents}.erp-metrics{grid-template-columns:1fr 1fr;flex:1}.erp-metric{min-height:130px}.erp-total{min-height:132px}}
@media(min-width:992px){.sidebar-mini .sidebar{width:64px}.sidebar-mini .panel-shell{margin-left:88px}.sidebar-mini .sidebar-brand{padding-inline:9px;justify-content:center}.sidebar-mini .sidebar-brand .portal-logo,.sidebar-mini .nav-caption,.sidebar-mini .nav-text,.sidebar-mini .nav-arrow,.sidebar-mini .nav-count,.sidebar-mini .dashboard-subnav,.sidebar-mini .sidebar-support,.sidebar-mini .sidebar-account{display:none}.sidebar-mini .sidebar-scroll{padding-inline:9px;padding-top:18px}.sidebar-mini .panel-nav{margin-bottom:20px}.sidebar-mini .panel-nav button,.sidebar-mini .panel-nav>a{justify-content:center;padding:10px}.sidebar-mini .sidebar-collapse svg{transform:rotate(180deg)}}
@media(max-width:1199px){.service-card-grid{grid-template-columns:1fr 1fr}.erp-donut-layout{gap:15px;flex-wrap:wrap}.erp-donut{width:140px;height:140px}.erp-legend{min-width:120px}.erp-quick-action{align-items:flex-start}.erp-quick-action .button{font-size:10px}.surface-heading h2{font-size:17px}.profile-layout{grid-template-columns:1fr}}
@media(max-width:991px){.sidebar{transform:translateX(-110%);visibility:hidden;width:240px}.sidebar.is-open{transform:translateX(0);visibility:visible}.panel-shell{margin-left:0;padding:12px 12px 0}.menu-toggle{display:inline-grid}.sidebar-collapse{display:none}.workspace-header{gap:10px}.service-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-support{margin-top:22px}.erp-donut-layout{flex-wrap:nowrap}.erp-donut{width:130px;height:130px}.erp-legend{min-width:0}.erp-donut-layout{gap:14px}.erp-legend>div{font-size:11px}.erp-mini-stats span{font-size:10px}}
@media(max-width:767px){.panel-shell{padding:10px 10px 0}.workspace-header{top:10px;padding:9px 10px;min-height:56px}.header-left,.header-right{gap:6px}.workspace-company{padding:5px 7px;gap:7px}.workspace-company>span:not(.company-mark){display:none}.workspace-company{border:0;box-shadow:none}.header-divider{display:none}.header-right .icon-button{width:29px;height:29px;padding:5px}.header-right .desktop-tool{display:none}.header-avatar{width:29px;height:29px;font-size:10px}.header-left .menu-toggle{width:29px;height:29px}.page-heading{align-items:flex-start;gap:15px;margin-bottom:20px}.page-heading h1{font-size:19px;line-height:27px}.page-heading p{font-size:12px;line-height:1.7;max-width:300px}.heading-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}.heading-actions .button{font-size:10px;padding:5px 8px;min-height:29px}.heading-actions .button svg{width:12px;height:12px}.heading-actions .icon-button{display:none}.erp-top-grid{gap:10px;margin-bottom:10px}.erp-total{padding:15px;min-height:130px}.erp-total h2{font-size:15px}.erp-metrics{gap:10px}.erp-metric{padding:15px;min-height:123px}.erp-metric>strong{font-size:23px}.erp-analytics{grid-template-columns:1fr;gap:10px;margin-bottom:10px}.erp-donut-layout{justify-content:space-around;gap:25px}.erp-donut{width:150px;height:150px}.erp-legend{max-width:240px}.erp-legend>div{font-size:12px}.erp-quick-action .button{font-size:11px}.surface-heading{padding:15px}.surface-body{padding:0 15px 15px}.surface-heading h2{font-size:17px}.erp-bar-chart{height:135px}.erp-recent .table-wrap table{min-width:650px}.workspace-footer{font-size:10px;align-items:flex-start;gap:12px;padding-bottom:18px}.workspace-footer [data-today]{text-align:right}.service-card-grid{grid-template-columns:1fr}.service-filter{flex-direction:column;gap:10px}.service-filter select,.service-filter .search-field{max-width:none;width:100%}.search-field{min-width:0}.filters-bar{padding:13px;gap:9px}.filter-select{width:120px;font-size:11px}.search-field input{font-size:11px}.pagination{font-size:10px;gap:10px;padding:12px}.pagination>div{gap:7px}.pagination .button{font-size:10px}.profile-layout{gap:12px}.form-columns{gap:12px}.conversation-row{padding:14px;gap:10px}.conversation-row h3{font-size:13px;max-width:190px}.conversation-row p{font-size:10px}.conversation-row .avatar{width:30px;height:30px;font-size:10px}.conversation-row .badge{font-size:9px}.conversation-row>span:last-child:not(.badge){display:none}.panel-dialog{padding:22px;width:calc(100% - 24px);max-height:calc(100svh - 24px)}.detail-title{font-size:22px}.detail-meta{padding:15px;gap:15px}.detail-meta strong,.detail-meta a{font-size:11px}.request-update-form .form-columns{grid-template-columns:1fr 1fr}.request-update-form .button{grid-column:1/-1;width:max-content}.dialog-actions .button{font-size:12px}.message-bubble{max-width:95%}.compose-footer>span{font-size:9px;max-width:180px}.auth-layout{padding:65px 16px 25px}.auth-card{padding:27px 24px}.auth-heading h1{font-size:20px}.auth-card input{font-size:14px}.auth-theme{top:15px;right:16px}.auth-copyright{font-size:11px}.empty-state{padding:30px 18px}.empty-state p{font-size:12px}.empty-state h3{font-size:16px}#workspace{padding-top:22px}.sidebar-brand .portal-logo{width:160px}.account-menu{top:40px}}
@media(max-width:380px){.heading-actions{max-width:95px}.page-heading h1{font-size:18px}.page-heading p{max-width:210px}.erp-donut-layout{gap:16px}.erp-donut{width:126px;height:126px}.erp-donut:before{inset:20px}.erp-legend>div{font-size:11px}.erp-metric{padding:13px}.metric-top>span:last-child{font-size:9px;padding:2px 5px}.metric-icon{width:32px;height:32px}.conversation-row .badge{display:none}.profile-layout .form-columns{grid-template-columns:1fr}.auth-card{padding:25px 20px}.auth-options a{font-size:13px}.password-label a{font-size:12px}.auth-heading p{font-size:13px}.sidebar{width:235px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Light transparency affects the login card background, not its text or controls. */
.auth-login .auth-card{background:rgba(255,255,255,.90);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}html[data-theme=dark] .auth-login .auth-card{background:rgba(26,26,26,.90)}

/* Keep the full campus backdrop and center the compact form above its sign. */
.auth-page.auth-login:before{position:fixed;inset:0;background-image:linear-gradient(110deg,#06172b38,#06172b16),url('img/wizotork-campus.png?v=2');background-size:cover;background-position:center;background-repeat:no-repeat}
.auth-login .auth-layout{align-items:center;justify-content:flex-start;padding:max(24px,calc(50svh - 370px)) 20px 60px;min-height:100svh;gap:20px}
.auth-login .auth-card{max-width:448px;flex-shrink:0}
.auth-login .auth-heading{margin-bottom:24px}
.auth-login .auth-heading h1{margin:0;font-size:22px;line-height:30px}
.auth-login .auth-copyright{position:absolute;bottom:18px;right:auto;width:auto;text-align:center}
@media(max-width:767px){.auth-login .auth-layout{padding:max(20px,calc(50svh - 370px)) 16px 55px}.auth-login .auth-card{padding:24px}.auth-login .auth-heading{margin-bottom:20px}.auth-login .auth-heading h1{font-size:21px}}
