/* ADFIQ CasaOS: shared surfaces, readable type and predictable interaction. */
body.work-mode{--sidebar:244px;--work-bg:#0c2536;--work-surface:rgba(17,35,51,.96);--work-soft:rgba(29,49,67,.96);--work-border:rgba(174,205,228,.15);--work-text:#eef5fc;--work-muted:#b6c8d9;--work-accent:#8ac5ff;--work-hover:rgba(90,157,222,.16);--work-shadow:0 8px 26px #06182712;--text:var(--work-text);--muted:var(--work-muted);--soft:var(--work-muted);--line:var(--work-border);--line2:var(--work-border);--panel:var(--work-surface);--panel2:var(--work-soft);--field:var(--work-soft);--blue:#79baff;--gold:#eabf68;--green:#69d1a5;--red:#ff9eaa;color:var(--work-text);font-size:14px;line-height:1.6;letter-spacing:0;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
html[data-theme=light] body.work-mode{--work-surface:rgba(255,255,255,.96);--work-soft:#f3f6fa;--work-border:#dce5ee;--work-text:#22394f;--work-muted:#52697e;--work-accent:#2165ad;--work-hover:#e7f1ff;--blue:#246bb4;--green:#17764f;--red:#b73750;--gold:#8e6413}
body.work-mode:before{background:linear-gradient(155deg,#071c334d,#071d345c);backdrop-filter:blur(2px)}html[data-theme=light] body.work-mode:before{background:linear-gradient(155deg,#e7f0f622,#b5d1df44)}
.work-mode .app-shell{padding:0 28px 24px 272px!important}.work-mode .main-panel{width:100%;max-width:1600px!important;min-width:0;gap:0!important;margin:auto!important}.work-mode .content-area{padding:24px 0!important;min-width:0}.work-mode .ambient-bg{display:none}
.work-mode .sidebar{width:244px!important;min-width:244px!important;max-width:244px!important;height:100dvh;display:flex;flex-direction:column;gap:0;padding:24px 14px 12px;border-right:1px solid var(--work-border);background:var(--work-surface);backdrop-filter:blur(20px);box-shadow:none;z-index:80}.work-mode .brand-box{padding:0 10px 22px;gap:11px}.work-mode .brand-mark{height:40px;width:40px;min-width:40px;background:var(--work-soft);border:1px solid var(--work-border)}.work-mode .brand-text h2{font-size:20px;letter-spacing:-.4px;font-weight:700;margin:0}.work-mode .brand-text p{font-size:11px;line-height:1.4;margin:2px 0 0;color:var(--work-muted)}.work-mode .sidebar-search{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--work-border);background:var(--work-soft);border-radius:10px;margin:0 6px 12px;color:var(--work-muted)}.work-mode .sidebar-search input{min-width:0;width:100%;padding:10px 0;border:0;background:transparent;font-size:12px;box-shadow:none;min-height:40px}.work-mode .sidebar-search>span{font-size:20px}.work-mode .nav-menu{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 4px!important;scrollbar-width:thin}.work-mode .nav-label{font-size:10px;letter-spacing:.09em;margin:20px 10px 8px;font-weight:650;color:var(--work-muted)}.work-mode .nav-link{min-height:42px;padding:10px 11px;gap:10px;margin:3px 0;border-radius:10px;line-height:1.4;font-size:12px;font-weight:500;color:var(--work-text);border:1px solid transparent}.work-mode .nav-link.active{background:var(--work-hover);color:var(--work-accent);border-color:var(--work-border);font-weight:650}.work-mode .nav-link:hover{background:var(--work-hover);color:var(--work-accent)}.work-mode .nav-icon,.work-mode .nav-icon svg{width:19px;height:19px;min-width:19px}.work-mode .sidebar-footer{flex-shrink:0;margin:12px 4px 0;padding-top:12px;border-top:1px solid var(--work-border)}.work-mode .mini-profile{padding:10px;gap:10px;background:var(--work-soft);border:1px solid var(--work-border);border-radius:10px;margin-bottom:6px}.work-mode .mini-profile strong{font-size:12px;font-weight:600}.work-mode .mini-profile span{font-size:10px;color:var(--work-muted)}.work-mode .logout-link{font-size:11px;padding:7px}.work-mode .avatar-small{width:34px;height:34px;min-width:34px;font-size:12px;border-radius:10px}.work-mode .sidebar-overlay.show{backdrop-filter:blur(3px);background:#061a2b80}
.work-mode .topbar{height:72px;min-height:72px;padding:0 20px!important;position:sticky;top:0;z-index:40;background:var(--work-surface);backdrop-filter:blur(20px);border:1px solid var(--work-border);border-top:0;border-radius:0 0 16px 16px;box-shadow:0 4px 18px #06172508;gap:12px!important}.work-mode .topbar-left{gap:12px}.work-mode .title-stack h1{font-size:18px;line-height:1.3;font-weight:650;letter-spacing:-.3px;max-width:min(39vw,500px)}.work-mode .title-stack .eyebrow{display:none}.work-mode .work-top-actions{gap:8px}.work-mode .work-search-trigger{height:40px;min-height:40px;min-width:225px;max-width:300px;font-size:12px;background:var(--work-soft);border-color:var(--work-border);border-radius:10px;padding:0 12px;color:var(--work-muted)}.work-mode .work-search-trigger svg{width:17px;height:17px;flex-shrink:0}.work-mode .work-search-trigger span{white-space:nowrap}.work-mode kbd{font-size:10px;background:var(--work-surface);color:var(--work-muted);padding:2px 5px}.ed-appearance summary{font-size:12px;min-height:40px;display:flex;align-items:center;padding:9px 13px;background:var(--work-soft)}.ed-appearance>div{background:var(--work-surface);min-width:190px;top:47px;justify-content:center;border-radius:12px}.ed-appearance>div>label{color:var(--work-muted);font-size:11px}.work-mode .casa-control{width:40px;min-width:40px;height:40px;border:1px solid var(--work-border);background:var(--work-soft);color:var(--work-text)}
.work-mode :is(.btn,button,input,select,textarea){font-family:inherit;letter-spacing:0}.work-mode .btn{font-size:12px;font-weight:600;line-height:1.4;border-radius:9px;min-height:40px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;box-shadow:none;text-shadow:none;white-space:normal;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.work-mode .btn.primary{background:#2b72bd;border:1px solid #2b72bd;color:#fff}.work-mode .btn.primary:hover{background:#235f9e;border-color:#235f9e}.work-mode :is(.btn.secondary,.btn.gold){background:var(--work-soft);border:1px solid var(--work-border);color:var(--work-text)}.work-mode :is(.btn.secondary,.btn.gold):hover{border-color:var(--work-accent);color:var(--work-accent);background:var(--work-hover)}.work-mode .btn.danger{background:transparent;color:var(--red);border:1px solid var(--work-border)}.work-mode .btn.small{font-size:11px;padding:7px 10px;min-height:34px;border-radius:8px}.work-mode :is(button:disabled,.btn[aria-disabled=true]){opacity:.5;cursor:not-allowed}.work-mode label{color:var(--work-text);font-size:12px;font-weight:500;line-height:1.5}.work-mode :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border:1px solid var(--work-border);border-radius:9px;background:var(--work-soft);color:var(--work-text);font-size:13px;font-weight:400;line-height:1.5;padding:11px 12px;min-height:42px;max-width:100%;box-shadow:none}.work-mode :is(input,textarea)::placeholder{color:var(--work-muted);opacity:.8}.work-mode input[type=checkbox],.work-mode input[type=radio]{width:17px;height:17px;min-height:17px;accent-color:#2b72bd;flex-shrink:0}.work-mode select{cursor:pointer}.work-mode :is(input,select,textarea):focus{border-color:var(--work-accent)}.work-mode :focus-visible{outline:3px solid var(--work-accent);outline-offset:3px}.work-mode .form-group{gap:7px}.work-mode .form-group>label{font-size:12px;font-weight:600}.work-mode .form-group small{font-size:11px;line-height:1.6;color:var(--work-muted)}.work-mode .form-grid{gap:18px 20px}.work-mode .form-section{padding:24px;border-radius:14px}.work-mode .form-section h3{font-size:16px;font-weight:650;margin-bottom:18px}.work-mode .form-actions{gap:10px;padding-top:18px;margin-top:20px;border-top:1px solid var(--work-border)}.work-mode .work-stepper{padding:6px;gap:5px;scroll-margin-top:85px;border-radius:12px}.work-mode .work-stepper button{font-size:12px;min-height:42px}.work-mode .work-form-help{font-size:12px;line-height:1.7}.work-mode .work-wizard-actions{background:var(--work-surface);padding:14px;border:1px solid var(--work-border);border-radius:12px}.work-mode .work-step-progress{font-size:11px}.work-mode .alert{border-radius:10px;font-size:13px;padding:14px 16px;line-height:1.7;border:1px solid var(--work-border);box-shadow:none;overflow-wrap:anywhere}
.work-mode :is(.card,.detail-card,.ed-card,.table-card,.modern-table-card,.work-panel,.data-toolbar,.data-summary-card,.smart-filter,.action-panel,.detail-section-card,.detail-profile-card,.detail-status-card){background:var(--work-surface);border:1px solid var(--work-border);border-radius:14px;box-shadow:var(--work-shadow);color:var(--work-text);backdrop-filter:blur(14px)}.work-mode :is(.page-head,.ed-heading){background:transparent;border:0;box-shadow:none;padding:3px 0 20px;margin:0;backdrop-filter:none}.work-mode :is(.page-head h2,.ed-heading h2){font-size:26px;font-weight:650;line-height:1.25;letter-spacing:-.65px;margin:0 0 9px;color:#fff;text-shadow:0 1px 5px #00182a50}.work-mode :is(.page-head p,.ed-heading p){font-size:13px;line-height:1.7;color:#f0f5fa;max-width:850px;text-shadow:0 1px 4px #00182a60;margin:0}.work-mode .ed-card{padding:22px;margin-bottom:18px}.work-mode .ed-card h3{font-size:16px;font-weight:650;letter-spacing:-.2px}.work-mode .ed-card :is(p,li){font-size:13px;line-height:1.8}.work-mode .ed-card small{font-size:11px}.work-mode .ed-toolbar{gap:10px;margin-bottom:18px}.work-mode .content-area>.ed-toolbar{padding:15px;background:var(--work-surface);border:1px solid var(--work-border);border-radius:12px}.work-mode .ed-tabs,.work-mode .ed-subnav{gap:5px;border-radius:12px;padding:6px;margin-bottom:10px;background:var(--work-surface);border-color:var(--work-border)}.work-mode .ed-tabs a,.work-mode .ed-subnav a{font-size:12px;font-weight:500;padding:10px 13px;line-height:1.4;min-height:38px;display:flex;align-items:center}.work-mode .ed-subnav{margin-bottom:24px}.work-mode .ed-grid{gap:18px}.work-mode .ed-checks label{padding:12px;font-size:12px;background:var(--work-soft)}.work-mode .ed-form{gap:18px}.work-mode .ed-form legend{font-size:12px;font-weight:600}.work-mode .ed-card>summary{font-size:14px;min-height:25px;line-height:1.6}.work-mode .ea-target{background:var(--work-soft);padding:18px}.work-mode .ea-target>strong{font-size:14px}
.work-mode :is(.ed-table,.table-responsive){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.work-mode :is(table,.data-table){font-size:12px;color:var(--work-text);border-collapse:collapse;line-height:1.55;width:100%}.work-mode :is(thead th,.data-table thead th,.ed-table th){font-size:10px;letter-spacing:.05em;font-weight:650;color:var(--work-muted)!important;background:var(--work-soft)!important;padding:13px 14px;border-bottom:1px solid var(--work-border);white-space:nowrap}.work-mode :is(td,.data-table td,.ed-table td){font-size:12px;color:var(--work-text)!important;padding:14px;border-bottom:1px solid var(--work-border);vertical-align:middle;background:transparent;font-weight:400}.work-mode :is(tbody tr,.data-table tbody tr){background:transparent}.work-mode tbody tr:hover{background:var(--work-hover)}.work-mode tbody tr:last-child td{border-bottom:0}.work-mode :is(.ed-table td strong,.entity-main strong){font-size:13px;font-weight:600;line-height:1.5}.work-mode :is(.ed-table td small,.entity-main small,.mini-meta small){font-size:11px;color:var(--work-muted);line-height:1.5;display:block;margin-top:4px}.work-mode .ed-table td .ed-toolbar{min-width:140px;gap:6px;margin:0}.work-mode .entity-avatar{width:40px;height:40px;min-width:40px;border-radius:11px;font-size:13px;background:var(--work-hover);color:var(--work-accent)}.work-mode .table-actions{gap:6px;max-width:280px;flex-wrap:wrap}.work-mode :is(.badge,.ed-status){font-size:10px;font-weight:600;line-height:1.4;border-radius:6px;padding:5px 8px}.work-mode .badge.success{color:var(--green);background:#52b88b18}.work-mode .badge.danger{color:var(--red);background:#ed6e7d18}.work-mode .badge.warning{color:var(--gold);background:#e7b35718}.work-mode .badge.neutral{color:var(--work-muted);background:var(--work-soft)}.work-mode .data-toolbar{padding:22px;margin-bottom:0;gap:18px}.work-mode .data-toolbar-title h2{font-size:23px;letter-spacing:-.5px;margin-bottom:8px}.work-mode .data-toolbar-title p{font-size:12px;line-height:1.7;max-width:650px}.work-mode .data-toolbar-actions{gap:8px}.work-mode .data-page-stack{gap:18px}.work-mode .data-summary-grid{gap:12px}.work-mode .data-summary-card{padding:16px}.work-mode .data-summary-card strong{font-size:22px;letter-spacing:-.4px}.work-mode .data-summary-card span{font-size:11px}.work-mode .data-summary-card .summary-icon{display:none}.work-mode .modern-table-head{padding:20px 22px;border-bottom:1px solid var(--work-border)}.work-mode .modern-table-head h3{font-size:16px;margin:0 0 5px}.work-mode .modern-table-head p{font-size:12px;line-height:1.7}.work-mode .smart-filter{padding:18px 22px}.work-mode .smart-filter>summary{font-size:13px;font-weight:600;cursor:pointer;color:var(--work-text);list-style-position:inside}.work-mode .smart-filter[open]>summary{margin-bottom:18px}.work-mode .smart-filter-title{display:none}.work-mode .filter-field label{font-size:11px;font-weight:600}.work-mode .filter-field input,.work-mode .filter-field select{font-size:12px}.work-mode .empty-state,.work-mode .empty-modern,.work-mode .work-empty{color:var(--work-muted);font-size:13px;padding:24px;line-height:1.8}.work-mode .detail-section-grid{gap:18px}.work-mode .detail-section-card{padding:22px}.work-mode .detail-section-card h3{font-size:17px;font-weight:650}.work-mode .detail-item{background:var(--work-soft);border-color:var(--work-border);border-radius:10px}.work-mode .detail-label{font-size:11px!important;color:var(--work-muted)!important}.work-mode .detail-value{font-size:13px!important;line-height:1.6;overflow-wrap:anywhere}.work-mode .detail-profile-main h2{font-size:26px!important;letter-spacing:-.65px}.work-mode .detail-profile-main p{font-size:12px}.work-mode .work-dialog{border-color:var(--work-border);background:var(--work-surface);color:var(--work-text)}
/* CasaOS desktop: one launcher, a short overview, and clear next actions. */
.work-mode .work-hero{padding:26px;margin:0 0 20px;background:var(--work-surface);border:1px solid var(--work-border);border-radius:18px;box-shadow:var(--work-shadow);gap:20px}.work-mode .work-eyebrow{font-size:10px;font-weight:650;letter-spacing:.1em}.work-mode .work-hero h2{font-size:28px;font-weight:650;letter-spacing:-.75px;line-height:1.3;margin:8px 0;color:var(--work-text)}.work-mode .work-hero p{font-size:13px}.work-mode .work-hero-meta{font-size:11px;gap:12px;margin-top:14px}.work-mode .work-focus{min-width:160px}.work-mode .work-focus label{font-size:11px}.work-mode .work-focus select{font-size:12px}.work-mode .work-metrics{gap:0;padding:18px;border-radius:14px;margin:0 0 20px}.work-mode .work-metric{padding:4px 18px;border:0;border-right:1px solid var(--work-border)}.work-mode .work-metric:last-child{border:0}.work-mode .work-metric>span{font-size:12px}.work-mode .work-metric strong{font-size:26px;font-weight:650;letter-spacing:-.6px;line-height:1.4}.work-mode .work-metric small{font-size:10px;line-height:1.6}.work-mode .work-apps-section{padding:24px;background:var(--work-surface);border:1px solid var(--work-border);border-radius:18px;margin:0 0 20px;box-shadow:var(--work-shadow)}.work-mode .work-apps-section>.work-section-heading{background:transparent;border:0;border-radius:0;padding:0;margin-bottom:12px;backdrop-filter:none}.work-mode .work-section-heading h2{font-size:17px;font-weight:650;letter-spacing:-.3px}.work-mode .work-section-heading p{font-size:12px;margin-top:5px}.work-mode .work-app-filter{max-width:210px}.work-mode .work-app-filter input{font-size:12px;min-height:38px;width:100%}.work-mode .work-apps{grid-template-columns:repeat(6,minmax(0,1fr));background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:0;gap:8px}.work-mode .work-app{border:1px solid transparent!important;box-shadow:none;background:transparent!important;padding:19px 6px 16px;gap:13px;min-height:145px;border-radius:14px;transition:background .15s,transform .15s}.work-mode .work-app:hover{background:var(--work-hover)!important;border-color:var(--work-border)!important;transform:translateY(-2px)}.work-mode .work-app .casa-app-icon{height:64px;width:64px;min-width:64px;border-radius:18px;box-shadow:inset 0 1px 1px #fff6,0 7px 14px #08263826}.work-mode .work-app .casa-app-icon svg{width:31px;height:31px}.work-mode .work-app strong{font-size:12px;font-weight:600;line-height:1.4}.work-mode .work-app small{font-size:10px;line-height:1.5;max-width:155px;margin:5px auto 0}.work-mode .work-two-columns{gap:18px;margin:0 0 20px}.work-mode .work-panel{padding:24px}.work-mode .work-panel .work-section-heading{padding:0;margin-bottom:10px}.work-mode .work-task-list>a{gap:12px;padding:15px 0}.work-mode .work-task-list strong{font-size:13px;font-weight:550}.work-mode .work-task-list small{font-size:11px;line-height:1.7;margin-top:5px}.work-mode .work-task-icon{background:var(--work-hover);width:38px;height:38px;min-width:38px;border-radius:10px;display:grid;place-items:center}.work-mode .work-task-icon svg{width:20px;height:20px}.work-mode .work-activity strong{font-size:12px;font-weight:500;line-height:1.7}.work-mode .work-activity small{font-size:10px;line-height:1.6}.work-mode .work-guide p{font-size:13px;line-height:1.8}.work-mode .work-footer-note{font-size:10px;background:transparent;box-shadow:none;color:#eef4fa;text-shadow:0 1px 4px #07233580;padding:10px;margin:0;text-align:center}.front-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.front-actions a{background:var(--work-surface)!important}.front-table-hint{font-size:10px;color:var(--work-muted);display:block;padding:8px 12px;text-align:right}.front-table-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 0 12px;flex-wrap:wrap}.front-table-tools label{font-size:11px}.front-table-tools input{font-size:12px;min-height:36px;max-width:230px}.front-count{font-size:11px;color:var(--work-muted)}.work-mode summary{touch-action:manipulation}.work-mode button{touch-action:manipulation}.work-mode .front-empty{margin:0;padding:20px;text-align:center;font-size:12px;color:var(--work-muted)}
@media(min-width:1600px){.work-mode .app-shell{padding-right:40px!important;padding-left:284px!important}}
@media(max-width:1250px){.work-mode .work-apps{grid-template-columns:repeat(4,minmax(0,1fr))}.work-mode .ed-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.work-mode .topbar{padding:0 16px!important}.work-mode .work-search-trigger{min-width:190px}.work-mode .work-search-trigger kbd{display:none}.work-mode .smart-filter-grid.cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.work-mode .app-shell{padding:0 20px 20px!important}.work-mode .sidebar{transform:translateX(-100%)}.work-mode .sidebar.show{transform:translateX(0)}.work-mode .hamburger{display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border:1px solid var(--work-border);border-radius:10px;background:var(--work-soft);color:var(--work-text);font-size:20px;padding:0}.work-mode .work-two-columns{grid-template-columns:1fr 1fr}.work-mode .work-apps{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:1101px){.work-mode .hamburger{display:none}.work-mode .sidebar{transform:none!important}.work-mode .sidebar-overlay{display:none!important}}
@media(max-width:800px){.work-mode .work-apps{grid-template-columns:repeat(4,minmax(0,1fr))}.work-mode .work-two-columns{grid-template-columns:1fr}.work-mode .work-hero{padding:22px;align-items:flex-start}.work-mode .work-hero h2{font-size:25px}.work-mode .work-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.work-mode .work-metric{padding:12px;border:0;min-width:0}.work-mode .work-metric:nth-child(odd){border-right:1px solid var(--work-border)}.work-mode .work-metric:nth-child(-n+2){border-bottom:1px solid var(--work-border)}.work-mode .work-metric strong{font-size:23px}.work-mode .work-metric small{font-size:10px}.work-mode .ed-grid.three{grid-template-columns:1fr 1fr}.work-mode .work-search-trigger{min-width:0;width:40px;max-width:40px;padding:0;justify-content:center}.work-mode .work-search-trigger :is(span,kbd){display:none}.work-mode .title-stack h1{max-width:45vw;font-size:17px}.work-mode .form-grid.three,.work-mode .form-grid.four{grid-template-columns:1fr 1fr}.work-mode .smart-filter-grid.cols-6{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.work-mode .app-shell{padding:0 12px 16px!important}.work-mode .content-area{padding:18px 0!important}.work-mode .topbar{height:64px;min-height:64px;padding:0 10px!important;gap:8px!important;border-radius:0 0 12px 12px}.work-mode .topbar-left{gap:8px}.work-mode .title-stack h1{font-size:15px;max-width:43vw;white-space:nowrap}.work-mode .work-top-actions{gap:5px}.work-mode .work-search-trigger{width:34px;max-width:34px;height:36px;min-height:36px}.ed-appearance summary{min-height:36px;height:36px;padding:8px;font-size:10px}.work-mode .hamburger{width:34px;height:36px;min-width:34px}.work-mode .work-hero{padding:20px;flex-direction:column;gap:16px;margin-bottom:16px;border-radius:15px}.work-mode .work-hero h2{font-size:24px;letter-spacing:-.5px}.work-mode .work-hero p{font-size:12px}.work-mode .work-hero-meta{font-size:10px;margin-top:12px}.work-mode .work-focus{display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0;padding-top:14px;border-top:1px solid var(--work-border);gap:10px}.work-mode .work-focus label{font-size:11px;white-space:nowrap}.work-mode .work-focus select{min-height:38px;font-size:11px;max-width:65%;padding:8px}.work-mode .work-metrics{margin-bottom:16px}.work-mode .work-metric>span{font-size:11px}.work-mode .work-apps-section{padding:18px 12px;margin-bottom:16px;border-radius:15px}.work-mode .work-apps-section>.work-section-heading{padding:0 5px;gap:12px;align-items:center}.work-mode .work-section-heading h2{font-size:16px}.work-mode .work-section-heading p{font-size:11px}.work-mode .work-apps-section .work-section-heading p{display:none}.work-mode .work-app-filter{width:135px}.work-mode .work-app-filter input{padding:8px 9px;font-size:11px;min-height:36px}.work-mode .work-apps{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.work-mode .work-app{padding:15px 3px;gap:11px;min-height:132px}.work-mode .work-app .casa-app-icon{width:56px;height:56px;min-width:56px;border-radius:16px}.work-mode .work-app .casa-app-icon svg{width:28px;height:28px}.work-mode .work-app strong{font-size:11px}.work-mode .work-app small{font-size:9px;line-height:1.45;max-width:100px}.front-actions{gap:6px;margin-bottom:16px}.front-actions .btn{font-size:11px;min-height:36px;padding:8px 11px}.work-mode .work-panel{padding:18px}.work-mode .work-two-columns{gap:16px;margin-bottom:16px}.work-mode :is(.page-head h2,.ed-heading h2){font-size:23px}.work-mode :is(.page-head p,.ed-heading p){font-size:12px}.work-mode :is(.page-head,.ed-heading){padding-bottom:18px}.work-mode .ed-card{padding:17px;border-radius:12px}.work-mode .ed-card :is(p,li){font-size:12px}.work-mode .ed-grid.two,.work-mode .ed-grid.three{grid-template-columns:1fr;gap:0}.work-mode .ed-tabs,.work-mode .ed-subnav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.work-mode .ed-tabs a,.work-mode .ed-subnav a{white-space:nowrap;flex-shrink:0;font-size:11px;padding:9px 11px}.work-mode .ed-subnav{margin-bottom:18px}.work-mode .ed-toolbar{gap:9px}.work-mode .ed-toolbar>label{min-width:100px}.work-mode .content-area>.ed-toolbar{padding:12px}.work-mode .form-grid,.work-mode .form-grid.three,.work-mode .form-grid.four{grid-template-columns:1fr;gap:16px}.work-mode .form-section{padding:18px}.work-mode .work-stepper button{font-size:11px;min-width:100px;padding:9px 11px;flex:none}.work-mode .work-wizard-actions{gap:8px}.work-mode .work-step-progress{width:100%;margin:0}.work-mode .work-wizard-actions .btn{flex:1;font-size:12px}.work-mode .data-toolbar{padding:18px}.work-mode .data-toolbar-title h2{font-size:22px}.work-mode .data-toolbar-actions{gap:7px;justify-content:flex-start}.work-mode .data-toolbar-actions .btn{font-size:11px;min-height:36px;padding:8px 10px}.work-mode .data-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.work-mode .data-summary-card{padding:13px}.work-mode .data-summary-card strong{font-size:21px}.work-mode .smart-filter{padding:16px}.work-mode .smart-filter-grid.cols-6{grid-template-columns:1fr}.work-mode .modern-table-head{padding:17px}.work-mode :is(td,.data-table td,.ed-table td){padding:12px;font-size:12px}.work-mode .ed-checks{grid-template-columns:1fr}.front-table-hint{font-size:10px;padding:8px 4px}.work-mode .ed-table .front-table-tools{justify-content:stretch}.work-mode .ed-table .front-table-tools input{max-width:none;width:100%}.work-mode .detail-profile-card,.work-mode .detail-status-card,.work-mode .detail-section-card{padding:17px;border-radius:12px}.work-mode .detail-profile-main h2{font-size:23px!important}.work-mode .work-dialog{border-radius:14px;padding:20px}.work-mode .work-dialog h2{font-size:20px}.work-mode .work-command-actions strong{font-size:13px}.work-mode .work-command-actions small{font-size:11px}.work-mode .work-command-search input{font-size:14px}.work-mode .work-app-filter input[type=search]{font-size:11px}}
@media(prefers-reduced-motion:reduce){.work-mode *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.work-mode{--work-text:#111;--work-muted:#444;--work-surface:#fff;--work-soft:#fff;--work-border:#aaa;--work-accent:#111;color:#111!important;background:#fff!important}.work-mode .app-shell{padding:0!important}.work-mode .content-area{padding:0!important}.work-mode .sidebar,.work-mode .topbar,.front-actions,.front-table-tools,.front-table-hint{display:none!important}.work-mode :is(.card,.ed-card,.detail-card,.table-card,.detail-section-card,.page-head,.ed-heading){box-shadow:none!important;backdrop-filter:none!important;border-color:#aaa!important;background:#fff!important;color:#111!important}.work-mode :is(.page-head h2,.page-head p,.ed-heading h2,.ed-heading p){color:#111!important;text-shadow:none!important}.work-mode :is(td,th){color:#111!important;background:#fff!important}}
@media(max-width:1100px){body.front-menu-open{overflow:hidden}}
.work-mode .front-table-hint[hidden]{display:none!important}.work-mode .front-table-tools input[type=search]{font-size:12px;min-height:36px;padding:8px 11px}.work-mode .table-responsive[tabindex]:focus-visible,.work-mode .ed-table[tabindex]:focus-visible{outline-offset:-3px}.work-mode .sidebar-search input:focus-visible{outline-offset:0}.work-mode :is(.ed-table,.table-responsive) tr[hidden]{display:none!important}
.front-actions svg{width:17px;height:17px;min-width:17px}.work-mode .work-apps-section:has(.work-app:nth-child(-n+3):last-child) .work-apps{grid-template-columns:repeat(auto-fit,minmax(120px,180px))}
.work-mode .work-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.work-mode .work-metrics:has(.work-metric:only-child){grid-template-columns:1fr}
@media(max-width:560px){.work-mode .work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.work-mode .work-apps-section:has(.work-app:nth-child(-n+3):last-child) .work-apps{grid-template-columns:repeat(3,minmax(0,1fr))}}
.work-mode .work-login-card{border:1px solid var(--work-border);background:var(--work-surface);border-radius:20px;padding:34px;box-shadow:0 18px 70px #001a3433;backdrop-filter:blur(20px);color:var(--work-text)}.work-mode .work-login-card h1{font-size:27px;font-weight:650;line-height:1.3;letter-spacing:-.6px}.work-mode .work-login-card p{font-size:13px;line-height:1.7;color:var(--work-muted)}.work-mode .work-login-card label{font-size:12px;font-weight:600}.work-mode .work-login-card .btn{min-height:44px}.work-mode .work-login-card small{font-size:11px;line-height:1.6;color:var(--work-muted)}.work-mode .work-password input{padding-right:66px!important}.work-mode .work-password button{color:var(--work-accent);font-size:11px;min-width:54px;padding:8px;border-radius:7px}.work-mode .work-login-credit{color:#eef5fc;font-size:11px;text-shadow:0 1px 4px #00152970}
@media(max-width:560px){.work-mode .work-login-card{padding:25px 22px;border-radius:16px}.work-mode .work-login-card h1{font-size:25px}}
.work-mode .work-login-intro{padding:34px;border-radius:20px;background:#09253bb8;border:1px solid #ffffff25;backdrop-filter:blur(16px);color:#fff}.work-mode .work-login-intro :is(h1,p,strong,small,.work-eyebrow){color:#f1f6fc}.work-mode .work-login-intro h1{font-size:42px;line-height:1.18;letter-spacing:-1.3px;font-weight:650}.work-mode .work-login-intro p{font-size:14px;line-height:1.8;color:#dce9f5}.work-mode .work-login-card h2{font-size:26px;font-weight:650;letter-spacing:-.6px;line-height:1.35}.work-mode .casa-login-controls .casa-control{width:auto;min-width:60px;font-size:12px;padding:8px 12px}
@media(max-width:560px){.work-mode .work-login-intro{padding:20px 22px;border-radius:16px}.work-mode .work-login-card h2{font-size:24px}}
.work-mode :is(.card,.detail-card,.table-card,.form-section,.modern-table-card,.data-toolbar,.detail-section-card){min-width:0;max-width:100%}.work-mode .dashboard-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.work-mode .dashboard-grid-2>*{min-width:0}.work-mode .sidebar-search input#menuSearch{border:0!important;background:transparent!important;min-height:40px;padding:10px 0!important;border-radius:0;font-size:12px}.work-mode .topbar-left{flex:1;min-width:0}.work-mode .title-stack{min-width:0}.work-mode .title-stack h1{max-width:100%!important}.work-mode .data-toolbar-title{min-width:0}.work-mode .data-toolbar-actions{max-width:100%}
@media(max-width:1000px){.work-mode .dashboard-grid-2{grid-template-columns:minmax(0,1fr)}}
.work-mode .work-hero h2{overflow-wrap:anywhere}.work-mode .mini-profile>div:last-child{min-width:0}.work-mode .mini-profile strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-mode :is(.card h3,.ed-card h3,.data-toolbar-title h2){overflow-wrap:anywhere}
