:root{font-family:Inter,"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#172c32;background:#f6f8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;letter-spacing:.13em;color:#17383a}.brand small{display:block;font-size:10px;font-weight:600;letter-spacing:.22em;color:#83a3a0;margin-top:3px}.brand-mark{width:35px;height:35px;display:grid;place-items:center;background:#13464a;color:#fff;border-radius:9px;font:700 21px Georgia,serif;letter-spacing:0}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#2d8b7f}.primary{border:1px solid #145c58;background:#145c58;color:white;border-radius:10px;padding:11px 19px;font-weight:700;box-shadow:0 5px 12px #145c5822}.primary:hover{background:#0f4b48}.ghost{border:1px solid #d8e3e0;background:#fff;color:#31505a;border-radius:9px;padding:10px 15px;font-weight:650}.ghost:hover{background:#f3f8f6}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(440px,48%) 1fr;background:#fff}.login-card{max-width:500px;width:100%;padding:50px 64px;margin:auto}.login-copy{margin:100px 0 40px}.login-copy h1{font-size:36px;letter-spacing:-.04em;margin:10px 0}.login-copy p{color:#7a8d91;margin:0;line-height:1.8}.login-card label,.form-dialog label{display:block;color:#344d54;font-size:13px;font-weight:650;margin-bottom:18px}.login-card input,.form-dialog input,.form-dialog textarea,.form-dialog select{display:block;width:100%;margin-top:8px;border:1px solid #dce6e5;background:#fff;border-radius:9px;padding:12px 13px;color:#1a3038;outline:none}.login-card input:focus,.form-dialog input:focus,.form-dialog textarea:focus,.form-dialog select:focus,.search-box:focus-within{border-color:#459889;box-shadow:0 0 0 3px #4598891c}.wide{width:100%;margin-top:12px;display:flex;justify-content:space-between}.setup-hint{margin-top:26px;padding:16px;background:#f4f8f4;color:#536b6b;border-radius:10px;font-size:12px;line-height:1.8}.setup-hint code{display:block;color:#145c58}.login-art{position:relative;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 78% 20%,#518d80 0,transparent 30%),linear-gradient(145deg,#134d4c,#0c272f 75%);color:white}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to top,#000,transparent)}.login-art:after{content:"A";position:absolute;right:-6%;top:15%;font:600 560px Georgia,serif;color:#ffffff0a}.art-content{position:absolute;left:12%;bottom:12%;z-index:1}.art-content span{font-size:11px;letter-spacing:.25em;color:#a1ccc3}.art-content h2{font-size:42px;line-height:1.3;font-weight:600;letter-spacing:-.05em;margin:18px 0}.art-content p{color:#b6d4d0}.app-shell{min-height:100vh;display:flex}.sidebar{width:245px;min-width:245px;background:#fff;border-right:1px solid #e5eceb;display:flex;flex-direction:column;padding:30px 16px}.sidebar .brand{margin:0 15px 72px}.sidebar-label{font-size:10px;letter-spacing:.14em;color:#9babad;font-weight:750;margin:0 14px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{width:100%;text-align:left;border:0;background:none;color:#71888d;padding:12px 14px;border-radius:9px;font-size:13px;font-weight:650}.nav-item.active{background:#e9f4f0;color:#155c55}.nav-item:hover{background:#f1f7f5}.nav-icon{font-size:19px;vertical-align:-2px;margin-right:10px}.sidebar-bottom{border-top:1px solid #edf1f0;margin-top:auto;padding:20px 5px 0;display:flex;align-items:center;gap:10px}.user-avatar,.mini-avatar{width:35px;height:35px;border-radius:10px;background:#dcedea;color:#19665e;display:grid;place-items:center;font-weight:750}.user-meta{min-width:0;flex:1}.user-meta strong,.user-meta small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-meta strong{font-size:12px}.user-meta small{font-size:11px;color:#9babad;margin-top:2px}.sidebar-bottom button{border:0;background:none;color:#8aa0a3;font-size:19px}.workspace{flex:1;min-width:0}.topbar{height:72px;border-bottom:1px solid #e8eeec;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:12px;color:#859a9d}.breadcrumb span{margin:0 7px}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:12px;color:#8da0a2}.top-actions .ghost{padding:8px 13px;font-size:12px}#customersView,#usersView{max-width:1420px;margin:0 auto;padding:40px 42px 70px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:29px;letter-spacing:-.04em;margin:9px 0}.page-heading p{margin:0;color:#88999b;font-size:13px}.stats-row{display:flex;gap:16px;margin-bottom:25px}.stat-card,.stat-note,.list-panel{background:#fff;border:1px solid #e4ebea;border-radius:14px}.stat-card{min-width:215px;padding:19px 23px}.stat-card>span,.stat-card small{display:block;color:#8da1a1;font-size:12px}.stat-card strong{display:block;color:#163d3e;font-size:30px;margin:8px 0 4px}.stat-note{flex:1;padding:20px 24px;display:flex;align-items:center;gap:15px}.stat-note p{font-size:12px;color:#829697;line-height:1.7}.note-icon{font-size:24px;color:#58a393}.list-panel{overflow:hidden}.list-toolbar{padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.list-toolbar h2{font-size:16px;margin:0 0 6px}.list-toolbar p{font-size:12px;color:#93a3a4;margin:0}.search-box{display:flex;align-items:center;border:1px solid #dce6e5;background:#fbfcfc;border-radius:9px;color:#87a09e;padding:0 12px;width:min(360px,45%)}.search-box span{font-size:22px}.search-box input{width:100%;border:0;outline:0;background:none;padding:10px;font-size:12px;color:#223b40}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;background:#f9fbfa;color:#8da1a1;text-transform:none;font-weight:700;font-size:11px;padding:13px 24px;border-block:1px solid #eef2f1}td{padding:16px 24px;border-bottom:1px solid #f0f3f2;font-size:12px;color:#52686c}tbody tr:hover{background:#fbfdfc}td small{display:block;color:#9ba9aa;font-size:11px;margin-top:4px}.company-name{font-weight:750;color:#233b3f;font-size:13px}.owner-chip{display:inline-block;background:#eef6f3;color:#39776d;padding:5px 9px;border-radius:6px;font-size:11px}.row-open{background:none;border:0;color:#79a89e;font-size:18px}.pagination{padding:18px 25px;display:flex;align-items:center;justify-content:flex-end;gap:16px}.pagination .ghost{padding:7px 11px;font-size:11px}.pagination span{color:#9aabac;font-size:11px}.empty-state{text-align:center;padding:65px 15px;color:#8ca2a1}.empty-state div{font-size:30px;color:#a7c9c0;margin-bottom:12px}.empty-state strong{color:#536e70}.empty-state p{font-size:12px}.person-cell{display:flex;align-items:center;gap:10px}.mini-avatar{width:30px;height:30px;border-radius:50%}.status{display:inline-block;padding:5px 9px;border-radius:99px;font-size:11px}.status.active{background:#e8f7ee;color:#388052}.status.inactive{background:#f0f1f2;color:#839093}.text-button{border:0;background:none;color:#267d71;font-size:12px;margin-left:12px}.text-button:hover{text-decoration:underline}.form-dialog{border:0;border-radius:15px;box-shadow:0 20px 70px #152f3340;width:min(700px,calc(100vw - 30px));max-height:min(90vh,900px);padding:0;color:#253d43}.form-dialog::backdrop{background:#0b2b35a6}.small-dialog{width:min(490px,calc(100vw - 30px))}.dialog-head{padding:23px 28px 18px;display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #ecf1ef}.dialog-head h2{font-size:21px;margin:6px 0 0}.close-btn{border:0;background:none;color:#9aabad;font-size:27px;line-height:1}.dialog-body{padding:25px 28px;max-height:62vh;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .span-2{grid-column:span 2}.form-dialog label b{color:#bf6054}.form-dialog textarea{resize:vertical}.stacked label{margin-bottom:19px}.dialog-actions{padding:16px 28px;border-top:1px solid #ecf1ef;display:flex;justify-content:flex-end;gap:10px;background:#fff}.duplicate-box{border:1px solid #eedca3;border-radius:9px;background:#fffae8;padding:14px;color:#866726;font-size:12px;line-height:1.7;margin-bottom:17px}.duplicate-box p{margin:4px 0 0}.history-section{border-top:1px solid #e9efed;padding-top:17px;margin-top:6px}.history-section h3{font-size:14px}.history-item{display:flex;gap:12px;margin:15px 0}.history-dot{width:9px;height:9px;border-radius:50%;background:#79aea2;margin-top:4px;flex:none}.history-item strong,.history-item small,.history-item time{display:block}.history-item strong{font-size:12px}.history-item small{color:#71898a;font-size:11px;line-height:1.6;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.history-item time,.muted{color:#a0aeae;font-size:11px}#toast{position:fixed;right:24px;top:22px;z-index:100;background:#224e49;color:#fff;padding:13px 18px;border-radius:9px;box-shadow:0 8px 25px #183d3d30;font-size:12px;opacity:0;transform:translateY(-12px);pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateY(0)}#toast.error{background:#a44f46}@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-art{display:none}.login-card{padding:35px}.login-copy{margin:80px 0 35px}.sidebar{width:72px;min-width:72px;padding:25px 9px}.sidebar .brand{margin:0 auto 55px}.sidebar .brand>span:last-child,.sidebar-label,.nav-item{font-size:0}.nav-item{padding:12px}.nav-icon{font-size:20px;margin:0}.sidebar-bottom{justify-content:center}.user-meta,.sidebar-bottom button{display:none}.topbar{padding:0 22px}#customersView,#usersView{padding:30px 22px}}@media(max-width:600px){.app-shell{display:block}.sidebar{width:100%;height:58px;min-width:0;flex-direction:row;align-items:center;padding:8px 15px}.sidebar .brand{margin:0 15px 0 0}.sidebar nav{display:flex;gap:0}.nav-item{width:auto}.sidebar-bottom{margin:0 0 0 auto;border:0;padding:0}.sidebar-bottom .user-avatar{width:30px;height:30px}.topbar{height:48px;padding:0 17px}.today{display:none}#customersView,#usersView{padding:27px 15px}.page-heading{align-items:start}.page-heading h1{font-size:23px}.page-heading p{line-height:1.6}.page-heading .primary{white-space:nowrap;font-size:11px;padding:10px}.stat-note{display:none}.stat-card{width:100%}.list-toolbar{display:block}.search-box{width:100%;margin-top:16px}.form-grid{display:block}.dialog-body{padding:20px}.dialog-head,.dialog-actions{padding:16px 20px}}
