@import url('/fonts.css');
:root{--navy:#112d4e;--blue:#3f72af;--accent:#dbe2ef;--surface:#f9f7f7;--ink:#192d44;--muted:#768395;--line:#e8ecf1;--green:#28765d;--red:#b74f4f;--radius:14px;font-family:'Putra Sans','Segoe UI',sans-serif;color:var(--ink);background:var(--surface);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #83a9dc;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #8cadd6;outline-offset:1px}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.loading{height:100vh;display:grid;align-content:center;justify-items:center;color:var(--muted)}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#adbed2;position:fixed;inset:0 auto 0 0;width:246px;display:flex;flex-direction:column;padding:33px 22px 20px;z-index:20}.brand{display:flex;gap:12px;align-items:center;color:white;padding:0 8px 34px}.brand img{width:39px;height:39px;background:#244469;border-radius:11px}.brand strong{display:block;font-size:23px;letter-spacing:-.7px;line-height:1.2}.brand span{font-size:11px;color:#a2b5ce;letter-spacing:.5px}.workspace{margin:0 4px 28px;padding:12px 10px;border:1px solid #ffffff1e;border-radius:9px;display:flex;align-items:center;gap:10px;font-size:12px}.workspace-badge{background:#ffffff14;width:29px;height:29px;display:grid;place-items:center;color:#dce8f5;border-radius:6px}.workspace small{display:block;color:#839bb7;font-size:10px;margin-top:3px}.workspace>svg{margin-left:auto;width:14px}.nav-label{font-size:10px;color:#8199b5;letter-spacing:1.2px;padding:0 14px;margin:0 0 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:13px 14px;border-radius:8px;font-size:13px;font-weight:500;color:#b3c4d8}.nav button svg{width:19px}.nav button:hover{background:#ffffff09;color:white}.nav button.active{background:#3f72af;color:white;box-shadow:0 4px 12px #0000000f}.nav .nav-count{margin-left:auto;border-radius:5px;background:#ffffff17;padding:1px 6px;font-size:10px}.nav-separator{height:1px;background:#ffffff12;margin:22px 12px}.sidebar-bottom{margin-top:auto;padding-top:32px}.help-card{background:#ffffff07;border:1px solid #ffffff12;border-radius:10px;padding:16px 14px;margin:12px 4px 20px}.help-card svg{color:#8baed9}.help-card p{font-size:12px;line-height:1.6;margin:9px 0;color:#a4bad3}.help-card button{color:#e1ecf9;font-size:11px;font-weight:600;padding:0}.user-strip{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff13;padding:18px 7px 0}.user-strip strong{font-size:12px;color:#e5edf6;display:block}.user-strip small{font-size:10px;color:#93abc7}.user-strip button{margin-left:auto;padding:5px}.avatar{height:32px;width:32px;display:inline-grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700;flex-shrink:0;background:#dbe2ef;color:#3b5c86}.avatar.a1{background:#daeae4;color:#4c7867}.avatar.a2{background:#ebe0d6;color:#9e7351}.avatar.a3{background:#e7dff2;color:#80659e}.user-strip .avatar{background:#dbe2ef}.main{grid-column:2;min-width:0}.topbar{height:84px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{display:flex;gap:12px;align-items:center;color:#a1aab7;font-size:12px}.breadcrumb strong{font-weight:500;color:#536174}.breadcrumb svg{width:12px;height:12px}.top-actions{display:flex;align-items:center;gap:21px}.searchbox{display:flex;gap:10px;align-items:center;color:#8e99a8}.searchbox input{width:200px;border:0;outline:none;background:transparent;font-size:12px}.searchbox svg{width:17px}.key{font-size:10px;border:1px solid var(--line);border-radius:4px;padding:3px 5px;color:#9ba5b1}.icon-button{height:34px;width:34px;display:inline-grid;place-items:center;border-radius:7px;color:#7a8797}.icon-button:hover{background:#f0f3f8}.notification{position:relative}.notification:after{content:'';width:5px;height:5px;border:2px solid white;background:#3f72af;border-radius:50%;position:absolute;right:7px;top:5px}.top-divider{height:25px;width:1px;background:var(--line)}.content{max-width:1600px;margin:auto;padding:34px 42px 40px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.page-heading h1{font-size:29px;font-weight:650;letter-spacing:-1px;margin:0 0 8px;line-height:1.25}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.heading-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:7px;padding:11px 16px;font-weight:600;font-size:12px;line-height:1.25;white-space:nowrap}.btn svg{width:16px;height:16px}.btn-primary{background:var(--blue);color:white;border:1px solid var(--blue);box-shadow:0 2px 4px #2e537b12}.btn-primary:hover{background:#345f95}.btn-outline{background:#fff;border:1px solid #dce2e9;color:#5a6a7d}.btn-outline:hover{background:#f2f5f9}.date-label{display:flex;align-items:center;gap:8px;color:#728095;font-size:11px}.date-label svg{width:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:27px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 21px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#798698}.stat-icon{width:33px;height:33px;border-radius:8px;display:grid;place-items:center;background:#eff3f9;color:#597da9}.stat-icon svg{height:17px;width:17px}.stat:nth-child(2) .stat-icon{background:#eef0fc;color:#7c7fc0}.stat:nth-child(3) .stat-icon{background:#eaf5ef;color:#509379}.stat:nth-child(4) .stat-icon{background:#fff1ec;color:#c68768}.stat-value{font-size:31px;font-weight:600;letter-spacing:-1px;line-height:1.4;margin:9px 0 5px}.stat-foot{font-size:10px;color:#99a3b0;display:flex;align-items:center;gap:5px}.stat-foot svg{height:12px;width:12px;color:#5a997e}.stat-foot .up{color:#388568}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:21px 23px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{font-size:15px;font-weight:650;letter-spacing:-.25px;margin:0}.panel-head p{color:var(--muted);font-size:11px;margin:6px 0 0}.text-button{color:var(--blue);font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.text-button svg{width:13px;height:13px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:0 23px;align-items:center}.tabs button{padding:10px 0 13px;color:#909aa8;font-size:11px;position:relative}.tabs button.active{color:var(--blue);font-weight:650}.tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--blue)}.tabs button small{background:#eff2f6;color:#7c8da4;border-radius:4px;font-size:9px;padding:2px 5px;margin-left:5px}.tabs .tab-spacer{margin-left:auto;display:flex;gap:5px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:500;color:#97a1af;background:#fcfcfd;padding:13px 19px;border-bottom:1px solid var(--line)}td{padding:17px 19px;border-bottom:1px solid #f0f2f5;font-size:11px;color:#8290a2}tr:last-child td{border-bottom:0}.task-name{display:flex;align-items:center;gap:11px}.task-name strong{display:block;font-size:12px;color:#394b62;font-weight:550;max-width:340px;white-space:normal;line-height:1.5}.task-name small{display:block;font-size:10px;margin-top:4px;color:#98a3b1}.check{width:16px;height:16px;border:1px solid #d9e0e9;border-radius:4px;display:grid;place-items:center;padding:0;flex-shrink:0}.check.done{background:#3f72af;border-color:#3f72af;color:#fff}.check svg{width:11px;height:11px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;line-height:1;white-space:nowrap}.pill.high{background:#fff0ed;color:#c57a66}.pill.medium{background:#fff7e8;color:#b3964c}.pill.low{background:#edf4fc;color:#7294be}.pill.in_progress,.pill.pending{background:#edf2fb;color:#6988b6}.pill.todo,.pill.open{background:#f0f2f6;color:#8c9aad}.pill.done,.pill.resolved{background:#eaf5ef;color:#5b9b7b}.pill-dot{height:4px;width:4px;background:currentColor;border-radius:50%}.due.overdue{color:#b8665e}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 23px;border-top:1px solid var(--line);color:#99a3af;font-size:10px}.avatar-stack{display:flex;gap:0}.avatar-stack .avatar{border:2px solid white;width:26px;height:26px;margin-right:-6px;font-size:8px}.right-column{display:flex;flex-direction:column;gap:20px}.progress-panel{background:var(--navy);border-radius:12px;padding:23px;color:white;position:relative;overflow:hidden}.progress-panel h2{font-size:14px;font-weight:550;margin:0 0 5px}.progress-panel>p{font-size:11px;color:#a6b9d1;margin:0;line-height:1.6}.progress-ring{display:flex;align-items:center;gap:23px;margin:22px 0}.ring{width:97px;height:97px;position:relative;flex-shrink:0}.ring svg{width:97px;height:97px;transform:rotate(-90deg);stroke-linecap:round;stroke-width:7}.ring .track{stroke:#ffffff14}.ring .fill{stroke:#a7c4e7}.ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-center strong{font-size:24px;font-weight:550}.ring-center span{font-size:8px;color:#a5bad4;margin-top:2px}.ring-copy strong{display:block;font-size:19px;font-weight:550}.ring-copy span{display:block;font-size:10px;color:#9db4d1;margin-top:5px;line-height:1.6}.progress-divider{height:1px;background:#ffffff15}.progress-bottom{display:flex;justify-content:space-between;padding-top:15px;font-size:10px;color:#a4bad5}.progress-bottom strong{color:#e3eefb;font-weight:500}.activity-panel .panel-head{padding:21px 20px 16px}.activity-list{padding:2px 20px 6px}.activity-item{display:flex;gap:11px;padding:0 0 21px;position:relative}.activity-item:not(:last-child):before{content:'';position:absolute;top:30px;left:14px;bottom:3px;width:1px;background:#edf0f4}.activity-item .avatar{width:29px;height:29px;font-size:9px;z-index:1}.activity-item p{margin:1px 0 5px;font-size:10px;color:#7b8899;line-height:1.6}.activity-item p strong{font-weight:550;color:#4f627a}.activity-item time{font-size:9px;color:#a8b1bd}.activity-bottom{padding:14px 20px;border-top:1px solid var(--line);text-align:center}.bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px;margin-top:23px}.customer-mini{display:grid;grid-template-columns:repeat(3,1fr);padding:4px 22px 22px;gap:12px}.customer-item{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 10px;background:#fafbfd;border:1px solid #edf0f5;border-radius:8px;text-align:left}.customer-item .avatar{width:32px;height:32px}.customer-item strong{font-size:11px;display:block;font-weight:550}.customer-item small{display:block;font-size:9px;color:#97a3b3;margin-top:4px}.quiet-note{padding:20px 23px;background:#edf2fa;border:1px solid #e2e9f3;border-radius:12px}.quiet-note .note-top{display:flex;align-items:center;gap:10px;margin-bottom:9px;font-weight:600;font-size:12px;color:#5c7caa}.quiet-note p{font-size:10px;color:#8192aa;line-height:1.8;margin:0}.footer-note{display:flex;justify-content:space-between;margin-top:24px;color:#adb5c0;font-size:9px;gap:15px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.toolbar .input-search{flex:1;min-width:180px;max-width:340px}.input-search{border:1px solid #dfe5ec;border-radius:7px;background:white;display:flex;align-items:center;padding:0 12px;gap:8px;color:#9ba5b4}.input-search svg{width:16px}.input-search input{padding:11px 0;border:0;width:100%;background:none;outline:none;font-size:12px}.toolbar select{border:1px solid #dfe5ec;border-radius:7px;background:white;padding:10px 30px 10px 12px;color:#6b7b90;font-size:12px}.view-switch{display:flex;gap:3px;background:#e9edf3;padding:3px;border-radius:7px;margin-left:auto}.view-switch button{display:flex;align-items:center;gap:7px;padding:7px 11px;color:#8390a1;font-size:11px;border-radius:5px}.view-switch button svg{width:14px;height:14px}.view-switch .active{background:#fff;color:#456f9f;box-shadow:0 1px 4px #00000008}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.board-column{background:#eef1f5;border:1px solid #e5eaf0;border-radius:11px;padding:16px;min-height:340px}.board-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:12px;font-weight:600;color:#6e8097}.board-title>span{display:flex;gap:8px;align-items:center}.board-title small{background:#dfe5ed;border-radius:4px;padding:3px 7px;font-size:10px}.board-title .dot{width:7px;height:7px;border-radius:50%;background:#a2aebf}.board-column:nth-child(2) .dot{background:#7396c4}.board-column:nth-child(3) .dot{background:#7fad99}.task-card{background:#fff;border:1px solid #e3e8ef;border-radius:9px;padding:18px;margin-bottom:12px;box-shadow:0 2px 3px #102c4b03;text-align:left;width:100%}.task-card:hover{border-color:#b0c4e1}.card-top{display:flex;justify-content:space-between;align-items:center}.card-category{font-size:9px;color:#9aa7b8}.task-card h3{font-size:13px;font-weight:600;line-height:1.6;margin:15px 0 8px}.task-card p{font-size:10px;color:#9aa7b7;line-height:1.7;margin:0 0 17px;max-height:34px;overflow:hidden}.card-bottom{border-top:1px solid #f0f2f6;padding-top:12px;display:flex;justify-content:space-between;align-items:center}.card-bottom .date-label{font-size:9px}.empty{padding:45px 24px;text-align:center;color:#8b99aa;font-size:12px}.empty svg{width:32px;height:32px;color:#b0c1d8;margin-bottom:12px}.empty strong{display:block;color:#5d718a;margin-bottom:8px;font-size:14px}.empty p{margin:0 auto 18px;max-width:330px;line-height:1.7}.customer-grid,.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.customer-card,.team-card{padding:25px;background:white;border:1px solid var(--line);border-radius:12px;text-align:left}.customer-card:hover{border-color:#bbcee6}.customer-card .avatar,.team-card .avatar{height:43px;width:43px;font-size:13px;margin-bottom:17px}.customer-card h3,.team-card h3{font-size:15px;font-weight:600;margin:0 0 6px}.customer-card p,.team-card p{font-size:11px;color:#8d9bab;margin:0 0 14px}.customer-meta{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:17px;color:#8a9ab0;font-size:10px}.team-card-top{display:flex;justify-content:space-between}.team-card small{font-size:11px;color:#7589a1}.report-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}.bar-chart{padding:20px 25px 28px}.bar-row{display:grid;grid-template-columns:110px 1fr 30px;gap:15px;align-items:center;margin:25px 0;font-size:11px;color:#7e8da1}.bar-track{height:18px;background:#f0f3f8;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#7397c4;border-radius:4px}.report-summary{padding:10px 23px 25px}.report-summary p{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;color:#8290a2;margin:0}.report-summary strong{color:#405974}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;max-width:970px}.settings-form{padding:0 24px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:11px;color:#71839a}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #dee5ee;border-radius:7px;background:#fff;color:#3c536e;font-size:12px;min-height:42px}.field textarea{min-height:110px;resize:vertical}.field small{color:#9aa7b7;font-size:10px;line-height:1.7}.field.full{grid-column:1/-1}.form-grid .field{margin-bottom:0}.form-error{font-size:12px;color:#af4f4f;line-height:1.6;margin:16px 0;min-height:0}.form-error:empty{display:none}.modal-backdrop{position:fixed;inset:0;background:#0d223866;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:60;padding:24px}.modal{background:#fff;border-radius:15px;width:560px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 80px #081c3430}.modal-head{padding:23px 26px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0}.modal-body{padding:25px 26px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.drawer-backdrop{position:fixed;inset:0;background:#0d223842;z-index:60;display:flex;justify-content:flex-end}.drawer{background:#fff;width:490px;max-width:100%;height:100%;overflow:auto;box-shadow:-10px 0 40px #102d4e17}.drawer .modal-head{position:sticky;top:0;background:#fff;z-index:1}.drawer-body{padding:29px}.drawer-body h2{font-size:25px;line-height:1.4;letter-spacing:-.6px;margin:19px 0 10px}.drawer-description{font-size:12px;color:#8090a5;line-height:1.9;white-space:pre-wrap}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.detail-grid span{display:block;font-size:10px;color:#a0acbc;margin-bottom:8px}.detail-grid strong{font-size:12px;color:#59718d;font-weight:550}.drawer-section{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.drawer-section h3{font-size:13px;font-weight:600;margin:0 0 22px}.drawer-record{display:flex;gap:11px;align-items:center;width:100%;text-align:left;padding:13px 0;border-bottom:1px solid #eff2f6;font-size:12px}.drawer-record .pill{margin-left:auto}.drawer-actions{display:flex;gap:9px;flex-wrap:wrap}.customer-contact{display:flex;gap:9px;align-items:center;color:#8296b0;font-size:12px;margin:14px 0}.customer-contact svg{width:16px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);background:#163452;color:#fff;border-radius:9px;padding:14px 23px;z-index:100;box-shadow:0 8px 30px #142e5020;font-size:12px;max-width:90vw}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-story{background:var(--navy);color:white;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story .brand{padding:0}.auth-story .brand img{width:44px;height:44px}.auth-story h1{font-size:56px;letter-spacing:-2.8px;line-height:1.15;font-weight:550;margin:45px 0 24px;max-width:420px}.auth-story p{color:#9fb4cf;max-width:350px;font-size:14px;line-height:1.9}.fold-art{width:180px;height:180px;opacity:.07;position:absolute;right:30px;bottom:150px;transform:rotate(-12deg)}.auth-footer{font-size:11px;color:#809bbd}.auth-main{display:grid;place-items:center;padding:45px;background:var(--surface)}.auth-card{width:360px;max-width:100%}.auth-card h2{font-size:28px;font-weight:600;letter-spacing:-.8px;margin:0 0 10px}.auth-card>p{color:#8b99aa;font-size:12px;line-height:1.8;margin:0 0 30px}.auth-card .btn{width:100%;padding:13px}.auth-card .field{margin-bottom:20px}.auth-divider{display:flex;align-items:center;gap:12px;color:#a4aebd;font-size:10px;margin:23px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#e2e7ee;flex:1}.demo-note{font-size:10px;color:#9aa7b7;line-height:1.8;text-align:center;margin-top:14px}.mobile-menu{display:none}.demo-badge{font-size:9px;color:#8f9cad;padding:4px 8px;border:1px solid #e2e7ef;border-radius:5px;margin-left:8px}.full-activity{max-width:820px;padding:26px}.full-activity .activity-item{padding-bottom:28px}.full-activity .activity-item p{font-size:12px}.full-activity .activity-item time{font-size:10px}.search-results{padding:25px}.search-results h3{font-size:13px;margin:15px 0;color:#8093aa}.search-result{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;font-size:12px}.search-result small{margin-left:auto;color:#9aa7b7}.link-name{padding:0;text-align:left}.link-name:hover strong{text-decoration:underline}.login-note{padding:12px;border:1px solid #e4eaf2;border-radius:7px;background:#f5f7fb;font-size:11px;color:#8397b1;margin-top:20px;line-height:1.7}
@media(min-width:1500px){.dashboard-grid,.bottom-grid{grid-template-columns:minmax(0,1fr) 350px}.content{padding-top:40px}.stat{padding:24px}.task-name strong{max-width:450px}td{padding-top:22px;padding-bottom:22px}}
@media(max-width:1200px){.sidebar{width:215px;padding-left:15px;padding-right:15px}.shell{grid-template-columns:215px minmax(0,1fr)}.content{padding:28px}.topbar{padding:0 28px}.dashboard-grid,.bottom-grid{grid-template-columns:minmax(0,1fr) 270px;gap:17px}.stats{gap:12px}.stat{padding:16px}.customer-mini{grid-template-columns:1fr}.customer-item{padding:8px 12px}.task-name strong{max-width:240px}.dashboard-table th,.dashboard-table td{padding-left:12px;padding-right:12px}.dashboard-table .assignee-col{display:none}.customer-grid,.team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.dashboard-grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr}.customer-mini{grid-template-columns:repeat(3,1fr)}.quiet-note{display:none}.date-label.heading-date{display:none}.searchbox input{width:145px}.key{display:none}.board{gap:12px}.board-column{padding:10px}.task-card{padding:13px}.auth-story{padding:40px}.auth-story h1{font-size:44px}.settings-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr}.toast{left:50%}}
@media(max-width:760px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:246px}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vw #10243b55}.main{width:100%}.topbar{height:66px;padding:0 20px;gap:15px}.mobile-menu{display:grid;flex-shrink:0}.breadcrumb{margin-right:auto;font-size:11px}.breadcrumb>span,.breadcrumb>svg{display:none}.top-actions{gap:8px}.searchbox{display:none}.top-divider{display:none}.content{padding:25px 20px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;max-width:260px}.heading-actions .btn{font-size:11px;padding:10px 12px}.heading-actions .btn-outline{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.stat{padding:16px}.stat-value{font-size:28px}.stat-top{font-size:11px}.stat-foot{font-size:9px}.stat-icon{height:28px;width:28px}.right-column{grid-template-columns:1fr}.progress-panel{display:none}.dashboard-grid{gap:20px}.panel-head{padding:18px}.tabs{padding:0 18px;gap:20px}.tabs .tab-spacer{display:none}.dashboard-table .status-col{display:none}.task-name strong{max-width:210px;font-size:11px}.dashboard-table td{padding-top:16px;padding-bottom:16px}.dashboard-table .due-col{display:none}.customer-mini{grid-template-columns:1fr;padding:0 18px 18px}.customer-item{padding:12px}.bottom-grid{margin-top:20px}.footer-note{font-size:8px}.customer-grid,.team-grid{grid-template-columns:1fr}.board{grid-template-columns:1fr}.board-column{padding:15px;min-height:100px}.task-card{padding:18px}.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:14px}.modal-head,.modal-body{padding:20px}.toolbar{gap:8px}.toolbar select{font-size:11px;max-width:150px}.view-switch{margin-left:0}.auth{display:block}.auth-story{padding:24px}.auth-story>div:not(.brand),.auth-story .auth-footer,.auth-story .fold-art{display:none}.auth-story .brand{padding:0}.auth-main{padding:45px 24px;min-height:calc(100vh - 90px)}.report-grid{grid-template-columns:1fr}.bar-row{grid-template-columns:90px 1fr 20px;gap:8px}.drawer-body{padding:23px}.full-activity{padding:20px}}
.bar-track svg.bar-fill{display:block;fill:#7397c4;background:transparent}
.mobile-search{display:none}
@media(max-width:760px){.mobile-search{display:inline-grid}.sidebar{visibility:hidden}.sidebar.open{visibility:visible}.btn{min-height:40px}.heading-actions .btn-outline{display:inline-flex}}
@media(max-width:480px){.page-heading{flex-direction:column;align-items:stretch;gap:16px}.heading-actions{justify-content:flex-start}.page-heading p{max-width:100%}.page-heading h1{font-size:24px}.customer-card,.team-card{padding:22px}.stat-top{font-size:10px}}
/* CRM expansion: compact operational tables and explicit administrative controls. */
:root{--muted:#62738a}
.sidebar-nav{flex:1;overflow:auto;min-height:0}.sidebar .brand{padding-bottom:20px}.sidebar .workspace{margin-bottom:18px}.sidebar .nav{gap:2px}.sidebar .nav button{padding:10px 12px}.sidebar-bottom{padding-top:8px}.sidebar-nav::-webkit-scrollbar{width:3px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff24}
.crm-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:23px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:11px}.crm-filters .field{margin:0}.crm-filters .field input,.crm-filters .field select{padding:8px;font-size:11px;min-height:35px}.crm-stats{grid-template-columns:repeat(4,1fr)}.crm-stats .stat-value{margin-bottom:0}.crm-panels{display:flex;flex-direction:column;gap:22px}.crm-panels>.report-grid{margin:0}.cell-note{display:block;margin-top:6px;color:#62758e;font-size:10px}.link-name{color:#3f648f;font-weight:550;max-width:330px;white-space:normal;line-height:1.6}.table-wrap td{color:#60738c}.table-wrap th{color:#657990}.template-body{padding:0 24px 24px;line-height:1.9;font-size:12px;color:#61758e}.template-body p{white-space:pre-wrap}.template-body li{margin-bottom:12px}.drawer-actions{margin-top:16px}.drawer-actions .btn{font-size:10px;padding:9px 11px}.crm-drawer{width:760px}.crm-drawer .table-wrap{margin:0 -8px}.crm-drawer table th,.crm-drawer table td{padding:12px 8px;white-space:normal}.multi{border:1px solid #e2e8ef;border-radius:8px;padding:12px;margin:0 0 18px;font-size:11px;color:#657a95;max-height:280px;overflow:auto}.multi legend{padding:0 6px}.multi label{display:flex;align-items:center;gap:8px;padding:5px 0}.check-field{display:flex;gap:9px;align-items:flex-start;margin:15px 0;color:#637b98;font-size:12px;line-height:1.7}.check-field input,.multi input{accent-color:#3f72af;flex-shrink:0}.notification-list{padding:0 24px 20px}.notification-row{display:flex;align-items:center;gap:15px;padding:18px 10px;border-bottom:1px solid var(--line)}.notification-row>svg{color:#688db8}.notification-row>div{flex:1}.notification-row strong{font-size:12px;color:#486583}.notification-row small{display:block;color:#70849e;font-size:10px;margin-top:5px}.unread-row{background:#f0f5fc;border-radius:8px}.unread{position:absolute;right:-3px;top:-2px;font-size:9px;border-radius:5px;background:#3f72af;color:#fff;padding:2px 4px}.topbar .icon-button{position:relative}.contact-note{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;color:#69809c;line-height:1.8}.contact-note strong{color:#405c7c}.contact-note small{font-size:10px}.secret-value{width:100%;min-height:130px;font:12px/1.8 Consolas,monospace;color:#355c89;border:1px solid #dce6f3;border-radius:7px;padding:15px;resize:vertical}.full-activity details{font-size:10px;color:#6d819d;margin-top:10px}.full-activity details pre{max-width:620px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7fb;padding:12px;border-radius:7px;max-height:280px;overflow:auto;font-size:10px}.form-error{background:#fff4f2;padding:10px;border-radius:6px}.form-error:empty{padding:0}.nav-collapsed .shell{grid-template-columns:80px minmax(0,1fr)}.nav-collapsed .sidebar{width:80px;padding-left:12px;padding-right:12px}.nav-collapsed .brand{padding:0 0 25px;justify-content:center}.nav-collapsed .brand>div,.nav-collapsed .workspace,.nav-collapsed .nav-text,.nav-collapsed .nav-count,.nav-collapsed .user-name{display:none}.nav-collapsed .nav button{justify-content:center}.nav-collapsed .user-strip{flex-direction:column;padding:15px 0}.nav-collapsed .user-strip button{margin:0}
@media(max-width:980px){.crm-filters{grid-template-columns:repeat(2,1fr)}.crm-stats{grid-template-columns:repeat(2,1fr)}.notification-row{flex-wrap:wrap}.notification-row>div{min-width:180px}.crm-drawer{width:100%}}
@media(max-width:760px){.crm-filters{padding:14px;gap:10px}.crm-filters .field{font-size:10px}.crm-filters .field select{max-width:100%}.crm-stats .stat{padding:15px}.nav-collapsed .shell{display:block}.nav-collapsed .sidebar{width:246px;padding:25px 20px}.nav-collapsed .brand>div,.nav-collapsed .nav-text,.nav-collapsed .user-name{display:block}.nav-collapsed .nav button{justify-content:flex-start}.nav-collapsed .user-strip{flex-direction:row}.nav-collapsed .brand{justify-content:flex-start}.crm-drawer .drawer-body{padding:22px}.heading-actions{flex-wrap:wrap}.sidebar{padding-top:25px}.sidebar .user-strip{padding-top:12px}}
.filter-details{margin:0 0 22px}.filter-details summary{display:flex;align-items:center;gap:8px;color:#4f709a;font-size:11px;cursor:pointer;list-style:none}.filter-details summary svg{width:16px;height:16px}.filter-details summary span{margin-left:auto;color:#71849d;font-size:10px}.filter-details[open] summary{margin-bottom:15px}.filter-details .crm-filters{margin:0}.pill.urgent,.pill.follow_up_due{background:#fff0ed;color:#a95746}.pill.assigned{background:#edf3fc;color:#3f72af}.pill.waiting_customer{background:#fff6e4;color:#957523}.pill.closed,.pill.completed{background:#eaf5ef;color:#367d5a}.pill.unassigned,.pill.disabled{background:#f1edf6;color:#796589}.pill.available{background:#eaf5ef;color:#367d5a}.pill.busy,.pill.on_leave{background:#fff2e9;color:#a66f40}.pill.quarantined{background:#fff6e4;color:#94702a}.pill.approved{background:#eaf5ef;color:#367d5a}
@media(min-width:761px) and (max-width:980px){.crm-stats{grid-template-columns:repeat(3,1fr)}}
.stat-top,.stat-foot,.panel-head p,.tabs button:not(.active),.page-heading p,.card-category,.task-card p,.customer-card p,.customer-meta,.date-label,.field,.field small,.cell-note,.table-footer,.footer-note,.breadcrumb,.searchbox,.report-summary p,.activity-item time,.full-activity details,.template-body,.bar-row{color:#526781}
.pill.high,.pill.medium,.pill.low,.pill.normal,.pill.urgent,.pill.in_progress,.pill.pending,.pill.todo,.pill.open,.pill.done,.pill.resolved,.pill.assigned,.pill.waiting_customer,.pill.follow_up_due,.pill.closed,.pill.completed,.pill.unassigned,.pill.disabled,.pill.available,.pill.busy,.pill.on_leave,.pill.quarantined,.pill.approved,.pill.active{color:#385474}
.due.overdue{color:#963f35}.field input,.field select,.field textarea,.input-search,.toolbar select{border-color:#7c8fa6}
button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline-color:#3f72af}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
