@charset "UTF-8";
:root{--ink:#203330;--muted:#5E6F6A;--brand:#237452;--deep:#1a5648;--pale:#eaf4ee;--line:#e8eeeb;--bg:#f5f7f6;--white:#fff;--orange:#b98447;--red:#bc5353;--shadow:0 12px 40px #1b4f3910;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{transition:background .15s,color .15s,box-shadow .15s}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{border:1px solid var(--line);border-radius:8px;padding:9px 15px;background:#fff;color:var(--ink);display:inline-flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap}button:hover:not(:disabled){background:#f0f5f2;border-color:#c9d9d0}button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}button.primary:hover:not(:disabled){background:var(--deep)}button.ghost{background:transparent;border-color:transparent;color:var(--brand);padding:7px 8px}button.danger{color:var(--red)}button.small{padding:6px 10px;font-size:12px}.icon{width:19px;height:19px;flex:none;vertical-align:middle}.sidebar{width:218px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:31px 17px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 32px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--brand);color:#fff;font-size:23px;font-weight:600;box-shadow:0 4px 12px #237d6625}.brand strong{font-size:23px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:4px}.nav-title{padding:12px 16px 7px;font-size:10px;letter-spacing:1.5px;color:#a4aeaa}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#6b7a74;border-radius:8px;margin:3px 0;padding:12px 16px;text-align:left;justify-content:flex-start}.nav-item.active{background:var(--pale);color:var(--brand);font-weight:600}.nav-item .icon{width:18px}.sidebar-foot{margin-top:auto;background:#f5f8f6;border-radius:12px;padding:17px 14px;font-size:12px;color:#7a8a81;line-height:1.8}.sidebar-foot strong{display:block;color:#4c6658;margin-bottom:3px}.main{margin-left:218px}.topbar{height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#ffffffeb;border-bottom:1px solid var(--line)}.crumb{font-size:13px;color:#91a099}.crumb b{font-weight:500;color:#364a41;margin-left:9px}.account{display:flex;align-items:center;gap:11px;font-size:12px}.account .avatar{width:32px;height:32px;font-size:13px;background:#ede7dd;color:#8c7960}.environment{font-size:11px;color:#8b967f;border:1px solid #e3e9dc;padding:4px 8px;border-radius:5px;margin-right:8px}.page{padding:28px 34px 40px;max-width:none;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.eyebrow{font-size:11px;font-weight:500;letter-spacing:2px;color:#7f9b8d;margin-bottom:8px}h1{font-size:25px;line-height:1.4;margin:0;font-weight:600;letter-spacing:.5px}h2{font-size:16px;font-weight:600;margin:0}h3{font-size:14px;font-weight:600;margin:0}p{line-height:1.75}.subtitle{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.75}.row{display:flex;align-items:center;gap:12px}.wrap{flex-wrap:wrap}.between{justify-content:space-between}.grow{flex:1;min-width:0}.muted{color:var(--muted);font-size:12px}.green{color:#15803d}.amount{font-variant-numeric:tabular-nums}.panel{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #f0f3f1;gap:12px}.panel-body{padding:22px}.hero{border:1px solid #dde9df;background:linear-gradient(110deg,#eaf3e9,#f1f5ee 65%,#e5eee5);border-radius:12px;display:flex;justify-content:space-between;overflow:hidden;margin-bottom:22px;min-height:196px;position:relative}.hero-copy{padding:29px 32px;position:relative;z-index:1}.hero h2{font-size:26px;font-weight:500;letter-spacing:1px;line-height:1.5}.hero .subtitle{color:#7b8f7d;margin:9px 0 22px}.hero-art{width:240px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:radial-gradient(ellipse,#dce8d8 0,transparent 68%)}.art-card{width:145px;height:151px;background:#ffffffd9;transform:rotate(-9deg);border-radius:10px;box-shadow:15px 16px 0 #becfbc60;padding:17px;position:relative}.art-line{height:6px;width:78%;background:#c8dace;border-radius:5px;margin:12px 0}.art-line.short{width:52%;background:#e0e8df}.art-bubble{font-size:11px;padding:9px;background:#eff5eb;border-radius:7px;color:#739377;margin:8px 0}.art-badge{position:absolute;bottom:36px;right:27px;display:grid;place-items:center;background:#3d7961;color:#fff;width:50px;height:50px;border:6px solid #edf3e9;border-radius:50%}.art-badge .icon{width:23px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 24px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px 22px}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#7b8b83;font-size:12px}.stat-label .icon{color:#99b2a4;width:17px}.stat-value{font-size:29px;line-height:1.4;margin:11px 0 7px;font-weight:500;letter-spacing:-.6px}.stat-foot{font-size:11px;color:#a0aaa5}.columns{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:22px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick{padding:16px 7px;display:flex;flex-direction:column;gap:9px;font-size:12px;border:0;background:#f6f8f6}.quick .icon{color:var(--brand);width:23px;height:23px}.note-card{padding:16px;border:1px solid var(--line);border-radius:9px;background:#fbfcfb;line-height:1.8;font-size:12px;color:#7d8a82}.note-card strong{color:#4f6658;display:block;margin-bottom:6px}.tip{padding:12px 16px;background:#f4f8f1;color:#82917a;line-height:1.65;font-size:12px;border-radius:8px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 22px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;max-width:330px}.search .icon{position:absolute;left:12px;top:11px;color:#a5b0aa;width:16px;height:16px}.search input{padding-left:36px}.tabs{display:flex;gap:24px;align-items:center}.tab{padding:18px 0 15px;border:0;border-radius:0;border-bottom:2px solid transparent;color:#8a9790;background:transparent;font-size:13px}.tab.active{border-color:var(--brand);color:var(--brand)}.tab span{font-size:10px;margin-left:6px;background:#eef3ef;padding:2px 6px;border-radius:4px}input,textarea,select{width:100%;border:1px solid #dfe7e1;border-radius:7px;background:#fff;padding:10px 12px;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#78aa90;box-shadow:0 0 0 3px #edf4ef}input[type=checkbox]{width:16px;height:16px;accent-color:var(--brand)}input[type=file]{font-size:12px;padding:8px}textarea{resize:vertical;line-height:1.8;min-height:96px}.field{display:block;margin-bottom:19px}.field-label{display:block;font-size:12px;color:#61756a;margin-bottom:8px}.field-label i{font-style:normal;color:#bd7d65;margin-left:3px}.field-help{font-size:11px;color:#9da8a1;line-height:1.6;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:12px}th{font-size:11px;background:#f8faf8;color:#8d9a91;font-weight:400;padding:13px 20px}td{padding:18px 20px;border-top:1px solid #f0f3f0;vertical-align:middle}tr:hover td{background:#fcfdfc}.entity{display:flex;gap:12px;align-items:center;min-width:190px;max-width:370px}.entity img{width:58px;height:48px;object-fit:cover;border-radius:7px;background:#e9eee8;flex:none}.entity strong{display:block;font-size:13px;font-weight:500;white-space:normal;line-height:1.6;max-width:285px;overflow-wrap:anywhere}.entity small{display:block;color:#9ba59f;font-size:11px;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;background:#edf5ed;color:#739679;border-radius:4px;font-size:10px;white-space:nowrap}.badge.live:before{content:"";width:5px;height:5px;background:#75a882;border-radius:50%}.badge.gray{color:#8d9690;background:#f1f3f1}.badge.amber{color:#b59160;background:#faf4e9}.table-actions{display:flex;gap:3px}.table-actions button{font-size:11px;padding:5px 7px}.empty{padding:54px 20px;text-align:center;color:#92a095;font-size:13px;line-height:1.9}.empty .icon{width:32px;height:32px;color:#b3c4b8;margin-bottom:10px}.empty p{margin:7px 0 15px}.small-empty{padding:20px}.table-footer{padding:14px 22px;color:#99a59c;font-size:11px;border-top:1px solid var(--line)}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.template-card{border-radius:12px;border:1px solid var(--line);background:white;overflow:hidden}.template-cover{height:153px;background:#eef3ec;position:relative;overflow:hidden}.template-cover img{width:100%;height:100%;object-fit:cover}.template-cover .badge{position:absolute;top:14px;left:14px;background:#fffc}.template-content{padding:20px}.template-content h3{font-size:15px;line-height:1.6}.template-content p{color:var(--muted);font-size:12px;min-height:42px}.steps{display:flex;align-items:center;gap:18px;margin-bottom:23px;font-size:12px;color:#91a296}.steps b{font-weight:500;color:var(--brand)}.step-number{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e9f1e9;margin-right:6px;font-size:11px}.editor-grid{display:grid;grid-template-columns:minmax(430px,1fr) 310px;gap:25px;align-items:start}.editor-block{border:1px solid #e0e8e1;background:#fff;border-radius:8px;padding:15px;margin:0 0 12px}.block-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}.block-num{font-size:11px;background:#f0f5ef;color:#89a18a;border-radius:5px;padding:4px 7px}.block-head select{width:130px;font-size:11px;padding:5px 8px;margin-left:auto}.block-actions{display:flex;gap:2px}.block-actions button{padding:4px 7px;font-size:12px}.editor-block textarea{border-color:#ecf0eb;background:#fafcf9}.editor-image{height:110px;max-width:100%;object-fit:cover;border-radius:6px;margin-bottom:10px}.check-product{padding:12px;border:1px solid var(--line);border-radius:7px;display:flex;gap:12px;align-items:center;margin:8px 0;cursor:pointer}.check-product img{width:38px;height:38px;object-fit:cover;border-radius:4px}.check-product .price{font-size:12px;margin-left:auto}.editor-footer{position:sticky;bottom:0;padding:15px 18px;background:#ffffffef;backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:10px;display:flex;gap:10px;justify-content:flex-end;margin-top:16px;z-index:2}.preview-wrap{position:sticky;top:22px}.preview-label{text-align:center;font-size:11px;color:#92a18f;margin:0 0 12px}.phone{border:6px solid #e4e9e1;border-radius:30px;background:#f4f6f1;overflow:hidden;box-shadow:var(--shadow);font-size:11px}.phone-top{background:#fff;padding:12px 16px 13px}.phone-status{font-size:9px;display:flex;justify-content:space-between;margin-bottom:15px;color:#617263}.phone-title{text-align:center;font-size:12px;font-weight:600}.phone-topic{background:#edf3e9;padding:15px;font-size:12px;font-weight:500;line-height:1.7}.phone-chat{max-height:525px;overflow-y:auto;padding:16px 12px;min-height:270px}.phone-bottom{background:#fff;padding:11px;color:#a1aca0;display:flex;gap:10px;align-items:center}.phone-bottom span{padding:9px;border-radius:6px;background:#f3f6ef;flex:1}.message{display:flex;gap:9px;margin-bottom:20px;align-items:flex-start;max-width:95%}.avatar{width:30px;height:30px;border-radius:9px;background:#e0ece1;color:#588267;display:grid;place-items:center;flex:none;font-size:12px}.avatar.ai{background:#ede9f2;color:#9a8daf}.avatar.user{background:#eeeae1;color:#a18f70}.message-name{color:#879582;font-size:10px;margin:0 0 6px;display:flex;align-items:center;gap:8px}.message-name small{font-size:9px;border:1px solid #dbe7d7;border-radius:3px;padding:1px 4px;color:#8da386}.bubble{padding:11px 13px;border-radius:0 9px 9px 9px;background:#fff;font-size:12px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid #edf1e9}.bubble img{max-width:100%;border-radius:6px}.bubble.removed{color:#adb4ab;font-style:italic}.source-label{font-size:9px;color:#9baba1;padding-top:8px}.product-message{display:flex;align-items:center;gap:9px}.product-message img{width:53px;height:60px;object-fit:cover;border-radius:5px}.product-message strong{font-size:11px;line-height:1.6;font-weight:500}.price{color:#b88759;font-size:14px;margin-top:4px}.message-content{min-width:0;flex:1}.studio-layout{display:grid;grid-template-columns:minmax(165px,1fr) minmax(0,3fr) minmax(235px,1.25fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;min-height:610px;height:calc(100vh - 211px)}.studio-rooms{padding:15px 10px;border-right:1px solid var(--line);overflow-y:auto;background:#fcfdfb}.studio-rooms h3{padding:6px 10px 17px;font-size:12px}.studio-room{display:block;width:100%;text-align:left;white-space:normal;line-height:1.7;border:0;padding:14px 12px;background:transparent;margin-bottom:5px}.studio-room.active{background:#edf3e9}.studio-room strong{display:block;font-size:12px;font-weight:500}.studio-room small{display:block;font-size:10px;color:#8f9f8b;margin-top:5px}.studio-main{display:flex;flex-direction:column;min-height:0;background:#f4f7f1;min-width:0}.studio-title{background:white;padding:17px 20px;border-bottom:1px solid var(--line)}.studio-notice{background:#edf3e5;padding:10px 20px;font-size:11px;color:#819270;line-height:1.7;overflow-wrap:anywhere}.studio-feed{flex:1;overflow-y:auto;padding:22px 23px}.studio-feed .message{max-width:90%;margin-bottom:23px}.studio-feed .bubble{font-size:13px}.studio-feed .message-name{font-size:11px}.feed-divider{text-align:center;color:#b3beac;font-size:10px;letter-spacing:1px;margin:5px 0 23px}.studio-compose{padding:15px 20px;background:#fff;border-top:1px solid var(--line)}.studio-compose textarea{min-height:65px;height:70px;max-height:200px;border:0;padding:0;font-size:12px}.studio-compose textarea:focus{box-shadow:none}.studio-right{padding:22px 17px;overflow-y:auto;border-left:1px solid var(--line)}.studio-right h3{font-size:12px;margin-bottom:15px}.studio-right .field{margin:14px 0}.studio-right textarea{font-size:11px;min-height:90px}.mini-stats{display:flex;justify-content:space-between;margin-bottom:22px}.mini-stats strong{font-size:23px;font-weight:500;display:block;margin-bottom:5px}.mini-stats small{font-size:10px;color:#98a18e}.divider{height:1px;background:var(--line);margin:21px 0}.connection{font-size:10px;color:#92a98c}.connection.off{color:#b76d57}.chart{height:160px;display:flex;gap:17px;align-items:flex-end;padding:20px 5px 25px;border-bottom:1px solid var(--line)}.chart-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;position:relative}.chart-bar{width:45%;min-width:10px;max-width:36px;background:#9bbba6;border-radius:4px 4px 0 0;min-height:2px}.chart-col small{position:absolute;bottom:-21px;font-size:10px;color:#9ca99b}.chart-col b{font-size:10px;font-weight:400;color:#8c9e8e;margin-bottom:6px}.funnel{display:flex;gap:16px;margin-bottom:23px}.funnel-step{flex:1;background:#f2f6ef;border-radius:8px;padding:18px}.funnel-step b{font-size:25px;display:block;margin-bottom:6px;font-weight:500}.funnel-step small{color:#8da083}.modal-backdrop{position:fixed;inset:0;background:#213b2e55;backdrop-filter:blur(3px);z-index:30;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:white;border-radius:14px;box-shadow:0 25px 80px #12332130;width:580px;max-width:100%;max-height:90vh;display:flex;flex-direction:column}.modal.wide{width:780px}.modal-header{padding:21px 25px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.modal-body{padding:24px 25px;overflow-y:auto}.modal-footer{padding:17px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.modal-header button{padding:2px 6px;font-size:20px;border:0;color:#98a092}.inline-error{font-size:12px;color:var(--red);background:#fff4f2;border:1px solid #f6dbd4;padding:11px 14px;border-radius:7px;line-height:1.6;margin-bottom:14px}.inline-error:empty{display:none}.detail-line{display:flex;gap:22px;border-bottom:1px solid #f0f3ef;padding:12px 0;font-size:12px;line-height:1.8}.detail-line span{width:82px;flex:none;color:#95a08e}.detail-line b{font-weight:400;overflow-wrap:anywhere;min-width:0}.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8b9c8e}.boot h2{margin-top:18px;letter-spacing:3px;color:var(--brand)}#toast{position:fixed;bottom:30px;left:calc(50% + 90px);transform:translateX(-50%);background:#214b3e;color:#fff;padding:13px 22px;border-radius:9px;box-shadow:var(--shadow);font-size:13px;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s;max-width:75vw;line-height:1.7}#toast.show{opacity:1}#toast.error{background:#9e594c}.field-inline{display:flex;gap:9px;align-items:center;font-size:12px;color:#829276}.field-inline input{flex:none}.loading-line{height:3px;background:linear-gradient(90deg,#e8f1e7,#74a789,#e8f1e7);animation:pulse 1s infinite}.link-code{font:12px ui-monospace,monospace;background:#f5f7f3;padding:14px;border-radius:7px;overflow-wrap:anywhere;color:#658271}.skeleton{min-height:180px;display:grid;place-items:center;color:#9ba998}.status-message{min-height:16px;font-size:11px;color:#9eac9a}.page-error{padding:50px 30px}.settings-grid{width:100%;display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px}.mobile-menu{display:none}@keyframes pulse{50%{opacity:.3}}@media(min-width:1600px){.hero-art{width:300px}.columns{grid-template-columns:minmax(0,3fr) minmax(240px,1fr)}.page{padding-top:32px}}@media(max-width:1200px){.sidebar{width:182px;padding-left:12px;padding-right:12px}.main{margin-left:182px}.page{padding:25px 23px}.topbar{padding:0 23px}.columns{grid-template-columns:minmax(0,3fr) minmax(240px,1fr)}.studio-layout{grid-template-columns:minmax(165px,1fr) minmax(0,3fr) minmax(235px,1.25fr)}.editor-grid{grid-template-columns:minmax(350px,1fr) 280px}td,th{padding-left:15px;padding-right:15px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.sidebar{width:74px;padding:25px 10px}.brand{padding:0 7px 28px}.brand strong,.brand small,.nav-item span,.nav-title,.sidebar-foot{display:none}.brand-mark{width:36px;height:36px}.nav-item{justify-content:center;padding:14px}.main{margin-left:74px}.columns{grid-template-columns:1fr}.side-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-layout{grid-template-columns:minmax(0,3fr) minmax(235px,1.25fr)}.studio-rooms{display:none}.stat{padding:17px}.stat-value{font-size:25px}#toast{left:50%}}@media(max-width:760px){.page{padding:20px 14px}.topbar{padding:0 15px;height:64px}.account .account-name{display:none}.hero-art{display:none}.hero-copy{padding:24px}.hero h2{font-size:22px}.page-head{align-items:flex-start;gap:10px}h1{font-size:21px}.page-head .row{flex-wrap:wrap;justify-content:flex-end}.stats{grid-template-columns:1fr 1fr;gap:10px}.editor-grid{display:block}.preview-wrap{position:static;margin:24px auto;max-width:310px}.studio-layout{display:block;height:auto}.studio-main{height:650px}.studio-right{border-left:0;border-top:1px solid var(--line)}.template-grid,.settings-grid{grid-template-columns:1fr}.side-panels{display:block}.funnel{flex-wrap:wrap}.funnel-step{min-width:40%}.environment{display:none}.form-grid{grid-template-columns:1fr}.hero{min-height:180px}.tabs{gap:15px}.toolbar{padding:12px}.panel-head,.panel-body{padding:17px}}

/* UI task workspace */
.task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.task-card{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e2e8dd;border-radius:12px;padding:22px;text-align:left;min-height:105px}.task-card:hover{border-color:#237452;background:#f7faf6}.task-icon{display:grid;place-items:center;width:42px;height:42px;background:#eaf2e6;color:#237452;border-radius:12px}.task-card small{display:block;color:#72836e;font-size:13px}.task-card strong{display:block;font-size:28px;margin-top:7px;color:#24342b}.task-arrow{margin-left:auto;color:#829276}.draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px}.draft-tile{padding:18px;background:#f8faf6;border:1px solid #e2e8dd;border-radius:12px}.draft-tile h3{margin-top:14px;font-size:16px}.income-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.income-grid small{display:block;font-size:13px;color:#72836e}.income-grid strong{display:block;font-size:24px;margin-top:12px;color:#24342b}.nav-title{padding-top:20px}.page h1{font-size:28px}.topbar{background:#fff}.page button:focus-visible,.sidebar button:focus-visible{outline:3px solid #a8cbb5;outline-offset:3px}table th{font-size:12px}table td{font-size:13px}.panel-head h2{font-size:16px}.panel-head a{color:#237452;font-size:12px}.columns+.stats{margin-top:26px}@media(max-width:1000px){.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.task-card{padding:16px;gap:10px}.task-icon{width:32px;height:32px}.draft-grid{grid-template-columns:1fr}.task-card strong{font-size:25px}.page h1{font-size:23px}}

.columns>div,.side-panels,.panel,.main,.page{min-width:0}.table-scroll{max-width:100%;overflow-x:auto}.panel-body a{color:#237452}@media(max-width:1000px){.columns{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.page-head .row{flex-shrink:0}.topbar .account{gap:8px}.topbar .account a{font-size:12px}}

@media(max-width:760px){.page-head{flex-direction:column;align-items:stretch;gap:16px}.page-head .row{width:100%;justify-content:flex-start;flex-wrap:wrap}.page-head h1{line-height:1.45}.page-head .subtitle{line-height:1.6}.topbar .account>a{color:#237452;text-decoration:none}}

.shop-switch-label{display:block;padding:12px 14px;color:#777;font-size:12px}.shop-switch-label select{display:block;width:100%;margin-top:8px;min-height:40px}.account-module{display:block;width:100%;min-height:calc(100vh - 150px);border:0}.workspace-account-menu{position:relative}.workspace-account-menu summary{cursor:pointer;list-style:none;padding:10px}.workspace-account-menu>div{position:absolute;right:0;top:100%;z-index:100;background:#fff;border:1px solid #ddd;box-shadow:0 12px 35px #0002;border-radius:12px;width:220px;max-height:70vh;overflow:auto;padding:8px}.workspace-account-menu button{display:block;width:100%;text-align:left}.account-name{display:none}@media(max-width:700px){.account-module{min-height:80vh}.environment{display:none}.shop-switch-label{max-width:240px}}

.course-video-card{padding:18px;background:#f6f8f7;border:1px solid #dce6df;border-radius:12px;margin-bottom:22px}.video-upload-label{display:flex;gap:8px;align-items:center;font-size:13px}.video-upload-label input{max-width:220px}.course-video-card [role=status]{font-size:13px;color:#287253}

/* Shared Yunshengke green identity. */
.brand-logo{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}.brand{color:#194f3b}.boot>.brand-logo{margin:0 auto}.brand:focus-visible{outline:2px solid #237452;outline-offset:5px}

.ledger-reference{display:block;overflow-wrap:anywhere;word-break:break-all;font-size:11px;color:var(--muted)}


.modal-body{min-height:0}.modal-body .form-grid>section{min-width:0;overflow-wrap:anywhere}.modal-footer{flex-wrap:wrap;flex-shrink:0}.modal-header h2{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.modal-backdrop{padding:12px}.modal-header,.modal-body,.modal-footer{padding:16px}.modal-footer button{white-space:normal;min-height:40px}}

.template-cover img[src$="brand-logo-original.png"]{object-fit:contain;padding:32px;background:linear-gradient(125deg,#eaf4ee,#f5f7f6)}

.video-resource-list{max-height:360px;overflow:auto;margin-top:16px}.video-resource{padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.video-resource strong{display:block;margin-bottom:6px}.video-resource p{font-size:12px;color:var(--muted)}

.publish-check{padding:14px 0;border-bottom:1px solid var(--line)}.publish-check p{margin:8px 0}.publish-check.blocked{color:var(--red)}.publish-check.warning{color:#8b601e}.video-upload-label{display:flex;flex-direction:column;align-items:stretch;gap:8px;max-width:100%;white-space:nowrap}

.context-warning{position:sticky;top:0;z-index:120;padding:16px 24px;background:#fff4d9;border-bottom:2px solid #b68424;color:#42351c;box-shadow:0 4px 16px #0001}.context-warning p{margin:8px 0}.context-warning .row{display:flex;gap:12px;flex-wrap:wrap}

/* Personal homepage and helping sales share the workspace identity. */
.helping-page{--helping-muted:#667b70;width:100%;max-width:none;margin:0 auto}
.helping-page .page-head{margin-bottom:24px}
.helping-page :is(.subtitle,.muted,.field-help){color:var(--helping-muted)}
.helping-nav{padding:6px 20px;background:#fff;border:1px solid #e0e8e3;border-radius:12px;margin-bottom:24px}
.helping-nav .tabs{gap:8px;flex-wrap:wrap}
.helping-nav .tab{font-size:14px;min-height:48px;padding:12px 18px;border:0;border-radius:8px;margin:4px 0;color:var(--helping-muted)}
.helping-nav .tab.active{background:var(--pale);color:var(--brand);font-weight:600}
.helping-page .helping-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.helping-page .helping-section-head>div{min-width:0}
.helping-page .helping-section-head>.badge{flex:none;font-size:12px;padding:6px 10px}
.helping-page .helping-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}
.helping-page .helping-card{min-width:0;padding:24px;border:1px solid #dfe8e2;border-radius:12px;background:#fff}
.helping-page .helping-course-card{display:flex;flex-direction:column}
.helping-page .helping-course-head{display:flex;gap:16px;align-items:flex-start}
.helping-page .helping-cover{width:100px;height:76px;object-fit:cover;flex:none;border-radius:9px;background:#edf4ef;border:1px solid var(--line)}
.helping-page .helping-cover[src$="brand-logo-original.png"]{object-fit:contain;padding:12px}
.helping-page .helping-heading-copy{min-width:0;flex:1}
.helping-page h2{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.helping-page .helping-kicker{display:block;font-size:11px;line-height:1.6;color:var(--helping-muted);margin-bottom:5px}
.helping-page .helping-state{margin:20px 0}
.helping-page .badge{font-size:11px;line-height:1.6;white-space:normal}
.helping-page .badge.live{color:#237452;background:#eaf4ee}
.helping-page .badge.gray{color:#65766c;background:#f0f3f1}
.helping-page .badge.amber{color:#8b601e;background:#faf3e6}
.helping-page .helping-state .tip{margin:12px 0 0;color:#866126;background:#fcf6e9;border:1px solid #f0e4ca}
.helping-page .helping-card-footer{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.helping-page .helping-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;max-width:100%}
.helping-page button{min-height:40px;white-space:normal;max-width:100%;line-height:1.5}
.helping-page .helping-secondary-actions button{font-size:12px;padding:8px 12px;color:#52675b;background:#fafcfb}
.helping-page .helping-commissions{background:#f6f9f7;border:1px solid #e5ede8;border-radius:9px;padding:14px 16px;margin:20px 0}
.helping-page .helping-commission-row{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:8px 0;font-size:13px;line-height:1.6}
.helping-page .helping-commission-row+.helping-commission-row{border-top:1px solid #e1eae4}
.helping-page .helping-commission-row>span{min-width:0}
.helping-page .helping-commission-row strong{color:var(--brand);white-space:nowrap;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.helping-page .helping-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:start}
.helping-page .helping-person{display:flex;gap:14px;align-items:center}
.helping-page .helping-person>div{min-width:0}
.helping-page .helping-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--pale);color:var(--brand);font-size:20px;flex:none}
.helping-page .helping-profile-card>.subtitle{margin:16px 0 0}
.helping-page .helping-code{margin:20px 0 24px;border:1px dashed #cadbd0;background:#f7faf8;border-radius:8px;padding:14px;font-size:12px;line-height:1.8}
.helping-page .helping-code>span{display:block;margin-bottom:4px;color:var(--helping-muted)}
.helping-page .helping-code code{display:block;overflow-wrap:anywhere;color:#3e5e4d;user-select:all}
.helping-page .field-label{font-size:13px;margin-bottom:9px;color:#435c4e}
.helping-page .field-help{display:block;font-size:12px;margin-top:8px}
.helping-page :is(input,textarea){min-width:0;min-height:42px}
.helping-page textarea{min-height:140px}
.helping-page #help-follow{margin:20px 0;padding:18px;background:#f6f9f7;border:1px solid #e5ede8;border-radius:10px}
.helping-page #help-follow .field{margin-bottom:14px}
.helping-page .helping-follow-list{border-top:1px solid var(--line)}
.helping-page .helping-follow-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.helping-page .helping-follow-row:last-child{border-bottom:0;padding-bottom:0}
.helping-page .small-avatar{width:36px;height:36px;font-size:14px;border-radius:10px}
.helping-page .helping-follow-copy{min-width:0;flex:1;line-height:1.6}
.helping-page .helping-follow-copy strong{font-size:13px;font-weight:500}
.helping-page .helping-follow-copy small{display:block;margin-top:4px;font-size:12px;color:var(--helping-muted)}
.helping-page .helping-follow-row button{flex:none;font-size:12px}
.helping-page .helping-inline-empty{margin:0;padding:20px 0;color:var(--helping-muted);font-size:13px;line-height:1.7}
.helping-page .helping-empty .empty{padding:42px 16px;color:var(--helping-muted)}
.helping-page .helping-empty .empty>div{font-size:16px;color:var(--ink);font-weight:500}
.helping-page .helping-empty .empty p{margin:12px auto 22px;max-width:400px}
.helping-page .helping-merchant-list{display:grid;gap:20px}
.helping-page .helping-merchant-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.helping-page .helping-merchant-head h2{margin-top:10px}
.helping-page .helping-merchant-head>button{flex:none}
.helping-page .helping-partners{margin-top:20px;padding-top:4px;border-top:1px solid var(--line)}
.helping-page .helping-order-note{padding:18px 22px;margin-bottom:20px;background:#edf4ef;border:1px solid #dce9e0;border-radius:10px;font-size:13px;color:#4b6656}
.helping-page .helping-order-note p{margin:6px 0 0}
.helping-page .helping-orders-records{padding:22px}
.helping-page .record-filters{padding-top:0}
@media(max-width:1100px){
 .helping-page .helping-course-grid,.helping-page .helping-profile-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 .helping-nav{padding:8px;margin-bottom:20px}
 .helping-nav .tabs{gap:4px}
 .helping-nav .tab{flex:1 1 calc(50% - 4px);padding:10px 8px;font-size:13px;margin:0}
 .helping-page .helping-section-head{gap:10px;align-items:flex-start}
 .helping-page .helping-card,.helping-page .helping-orders-records{padding:16px}
 .helping-page .helping-course-head{gap:12px}
 .helping-page .helping-cover{width:64px;height:64px}
 .helping-page .helping-actions{width:100%;gap:8px}
 .helping-page .helping-actions button{flex:1 1 auto}
 .helping-page .helping-card-footer{align-items:stretch}
 .helping-page .helping-commission-row{flex-wrap:wrap;gap:4px 12px}
 .helping-page .helping-follow-row{flex-wrap:wrap;gap:10px}
 .helping-page .helping-follow-copy{flex-basis:calc(100% - 46px)}
 .helping-page .helping-follow-row>button{margin-left:46px}
 .helping-page .helping-merchant-head{flex-wrap:wrap;gap:14px}
 .helping-page .helping-merchant-head .helping-heading-copy{flex-basis:100%}
 .helping-page #help-follow{padding:14px}
 .helping-page .helping-order-note{padding:16px}
 .helping-page .helping-empty .empty{padding:28px 4px}
}

/* Course publishing: keep presentation rules within the editor. */
.course-editor{--editor-muted:#667b70;width:100%;max-width:none;margin:0 auto}
.course-editor .page-head{margin-bottom:20px}
.course-editor .steps{gap:14px;padding:14px 20px;margin-bottom:24px;background:#edf4ef;border:1px solid #dce9e0;border-radius:10px}
.course-editor .steps>b{display:flex;align-items:center;gap:8px}
.course-editor .step-number{margin:0;background:#fff;color:var(--brand);width:26px;height:26px}
.course-editor .editor-grid{grid-template-columns:minmax(0,3fr) minmax(280px,1fr);gap:28px}
.course-editor .editor-form,.course-editor .form-grid>*,.course-editor input,.course-editor select{min-width:0}
.course-editor .panel{margin-bottom:24px;border-color:#e0e8e3}
.course-editor .panel-head{padding:18px 24px;flex-wrap:wrap;background:#fcfdfc}
.course-editor .panel-head h2{display:flex;align-items:center;gap:10px}
.course-editor .editor-section-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--pale);color:var(--brand);font-size:12px;font-variant-numeric:tabular-nums}
.course-editor .panel-body{padding:24px}
.course-editor :is(.muted,.subtitle,.field-help,.preview-label,.status-message){color:var(--editor-muted)}
.course-editor .field{margin-bottom:22px}
.course-editor .field:last-child{margin-bottom:0}
.course-editor .form-grid .field{margin-bottom:22px}
.course-editor .field-label{font-size:13px;color:#435c4e;margin-bottom:9px;line-height:1.5}
.course-editor .field-help{display:block;font-size:12px}
.course-editor input:not([type=checkbox]),.course-editor select{min-height:42px}
.course-editor textarea{min-height:108px}
.course-editor [data-edit=category]{max-width:320px}
.course-editor .editor-cover-row{display:flex;align-items:center;gap:20px;padding:16px;border:1px dashed #cadbd0;border-radius:10px;background:#fafcfb}
.course-editor #editor-cover-preview{width:160px;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line);border-radius:8px;flex:none;background:#fff}
.course-editor #editor-cover-preview[src$="brand-logo-original.png"]{object-fit:contain;padding:14px;background:#edf4ef}
.course-editor .editor-cover-controls{flex:1;min-width:0}
.course-editor .editor-cover-controls .field-label{margin-bottom:6px}
.course-editor .editor-cover-help{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:6px}
.course-editor .editor-cover-help .field-help{margin:0}
.course-editor input[type=file]::file-selector-button{border:0;border-radius:5px;padding:6px 10px;margin-right:10px;background:var(--pale);color:var(--brand);cursor:pointer;font:inherit}
.course-editor .editor-products{max-height:360px;overflow:auto;scrollbar-gutter:stable;padding:2px}
.course-editor .check-product{display:grid;grid-template-columns:18px 44px minmax(0,1fr) auto;gap:12px;margin:0 0 10px;padding:14px;transition:border-color .15s,background .15s}
.course-editor .check-product:last-child{margin-bottom:0}
.course-editor .check-product:has(input:checked){border-color:#8db8a0;background:#f1f7f3}
.course-editor .check-product:focus-within{outline:2px solid var(--brand);outline-offset:-2px}
.course-editor .check-product input{margin:0}
.course-editor .check-product img{width:44px;height:44px}
.course-editor .editor-product-copy{min-width:0;line-height:1.6}
.course-editor .editor-product-copy .subtitle{display:block;margin-top:4px}
.course-editor .check-product .price{white-space:nowrap;margin:0;font-variant-numeric:tabular-nums}
.course-editor .editor-empty{margin:0;padding:20px;text-align:center;color:var(--editor-muted);background:#f6f8f7;border-radius:8px;font-size:13px}
.course-editor #offer-fields:not(:empty){margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.course-editor #offer-fields .form-grid{margin-top:14px}
.course-editor .course-video-card{padding:20px;background:#f7f9f8;border-radius:10px}
.course-editor .course-video-card>.subtitle{margin-bottom:18px}
.course-editor .course-video-card .field{font-size:13px;line-height:1.6}
.course-editor #course-video-select{margin-top:8px}
.course-editor #video-upload-progress:empty,.course-editor .video-resource-list:empty{display:none}
.course-editor .editor-block{padding:18px;margin-bottom:16px;border-radius:10px}
.course-editor .block-head{gap:8px;flex-wrap:wrap;margin-bottom:14px}
.course-editor .block-head select{min-height:34px}
.course-editor .block-actions button{min-height:32px;min-width:32px}
.course-editor .editor-block textarea{background:#fcfdfc;min-height:140px}
.course-editor .editor-add-block{padding:4px 0 8px;gap:10px}
.course-editor .editor-add-block button{flex:1;min-height:42px;border-style:dashed;color:var(--brand)}
.course-editor .preview-wrap{top:20px;padding:20px 16px;background:#eef3f0;border:1px solid #dfe8e2;border-radius:14px}
.course-editor .editor-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.course-editor .editor-preview-head h2{font-size:15px}
.course-editor .preview-label{text-align:left;line-height:1.7;margin-bottom:18px;font-size:12px}
.course-editor .phone{border:5px solid #dbe5df;border-radius:24px;box-shadow:0 8px 24px #1b4f3909}
.course-editor .phone-chat{min-height:210px;max-height:clamp(180px,calc(100dvh - 410px),430px)}
.course-editor .preview-wrap .note-card{margin-top:16px;padding:14px;background:#ffffffad;color:var(--editor-muted)}
.course-editor #draft-tools{font-size:12px;color:var(--editor-muted);padding:0 4px}
.course-editor .editor-footer{bottom:12px;align-items:center;padding:14px 20px;margin-top:20px;box-shadow:0 4px 24px #1b4f3910;flex-wrap:wrap}
.course-editor .editor-footer .status-message{font-size:12px;line-height:1.6}
.course-editor .editor-footer button{min-height:42px;padding-inline:22px}
.course-editor :is(input,textarea,select,.editor-block){scroll-margin-block:100px}
@media(max-width:1200px){
 .course-editor .editor-grid{grid-template-columns:minmax(0,3fr) minmax(280px,1fr);gap:20px}
 .course-editor .panel-head,.course-editor .panel-body{padding:20px}
 .course-editor .editor-cover-row{align-items:flex-start;flex-wrap:wrap;gap:14px}
 .course-editor .editor-cover-controls{flex-basis:220px}
 .course-editor .preview-wrap{padding:16px 12px}
}
@media(max-width:900px){
 .course-editor .editor-grid{grid-template-columns:minmax(0,1fr)}
 .course-editor .preview-wrap{position:static;width:100%;max-width:360px;margin:0 auto}
}
@media(max-width:600px){
 .course-editor .steps{justify-content:space-between;gap:6px;padding:12px 10px;font-size:11px}
 .course-editor .steps>b{gap:5px}
 .course-editor .steps>span{display:none}
 .course-editor .step-number{width:22px;height:22px}
 .course-editor .panel-head,.course-editor .panel-body{padding:16px}
 .course-editor .panel-head{gap:8px}
 .course-editor .panel-head h2{font-size:15px}
 .course-editor .form-grid{grid-template-columns:minmax(0,1fr)}
 .course-editor .editor-cover-row{padding:12px}
 .course-editor .editor-cover-controls{flex-basis:100%}
 .course-editor .check-product{grid-template-columns:18px 40px minmax(0,1fr);gap:10px;padding:12px}
 .course-editor .check-product img{width:40px;height:40px}
 .course-editor .check-product .price{grid-column:3}
 .course-editor .course-video-card,.course-editor .editor-block{padding:12px}
 .course-editor .block-head select{width:118px}
 .course-editor .block-actions{margin-left:auto}
 .course-editor .video-upload-label{width:100%}
 .course-editor .video-upload-label input{max-width:100%}
 .course-editor .editor-add-block button{padding-inline:10px}
 .course-editor .editor-footer{bottom:8px;padding:12px;gap:8px}
 .course-editor .editor-footer .status-message{flex-basis:100%}
 .course-editor .editor-footer button{flex:1;padding-inline:12px}
}

/* PC operation continuity: independent navigation and compact context. */
.sidebar{display:flex;flex-direction:column;overflow:hidden;height:100dvh;padding-top:22px;padding-bottom:16px}
.sidebar .brand{flex:none;padding-bottom:20px}.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sidebar .sidebar-foot{position:static;flex:none;margin-top:12px}.sidebar .nav-title{padding-top:12px}.sidebar .nav-item{margin-bottom:3px}

/* Main columns follow available workspace width; keep the phone preview readable. */
.columns>*,.settings-grid>*,.studio-layout>*,.course-editor .editor-grid>*{min-width:0}
.course-editor #phone-preview{width:100%;max-width:360px;margin-inline:auto}
#settings-form>.field{max-width:60rem}

.order-list-meta{display:block;margin-top:10px;color:#6a7c71}.order-next-step{max-width:260px;line-height:1.65;color:#63756b}.order-status-summary{background:#edf4ed;border-radius:10px;padding:16px 18px;margin-bottom:18px}.order-status-summary p{margin:10px 0 0;line-height:1.7}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.order-detail-section{min-width:0;margin-bottom:20px}.order-detail-section h3{font-size:14px;margin:0 0 10px}.order-detail-section .detail-line{gap:12px}.order-case{padding:16px;border:1px solid var(--line);border-radius:8px;margin-top:12px;overflow-wrap:anywhere}.order-case p{line-height:1.7;white-space:pre-wrap}.order-case small{color:#63756b}.order-case .row{flex-wrap:wrap}.order-detail-section b{white-space:pre-wrap}#express-fields[hidden],#return-address-field[hidden]{display:none}@media(max-width:600px){.order-detail-grid{grid-template-columns:1fr;gap:0}}

/* Merchant media library */
.material-toolbar,.material-search{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.material-search{justify-content:flex-start;margin:18px 0}.material-search input{flex:1;min-width:120px;max-width:440px}
.material-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:18px;margin:18px 0}
.material-card{border:1px solid var(--line,#e3e8e2);border-radius:14px;overflow:hidden;min-width:0;background:#fff}
.material-thumb{height:152px;background:#f2f5f0;display:flex;align-items:center;justify-content:center;gap:10px;color:#237452}
.material-thumb img{width:100%;height:100%;object-fit:contain}.material-thumb .icon{width:40px;height:40px}
.material-video-thumb{background:#17221e;color:#e1ebe5}.material-video-thumb .ghost{color:inherit}
.material-info{padding:14px;display:grid;gap:10px}.material-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-info small,.material-info p{color:#6d786f;font-size:12px;margin:0;overflow-wrap:anywhere}
.material-preview{display:block;max-width:100%;max-height:65vh;margin:auto}.material-info .row{gap:8px}#material-progress{overflow-wrap:anywhere}
.material-card{position:relative}.material-card .material-delete{position:absolute;right:8px;top:8px;z-index:1;display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:22px;line-height:1;background:#fff;border:1px solid #dfe5e1;border-radius:6px}.material-delete:focus-visible{outline:2px solid #237452;outline-offset:2px}.material-references{padding-left:20px;max-height:45vh;overflow:auto}.material-references li{margin:10px 0;overflow-wrap:anywhere}
#material-picker{border-top:1px solid #e3e8e2;margin-top:16px;padding-top:12px;max-height:60vh;overflow:auto}
@media(max-width:600px){.material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.material-info{padding:10px}.material-toolbar{align-items:flex-start}.material-thumb{height:120px}}

.material-toolbar .video-upload-label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:112px;padding:10px 20px;border-radius:8px;background:var(--brand);color:white;cursor:pointer;overflow:hidden}
.material-toolbar .video-upload-label:focus-within{outline:3px solid #9bcab0;outline-offset:3px}.material-toolbar .video-upload-label:has(input:disabled){opacity:.45;cursor:not-allowed}
.material-toolbar .video-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:inherit}
.material-upload-progress{padding:18px;margin:16px 0;border:1px solid #dce6df;border-radius:12px;background:#f7faf8}.material-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.material-upload-heading>span:last-child{color:#5b7064}.material-upload-files{max-height:300px;overflow:auto;margin-top:12px}.material-upload-file{padding:12px 0;border-top:1px solid #e3ebe6}.material-upload-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-upload-heading b{font-variant-numeric:tabular-nums;color:var(--brand);flex-shrink:0}.material-upload-file progress{display:block;width:100%;height:8px;margin:10px 0;border:0;border-radius:8px;overflow:hidden;appearance:none;background:#dfe9e2;accent-color:var(--brand)}.material-upload-file progress::-webkit-progress-bar{background:#dfe9e2;border-radius:8px}.material-upload-file progress::-webkit-progress-value{background:var(--brand);border-radius:8px}.material-upload-file small{display:block;color:#607568;overflow-wrap:anywhere;line-height:1.5}.material-upload-file.is-error small,.material-upload-file.is-error b{color:#ad3737}.material-upload-file.is-error progress::-webkit-progress-value{background:#b44c4c}.material-upload-file.is-pending small{color:#93601c}.material-upload-progress>.subtitle{margin:8px 0 0;font-size:12px}
.settings-tabs{display:flex;gap:8px 24px;flex-wrap:wrap;border-bottom:1px solid #d6e0da;margin-bottom:24px}
.settings-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 0;background:transparent;color:#61756a}
.settings-tabs button[aria-selected=true]{border-bottom-color:#237452;color:#237452;font-weight:600}
.settings-scope{font-size:12px;color:#687b6f;margin:0 0 18px}.settings-helping .helping-content{margin-top:0}@media(max-width:600px){.settings-tabs{gap:4px 18px}.settings-tabs button{font-size:13px}}
.settings-profile{background:transparent}
.income-page{letter-spacing:0}.income-page h1{font-size:24px;letter-spacing:0}.income-page .page-head{margin-bottom:20px}.income-page .subtitle{color:#6a7872}.income-overview{background:#fff;border-block:1px solid #dce5df}.income-balance{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px}.income-balance>div{min-width:0}.income-balance h2{font-size:14px;color:#4e6357}.income-balance h2 span{font-size:12px;font-weight:400;margin-left:8px;color:#75827a}.income-value{display:block;font-size:34px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;color:#237452;margin-top:12px;overflow-wrap:anywhere}.income-balance p,.income-metrics p{font-size:12px;color:#77847c;margin:8px 0 0}.income-withdraw{text-align:right}.income-withdraw button{min-height:42px}.income-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:20px 28px;border-top:1px solid #e5ebe7;gap:28px}.income-metrics>div{min-width:0}.income-metrics>div+div{border-left:1px solid #e5ebe7;padding-left:28px}.income-metrics dt{font-size:12px;color:#6a7872}.income-metrics dd{font-size:22px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums;margin:8px 0 0;overflow-wrap:anywhere}.income-alert{padding:12px 16px;border-left:3px solid #bd8640;background:#faf1e5;color:#8a5c28;font-size:13px;overflow-wrap:anywhere}.income-channel{color:#6a7872;font-size:12px;margin:12px 0 0;overflow-wrap:anywhere}.income-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 14px}.income-section-head h2{font-size:16px}.income-section-head span,.income-section-head p{font-size:12px;color:#76837b;margin:6px 0 0}.income-account-head,.income-account{display:grid;grid-template-columns:minmax(136px,1.2fr) repeat(5,minmax(0,1fr));gap:16px;align-items:center;padding:16px 22px}.income-account-head{font-size:12px;color:#718077;background:#eef2ef;border-top:1px solid #dce5df}.income-account-head span:not(:first-child){text-align:right}.income-account{background:#fff;border-bottom:1px solid #e5ebe7;min-height:82px}.income-account h3{display:flex;gap:10px;align-items:center;font-size:14px}.income-account h3 .icon{color:#708479}.income-account dl{grid-column:2/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:0}.income-account dl>div{min-width:0;text-align:right}.income-account dt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.income-account dd{margin:0;font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.income-positive{color:#237452}.income-debt{color:#a14c3b}.income-withdrawals{border-top:1px solid #dce5df;background:#fff}.income-withdrawal{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,180px) minmax(100px,180px);align-items:center;gap:20px;padding:18px 22px;border-bottom:1px solid #e5ebe7}.income-withdrawal time{display:block;font-size:12px;color:#76837b;margin-top:8px}.income-withdrawal strong{font-size:15px;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.income-status{justify-self:end;font-size:12px;padding:4px 8px;border-radius:4px;white-space:normal;overflow-wrap:anywhere;background:#edf1ef;color:#64736a}.income-status.is-paid{color:#237452;background:#e7f3ea}.income-status.is-failed{color:#a14c3b;background:#f8ece8}.income-status.is-pending{color:#8a652d;background:#f6efdf}.income-empty{padding:32px 20px;text-align:center;font-size:13px;color:#748079;border-block:1px solid #e2e8e4;background:#fff;margin:0}
@media(max-width:1100px){.income-account-head{display:none}.income-account{display:block;padding:20px}.income-account h3{margin-bottom:20px}.income-account dl{gap:20px}.income-account dl>div{text-align:left}.income-account dt{position:static;width:auto;height:auto;clip-path:none;font-size:12px;color:#748079;margin-bottom:8px}.income-metrics{gap:18px}.income-metrics>div+div{padding-left:18px}}
@media(max-width:700px){.income-balance{display:block;padding:22px 18px}.income-value{font-size:30px}.income-withdraw{text-align:left;margin-top:22px}.income-withdraw button{width:100%}.income-metrics{grid-template-columns:1fr;padding:0 18px;gap:0}.income-metrics>div,.income-metrics>div+div{padding:16px 0;border-left:0}.income-metrics>div+div{border-top:1px solid #e5ebe7}.income-metrics dd{font-size:20px}.income-account dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.income-account{padding:20px 16px}.income-section-head{flex-wrap:wrap;gap:8px}.income-section-head button{padding-left:0}.income-withdrawal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:18px 16px}.income-withdrawal time{font-size:11px}.income-status{grid-column:1/-1;justify-self:start}.income-page .page-head>button{align-self:flex-start}.income-page button{white-space:normal}}
.hc-toolbar{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:20px 0}.hc-toolbar label{display:flex;align-items:center;gap:8px;width:360px;max-width:100%;border:1px solid #afc1b6;border-radius:6px;padding:0 12px;background:#fff;color:#738478}.hc-toolbar input{width:100%;min-width:0;border:0;background:transparent;min-height:42px;outline:none}.hc-toolbar label:focus-within{outline:2px solid #237452;outline-offset:2px}.hc-filters{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dae4dd}.hc-filters button{background:transparent;border:0;border-radius:0;border-bottom:2px solid transparent;color:#68786e;padding:12px 16px}.hc-filters button[aria-pressed=true]{color:#237452;border-bottom-color:#237452;font-weight:600}.hc-list-count{font-size:12px;color:#718077;margin:16px 0}.hc-course-list{border-top:1px solid #dfe7e1;background:#fff}.hc-course{display:grid;grid-template-columns:88px minmax(0,1fr) 180px;gap:24px;align-items:start;padding:24px;border-bottom:1px solid #e3ebe5}.hc-cover{width:88px;height:88px;object-fit:cover;border-radius:6px;background:#f3f6f4;border:1px solid #e3ebe5}.hc-course-info{min-width:0}.hc-course-title{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.hc-course-title h2{font-size:16px;line-height:1.6;letter-spacing:0;overflow-wrap:anywhere;flex:1;min-width:120px}.hc-course-title .badge{white-space:normal;overflow-wrap:anywhere;flex-shrink:0;max-width:100%}.hc-source{font-size:12px;color:#718077;margin:6px 0 12px;overflow-wrap:anywhere}.hc-course-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.hc-course-actions button{white-space:normal;min-height:40px}.hc-secondary{display:flex;flex-wrap:wrap;gap:6px 12px}.hc-secondary button{font-size:12px;padding:6px 0;white-space:normal}.hc-recommendation{font-size:13px;color:#57695e;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.hc-change{font-size:12px;color:#946329;margin:8px 0}.hc-commissions{margin:14px 0 0;padding:0;max-width:560px}.hc-commissions dt{font-size:12px;color:#78877d;margin-bottom:6px}.hc-commissions dd{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin:0;padding:7px 0;border-bottom:1px solid #eef2ef}.hc-commissions dd span{overflow-wrap:anywhere;min-width:0}.hc-commissions strong{color:#237452;white-space:nowrap;font-variant-numeric:tabular-nums}.hc-empty{display:flex;flex-direction:column;align-items:center;gap:14px;padding:50px 20px;text-align:center;background:#fff;border-block:1px solid #e3ebe5}.hc-empty h2{font-size:16px}.hc-empty p{font-size:13px;color:#728177;margin:0}.hc-order-note{font-size:12px;color:#6c7d72;margin:16px 0}.hc-order-source{margin-top:10px;font-size:11px;color:#748379}.hc-order-source span{display:block;overflow-wrap:anywhere;margin-top:6px}.hc-net{color:#237452;line-height:1.6;font-variant-numeric:tabular-nums}.hc-mobile-label{display:none}#helping-order-records .record-filters{border-radius:0;border-inline:0;border-top:1px solid var(--line)}#helping-order-records .shop-order-help{border-radius:0;border-inline:0}#helping-order-records .shop-order-results{border-radius:0;border-inline:0}#helping-order-records .shop-order-body,#helping-order-records .shop-order-columns{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.5fr) 120px}#helping-order-records .record-filters input,#helping-order-records .record-filters select{border-color:#afc1b6}
@media(max-width:1000px){.hc-course{grid-template-columns:72px minmax(0,1fr);gap:16px;padding:20px}.hc-cover{width:72px;height:72px}.hc-course-actions{grid-column:2;flex-direction:row;flex-wrap:wrap}.hc-course-actions button{min-width:100px}.hc-course-title h2{flex-basis:100%}}
@media(max-width:760px){#helping-order-records .shop-order-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hc-mobile-label{display:block;font-size:12px;color:#718077;margin-bottom:6px}.hc-toolbar{flex-wrap:wrap;gap:10px}.hc-toolbar label{width:100%}.hc-toolbar>button{margin-left:auto}.hc-filters button{font-size:12px;padding:10px}.hc-course{padding:18px 12px;grid-template-columns:60px minmax(0,1fr);gap:14px}.hc-cover{width:60px;height:60px}.hc-course-actions{grid-column:1/-1}.hc-course-actions button{flex:1}.hc-course-title h2{font-size:14px;min-width:0}.hc-commissions dd{flex-wrap:wrap;gap:6px}.hc-secondary{gap:4px}.hc-source{line-height:1.6}}
.helping-page:not(.settings-helping) .helping-nav{padding:0;border:0;border-bottom:1px solid #dce6df;border-radius:0;background:transparent;margin-bottom:20px}.helping-page:not(.settings-helping) .helping-nav .tabs{gap:24px}.helping-page:not(.settings-helping) .helping-nav .tab{border-radius:0;border-bottom:2px solid transparent;padding:12px 0;margin:0;min-height:46px;background:none}.helping-page:not(.settings-helping) .helping-nav .tab.active{border-bottom-color:#237452}#helping-order-records.shop-order-browser .record-filters{border-radius:0;border-inline:0}#helping-order-records.shop-order-browser .shop-order-help{border-radius:0;border-inline:0}#helping-order-records.shop-order-browser .shop-order-results{border-radius:0;border-inline:0}#helping-order-records.shop-order-browser .shop-order-body,#helping-order-records.shop-order-browser .shop-order-columns{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.5fr) 120px}
@media(max-width:760px){.helping-page:not(.settings-helping) .helping-nav .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.helping-page:not(.settings-helping) .helping-nav .tab{font-size:13px;min-width:0;white-space:normal}#helping-order-records.shop-order-browser .shop-order-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
/* Product management keeps scanning columns and form sections within their own surface. */
.product-workbench,.product-editor{letter-spacing:0}.product-workbench h1{letter-spacing:0}.product-browser{background:#fff;border-block:1px solid #dce5df}.product-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px;border-bottom:1px solid #e5ebe7;flex-wrap:wrap}.product-toolbar .tabs{flex-wrap:wrap;gap:4px}.product-toolbar .tab{border-radius:0;padding:12px 8px;border-bottom:2px solid transparent;background:none}.product-toolbar .tab.active{border-bottom-color:var(--brand)}.product-toolbar .search{border:1px solid #c8d4cc;border-radius:6px;width:280px;max-width:100%;background:#fff}.product-toolbar .search input{width:100%;min-width:0}.product-columns,.product-row{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(130px,1fr) minmax(110px,1fr) 156px;gap:24px;align-items:center;padding:18px 22px}.product-columns{background:#f5f7f6;font-size:12px;color:#697b70;padding-block:12px}.product-row{border-bottom:1px solid #e5ebe7;min-height:124px}.product-row>div{min-width:0}.product-identity{display:flex;gap:16px;align-items:center}.product-identity>div{min-width:0}.product-identity img{width:72px;height:72px;object-fit:cover;flex:none;border-radius:6px;background:#f1f4f2}.product-identity h2{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.product-identity p{margin:4px 0;font-size:12px;color:#617469;overflow-wrap:anywhere}.product-identity small,.product-status small{font-size:12px;line-height:1.7;color:#728179;overflow-wrap:anywhere}.product-numbers{display:flex;flex-direction:column;gap:10px;font-size:12px;color:#63776b}.product-numbers strong{font-size:17px;color:#203330;overflow-wrap:anywhere}.product-numbers>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.product-numbers .badge{font-weight:400;margin:0}.product-status{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.product-status .badge{white-space:normal}.product-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px}.product-actions button{min-height:36px}.product-footer{padding:16px 22px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#718077}.product-empty-action{text-align:center;padding-bottom:24px}
.modal:has(.product-editor){width:760px;max-width:calc(100vw - 24px);border-radius:8px}.modal:has(.product-editor) .modal-body{padding:0 24px 20px}.modal:has(.product-editor) .modal-header,.modal:has(.product-editor) .modal-footer{padding:18px 24px}.product-form-section{padding:22px 0;border-bottom:1px solid #e2e9e4}.product-form-section h3{margin-bottom:18px;font-size:14px}.product-form-section .field{margin-bottom:16px}.product-editor input:not([type=checkbox]):not([type=file]),.product-editor select,.product-editor textarea{border:1px solid #bdccc2;border-radius:6px;background:#fff;min-width:0;width:100%}.product-editor textarea{min-height:80px;resize:vertical}.product-basic-grid{display:grid;grid-template-columns:156px minmax(0,1fr);gap:24px}.product-basic-grid>div{min-width:0}.product-image-field{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.product-image-field .image-upload-tile.product-upload{width:132px;height:132px;max-width:100%;aspect-ratio:1}.product-image-field .field-help{font-size:11px;line-height:1.7}.product-image-field button{padding-inline:0;font-size:12px}.product-sale-line{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.product-sale-line .field-inline{margin:0;flex:none}.product-supply summary{cursor:pointer;font-size:14px;font-weight:600}.product-supply summary span{font-size:12px;font-weight:400;color:#728179;margin-left:12px}.product-supply[open] summary{margin-bottom:18px}.product-supply .tip{margin-bottom:16px}.product-supply .field-inline{margin:16px 0}.product-supply{border-bottom:0}.product-editor .form-grid{gap:18px}.product-editor :focus-visible,.product-workbench :focus-visible{outline:2px solid #237452;outline-offset:2px}
@media(max-width:1100px){.product-columns,.product-row{grid-template-columns:minmax(0,2fr) minmax(120px,1fr) 100px 90px;gap:16px}.product-actions{flex-direction:column;align-items:stretch}}
@media(max-width:700px){.product-toolbar{padding:10px 12px;gap:12px}.product-toolbar .search{width:100%}.product-toolbar .tabs{gap:0;width:100%}.product-toolbar .tab{font-size:12px;padding:10px 6px}.product-columns{display:none}.product-row{grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px 12px}.product-identity{grid-column:1/-1;gap:12px}.product-identity img{width:64px;height:64px}.product-status{align-items:flex-end;max-width:130px}.product-actions{grid-column:1/-1;flex-direction:row;border-top:1px solid #edf0ee;padding-top:12px}.product-footer{padding:14px 12px}.product-basic-grid{grid-template-columns:1fr;gap:20px}.product-image-field .image-upload-tile.product-upload{width:112px;height:112px}.modal:has(.product-editor) .modal-body{padding-inline:16px}.modal:has(.product-editor) .modal-header,.modal:has(.product-editor) .modal-footer{padding:16px}.product-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-sale-line{gap:8px}.product-sale-line .field-help{line-height:1.7}.product-form-section{padding:18px 0}}
/* Platform helping catalog and permission-aware course preview. */
.hc-catalog-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid #dce6df;margin-bottom:12px}.hc-catalog-filters .hc-filters{border:0;margin:0}.hc-catalog-filters>label{white-space:nowrap;display:flex;align-items:center;gap:10px;font-size:12px;color:#64766b}.hc-catalog-filters select{width:160px;max-width:180px;min-height:36px;padding:6px 10px;border:1px solid #bdccc2;border-radius:6px;background:#fff;color:#203330}.hc-commissions dd small{display:block;margin-top:4px;color:#728179;font-size:12px;font-weight:400}.hc-preview{letter-spacing:0}.hc-preview-heading{display:flex;align-items:center;gap:18px}.hc-preview-heading>div{min-width:0}.hc-preview-heading h3{font-size:18px;line-height:1.6;overflow-wrap:anywhere}.hc-preview-heading p,.hc-preview-intro{font-size:13px;color:#65796d;overflow-wrap:anywhere}.hc-preview>.hc-commissions{display:block;padding:10px 0 22px;border-bottom:1px solid #e3eae6}.hc-preview .hc-commissions dd{margin:0;padding:10px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;overflow-wrap:anywhere}.hc-preview .hc-commissions dd>span{min-width:0}.hc-preview .hc-commissions strong{color:#237452;flex:none}.hc-preview-content{padding:20px 0}.hc-preview-content>h3{margin-bottom:18px}.hc-preview-content .message{max-width:100%;margin-bottom:16px}.hc-preview-content .message-content{min-width:0;flex:1}.hc-preview-content .bubble{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.hc-preview-content .bubble>img{width:auto;max-width:100%;max-height:240px;object-fit:contain}.hc-preview-content .product-message{max-width:100%;min-width:0}.hc-preview-content .product-message>div{min-width:0;overflow-wrap:anywhere}.hc-preview-content .product-message img{width:56px;height:56px;object-fit:cover;flex:none}.hc-preview-confirm{margin:0;padding:16px 0 0;border-top:1px solid #e3eae6;font-size:12px;color:#64766b;line-height:1.8}.modal:has(.hc-preview){width:760px;max-width:calc(100vw - 24px);border-radius:8px}.modal:has(.hc-preview) .modal-footer{flex-wrap:wrap}
@media(max-width:600px){.hc-catalog-filters{padding-bottom:12px;gap:10px}.hc-catalog-filters>label{width:100%;justify-content:space-between}.hc-catalog-filters select{flex:1;max-width:200px;min-width:0}.hc-preview-heading{gap:12px}.hc-preview-heading h3{font-size:16px}.hc-preview .hc-commissions dd{flex-wrap:wrap;gap:8px}.modal:has(.hc-preview) .modal-body{padding:16px}.modal:has(.hc-preview) .modal-footer{padding:12px;gap:8px}.modal:has(.hc-preview) .modal-footer button{flex:1;min-width:0;padding-inline:10px}.modal:has(.hc-preview) .modal-footer button.primary{flex-basis:100%}}
.workspace-drawer-host{pointer-events:none;background:transparent;backdrop-filter:none;justify-content:flex-end;padding:0}.workspace-drawer{pointer-events:auto;width:420px!important;max-width:92vw;height:100vh;max-height:100vh;border-radius:16px 0 0 16px;box-shadow:-8px 0 36px #12332125;animation:workspace-drawer-in 320ms cubic-bezier(.2,.8,.2,1)}.workspace-drawer .modal-header{gap:8px;padding:18px}.workspace-drawer .modal-header h2{flex:1;font-size:18px}.workspace-drawer .modal-body{padding:20px}.workspace-drawer .modal-footer{padding:16px}.workspace-drawer .order-detail-grid{display:block}.drawer-current{background:var(--pale)}.workspace-search-trigger{margin-right:auto;color:var(--muted);background:var(--bg);display:flex;gap:8px;align-items:center;min-width:260px}.workspace-search-trigger kbd{margin-left:auto;font-size:11px}.topbar .crumb{display:none}.search-result{display:block;text-align:left;width:100%;margin:8px 0;white-space:normal}.order-progress{display:flex;gap:5px;margin-bottom:20px}.order-progress span{flex:1;border-top:4px solid var(--line);padding-top:10px;color:var(--muted)}.order-progress .done{border-color:var(--brand)}.record-batch{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:var(--pale);padding:12px 18px;border-radius:10px;margin:12px 0}.dashboard-task{display:flex;gap:16px;padding:20px 24px;align-items:center;border-top:1px solid var(--line)}.dashboard-task>div{flex:1;min-width:0}.dashboard-task p{font-size:12px;color:var(--muted);margin-top:8px}.workspace-drawer fieldset{padding:12px;border:1px solid var(--line);margin:12px 0}#batch-shipping fieldset{padding:16px;margin:16px 0}#batch-shipping label{display:block;margin:12px 0}.product-row>input[type=checkbox]{position:absolute;left:8px;top:20px}.product-row{position:relative;padding-left:36px}.shop-order-row>td>input{margin:10px}@keyframes workspace-drawer-in{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@media(max-width:1000px){.workspace-search-trigger{min-width:0;font-size:12px}.workspace-search-trigger kbd{display:none}}@media(max-width:760px){.topbar .account>.primary{display:none}.workspace-search-trigger{max-width:45vw;overflow:hidden}.dashboard-task{padding:16px;gap:10px}.workspace-drawer{max-width:96vw}}

/* Keep topbar controls readable when the sidebar leaves a narrow content area. */
@media(max-width:600px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:8px;padding:10px 16px}.topbar .workspace-search-trigger{flex:1 0 100%;width:100%;max-width:100%;min-width:0;justify-content:flex-start}.topbar .account{width:100%;min-width:0;flex-wrap:wrap;gap:6px}.topbar .account>button{padding:6px 8px;font-size:12px}.topbar .workspace-account-menu{flex:1;min-width:0}.topbar .workspace-account-menu summary{max-width:100%;padding:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .account>.author-avatar{flex:none}}

/* Keep dashboard statistics immediately below tasks, independent of sidebar height. */
.dashboard-columns{align-items:start}.dashboard-main>.panel:last-child{margin-bottom:0}
@media(min-width:1001px) and (max-width:1400px){.dashboard-main>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1001px){.dashboard-columns{grid-template-columns:minmax(0,3fr) minmax(300px,1fr)}}
