:root{--ink:#232923;--muted:#757b72;--line:#e2e5dc;--paper:#f5f6f1;--white:#fff;--dark:#202920;--accent:#b69353;--green:#4a7254;--green-bg:#eaf1e7;--amber-bg:#f5eddb;--red:#a35849;--red-bg:#f8ebe6;--radius:14px;--shadow:0 16px 50px #18221816;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #b6935366;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h1{letter-spacing:-.025em}svg{display:block}.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.logo-mark{width:38px;height:38px;color:var(--accent);flex-shrink:0}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:19px;font-weight:600;letter-spacing:.08em}.brand small{display:block;font-size:10px;letter-spacing:.16em;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 16px;font-weight:500;white-space:nowrap;transition:background .18s,transform .18s}.btn:hover{background:#f1f3eb}.btn.primary{background:var(--dark);border-color:var(--dark);color:#fff}.btn.primary:hover{background:#354034}.btn.gold{background:var(--accent);border-color:var(--accent);color:#fff}.btn.ghost{background:transparent;border-color:transparent}.btn.small{padding:6px 11px;font-size:12px}.btn.danger{color:var(--red);border-color:#e7c8c0}.btn.icon-btn{padding:8px;min-width:36px}.text-btn{border:0;background:transparent;color:var(--ink);padding:3px 0;font-size:13px}.text-btn:hover{text-decoration:underline}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--accent);font-weight:600}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:5px;background:#edf0e8;color:#5f665b;font-size:11px;font-weight:500;white-space:nowrap}.badge.green{background:var(--green-bg);color:var(--green)}.badge.amber{background:var(--amber-bg);color:#907139}.badge.red{background:var(--red-bg);color:var(--red)}.dot{width:5px;height:5px;border-radius:50%;background:currentColor}.boot,.empty,.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:55px 20px;color:var(--muted)}.boot{min-height:100vh}.spinner{width:25px;height:25px;border:2px solid #d9dfd4;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty .icon{width:34px;height:34px;color:#b1b8a9}.error-state{color:var(--red)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-head h2{font-size:17px}.section-head p{font-size:12px;color:var(--muted);margin-top:4px}.flex{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.spacer{flex:1}.mono{font-family:ui-monospace,Consolas,monospace;font-size:12px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.panel-pad{padding:23px}.nowrap{white-space:nowrap}
/* Public introduction */
.public-page{background:#f7f7f0;min-height:100vh}.public-header{max-width:1240px;margin:auto;padding:25px 36px;display:flex;align-items:center;justify-content:space-between;gap:25px}.public-nav{display:flex;align-items:center;gap:30px;font-size:13px}.public-nav a{color:#61685b}.public-nav a:hover{color:var(--ink)}.public-main{max-width:1240px;margin:auto;padding:64px 36px 70px}.hero{display:grid;grid-template-columns:1.17fr 1fr;align-items:center;gap:50px;min-height:470px}.hero h1{font-size:clamp(36px,4.9vw,62px);line-height:1.28;margin:20px 0 25px;font-weight:550;letter-spacing:.015em}.hero h1 em{font-style:normal;color:#8c764c}.hero-copy>p{max-width:465px;line-height:1.9;color:#747b6e;font-size:15px}.hero-actions{display:flex;gap:12px;align-items:center;margin-top:32px}.hero-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#78816e;margin-top:24px}.hero-note .icon{width:15px;height:15px}.hero-art{position:relative;min-height:440px;display:flex;align-items:center;justify-content:center}.orbit{width:100%;max-width:490px;height:auto;color:#869078}.art-tag{position:absolute;padding:13px 17px;background:#fffffff0;border:1px solid #e0e5d6;border-radius:10px;box-shadow:0 8px 25px #333c2410;font-size:12px;display:flex;gap:9px;align-items:center}.art-tag .icon{color:#798866}.art-tag.one{top:21%;right:0}.art-tag.two{bottom:17%;left:0}.art-tag span{display:block;font-size:10px;color:var(--muted);margin-top:2px}.hero-index{display:flex;gap:28px;border-top:1px solid var(--line);padding-top:23px;margin-top:35px;max-width:480px}.hero-index div{font-size:12px;color:#707867}.hero-index b{display:block;font-size:16px;color:var(--ink);font-weight:500;margin-bottom:3px}.public-section{padding-top:70px;margin-top:25px}.public-section h2{font-size:29px;line-height:1.4;margin-top:9px}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.value-card{background:#fff;border:1px solid #e1e6d9;padding:28px;border-radius:12px}.value-number{font-size:12px;font-family:ui-monospace,monospace;letter-spacing:.12em;color:#939d86;display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.value-number .icon{width:23px;height:23px;color:#718067}.value-card h3{font-size:18px;margin-bottom:12px}.value-card p{font-size:13px;color:#777f6e;line-height:1.85}.process{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;margin-top:28px}.process-step{padding:24px 23px;position:relative}.process-step:not(:last-child){border-right:1px solid var(--line)}.process-step small{color:#a18e62;font-family:ui-monospace,monospace}.process-step strong{display:block;font-size:15px;font-weight:500;margin:10px 0 7px}.process-step p{font-size:11px;color:var(--muted);line-height:1.75}.public-footer{border-top:1px solid var(--line);max-width:1168px;margin:0 auto;padding:25px 0;color:#8b9280;font-size:12px;display:flex;justify-content:space-between;gap:16px}.login-modal{max-width:460px!important}.login-intro{padding:7px 0 24px}.login-intro h2{font-size:25px;margin:13px 0 7px}.login-intro p{color:var(--muted);font-size:13px}.login-foot{margin-top:18px;font-size:11px;text-align:center;color:var(--muted)}
/* Application shell */
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;background:var(--dark);color:#e9eee3;z-index:30;display:flex;flex-direction:column;padding:29px 20px 20px}.sidebar .brand{padding:0 6px 26px;border-bottom:1px solid #ffffff14}.sidebar .brand strong{font-size:21px;letter-spacing:.17em}.sidebar .brand small{color:#8e9c89;font-size:9px;letter-spacing:.12em}.sidebar .logo-mark{width:34px;height:34px;color:#c2aa73}.sidebar-label{font-size:10px;letter-spacing:.15em;color:#82917d;margin:30px 16px 12px}.nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;color:#aebba7;font-size:13px;border:0;background:transparent;text-align:left;transition:background .18s,color .18s}.nav-link:hover{background:#ffffff09;color:white}.nav-link.active{background:#f4f4e8;color:#343e2d}.nav-link .icon{width:18px;height:18px}.nav-counter{margin-left:auto;border-radius:4px;background:#ffffff10;font-size:10px;padding:1px 6px}.nav-link.active .nav-counter{background:#dfe3d4}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom .workspace-status{margin:0 12px 14px;padding:15px 0;border-top:1px solid #ffffff12;font-size:10px;color:#9baa93}.sidebar-bottom .workspace-status b{font-size:12px;color:#c9d2c0;font-weight:400;display:block;margin-bottom:6px}.sidebar-bottom .btn{color:#a5b29d;font-size:12px;padding-left:12px}.shell-body{margin-left:238px;width:calc(100% - 238px)}.topbar{height:75px;border-bottom:1px solid var(--line);background:#fffffff2;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;z-index:20}.breadcrumb{font-size:12px;display:flex;align-items:center;gap:11px;color:#9a9f94}.breadcrumb b{font-weight:500;color:#565e4e}.topbar-user{display:flex;align-items:center;gap:11px}.avatar{width:33px;height:33px;border-radius:50%;background:#e8ede1;color:#667558;display:flex;align-items:center;justify-content:center;font-size:12px}.user-name{font-size:12px;font-weight:500}.user-role{font-size:10px;color:var(--muted)}.topbar-divider{height:25px;width:1px;background:var(--line);margin:0 4px}.mobile-menu{display:none}.main-content{padding:33px 34px 40px;max-width:1600px;margin:auto}.page-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:25px}.page-title-row h1{font-size:27px;font-weight:550;line-height:1.4}.page-title-row p{font-size:12px;color:var(--muted);margin-top:6px}.date-label{font-size:11px;color:#8f9787;margin-bottom:5px}.summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;position:relative}.summary-card.featured{background:#dfe7d7;border-color:#d7e0cd}.summary-card .card-label{display:flex;justify-content:space-between;align-items:center;color:#7b8571;font-size:11px}.summary-card .icon{color:#9ea791;width:17px;height:17px}.summary-card .card-value{font-size:35px;font-weight:500;letter-spacing:-.03em;line-height:1.1;margin:16px 0 10px}.summary-card .card-note{font-size:10px;color:#8d9683}.summary-card.featured .card-label,.summary-card.featured .card-note{color:#6c7d5b}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.dashboard-grid .panel{min-width:0}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.data-table th{text-align:left;padding:13px 18px;background:#f8f9f4;color:#8b9482;font-size:10px;letter-spacing:.035em;font-weight:500;border-bottom:1px solid var(--line)}.data-table td{padding:15px 18px;border-bottom:1px solid #edf0e7;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr.clickable{cursor:pointer}.data-table tbody tr.clickable:hover{background:#f8f9f4}.case-name{max-width:310px;overflow:hidden;text-overflow:ellipsis;font-weight:500;color:#333d2b;line-height:1.5;display:block}.case-no{font-size:10px;color:#8c957f;display:block;margin-top:5px;font-family:ui-monospace,Consolas,monospace}.table-index{font-size:10px;color:#a0a895}.panel-heading{padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:3px}.due-list{padding:0 22px}.due-item{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid #edf0e7;cursor:pointer}.due-item:last-child{border-bottom:0}.due-date{width:43px;border-radius:6px;background:#f2f2e6;flex-shrink:0;text-align:center;padding:7px 2px;height:49px}.due-date b{font-size:17px;line-height:1.1;display:block;font-weight:500;color:#8f8054}.due-date small{font-size:9px;color:#aaa081}.due-info{flex:1;min-width:0}.due-info strong{font-size:12px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.due-info p{font-size:10px;color:var(--muted);margin-top:5px}.distribution{display:flex;align-items:center;gap:22px;padding:5px 24px 23px}.donut-wrap{position:relative;width:130px;height:130px;flex-shrink:0}.donut-wrap svg{width:130px;height:130px;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.donut-center b{font-size:25px;font-weight:500}.donut-center span{font-size:9px;color:var(--muted)}.legend{flex:1}.legend-item{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:10px;color:#7a846e}.legend-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.legend-item b{margin-left:auto;color:var(--ink);font-size:11px;font-weight:500}.quiet-note{padding:15px 22px;border-top:1px solid #edf0e7;font-size:10px;color:#919a87}.filters{padding:18px 20px;display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);align-items:center}.search-field{position:relative;flex:1;min-width:220px;max-width:350px}.search-field .icon{position:absolute;left:12px;top:11px;color:#929d85;width:16px;height:16px}.search-field input{padding-left:37px!important}.input,input,select,textarea{width:100%;border:1px solid #dde2d4;background:#fff;border-radius:7px;color:var(--ink);padding:10px 12px;outline:none;transition:border-color .2s,box-shadow .2s;font-size:12px}.input:focus,input:focus,select:focus,textarea:focus{border-color:#9fae88;box-shadow:0 0 0 3px #a9b69b19}input::placeholder,textarea::placeholder{color:#a2aa97}select{width:auto;min-width:130px;padding-right:25px;background:#fff}textarea{resize:vertical;min-height:96px;line-height:1.75}.filter-count{font-size:10px;color:#969f8c;margin-left:auto}.pagination{padding:16px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;color:#919a85;font-size:10px}.page-buttons{display:flex;align-items:center;gap:8px}.page-buttons span{min-width:55px;text-align:center}.page-buttons .btn{padding:5px 9px}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.client-card{padding:22px;cursor:pointer}.client-card:hover{border-color:#bbc8ac}.client-card-top{display:flex;align-items:flex-start;gap:12px}.client-avatar{width:38px;height:38px;border-radius:9px;background:#edf0e5;display:flex;align-items:center;justify-content:center;color:#8c9b75;font-size:15px;flex-shrink:0}.client-card h3{font-size:14px;font-weight:500}.client-card .contact{color:#88947c;font-size:10px;margin-top:5px}.client-card-footer{display:flex;justify-content:space-between;border-top:1px solid #edf0e7;margin-top:23px;padding-top:15px;font-size:11px;color:#87947a}.client-card-footer b{color:#505e40;font-size:14px;font-weight:500}.request-card{padding:21px 24px;margin-bottom:14px}.request-title{display:flex;align-items:center;gap:10px}.request-title h3{font-size:15px;font-weight:500;flex:1}.request-desc{color:#828c77;font-size:12px;margin-top:14px;line-height:1.8;white-space:pre-wrap}.request-meta{display:flex;align-items:center;gap:20px;font-size:10px;color:#9aa38e;margin-top:17px}.request-feedback{font-size:12px;background:#f4f6ef;border-radius:7px;padding:12px 15px;margin-top:15px;color:#637254}.request-feedback strong{font-weight:500;margin-right:9px}.request-actions{display:flex;gap:7px;margin-top:16px}.audit-action{font-weight:500}.audit-detail{font-size:10px;color:var(--muted);max-width:440px;white-space:normal;word-break:break-word;margin-top:4px}.page-footer{padding-top:22px;text-align:center;font-size:9px;letter-spacing:.04em;color:#a1a997}
/* Modal, case drawer and forms */
.overlay{position:fixed;inset:0;z-index:80;background:#131a1559;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:100%;max-width:660px;background:#fff;border-radius:16px;box-shadow:var(--shadow);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;animation:enter .17s ease}.modal-head{padding:23px 26px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px}.modal-body{padding:23px 26px;overflow:auto}.modal-footer{padding:18px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.modal-footer .muted{margin-right:auto;font-size:10px;align-self:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:block;font-size:11px;color:#707d62}.field>span{display:block;margin-bottom:7px}.field em{color:#ac8963;font-style:normal}.field.full{grid-column:1/-1}.field select{width:100%}.field small{display:block;font-size:10px;color:#929d87;margin-top:5px}.form-error{background:var(--red-bg);color:var(--red);border-radius:7px;padding:10px 13px;font-size:12px;margin-bottom:17px}.form-error:empty{display:none}.drawer-overlay{padding:0;justify-content:flex-end}.drawer{background:#fff;width:660px;max-width:100%;height:100dvh;display:flex;flex-direction:column;box-shadow:-10px 0 45px #16201a15;animation:slide .2s ease}.drawer-head{padding:24px 27px 20px;border-bottom:1px solid var(--line);position:relative}.drawer-top{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-bottom:15px}.drawer-head h2{font-size:22px;line-height:1.55;max-width:550px;font-weight:550;padding-right:27px}.drawer-sub{color:#8b977c;font-size:11px;margin-top:8px;font-family:ui-monospace,Consolas,monospace}.drawer-close{position:absolute;right:19px;top:20px}.drawer-tabs{display:flex;gap:27px;padding:0 27px;border-bottom:1px solid var(--line)}.drawer-tab{padding:15px 0;border:0;background:transparent;font-size:12px;color:#8b967e;position:relative}.drawer-tab.active{color:#2e3a24;font-weight:500}.drawer-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#8f9e75}.drawer-body{overflow:auto;padding:26px 27px;flex:1}.drawer-foot{padding:16px 27px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;background:#fcfdf9}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 24px;margin-bottom:26px}.detail-item span{display:block;color:#94a086;font-size:10px;margin-bottom:6px}.detail-item strong{font-size:12px;font-weight:400;word-break:break-word}.detail-item.full{grid-column:1/-1}.detail-section{margin-top:24px;padding-top:23px;border-top:1px solid var(--line)}.detail-section h3{font-size:13px;font-weight:500;margin-bottom:12px}.detail-section p{white-space:pre-wrap;line-height:1.9;font-size:12px;color:#77856a;word-break:break-word}.source-table{width:100%;border-collapse:collapse;font-size:11px}.source-table th,.source-table td{padding:12px 10px;border-bottom:1px solid #edf0e7;text-align:left;vertical-align:top;word-break:break-word;white-space:pre-wrap}.source-table th{width:32%;color:#909e7e;font-weight:400;background:#f7f9f2}.timeline{position:relative;padding-left:25px}.timeline:before{content:"";position:absolute;left:5px;top:10px;bottom:15px;width:1px;background:#dce4d3}.timeline-item{position:relative;padding-bottom:27px}.timeline-item:before{content:"";position:absolute;left:-24px;top:7px;width:9px;height:9px;border:2px solid #e5ebdd;border-radius:50%;background:#93a77b}.timeline-item:first-child:before{background:#617d45;border-color:#dbe6d0}.timeline-item time{font-size:10px;color:#9caa8b}.timeline-item h3{font-size:13px;margin:6px 0;font-weight:500}.timeline-item p{color:#7e8e6d;font-size:11px;white-space:pre-wrap;line-height:1.8}.inline-form{border:1px solid #e0e6d6;border-radius:10px;padding:17px;background:#fbfcf8;margin-bottom:25px}.inline-form h3{font-size:13px;font-weight:500;margin-bottom:15px}.inline-form .form-grid{gap:12px}.file-list{display:flex;flex-direction:column;gap:11px}.file-item{display:flex;align-items:center;gap:12px;border:1px solid #e1e7d9;padding:13px 15px;border-radius:8px}.file-item>.icon{color:#9cac88;width:22px;height:22px}.file-info{flex:1;min-width:0}.file-info strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:400}.file-info span{display:block;font-size:10px;color:#9aab85;margin-top:3px}.upload-box{display:block;border:1px dashed #c8d4b8;border-radius:10px;padding:23px;text-align:center;background:#f8faf4;margin-bottom:20px}.upload-box p{font-size:12px;color:#7e9369;margin-bottom:9px}.upload-box input{max-width:370px;font-size:11px;padding:7px;background:white}.upload-box small{color:#9baa8a;font-size:10px;display:block;margin-top:9px}.toast{background:#293626;color:#f2f5ec;padding:12px 18px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;max-width:460px;animation:enter .2s ease}.toast.error{background:#7b493f}#toast-root{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:120;display:flex;flex-direction:column;gap:8px}.mobile-backdrop{display:none}.notice{padding:13px 16px;background:#f3f6ed;border:1px solid #e2e9d8;border-radius:8px;font-size:11px;color:#7b8a69;margin-bottom:20px}.progress-track{height:5px;border-radius:10px;background:#edf1e6;overflow:hidden}.progress-fill{height:100%;background:#91a478;border-radius:10px}.chart-row{display:flex;align-items:center;gap:9px;margin:14px 0;font-size:11px}.chart-row>span{width:76px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#839174}.chart-row>.progress-track{flex:1}.chart-row>b{font-size:11px;font-weight:500;width:28px;text-align:right}.status-chart{padding:0 24px 22px}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slide{from{transform:translateX(30px);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:1.8fr 1fr}.main-content{padding:37px 44px 40px}.topbar{padding:0 44px}}
@media(max-width:1190px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.shell-body{margin-left:210px;width:calc(100% - 210px)}.main-content{padding:27px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:16px}.summary-cards{gap:11px}.summary-card{padding:17px}.summary-card .card-value{font-size:30px}.client-grid{grid-template-columns:repeat(2,1fr)}.distribution{gap:13px;padding:5px 18px 20px}.donut-wrap,.donut-wrap svg{width:108px;height:108px}.hero{gap:25px}.public-nav{gap:22px}.hero-art{min-height:370px}.process-step{padding:20px 16px}}
@media(max-width:980px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-side .panel{margin-bottom:0!important}.distribution{min-height:175px}.hero{grid-template-columns:1fr 1fr;gap:15px}.hero h1{font-size:40px}.public-main{padding-top:35px}.art-tag{padding:9px 11px;font-size:10px}.art-tag span{font-size:8px}.value-card{padding:22px}.public-header{padding:22px 28px}.public-main{padding-left:28px;padding-right:28px}.public-footer{margin:0 28px}.process{grid-template-columns:repeat(3,1fr)}.process-step:nth-child(3){border-right:0}.process-step:nth-child(n+4){border-top:1px solid var(--line)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:238px}.menu-open .sidebar{transform:translateX(0)}.mobile-backdrop{position:fixed;inset:0;background:#0f170b60;z-index:29}.menu-open .mobile-backdrop{display:block}.shell-body{margin-left:0;width:100%}.topbar{height:65px;padding:0 18px}.mobile-menu{display:inline-flex}.breadcrumb>span{display:none}.breadcrumb{gap:7px}.topbar-user{gap:8px}.user-name{font-size:11px}.user-role{font-size:9px}.topbar-divider{margin:0}.topbar-user .logout-label{display:none}.main-content{padding:24px 17px}.page-title-row h1{font-size:23px}.page-title-row{align-items:center;margin-bottom:20px}.page-title-row p{font-size:11px;max-width:280px}.page-title-row .btn{font-size:11px;padding:8px 11px}.summary-cards{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:18px}.summary-card{padding:17px 18px}.summary-card .card-value{font-size:31px;margin:12px 0 9px}.dashboard-side{grid-template-columns:1fr 1fr}.panel-heading{padding:17px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:10px}.data-table th,.data-table td{padding-left:15px;padding-right:15px}.due-list{padding:0 17px}.distribution{flex-direction:column;padding:0 17px 18px;gap:8px}.legend{width:100%}.due-item{padding:14px 0}.due-date{width:36px}.due-info strong{font-size:11px}.filters{padding:15px;gap:8px}.filters select{flex:1;min-width:120px;font-size:11px}.search-field{max-width:none;flex-basis:100%;min-width:0}.filter-count{display:none}.client-grid{gap:12px}.client-card{padding:16px}.client-card h3{font-size:12px}.client-card-top{gap:9px}.client-avatar{width:30px;height:30px;font-size:12px}.client-card-footer{margin-top:18px;font-size:10px}.request-card{padding:18px}.request-title h3{font-size:13px}.request-meta{gap:12px;flex-wrap:wrap}.public-header{padding:19px 22px}.public-header .brand strong{font-size:16px}.public-header .brand small{font-size:8px}.public-header .logo-mark{width:30px;height:30px}.public-nav>a{display:none}.public-nav{gap:0}.public-nav .btn{font-size:11px;padding:8px 12px}.public-main{padding:28px 22px 45px}.hero{grid-template-columns:1fr;gap:20px}.hero-copy{padding-top:18px}.hero h1{font-size:42px;line-height:1.3;margin:16px 0 19px}.hero-copy>p{font-size:13px;max-width:460px}.hero-actions{margin-top:25px}.hero-actions .btn{font-size:12px}.hero-art{min-height:300px;max-width:420px;margin:auto;width:100%}.orbit{max-width:340px}.art-tag.one{right:4%;top:16%}.art-tag.two{left:2%;bottom:12%}.hero-index{gap:24px;margin-top:26px;padding-top:18px}.hero-index b{font-size:14px}.hero-index div{font-size:10px}.public-section{padding-top:32px;margin-top:20px}.public-section h2{font-size:24px}.value-grid{grid-template-columns:1fr;gap:12px;margin-top:22px}.value-card{padding:22px}.value-number{margin-bottom:17px}.value-card h3{font-size:16px}.value-card p{font-size:12px}.process{grid-template-columns:1fr;margin-top:22px}.process-step{padding:17px 20px;display:grid;grid-template-columns:35px 1fr;gap:0 10px}.process-step small{grid-row:1/3;align-self:center}.process-step strong{margin:0 0 3px;font-size:13px}.process-step p{font-size:10px}.process-step:not(:last-child){border-right:0;border-bottom:1px solid var(--line)}.process-step:nth-child(n+4){border-top:0}.public-footer{margin:0 22px;padding:20px 0;font-size:10px;flex-direction:column;gap:5px}.overlay{padding:15px}.modal{max-height:calc(100dvh - 30px)}.modal-head{padding:19px 20px 15px}.modal-head h2{font-size:17px}.modal-body{padding:20px}.modal-footer{padding:15px 20px}.form-grid{gap:15px}.drawer-overlay{padding:0}.drawer-head{padding:22px 20px 17px}.drawer-head h2{font-size:19px}.drawer-tabs{padding:0 20px;gap:24px}.drawer-body{padding:23px 20px}.drawer-foot{padding:15px 20px}.detail-grid{gap:20px}.toast{max-width:calc(100vw - 32px)}#toast-root{width:max-content;max-width:calc(100vw - 32px);bottom:17px}.notice{font-size:10px}.desktop-only{display:none!important}}
@media(max-width:420px){.brand strong{font-size:15px}.hero h1{font-size:36px}.dashboard-side{grid-template-columns:1fr}.distribution{flex-direction:row;padding:0 20px 20px;gap:20px;min-height:160px}.legend{width:auto}.client-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.topbar-user .user-text{display:none}.summary-card .card-label{font-size:10px}.summary-card .card-note{font-size:9px}.page-title-row .flex{gap:6px}.page-title-row .btn{padding:7px 9px}.date-label{font-size:10px}.drawer-tabs{gap:18px}.drawer-tab{font-size:11px}.public-nav .btn{padding:7px 10px}}
.modal-footer{flex-wrap:wrap}.file-info{word-break:break-word}.upload-box>.icon,.upload-box p>.icon{display:inline-block;vertical-align:middle;margin-right:4px}.selection-check{width:16px;height:16px;min-width:16px;margin:0;padding:0;accent-color:#637e50;cursor:pointer;vertical-align:middle;box-shadow:none!important}.data-table .selection-cell{width:44px;padding-right:5px}.data-table .selected-row{background:#f0f5e9}.data-table tbody tr.selected-row:hover{background:#eaf1e2}.bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 20px;background:#fafbf7;border-bottom:1px solid var(--line)}.bulk-bar>div>span{font-size:11px;color:#637653;font-weight:500}.bulk-bar small{display:block;font-size:9px;color:#97a18a;margin-top:2px}.bulk-preview-title{font-size:11px;margin-bottom:10px;color:#708262}.bulk-preview{max-height:230px;overflow:auto;border:1px solid #e1e7d9;border-radius:8px;background:#fbfcf8}.bulk-preview>div{padding:11px 14px;border-bottom:1px solid #e7ecdf}.bulk-preview>div:last-child{border-bottom:0}.bulk-preview strong{display:block;font-size:11px;font-weight:500;word-break:break-word}.bulk-preview span{display:block;font-size:9px;color:#94a081;margin-top:4px}
/* Let wide records scroll within their panel instead of expanding the page. */
.shell-body,.main-content,.dashboard-grid>*,.dashboard-side>*,.summary-cards>*,.client-grid>*,.value-grid>*,.form-grid>*,.detail-grid>*{min-width:0}
.main-content{width:100%}.panel,.table-scroll{min-width:0;max-width:100%}.table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.summary-card .card-label,.summary-card .card-note,.panel-heading>div,.page-title-row>div,.client-card-top>div,.topbar-user .user-text{min-width:0;overflow-wrap:anywhere}
.summary-card .card-label{gap:7px}.summary-card .card-note{white-space:normal}.panel-heading>div{flex:1}.panel-heading{min-width:0}.page-title-row{min-width:0}.page-title-row>.flex{flex-shrink:0}
.public-footer .company-name{font-size:11px;font-weight:400;color:#8b9280}.sidebar .brand strong{font-size:17px;letter-spacing:.02em}.brand strong{letter-spacing:.01em}
@media(max-width:760px){.file-item{flex-wrap:wrap}.file-info{min-width:calc(100% - 45px)}.file-item .btn{margin-left:auto}.file-item .btn+.btn{margin-left:0}.modal-footer .btn{font-size:11px;padding:8px 11px}.summary-card{overflow:hidden}.bulk-bar{padding:12px 15px;gap:8px}.bulk-bar>.spacer{display:none}.bulk-bar>div{flex:1;min-width:160px}.bulk-bar>.btn{font-size:10px}.selection-cell{padding-left:13px!important}.bulk-preview{max-height:180px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.wechat-entry{width:100%;min-width:0}.wechat-btn{width:100%;background:#eff5ec;border-color:#d9e4d3;color:#44644c;padding:11px 14px}.wechat-btn:hover{background:#e6eee1}.wechat-btn:disabled{cursor:not-allowed;opacity:.75;background:#f0f2ed;color:#7a8375}.wechat-entry>p{font-size:11px;color:var(--muted);line-height:1.7;text-align:center;margin-top:9px}.auth-divider{display:flex;align-items:center;gap:14px;font-size:10px;color:#959d8b;margin:22px 0 16px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.registration-page{min-height:100dvh;background:var(--paper)}.registration-header{max-width:1100px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.registration-main{max-width:720px;margin:35px auto 0;padding:0 24px 40px;min-width:0}.registration-panel{padding:35px}.registration-heading{margin-bottom:27px}.registration-heading .flex{justify-content:space-between;margin:9px 0 11px}.registration-heading h1{font-size:25px;min-width:0}.registration-heading p{font-size:13px;line-height:1.85;color:var(--muted)}.registration-details{margin:25px 0 30px}.registration-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:25px 0}.registration-actions>.wechat-entry{flex-basis:100%;max-width:380px}.registration-panel>.quiet-note{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding:18px 0 0;background:transparent;font-size:11px}.registration-panel>.quiet-note .icon{width:16px;height:16px;margin-top:2px}.registration-error{margin:0 0 24px;padding:11px 14px;background:var(--red-bg);border-radius:7px}.wechat-config-status{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:0 0 24px}.check-field{display:flex;flex-direction:row;align-items:center;gap:10px}.check-field input[type=checkbox]{width:17px;height:17px;accent-color:var(--dark);flex-shrink:0}.check-field span{margin:0}.callback-address{display:block;padding:11px 12px;border-radius:7px;background:var(--paper);font-size:11px;overflow-wrap:anywhere;color:var(--ink)}
@media(max-width:760px){.registration-header{padding:20px;align-items:flex-start;gap:10px}.registration-header .brand strong{font-size:15px}.registration-header .brand small{font-size:8px;letter-spacing:.07em}.registration-header .logo-mark{width:29px;height:29px}.registration-header>.btn{font-size:10px;padding:6px 8px;gap:5px}.registration-main{padding:0 17px 25px;margin-top:10px}.registration-panel{padding:23px 20px}.registration-heading h1{font-size:21px}.registration-heading p{font-size:11px}.registration-panel>.quiet-note{font-size:10px}.registration-actions .btn{font-size:12px}.wechat-entry>p{font-size:10px}.callback-address{font-size:10px}}
.hero-actions{flex-wrap:wrap}.registration-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.registration-entry .btn{flex:1}.registration-entry .text-btn{font-size:11px}.registration-qr{text-align:center;padding:4px 10px 15px}.registration-qr img{display:block;width:240px;height:240px;max-width:100%;margin:0 auto 22px;image-rendering:pixelated}.registration-qr h3{font-size:17px;font-weight:500;margin-bottom:10px}.registration-qr p{font-size:12px;line-height:1.85;color:var(--muted);max-width:350px;margin:auto}.registration-qr small{display:block;font-size:10px;color:#8a9281;line-height:1.8;margin:14px auto 0;max-width:350px}
.registration-header .brand,.registration-panel,.registration-heading,.registration-panel .request-feedback,.registration-panel .form-error{min-width:0}.request-feedback,.form-error{overflow-wrap:anywhere}
