:root{--ink:#233b3b;--muted:#7c8988;--green:#234b47;--mint:#e9f1ec;--line:#e3e9e5;--bg:#f5f7f4;--white:#fff;--red:#af4938;--amber:#b97b35;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #8bb5a7;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#649d8b;box-shadow:0 0 0 3px #e9f1ec}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.7px;line-height:1.35;margin-bottom:6px}h2{font-size:18px;margin-bottom:8px}h3{font-size:15px;margin-bottom:10px}small,.sub{font-size:11px;color:var(--muted);font-weight:400}.sub{display:block;line-height:1.7}.muted{color:var(--muted)}.brand{display:flex;gap:12px;align-items:center;font-weight:650;font-size:16px;line-height:1.4}.brand .logo{width:40px;height:40px;border-radius:12px;background:var(--green);color:white;display:grid;place-items:center}.brand .logo svg{width:25px;height:25px}.brand small{font-size:10px;letter-spacing:1.4px}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 8px 38px}.nav-caption{font-size:10px;letter-spacing:1.5px;color:#9ba6a2;padding:12px 13px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;color:#697b76;font-weight:550}.nav a.active{background:var(--mint);color:var(--green)}.nav a:hover{background:#f3f6f2}.nav a .sub{font-size:10px}.sidebar-bottom{margin-top:auto;padding:20px 8px 0;border-top:1px solid var(--line);font-size:12px}.online{display:flex;align-items:center;gap:7px}.online:before{content:'';width:6px;height:6px;border-radius:50%;background:#5b9a7d}.workspace{margin-left:224px;min-height:100vh}.topbar{height:84px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffa6;gap:20px}.breadcrumbs{font-size:12px;color:#8a9590;display:flex;align-items:center;gap:12px}.breadcrumbs strong{color:#435b52;font-weight:500}.account{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9eee5;color:#516746;font-weight:700}.account-name{font-size:12px}.content{padding:36px 40px 48px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{color:#6e8377;font-size:10px;letter-spacing:2px;margin-bottom:10px;font-weight:600}.page-heading p{color:#88948d;margin:7px 0 0;font-size:12px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:11px 16px;background:white;color:var(--ink);font-weight:550;font-size:12px;line-height:1.4;white-space:nowrap}.btn:hover{background:#f2f5f1}.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 4px 9px #234b4714}.btn.primary:hover{background:#193d39}.btn.danger{color:var(--red);border-color:#ebd5ce}.btn.small{padding:7px 10px;font-size:11px}.btn.ghost{border-color:transparent;background:transparent;padding:7px}.btn.ghost:hover{background:var(--mint)}.btn svg{width:16px;height:16px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 23px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#74847b}.stat-top svg{color:#94a49a;width:18px;height:18px}.stat-value{font-size:32px;font-weight:550;letter-spacing:-1px;margin:15px 0 5px}.stat-foot{font-size:10px;color:#97a39a}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h2{font-size:15px;margin:0}.filters{display:flex;gap:12px;padding:17px 24px;background:#fdfefd;flex-wrap:wrap}.search{position:relative;flex:1;min-width:220px}.search svg{position:absolute;top:11px;left:12px;width:16px;color:#95a19a}.search input{padding-left:37px;width:100%}.filters select{max-width:205px}input,select,textarea{background:white;color:var(--ink);border:1px solid #dce4de;border-radius:7px;padding:10px 11px;min-width:0;line-height:1.45}input,select{height:40px}textarea{resize:vertical;min-height:80px}input::placeholder,textarea::placeholder{color:#a2ada6;font-size:11px}input:disabled,select:disabled{background:#f3f5f2;color:#809087}table{width:100%;border-collapse:collapse;text-align:left}.table-scroll{overflow:auto}th{font-size:11px;color:#85928a;font-weight:500;background:#f7f9f6;padding:13px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #edf0eb;font-size:12px}tbody tr:hover{background:#fafcf9}td .sub{margin-top:5px;font-size:10px}.number-link{border:none;background:none;color:var(--green);font-weight:650;cursor:pointer;padding:0;text-align:left}.right{text-align:right}.nowrap{white-space:nowrap}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap;background:#edf4ed;color:#52775e}.badge.draft{background:#f7f0e2;color:#a18243}.badge.void{background:#f7eae6;color:#b26d5b}.table-foot{padding:16px 23px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.empty{padding:65px 24px;text-align:center;color:var(--muted)}.empty .empty-icon{width:64px;height:64px;border-radius:18px;background:#eef3eb;margin:0 auto 20px;display:grid;place-items:center;color:#789578}.empty svg{width:28px;height:28px}.empty h3{color:var(--ink);font-size:17px;font-weight:550}.empty p{font-size:12px;line-height:1.9;margin-bottom:22px}.intro-strip{display:flex;gap:16px;padding:20px 24px;border-radius:10px;background:#eef2e9;border:1px solid #e3e9dd;margin-top:24px;font-size:12px;color:#5e705b;line-height:1.8}.intro-strip svg{margin-top:2px}.intro-strip strong{display:block;font-weight:550}.intro-strip .sub{color:#8a9783}.editor-heading{margin-bottom:22px}.editor-heading h1{font-size:24px}.editor-grid{display:grid;grid-template-columns:minmax(440px,.95fr) minmax(460px,1.05fr);gap:24px;align-items:start}.editor-card{padding:24px;margin-bottom:18px;border:1px solid var(--line);border-radius:10px;background:white}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.section-num{font-size:10px;background:var(--mint);border-radius:6px;color:#6b8a78;display:grid;place-items:center;width:26px;height:26px}.section-title h2{font-size:14px;margin:0}.section-title .sub{display:inline;margin-left:6px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:11px;color:#657c70;line-height:1.5}.field label small{font-size:10px;margin-left:5px}.field.full{grid-column:1/-1}.field .hint{font-size:10px;color:#95a197}.hint{line-height:1.7;color:var(--muted);font-size:11px}.field input,.field select,.field textarea{width:100%}.required{color:#b78f62;margin-left:4px}.customer-select{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.snapshot{background:#f3f6f0;border-radius:7px;padding:12px;margin-top:13px;font-size:11px;line-height:1.8;color:#748373;white-space:pre-wrap}.line-head,.line-item{display:grid;grid-template-columns:minmax(130px,1fr) 65px 92px 26px;gap:8px}.line-head{font-size:10px;color:var(--muted);margin-bottom:8px}.line-item{margin-bottom:10px;align-items:start}.line-item textarea{min-height:40px;height:40px;padding:9px;font-size:12px}.line-item input{padding:8px;font-size:12px}.line-item .btn{height:40px;padding:0}.add-line{margin-top:5px;color:#577e68}.adjust-row{display:grid;grid-template-columns:1fr 100px 110px;gap:10px;align-items:center;margin-bottom:12px}.adjust-row label{font-size:11px;color:#657c70}.adjust-row .sub{font-size:10px}.adjust-row input,.adjust-row select{width:100%;font-size:11px}.editor-card details summary{cursor:pointer;font-size:13px;list-style:none;display:flex;align-items:center;justify-content:space-between}.editor-card details summary:after{content:'＋';color:#829b89}.editor-card details[open] summary:after{content:'－'}.editor-card details[open] .field-grid{margin-top:20px}.preview-wrap{position:sticky;top:24px}.preview-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:0 4px 13px;color:#7a8a80}.preview-label{display:flex;align-items:center;gap:7px}.preview-dot{width:6px;height:6px;border-radius:50%;background:#83a98a}.preview-shell{padding:18px;background:#e9ede6;border:1px solid #dfe5db;border-radius:10px;overflow:hidden}.preview-shell iframe{border:none;background:white;width:100%;height:820px;box-shadow:0 5px 20px #243e3010}.preview-hint{text-align:center;font-size:10px;color:#98a28e;margin:12px 0 0}.preview-error{border:1px solid #ebc7ba;background:#fcf0e9;padding:12px;color:#a64d39;border-radius:7px;font-size:12px;margin-bottom:12px}.editor-summary{display:flex;justify-content:space-between;align-items:center;background:#edf3eb;padding:17px 20px;border-radius:9px;gap:12px}.editor-summary strong{font-size:20px;color:var(--green)}.editor-summary span{font-size:11px;color:#6d856d}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:20px;padding:20px 0}.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.company-card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.company-top{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:16px}.company-icon{width:40px;height:40px;border-radius:10px;background:var(--mint);display:grid;place-items:center;color:#688570}.company-card h2{font-size:16px;margin-top:13px}.company-card .address{font-size:12px;color:#829082;white-space:pre-wrap;line-height:1.9;min-height:46px}.company-card .card-foot{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;display:flex;gap:9px;justify-content:space-between}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-story{background:var(--green);color:#fff;padding:60px 70px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:550px;height:550px;border-radius:50%;border:1px solid #ffffff14;bottom:-130px;left:-80px;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff03;pointer-events:none}.login-story .brand .logo{background:#ffffff15}.login-story .brand small{color:#b0c7bd}.story-copy{margin:auto 0;position:relative;z-index:1}.story-copy .eyebrow{color:#9ab9a8}.story-copy h1{font-size:44px;line-height:1.55;font-weight:500;letter-spacing:1px}.story-copy p{color:#adc3b5;font-size:14px;line-height:2}.story-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.story-tags span{border:1px solid #ffffff23;border-radius:6px;padding:9px 13px;color:#cbddd1;font-size:11px}.story-footer{color:#9cb8a9;font-size:11px;z-index:1}.login-side{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:350px}.login-form h2{font-size:26px;letter-spacing:-.5px;margin-bottom:8px}.login-form .sub{margin-bottom:36px}.login-form .field{margin-bottom:20px}.login-form .btn{width:100%;margin-top:8px;padding:13px}.login-form .note{font-size:11px;color:#9aa69c;line-height:1.8;margin-top:25px}.form-error{color:var(--red);font-size:12px;line-height:1.8;margin:12px 0}.boot{padding:80px;text-align:center;color:#7c8988}.mobile-toggle{display:none}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:650px;width:calc(100% - 32px);box-shadow:0 24px 100px #1d39272e;color:var(--ink);max-height:90vh}dialog::backdrop{background:#18332955;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;font-size:17px}.dialog-body{padding:24px 26px;overflow:auto}.dialog-foot{border-top:1px solid var(--line);padding:17px 26px;display:flex;justify-content:flex-end;gap:10px}.logo-preview{max-width:100px;max-height:65px;object-fit:contain}.check{display:flex;align-items:center;gap:9px;font-size:12px}.check input{height:auto;width:auto}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#244b41;color:#fff;padding:13px 23px;border-radius:9px;box-shadow:0 6px 30px #173a2726;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.show{opacity:1}#toast.error{background:#9e4c3b}.row-actions{display:flex;gap:5px;justify-content:flex-end}.checkbox-row{margin-top:20px}.mobile-scrim{display:none}.guide-list{font-size:13px;line-height:2.1;color:#6d8070;padding-left:20px}.helper-note{background:#f0f4ec;border-radius:8px;padding:14px 17px;font-size:11px;line-height:1.9;margin-bottom:20px;color:#71836b}
@media(min-width:1600px){.preview-shell iframe{height:960px}}@media(max-width:1250px){.sidebar{width:190px;padding:26px 14px}.workspace{margin-left:190px}.topbar{padding:0 25px}.content{padding:28px 25px}.editor-grid{grid-template-columns:minmax(390px,1fr) minmax(380px,1fr);gap:16px}.editor-card{padding:18px}.preview-shell{padding:10px}.stats{gap:12px}.stat{padding:18px}.sidebar .brand{padding:0 5px 28px;font-size:14px}.sidebar .brand .logo{width:34px;height:34px}.preview-shell iframe{height:740px}.line-head,.line-item{grid-template-columns:minmax(110px,1fr) 57px 78px 24px}}
@media(max-width:1050px){.editor-grid{grid-template-columns:1fr}.preview-wrap{position:static}.preview-shell{max-width:780px;margin:auto}.preview-shell iframe{height:1000px}.editor-footer{position:sticky;bottom:0;background:#f5f7f4f5;border-top:1px solid var(--line);z-index:10}.login-story{padding:45px}.story-copy h1{font-size:34px}.stats{grid-template-columns:repeat(2,1fr)}.account-name{display:none}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px}.sidebar.open{transform:translateX(0)}.sidebar.open~.mobile-scrim{display:block;position:fixed;inset:0;background:#19372b55;z-index:19}.workspace{margin-left:0}.topbar{height:64px;padding:0 18px}.mobile-toggle{display:inline-flex}.breadcrumbs{font-size:10px;gap:6px}.breadcrumbs>span{display:none}.account{gap:4px}.account .avatar{display:none}.content{padding:24px 16px}.page-heading{align-items:start;gap:12px;margin-bottom:24px}h1{font-size:24px}.page-heading>.btn{padding:10px;font-size:10px}.page-heading p{font-size:10px}.eyebrow{font-size:9px}.stats{gap:10px;margin-bottom:20px}.stat{padding:16px}.stat-value{font-size:28px}.stat-foot{font-size:9px}.stat-top{font-size:10px}.filters{padding:14px;gap:8px}.filters select{flex:1;max-width:none;font-size:11px}.search{flex-basis:100%}.panel-head{padding:18px}.table-foot{padding:13px;gap:8px;font-size:10px}.intro-strip{padding:16px;font-size:11px}.editor-heading{flex-wrap:wrap}.editor-heading .actions{width:100%}.editor-grid{gap:20px}.editor-card{padding:17px}.field-grid{gap:13px}.customer-select{grid-template-columns:1fr}.adjust-row{grid-template-columns:1fr 82px 90px;gap:7px}.field label small{display:block;margin-left:0}.editor-summary strong{font-size:18px}.editor-footer{flex-wrap:wrap}.editor-footer .hint{display:none}.editor-footer .actions{width:100%;justify-content:flex-end}.preview-shell{padding:5px}.preview-shell iframe{height:750px}.cards-grid{grid-template-columns:1fr}.login-page{grid-template-columns:1fr}.login-story{padding:26px 25px}.story-copy{margin:32px 0 8px}.story-copy h1{font-size:26px;line-height:1.4}.story-copy p,.story-tags,.story-footer{display:none}.login-side{padding:36px 25px}.login-form{width:100%;max-width:360px}.login-form .sub{margin-bottom:25px}.dialog-head,.dialog-body{padding:20px}.dialog-foot{padding:15px 20px}.company-card{padding:21px}.line-item textarea{height:60px}.btn{font-size:11px;padding:10px 12px}}
