:root{--bg:#fcfaf7;--paper:#fff;--ink:#2d3334;--muted:#899091;--line:#eceeea;--accent:#d77e3f;--accent-soft:#fff0df;--green:#458a74;--purple:#6d678d;--radius:18px;font-family:"Segoe UI","Malgun Gothic",-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #d3a375;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #f1c89e;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-1px}h2{font-size:17px;font-weight:650;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}small,.muted{color:var(--muted)}.icon{flex-shrink:0;vertical-align:middle}.initial-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}.initial-loading img{width:56px}.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;width:236px;border-right:1px solid var(--line);background:#fff;padding:32px 20px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand img{width:38px;height:38px}.brand strong{font-size:21px;font-weight:700;letter-spacing:-1px}.brand strong small{font-size:13px;letter-spacing:1px;color:#cfa67f;margin-left:5px}.brand p{font-size:10px;color:#a0a4a0;margin-top:3px;letter-spacing:.3px}.center-label{font-size:12px;color:#8c918c;padding:26px 11px 23px;display:flex;align-items:center;gap:7px}.center-dot{width:5px;height:5px;border-radius:50%;background:#c2ab8e}.nav-caption{font-size:10px;letter-spacing:1.5px;padding:0 14px 11px;color:#aaaead}.nav{display:flex;flex-direction:column;gap:5px}.nav a{height:45px;padding:0 14px;display:flex;align-items:center;gap:12px;border-radius:10px;color:#818988;font-size:13px;font-weight:500;transition:background .15s}.nav a:hover{background:#f8f7f4}.nav a.active{color:#ba723b;background:#fff0df;font-weight:650}.nav a.active .icon{stroke-width:2}.nav .nav-counter{font-size:10px;background:#ead9c3;color:#a27040;margin-left:auto;padding:2px 6px;border-radius:5px}.sidebar-spacer{flex:1;min-height:25px}.sidebar-foot{border:1px solid #eee6db;border-radius:12px;padding:13px;background:#fdfaf5;margin-top:24px}.sidebar-foot p{font-size:11px;color:#9b8976;line-height:1.8}.sidebar-foot strong{font-size:12px;font-weight:550;display:flex;align-items:center;gap:6px}.sidebar-foot .icon{width:15px;color:#b48f60}.user-row{display:flex;align-items:center;gap:9px;margin-top:19px;padding:0 6px}.user-row .user-name{font-size:12px;font-weight:600}.user-row small{display:block;font-size:10px;margin-top:3px}.user-row>button{margin-left:auto}.main-wrap{grid-column:2;min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumb{font-size:12px;color:#a1a4a1;display:flex;gap:11px;align-items:center}.breadcrumb strong{font-weight:500;color:#636d69}.breadcrumb .icon{width:11px}.top-tools{display:flex;align-items:center;gap:16px}.global-search{height:36px;display:flex;align-items:center;gap:8px;border-radius:8px;background:#f7f8f5;padding:0 11px;min-width:210px}.global-search .icon{width:15px;color:#9fa7a0}.global-search input{border:0;background:transparent;outline:none;width:160px;font-size:11px}.global-search kbd{font-size:10px;color:#aeb3ac;border:1px solid #dddeda;border-radius:4px;padding:1px 4px}.env-pill{display:flex;align-items:center;gap:6px;font-size:10px;border:1px solid #e8e9e4;border-radius:20px;padding:6px 9px;color:#90978d;white-space:nowrap}.env-pill i,.status-dot{width:5px;height:5px;background:#8aaa87;border-radius:50%;display:inline-block}.icon-button{background:none;border:0;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.icon-button:hover{background:#f5f4ee}.bell-button{position:relative}.bell-button:after{content:'';position:absolute;top:6px;right:7px;width:5px;height:5px;background:#d89051;border:1px solid white;border-radius:50%}.content{padding:34px 38px 26px;max-width:1580px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-head p{font-size:12px;color:#92978f;line-height:1.7;margin-top:9px}.page-head .greeting{font-size:11px;color:#ae946e;margin-bottom:7px;letter-spacing:.5px}.btn{border:1px solid #e4e6df;background:#fff;padding:10px 15px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:550;white-space:nowrap;min-height:38px;transition:background .15s}.btn .icon{width:16px;height:16px}.btn:hover{background:#f8f8f5}.btn.primary{background:#dc985b;border-color:#dc985b;color:#fff;box-shadow:0 3px 8px #d9a06a16}.btn.primary:hover{background:#c8874e}.btn.dark{background:#565662;border-color:#565662;color:white}.btn.danger{color:#b76658;border-color:#ecd9d4}.btn.small{padding:6px 10px;min-height:30px;font-size:11px}.text-button{border:0;background:none;font-size:11px;color:#989f98;display:inline-flex;align-items:center;gap:4px;padding:4px 0}.text-button:hover{color:#c37a47}.text-button .icon{height:13px;width:13px}.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 20px 17px;min-height:132px}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-title{font-size:11px;color:#939a94}.stat-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#fff3e5;color:#cf975d}.stat-icon .icon{width:16px;height:16px}.stat-card:nth-child(2) .stat-icon{background:#edf4ef;color:#80a68c}.stat-card:nth-child(3) .stat-icon{background:#fff1e8;color:#d7a076}.stat-card:nth-child(4) .stat-icon{background:#f1eef6;color:#b1a3cb}.stat-value{font-size:30px;font-weight:600;letter-spacing:-.8px;margin-top:10px;display:flex;align-items:baseline;gap:5px}.stat-value span{font-size:11px;font-weight:400;letter-spacing:0;color:#9ca198}.stat-bottom{font-size:10px;color:#a6aca2;margin-top:8px;display:flex;align-items:center;gap:5px}.stat-bottom .dot{height:4px;width:4px;background:#95bfa6;border-radius:50%}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:22px;align-items:start}.main-column,.side-column{display:flex;flex-direction:column;gap:22px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.panel-head{padding:22px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{font-size:15px}.panel-head p{color:#a0a79e;font-size:10px;margin-top:6px}.count-tag{font-size:10px;font-weight:400;color:#bc8b5c;background:#fbf0e3;border-radius:5px;padding:3px 6px;margin-left:5px}.panel-body{padding:0 23px 23px}.tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tab{border:0;background:none;color:#a3a99f;padding:7px 11px;font-size:11px;border-radius:7px;white-space:nowrap}.tab.active{background:#f5f1eb;color:#a9835b;font-weight:600}.tabs.line{gap:20px;border-bottom:1px solid var(--line);padding:0 23px}.tabs.line .tab{padding:11px 0 13px;border-radius:0}.tabs.line .tab.active{background:none;border-bottom:2px solid #d6a372;color:#b47d49}.week-strip{padding:0 23px 19px;display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.day-cell{border:1px solid #edf0e9;border-radius:10px;text-align:center;padding:10px 0 8px;position:relative;cursor:pointer;background:white}.day-cell .weekday{font-size:9px;color:#a8ada5;display:block}.day-cell .day-number{display:block;font-size:16px;margin:5px 0;color:#858e85;font-weight:500}.day-cell .day-dot{display:block;height:4px;width:4px;margin:3px auto 0;border-radius:50%;background:#d6dcca}.day-cell.selected{border-color:#e6b482;background:#fff5e9}.day-cell.selected .day-number{color:#bd854c}.day-cell.selected .day-dot{background:#dca76d}.day-cell.selected .weekday{color:#c0986e}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:400;color:#adb3a9;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fcfdfa;padding:12px 18px}td{font-size:12px;padding:15px 18px;border-bottom:1px solid #f0f1ec;color:#68716a}tr:last-child td{border-bottom:0}td:first-child,th:first-child{padding-left:23px}td:last-child,th:last-child{padding-right:23px}tr:hover td{background:#fefcf9}td strong{font-weight:550;color:#515d54}.person-cell{display:flex;align-items:center;gap:9px}.person-cell small{font-size:9px;display:block;margin-top:3px}.avatar{border-radius:50%;width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#b58d72;background:#fbefe4;flex-shrink:0}.avatar.peach{background:#faebdf;color:#b99777}.avatar.sage{background:#eef1e5;color:#9ca883}.avatar.lilac{background:#f1eaf2;color:#af98b6}.avatar.blue{background:#eaf1f2;color:#95b0b7}.badge{font-size:9px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;background:#f0f3ee;color:#a1aca0;border-radius:5px;padding:5px 7px;line-height:1.3}.badge>span{width:3px;height:3px;background:currentColor;border-radius:50%}.badge.green{color:#82a18d;background:#eef5ef}.badge.blue{color:#87a7b8;background:#edf4f7}.badge.orange{color:#ce9b60;background:#fff3e5}.badge.red{color:#c5887c;background:#fcf0ed}.badge.neutral{color:#a6aea4;background:#f2f4ef}.schedule-footer{border-top:1px solid var(--line);padding:14px 23px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a4aea2}.schedule-footer span{display:flex;align-items:center;gap:5px}.schedule-footer .icon{width:12px;height:12px}.ai-card{background:#f6f5fa;border:1px solid #e9e6f0;border-radius:18px;padding:21px 20px}.ai-title{display:flex;align-items:center;gap:9px}.ai-symbol{color:#9d94b8;width:31px;height:31px;border-radius:10px;background:#eeebf4;display:grid;place-items:center}.ai-title h2{font-size:15px;color:#67617c}.ai-title small{font-size:8px;letter-spacing:1px;background:#ece8f1;color:#a49ab4;padding:3px 5px;border-radius:4px;margin-left:auto}.ai-card>p{font-size:11px;line-height:1.9;color:#9d97ac;margin:14px 0 15px}.ai-prompt{border:1px solid #e8e5ee;background:#fff;border-radius:9px;padding:11px;font-size:10px;color:#a29bad;margin:7px 0;width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:7px}.ai-prompt:hover{border-color:#c9bddc;color:#817295}.ai-prompt .icon{width:12px}.ai-query{display:flex;align-items:center;gap:5px;margin-top:15px;border:1px solid #e2dce9;border-radius:9px;background:#fff;padding:4px}.ai-query input{width:100%;min-width:0;font-size:10px;outline:none;border:0;padding:8px}.ai-query button{border:0;color:#a199b5;background:#f1edf7;border-radius:6px;padding:5px;width:26px;height:26px}.ai-query .icon{width:14px;height:14px}.ai-card .ai-note{font-size:9px;color:#b0aaba;margin:10px 0 0;line-height:1.5}.ai-answer{font-size:12px;color:#7c738a;line-height:1.9;white-space:pre-wrap;max-height:300px;overflow:auto;border-top:1px solid #e7e3ed;margin-top:13px;padding-top:12px}.issue-list{display:flex;flex-direction:column}.issue-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #f0f1ec}.issue-row:last-child{border-bottom:0;padding-bottom:0}.issue-icon{width:30px;height:30px;flex-shrink:0;border-radius:10px;background:#fff4e7;color:#d7ae78;display:grid;place-items:center}.issue-icon .icon{width:15px;height:15px}.issue-icon.red{background:#fbefea;color:#cd9e8d}.issue-text{flex:1;min-width:0}.issue-text h3{font-size:11px;line-height:1.6;font-weight:500}.issue-text p{font-size:9px;color:#a8aea4;margin-top:5px;line-height:1.7}.issue-row .badge{margin-top:1px}.below-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.compact-panel .panel-head{padding:19px 22px 17px}.progress-row{margin:8px 0 18px}.progress-label{display:flex;justify-content:space-between;font-size:11px;color:#a1a89a;margin-bottom:8px}.progress-bar{height:6px;background:#f2f3ec;border-radius:5px;overflow:hidden}.progress-bar>div{height:100%;width:var(--progress,0%);background:#a8b998;border-radius:5px}.progress-bar.peach>div{background:#e2b58d}.meta-row{display:flex;gap:9px;align-items:center;color:#a1ab9c;font-size:10px;margin-top:11px}.meta-row .icon{height:14px;width:14px}.timeline-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.timeline-point{width:6px;height:6px;border-radius:50%;background:#d3dac8;margin-top:5px}.timeline-row p{font-size:10px;color:#8e9987;line-height:1.7}.timeline-row small{font-size:9px;color:#b1b7ac}.system-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;font-size:10px;color:#9fa898;border-bottom:1px solid #eff1e9}.system-row:last-child{border:0;padding-bottom:0}.system-row strong{font-size:10px;font-weight:500;color:#a0b294}.system-row strong .status-dot{margin-right:5px}.system-detail{padding:0 20px 18px}.footnote{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#b2b6aa;margin-top:27px}.footnote>span{display:flex;gap:5px;align-items:center}.footnote .icon{width:12px;height:12px}.toolbar{display:flex;justify-content:space-between;gap:16px;padding:17px 23px;border-bottom:1px solid var(--line);align-items:center;flex-wrap:wrap}.toolbar input,.toolbar select{border:1px solid #e7e9e1;background:#fff;border-radius:7px;padding:9px 10px;font-size:11px;min-height:35px}.search-field{display:flex;align-items:center;gap:7px}.search-field .icon{color:#a7ad9f;width:16px}.toolbar label{font-size:11px;color:#9ca393}.notice{padding:15px 18px;background:#fff6e8;border:1px solid #f1e0c5;border-radius:11px;font-size:11px;color:#b59463;line-height:1.9;display:flex;align-items:flex-start;gap:10px;margin-bottom:20px}.notice .icon{width:17px;flex-shrink:0;margin-top:2px}.notice.sage{background:#eff5ed;border-color:#dfe9d9;color:#8da17c}.notice.purple{background:#f5f2fa;border-color:#e9e2f0;color:#a290b3}.calendar-month{padding:0 23px 23px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}.calendar-weekday{text-align:center;font-size:10px;padding:11px;color:#9ba795;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#f7f9f4}.calendar-cell{min-height:118px;padding:9px 6px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.calendar-cell.empty-day{background:#fafbf7}.calendar-cell.today{background:#fffbf2}.calendar-number{font-size:10px;color:#91a182;padding:3px 5px}.calendar-event{display:block;border:0;border-left:2px solid #d7b78c;background:#fff5e7;border-radius:3px;margin-top:4px;width:100%;padding:5px;text-align:left;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ba9e73}.calendar-event.completed{background:#eef4e9;color:#94a17f;border-color:#b5c7a0}.schedule-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;padding:23px}.visit-card{border:1px solid var(--line);border-radius:12px;padding:18px}.visit-card .visit-card-top{display:flex;align-items:center;justify-content:space-between;color:#9b9e91;font-size:12px;margin-bottom:13px}.visit-card .visit-info{margin:12px 0;color:#9ba491;font-size:11px}.visit-card .btn{width:100%;margin-top:10px}.empty{padding:55px 25px;text-align:center;color:#b3baad}.empty>.icon{width:28px;height:28px;opacity:.6}.empty p{margin-top:12px;font-size:12px}.import-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.dropzone{border:1.5px dashed #dbd8c8;border-radius:14px;background:#fdfbf6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:44px 25px;gap:13px}.dropzone .icon{width:32px;height:32px;color:#c8b28a}.dropzone h3{color:#a38d68;font-size:14px}.dropzone p{font-size:11px;color:#b8ac94;line-height:1.8;text-align:center}.dropzone.dragging{background:#fff0d7}.steps{display:flex;align-items:center;gap:9px;color:#b7baaf;font-size:10px;margin:23px 0}.step.active{color:#b8986b}.step em{display:inline-grid;place-items:center;width:20px;height:20px;background:#f4eddf;border-radius:50%;font-style:normal;margin-right:5px}.steps .icon{width:12px}.approval-card{border:1px solid var(--line);border-radius:12px;padding:19px;margin:13px 0}.approval-card h3{font-size:13px}.approval-card .summary{color:#a3aa9a;font-size:11px;margin:9px 0;line-height:1.8}.approval-card .button-row{margin-top:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#899580}.field input,.field select,.field textarea{width:100%;border:1px solid #e5e8de;border-radius:8px;padding:11px 12px;color:#67735d;background:#fff;min-height:42px}.field textarea{min-height:85px;resize:vertical}.field.full{grid-column:1/-1}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:22px}.form-error{color:#b37e70;font-size:11px;line-height:1.8;margin-top:13px}.form-help{font-size:11px;color:#aab39f;line-height:1.9;margin-bottom:18px}dialog{border:1px solid #eceee7;border-radius:18px;padding:0;width:min(560px,calc(100vw - 28px));max-height:90vh;box-shadow:0 20px 80px #28312626;color:var(--ink)}dialog.wide{width:min(860px,calc(100vw - 28px))}dialog::backdrop{background:#31352d4a;backdrop-filter:blur(3px)}.dialog-head{padding:19px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:1}.dialog-head h2{font-size:16px}.dialog-body{padding:23px}.code-box{font-family:Consolas,monospace;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8f4;border:1px solid var(--line);border-radius:9px;padding:13px;color:#899380;max-height:350px;overflow:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-grid dt{color:#a1ab98;font-size:10px;margin-bottom:7px}.detail-grid dd{margin:0;color:#7b8870;font-size:12px}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:#f9f4e9;padding:50px 9%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-brand{display:flex;align-items:center;gap:12px;z-index:1}.login-brand img{width:42px}.login-brand strong{font-size:22px;letter-spacing:-1px;color:#6f624c}.login-brand small{font-size:11px;letter-spacing:2px;color:#bca482}.login-message{padding-bottom:65px;z-index:1}.login-message .eyebrow{font-size:11px;color:#b3a384;letter-spacing:2px;margin-bottom:23px}.login-message h1{font-size:45px;line-height:1.5;color:#77664b;font-weight:500;letter-spacing:-2px}.login-message p{font-size:13px;color:#afa086;line-height:2;margin-top:22px}.login-story footer{font-size:10px;color:#beae91;z-index:1}.login-art{position:absolute;width:420px;height:420px;right:-70px;top:24%;opacity:.45;border:1px solid #ecd4ab;border-radius:50%;box-shadow:0 0 0 60px #f2e3c725,0 0 0 120px #f2e3c719}.login-art:after{content:'';display:block;width:160px;height:160px;border-radius:50%;background:#edcb8e;position:absolute;top:130px;left:130px}.login-form-side{display:flex;justify-content:center;align-items:center;padding:50px 30px}.login-form-wrap{width:340px}.login-form-wrap .mini-label{display:flex;align-items:center;gap:6px;color:#b39976;font-size:10px;margin-bottom:30px}.login-form-wrap h2{font-size:25px;color:#645c50;letter-spacing:-1px}.login-form-wrap>p{font-size:12px;color:#a49f91;margin:13px 0 28px;line-height:1.8}.login-form{display:flex;flex-direction:column;gap:19px}.login-form .field{color:#978d7a;font-size:11px}.login-form .field input{border-color:#e8e6df;color:#7f7460}.login-form .btn{width:100%;margin-top:4px;min-height:44px}.login-form-note{margin-top:25px;font-size:10px;color:#b0a791;line-height:1.9;padding-top:21px;border-top:1px solid #ece8e0}.login-form-note .icon{width:12px;height:12px;margin-right:4px}.mobile-toggle,.nav-backdrop{display:none}.loading-panel{padding:70px;text-align:center;color:#aab09e;font-size:12px}.spinner{height:20px;width:20px;border:2px solid #eee9dc;border-top-color:#d4ae79;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin-bottom:10px}@keyframes spin{to{transform:rotate(360deg)}}.error-panel{border:1px solid #eadbd1;background:#fff8f3;border-radius:14px;padding:30px;font-size:13px;color:#ac8b75;line-height:1.9}.error-panel .btn{margin-top:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#646e5c;color:#fff;padding:13px 20px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:12px;max-width:calc(100vw - 30px);box-shadow:0 5px 20px #28302618}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#ad8275}.month-total{display:flex;justify-content:space-between;align-items:center;padding:20px 23px;background:#fcfbf6;border-bottom:1px solid var(--line)}.month-total strong{font-size:24px;font-weight:500;color:#908265}.month-total span{font-size:11px;color:#aaa48f}.audit-filters{display:flex;gap:10px}.print-only{display:none}.section-description{font-size:11px;color:#a4ad9b;line-height:1.9;padding:0 23px 18px}.help-list{font-size:11px;color:#a7aa99;line-height:2;padding-left:16px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:18px 0}.summary-tile{padding:14px;background:#f7f8f2;border-radius:10px;text-align:center;font-size:10px;color:#a2aa96}.summary-tile strong{display:block;font-size:22px;font-weight:500;margin-bottom:5px;color:#8e987a}
.progress-bar{display:block;width:100%;border:0;appearance:none}.progress-bar::-webkit-progress-bar{background:#f2f3ec;border-radius:5px}.progress-bar::-webkit-progress-value{background:#a8b998;border-radius:5px}.progress-bar::-moz-progress-bar{background:#a8b998;border-radius:5px}.delete-record{margin-right:auto}.user-panel{margin-top:22px}.changed-value{color:#9b713d;background:#fff9ef}
:root{--muted:#6f7b73}.nav a{color:#6c786f}.nav a.active{color:#965c2b}.center-label{color:#74806f}.page-head p,.stat-title,.stat-bottom,.panel-head p,.table-scroll th,.schedule-footer,.progress-label,.meta-row,.timeline-row p,.system-row,.section-description,.form-help,.help-list,.toolbar label,.field,.text-button,.person-cell small,.issue-text p,.footnote{color:#74816f}.badge.neutral{color:#65755f}.badge.green{color:#456e54}.badge.blue{color:#48718a}.badge.orange{color:#93612d}.badge.red{color:#9b5848}.stat-value span{color:#77826f}.ai-card>p,.ai-card .ai-note{color:#81738e}.ai-prompt{color:#80718e}.day-cell .weekday{color:#74816d}.day-cell .day-number{color:#62725b}.btn.primary{background:#ba763b;border-color:#ba763b}.btn.primary:hover{background:#a56832}.tabs .tab{color:#7d886f}.tabs .tab.active{color:#936637}.login-form-wrap>p,.login-form-note,.login-form .field,.login-message p{color:#8b795f}.login-form-wrap .mini-label{color:#8d744f}.login-brand small,.login-story footer{color:#8c7859}.global-search input{color:#68735e}.summary-tile{color:#788566}.summary-tile strong{color:#627548}.field input,.field select,.field textarea{color:#475742}.code-box{color:#65735c}.toolbar select,.toolbar input{color:#637156}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 330px}.content{padding-top:42px}.stat-card{padding:23px}.panel-head{padding-top:26px}.day-cell{padding:14px 0}.ai-card{padding:25px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.app-shell{grid-template-columns:210px minmax(0,1fr)}.topbar{padding:0 25px}.content{padding:28px 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.main-column,.side-column{gap:16px}.stat-grid{gap:12px}.stat-card{padding:16px}.stat-value{font-size:26px}.panel-head{padding:19px}.panel-body{padding:0 19px 19px}.week-strip{padding-left:19px;padding-right:19px;gap:6px}.below-grid{gap:16px}.global-search{min-width:160px}.global-search input{width:120px}.breadcrumb{font-size:10px}.top-tools{gap:10px}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr}.side-column .system-panel{grid-column:1/-1}.system-detail{display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.ai-card .ai-note{margin-top:15px}.stat-grid{gap:13px}.global-search kbd{display:none}.import-grid,.security-grid{grid-template-columns:1fr}.below-grid{grid-template-columns:1fr 1fr}.calendar-cell{min-height:100px}}
@media(max-width:800px){.app-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px}.sidebar.open{transform:none}.nav-backdrop.open{display:block;position:fixed;inset:0;z-index:25;background:#28312750;backdrop-filter:blur(2px)}.main-wrap{grid-column:1}.mobile-toggle{display:flex}.topbar{height:65px;padding:0 20px;gap:10px}.breadcrumb{flex:1}.top-tools{gap:8px}.top-tools .global-search{display:none}.env-pill{font-size:9px}.content{padding:25px 20px}.page-head{margin-bottom:23px}.page-head h1{font-size:25px}.page-head p{font-size:11px}.stat-grid{grid-template-columns:repeat(4,1fr);gap:10px}.stat-card{min-height:115px;padding:14px}.stat-icon{width:24px;height:24px;border-radius:7px}.stat-icon .icon{width:13px;height:13px}.stat-value{font-size:24px}.stat-title{font-size:10px}.stat-bottom{font-size:8px}.login-message h1{font-size:35px}.login-story{padding:40px 8%}.schedule-cards{padding:20px}.calendar-event{font-size:8px}}
@media(max-width:600px){.content{padding:24px 15px;padding-bottom:calc(25px + env(safe-area-inset-bottom))}.topbar{padding:0 15px;padding-top:env(safe-area-inset-top);height:calc(62px + env(safe-area-inset-top))}.breadcrumb span{display:none}.top-tools>.avatar{display:none}.page-head{align-items:flex-start;gap:10px}.page-head h1{font-size:23px;line-height:1.4}.page-head p{max-width:270px;font-size:10px}.page-head .button-row .btn{padding:8px 10px;min-height:34px;font-size:10px}.page-head .button-row .btn span.optional{display:none}.page-head .greeting{font-size:10px}.stat-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:18px}.stat-card{min-height:119px;padding:16px}.stat-title{font-size:11px}.stat-value{font-size:28px}.stat-bottom{font-size:9px}.dashboard-grid{gap:18px}.main-column,.side-column{gap:18px}.side-column{display:flex;flex-direction:column}.below-grid{grid-template-columns:1fr;gap:18px}.panel{border-radius:14px}.panel-head{padding:20px 17px 16px;flex-wrap:wrap}.panel-head h2{font-size:14px}.panel-head .tabs{margin-left:auto}.panel-head .tab{padding:6px 8px;font-size:10px}.week-strip{padding:0 17px 17px;gap:5px}.day-cell{padding:9px 0 7px}.day-cell .day-number{font-size:14px}.day-cell .weekday{font-size:8px}.schedule-panel table{min-width:600px}.schedule-footer{padding:13px 17px}.panel-body{padding:0 17px 20px}.ai-card{padding:21px}.system-detail{padding:0 17px 17px;display:block}.footnote{font-size:8px;flex-direction:column;gap:10px;margin-top:22px}.toolbar{padding:15px 17px;gap:12px}.toolbar .search-field{width:100%}.toolbar .search-field input{flex:1;min-width:0}.toolbar input,.toolbar select{font-size:11px}.toolbar .tabs{gap:2px}.toolbar .tab{padding:7px 9px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.dialog-body{padding:20px}.dialog-head{padding:17px 20px}.detail-grid{gap:18px}.calendar-month{padding:0 12px 15px}.calendar-cell{min-height:85px;padding:5px 2px}.calendar-number{font-size:9px}.calendar-event{font-size:7px;padding:4px 2px}.calendar-weekday{font-size:9px}.schedule-cards{grid-template-columns:1fr;padding:17px}.login-page{grid-template-columns:1fr}.login-story{padding:26px 28px;min-height:240px;gap:32px}.login-message{padding-bottom:0}.login-message .eyebrow,.login-story footer,.login-message>p{display:none}.login-message h1{font-size:27px;line-height:1.45;letter-spacing:-1px}.login-brand img{width:32px}.login-brand strong{font-size:19px}.login-form-side{padding:32px 28px}.login-form-wrap{max-width:400px;width:100%}.login-form-wrap .mini-label{margin-bottom:20px}.login-form-wrap h2{font-size:23px}.login-art{width:240px;height:240px;top:60px;right:-100px}.login-art:after{width:100px;height:100px;top:70px;left:70px}.summary-grid{gap:8px}.summary-tile{font-size:9px;padding:11px}.month-total strong{font-size:20px}.notice{font-size:10px}.dropzone{padding:32px 18px}.field input,.field select,.field textarea{font-size:16px}.ai-query input{font-size:16px}.visit-card .btn{min-height:44px}.icon-button{min-width:36px}.form-actions .btn{min-height:44px}#toast{bottom:calc(18px + env(safe-area-inset-bottom))}.text-button{min-height:30px}.btn{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.page-head .button-row,.toolbar,.side-column,.footnote,.btn,.text-button,#toast{display:none!important}.app-shell{display:block}.main-wrap{display:block}.content{padding:0}.panel{break-inside:avoid}.dashboard-grid,.stat-grid{display:block}.stat-card{display:inline-block;width:23%;margin:1%}.print-only{display:block}.table-scroll{overflow:visible}body{background:white}th,td{font-size:10px;padding:10px}.calendar-cell{min-height:80px}}

/* Recipient-owned, nonfinancial counseling records. */
.counseling-dialog{width:min(860px,calc(100vw - 28px))}.counseling-records[hidden],.counseling-records [hidden],.counseling-dialog [data-counsel-parent][hidden]{display:none!important}.counseling-records{margin-top:20px;min-width:0}.counseling-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e0e7d9;padding-bottom:14px;margin-bottom:15px}.counseling-heading h3{font-size:19px;margin:0 0 6px;color:#4c6241}.counseling-heading p,.counseling-meta{font-size:11px;color:#73836a;line-height:1.8}.counseling-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:15px 0}.counseling-list-row{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;padding:17px 15px;margin:9px 0;background:#fafbf6;border:1px solid #e1e8d8;border-radius:11px;color:#506447;cursor:pointer;min-width:0}.counseling-list-row:hover{background:#f0f5e9}.counseling-list-row>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:9px}.counseling-list-row>span:nth-child(2){font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.counseling-list-row small{font-size:10px;color:#78876f;line-height:1.7}.counseling-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:17px 0;font-size:11px;color:#6f8065}.counseling-pager>div{display:flex;gap:6px;flex-wrap:wrap}.counseling-snapshot{padding:16px 18px;margin:13px 0;background:#f6f9f0;border:1px solid #e0e8d6;border-radius:11px;min-width:0}.counseling-snapshot h4{font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.counseling-snapshot dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:13px 0 0}.counseling-snapshot dl>div:first-child{grid-column:1/-1}.counseling-snapshot dt{font-size:10px;color:#75876b;margin-bottom:6px}.counseling-snapshot dd{margin:0;font-size:12px;color:#4d6243;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.counseling-history,.counseling-original{margin-top:18px;border-top:1px solid #e1e8d9;padding-top:15px;font-size:12px}.counseling-history summary,.counseling-original summary{cursor:pointer;color:#5b744d;line-height:1.9}.counseling-history>article{padding:16px 0;border-bottom:1px solid #e5ebde}.counseling-history h4{font-size:13px;color:#536b45}.counseling-reason{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;margin:10px 0;color:#627650}.counseling-empty{padding:22px 0;font-size:12px;line-height:1.9;color:#75866a}.counseling-message{font-size:12px;line-height:1.9;color:#5a754a;margin-top:12px;overflow-wrap:anywhere}.counseling-records textarea{line-height:1.8}
@media(max-width:600px){.counseling-heading>.btn{width:100%}.counseling-snapshot{padding:14px 12px}.counseling-snapshot dl{grid-template-columns:1fr}.counseling-snapshot dl>div:first-child{grid-column:auto}.counseling-pager>div{width:100%}.counseling-pager .btn{flex:1}.counseling-tools>.btn{flex:1 1 42%}}

/* Keep the read-only history below the scrollable visit table. */
[data-work-log-actual-history-host]{min-width:0;max-width:100%;overflow-wrap:anywhere;}
[data-work-log-actual-history-root]{min-width:0;max-width:100%;white-space:normal;}

/* BEGIN local-ai137 */
.local-ai-entry { margin: .5rem 0; }
.local-ai-dialog { display:grid; gap:1rem; max-width:100%; }
.local-ai-layout { display:grid; grid-template-columns:minmax(150px,1fr) minmax(0,3fr); gap:1.2rem; }
.local-ai-side,.local-ai-main { min-width:0; display:flex; flex-direction:column; gap:.7rem; }
.local-ai-dialog label { display:flex; flex-direction:column; gap:.4rem; }
.local-ai-dialog select,.local-ai-dialog textarea { width:100%; box-sizing:border-box; font:inherit; border:1px solid #d9dde5; border-radius:9px; padding:.7rem; }
.local-ai-dialog textarea { min-height:130px; resize:vertical; }
.local-ai-tools { display:flex; flex-wrap:wrap; gap:.5rem; }
.local-ai-reply { min-height:180px; max-height:42vh; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; padding:1rem; border-radius:12px; background:#f4f7fb; line-height:1.65; }
.local-ai-dialog [data-local-ai-status] { margin:0; padding:.8rem; border-radius:9px; background:#fff7e7; line-height:1.5; }
.local-ai-dialog button { border:1px solid #d9dde5; border-radius:8px; padding:.55rem .8rem; background:white; font:inherit; cursor:pointer; }
.local-ai-dialog [data-local-ai-send] { background:#236c7a; color:white; border-color:#236c7a; }
.local-ai-dialog button:disabled { opacity:.5; cursor:default; }
@media(max-width:700px) { .local-ai-layout { grid-template-columns:1fr; } .local-ai-reply { max-height:32vh; } .local-ai-dialog .form-actions { display:flex; flex-wrap:wrap; gap:.5rem; } }
/* END local-ai137 */

/* BEGIN local-ai-title147 */
.local-ai-title-editor[hidden]{display:none!important}
.local-ai-title-editor{display:grid;gap:.65rem;min-width:0;max-width:100%;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#f8fafb}
.local-ai-title-editor p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.local-ai-title-editor textarea{min-height:80px;max-width:100%;overflow-wrap:anywhere}
.local-ai-title-editor .form-actions{display:flex;flex-wrap:wrap;gap:.5rem}
/* END local-ai-title147 */

/* BEGIN local-ai-memory-lock148 */
.local-ai-memory-lock-panel[hidden]{display:none!important}
.local-ai-memory-lock-panel{display:grid;gap:.65rem;min-width:0;max-width:100%;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#fff7e7}
.local-ai-memory-lock-panel p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.local-ai-memory-lock-panel .form-actions{display:flex;flex-wrap:wrap;gap:.5rem}
/* END local-ai-memory-lock148 */

/* BEGIN local-ai-controlled149 */
.local-ai-controlled-notice{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;max-width:100%}
.local-ai [data-local-ai-stop]{white-space:normal;max-width:100%}
/* END local-ai-controlled149 */

/* BEGIN local-ai-reply-compare152 */
.local-ai-reply-compare-tools,.local-ai-reply-compare{min-width:0;max-width:100%}
.local-ai-reply-compare[hidden]{display:none!important}
.local-ai-reply-compare{display:grid;gap:.7rem;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#f8fafb}
.local-ai-reply-compare-tools .form-actions,.local-ai-reply-compare .form-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.local-ai-compare-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;min-width:0}
.local-ai-compare-column{min-width:0;max-width:100%}
.local-ai-compare-column h3{margin:0 0 .4rem;font-size:1rem}
.local-ai-compare-source{min-width:0;max-width:100%;max-height:38vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:.7rem;border:1px solid #d9dde5;border-radius:8px;background:white}
.local-ai-compare-line{white-space:pre-wrap;overflow-wrap:anywhere}
.local-ai-compare-before{background:#ffe0df;color:#702623}
.local-ai-compare-after{background:#ddf2e3;color:#214f31}
@media(max-width:640px){.local-ai-compare-columns{grid-template-columns:minmax(0,1fr)}.local-ai-compare-source{max-height:30vh}}
/* END local-ai-reply-compare152 */

/* BEGIN local-ai-arithmetic154 */
.local-ai-arithmetic[hidden]{display:none!important}
.local-ai-arithmetic{display:grid;gap:.7rem;min-width:0;max-width:100%;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#f8fafb}
.local-ai-arithmetic label,.local-ai-arithmetic textarea,.local-ai-arithmetic .form-actions{min-width:0;max-width:100%}
.local-ai-arithmetic textarea{box-sizing:border-box;width:100%;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.local-ai-arithmetic .form-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.local-ai-arithmetic p,.local-ai-arithmetic-result{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;min-width:0;max-width:100%}
.local-ai-arithmetic-result:not(:empty){padding:.7rem;border:1px solid #d9dde5;border-radius:8px;background:#fff;font-variant-numeric:tabular-nums}
/* END local-ai-arithmetic154 */

/* BEGIN local-ai-memo-parts155 */
.local-ai-memo-parts[hidden]{display:none!important}
.local-ai-memo-parts{display:grid;gap:.7rem;min-width:0;max-width:100%;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#f8fafb}
.local-ai-memo-parts label,.local-ai-memo-parts textarea,.local-ai-memo-parts .form-actions{min-width:0;max-width:100%}
.local-ai-memo-parts textarea{box-sizing:border-box;width:100%;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.local-ai-memo-parts .form-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.local-ai-memo-parts p,.local-ai-memo-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;min-width:0;max-width:100%}
.local-ai-memo-preview{max-height:40vh;overflow:auto;padding:.7rem;border:1px solid #d9dde5;border-radius:8px;background:#fff}
/* END local-ai-memo-parts155 */

/* BEGIN local-ai-direct-compare156 */
.local-ai-direct-compare[hidden]{display:none!important}
.local-ai-direct-compare{display:grid;gap:.7rem;min-width:0;max-width:100%;padding:.8rem;border:1px solid #d9dde5;border-radius:10px;background:#f8fafb}
.local-ai-direct-compare h3{margin:0;font-size:1rem}
.local-ai-direct-compare p{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;line-height:1.65}
.local-ai-direct-compare-inputs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;min-width:0}
.local-ai-direct-compare-inputs label{display:grid;gap:.35rem;min-width:0;max-width:100%}
.local-ai-direct-compare-inputs textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.local-ai-direct-compare .form-actions{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}
.local-ai-direct-compare-rows{min-width:0;max-width:100%;max-height:45vh;overflow:auto}
.local-ai-direct-compare-row{display:grid;grid-template-columns:3.2rem minmax(0,1fr);gap:.5rem;min-width:0;padding:.35rem .5rem;border-bottom:1px solid #e1e5ea}
.local-ai-direct-compare-label{font-weight:700;font-size:.85rem}
.local-ai-direct-compare-chunk{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;line-height:1.65}
.local-ai-direct-compare-before{background:#ffe0df;color:#702623}
.local-ai-direct-compare-after{background:#ddf2e3;color:#214f31}
@media(max-width:640px){.local-ai-direct-compare-inputs{grid-template-columns:minmax(0,1fr)}}
/* END local-ai-direct-compare156 */

/* BEGIN local-ai-reply-text-export157 */
.local-ai-reply-text-export-help,.local-ai-reply-text-export-status{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
[data-local-ai-reply-text-export]{white-space:normal;max-width:100%}
/* END local-ai-reply-text-export157 */

/* BEGIN grounded-chat159 */
.local-ai-chat159{height:min(76vh,820px);height:min(76dvh,820px);min-height:0;grid-template-rows:auto minmax(0,1fr)}
.local-ai-chat159 [hidden]{display:none!important}
.local-ai-chat159 .local-ai-layout{min-height:0;align-items:stretch}
.local-ai-chat159 .local-ai-side{min-height:0;overflow:auto;padding-right:.25rem}
.local-ai-chat159 .local-ai-main{min-height:0;gap:.45rem}
.local-ai-chat-quick,.local-ai-chat-tool-bar{display:flex;gap:.4rem;flex-wrap:wrap;flex:none}
.local-ai-chat159 [data-local-ai-history-panel]{display:flex;flex-direction:column;gap:.6rem;max-height:58vh;overflow:auto}
.local-ai-chat159 .local-ai-reply{flex:1 1 auto;min-height:56px;max-height:none;padding:.55rem;background:#f7f9fb;white-space:normal;overscroll-behavior:contain}
.local-ai-messages{display:flex;flex-direction:column;gap:.8rem;min-width:0}
.local-ai-message{min-width:0;max-width:96%;padding:.7rem .85rem;border-radius:12px;align-self:flex-start;background:#fff;border:1px solid #e3e8ee}
.local-ai-message-user{align-self:flex-end;background:#eaf4f5;border-color:#cfe3e5}
.local-ai-message-center{background:#fff8e8;border-color:#eddbb3}
.local-ai-message-label{font-size:.76rem;font-weight:700;color:#566770;margin-bottom:.35rem}
.local-ai-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;min-width:0}
.local-ai-chat-empty{margin:.6rem;color:#64737e;white-space:pre-wrap}
.local-ai-composer{flex:none;position:sticky;bottom:0;z-index:1;display:flex;flex-direction:column;gap:.4rem;background:#fff;border-top:1px solid #dce4e9;padding:.55rem 0 0}
.local-ai-chat159 .local-ai-composer>label:first-child{flex-direction:row;align-items:center;gap:.6rem}
.local-ai-chat159 [data-local-ai-mode]{width:auto;max-width:11rem;padding:.35rem .6rem}
.local-ai-chat159 [data-local-ai-text]{min-height:64px;max-height:160px;padding:.6rem;resize:vertical}
.local-ai-chat159 .local-ai-composer .form-actions{display:flex;gap:.35rem;flex-wrap:wrap;margin:0}
.local-ai-chat159 [data-local-ai-tool-launchers]{flex:none;min-width:0;max-height:28vh;overflow:auto;padding:.6rem;border:1px solid #dce4e9;border-radius:10px}
.local-ai-suggestions{flex:0 1 auto;min-height:0;max-height:24vh;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.55rem;overscroll-behavior:contain}
.local-ai-suggestions h3{font-size:.8rem;margin:.25rem 0 .45rem;color:#55666f}
.local-ai-suggestions button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:.3rem 0;font-size:.8rem;line-height:1.4}
@media(max-width:700px){.local-ai-chat159 .local-ai-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:.55rem}.local-ai-chat159 .local-ai-side{overflow:visible;gap:.35rem}.local-ai-chat159 [data-local-ai-status]{padding:.5rem;font-size:.85rem}.local-ai-chat159 [data-local-ai-history-panel]{max-height:30vh}.local-ai-chat159 .local-ai-composer button{padding:.4rem .55rem;font-size:.85rem}.local-ai-chat159 .local-ai-composer label{font-size:.82rem}.local-ai-chat159 .local-ai-message{max-width:98%}.local-ai-suggestions{grid-template-columns:minmax(0,1fr);max-height:18vh}}
/* END grounded-chat159 */
/* BEGIN public-web-search160 */
.local-ai-public160 .local-ai-main{position:relative}
.local-ai-public-panel{position:absolute;inset:0;z-index:8;overflow:auto;padding:1rem;background:#fff;border:1px solid #cbdbe5;border-radius:12px;display:flex;flex-direction:column;gap:.65rem;min-width:0;overscroll-behavior:contain}
.local-ai-public-panel[hidden]{display:none!important}
.local-ai-public-panel h3{margin:0;font-size:1.05rem}
.local-ai-public-panel [data-local-ai-public-query]{min-height:80px;max-height:160px}
.local-ai-public-panel .form-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.local-ai-public-panel [data-local-ai-public-search-status]{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}
.local-ai-public-sources{padding:.8rem;border:1px solid #d7dfe7;border-radius:10px;background:#f6f9fc;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}
.local-ai-public-sources h3{font-size:1rem;margin:0 0 .6rem}.local-ai-public-sources p{font-size:.85rem;margin:.45rem 0}
.local-ai-public-sources article{padding:.8rem 0;border-top:1px solid #d7dfe7;min-width:0}.local-ai-public-sources a{color:#135d7a;text-decoration:underline;overflow-wrap:anywhere}.local-ai-public-sources article>div{font-size:.85rem;line-height:1.6;overflow-wrap:anywhere}.local-ai-public-excerpt{white-space:pre-wrap;margin-top:.4rem}
/* END public-web-search160 */
/* BEGIN local-ai-mobile-workspace162 */
@media(max-width:600px){
 dialog[open]:has([data-local-ai-root]){position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-width:0;box-sizing:border-box;border:0;border-radius:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);display:flex;flex-direction:column;overflow:hidden}
 dialog[open]:has([data-local-ai-root])>.dialog-head{flex:none;position:relative;min-width:0;padding:.35rem .65rem;gap:.5rem}
 dialog[open]:has([data-local-ai-root])>.dialog-head h2{min-width:0;font-size:1rem;overflow-wrap:anywhere}
 dialog[open]:has([data-local-ai-root])>.dialog-body{flex:1 1 auto;display:flex;min-width:0;min-height:0;padding:.45rem .55rem;overflow:hidden}
 dialog[open]:has([data-local-ai-root]) [data-local-ai-root]{flex:1 1 auto;width:100%;height:100%;max-height:100%;min-width:0;min-height:0;gap:.35rem;grid-template-rows:auto minmax(0,1fr) auto auto;overflow:hidden}
 dialog[open]:has([data-local-ai-root]) [data-local-ai-root]>p{font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
 dialog[open]:has([data-local-ai-root]) .local-ai-layout{width:100%;height:100%;min-width:0;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:.35rem;overflow:hidden}
 dialog[open]:has([data-local-ai-root]) .local-ai-side{min-width:0;min-height:0;max-height:min(32vh,230px);max-height:min(32dvh,230px);gap:.3rem;padding-right:0;overflow:auto;overscroll-behavior:contain}
 dialog[open]:has([data-local-ai-root]) [data-local-ai-status]{padding:.45rem .55rem;font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}
 dialog[open]:has([data-local-ai-root]) .local-ai-main{min-width:0;min-height:0;gap:.35rem;overflow:hidden}
 dialog[open]:has([data-local-ai-root]) .local-ai-reply{min-height:56px;min-width:0;overflow:auto;overscroll-behavior:contain}
 dialog[open]:has([data-local-ai-root]) .local-ai-composer{min-width:0;padding-top:.4rem;gap:.3rem}
 dialog[open]:has([data-local-ai-root]) .local-ai-composer .form-actions{min-width:0;gap:.3rem;flex-wrap:wrap}
 dialog[open]:has([data-local-ai-root]) .local-ai-public-panel{min-width:0;min-height:0;max-width:100%;max-height:100%;padding:.65rem;gap:.55rem;overflow:auto;overscroll-behavior:contain}
}
/* END local-ai-mobile-workspace162 */
