/* A compact workspace: projects first, then one task at a time. */
.content{max-width:1560px;margin:0 auto;width:100%;padding:28px 32px}.brand{margin-bottom:20px}.sidebar .nav{margin-top:12px}.nav button{min-height:48px}.sidebar .connection p{display:none}.sidebar .sideDesc{overflow-wrap:anywhere}.topbar .crumb{font-size:14px}.topbar .top-actions{gap:16px}.identity-label{font-size:13px;color:var(--ink);white-space:nowrap}.demo-switcher{position:relative;font-size:12px;color:var(--muted)}.demo-switcher summary{cursor:pointer;min-height:44px;display:flex;align-items:center;list-style:none}.demo-switcher summary::after{content:'⌄';padding-left:6px}.demo-switcher[open]{z-index:30}.demo-switcher[open]>.role-group{display:flex;flex-direction:column;align-items:stretch;gap:8px;position:absolute;top:42px;right:0;width:245px;padding:18px 18px 58px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px #16233a20}.demo-switcher[open]>p{position:absolute;top:123px;right:14px;width:216px;font-size:11px}.demo-switcher select{max-width:100%;width:100%;font-size:14px}.directory-head,.context-row,.sample-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.directory-head h1,.project-heading h1{font-size:26px;font-weight:650;letter-spacing:0}.directory-head h1 span{display:inline-flex;font-size:14px;border:1px solid var(--line);padding:2px 9px;border-radius:7px;vertical-align:middle;margin-left:8px;color:var(--muted)}.period-label{font-size:12px;color:var(--muted)}.attention-strip{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;margin-bottom:24px;background:var(--blue-pale);border:1px solid #cddcff;border-radius:12px;text-align:left;font-size:14px;color:var(--blue-dark)}.attention-strip>span:last-child{margin-left:auto;white-space:nowrap}.project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:20px}.project-card{padding:24px;box-shadow:0 4px 20px #16233a04}.project-card-head,.project-heading{display:flex;align-items:center;gap:14px}.project-card h2{font-size:20px;font-weight:650}.project-card .project-symbol,.project-heading .project-symbol{background:var(--blue-pale);color:var(--blue);width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:21px}.project-metrics{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0}.project-metrics dt{font-size:13px;color:var(--muted);margin-bottom:5px}.project-metrics dd{font-size:22px;font-weight:600;margin:0;font-variant-numeric:tabular-nums}.project-metrics small{font-size:12px;font-weight:400;color:var(--muted)}.project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:20px}.project-card-foot .btn{font-size:13px}.project-context{margin-bottom:22px}.back-projects{margin-bottom:10px;min-height:36px}.context-row{margin-bottom:22px}.project-tabs{display:flex;gap:24px;overflow:auto;border-bottom:1px solid var(--line)}.project-tabs button{flex:none;padding:12px 2px;min-height:46px;border-bottom:3px solid transparent;font-size:14px;color:var(--muted)}.project-tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:600}.page-period{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin:0 0 16px}.page-period span{padding:2px 7px;background:var(--blue-pale);border-radius:5px;color:var(--blue)}.balance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--blue-pale);margin:0 24px 14px;padding:16px 20px;border-radius:10px}.balance-summary span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.balance-summary b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.expense-list{padding:0 24px}.expense-list>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px}.expense-list b{font-weight:500}.expense-list>div:last-child{border:0}.expense-total{padding:16px 0!important}.expense-total b{font-size:18px;font-weight:650}.explanation{margin:16px 0;color:var(--muted);font-size:13px}.panel>.explanation{margin:8px 24px 20px}.explanation summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}.explanation summary::before{content:'＋';color:var(--blue);font-size:16px}.explanation[open] summary::before{content:'−'}.explanation p{line-height:1.8;padding:4px 0 12px;max-width:880px}.sample-tools{margin:20px 0 10px;flex-wrap:wrap}.sample-tools h2{font-size:18px}.filter-period{margin:0 0 14px}.status-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.status-filters button{min-height:44px;padding:8px 13px;border:1px solid var(--line);background:white;border-radius:9px;font-size:13px;display:flex;align-items:center;gap:8px}.status-filters button span{color:var(--muted);font-variant-numeric:tabular-nums}.status-filters button.active{border-color:var(--blue);background:var(--blue-pale);color:var(--blue)}.status-filters button.active span{color:var(--blue)}.cost-hint{font-size:13px;color:var(--muted);margin:0 0 20px}.cost-card .actions{justify-content:space-between;flex-wrap:wrap}.integration-status{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border:1px solid var(--line);padding:10px 18px;border-radius:12px;margin-bottom:20px;font-size:13px}.flow-footer{padding:24px 0 0;font-size:11px;color:var(--muted)}.status-filters button,.project-tabs button,.attention-strip{transition:background 160ms,color 160ms,border-color 160ms}.panel-head h2{font-size:18px}.kpi-foot{line-height:1.7}.project-card .btn:hover{transform:translateY(-1px)}
@media(max-width:1000px){.content{padding:24px}.project-cards{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}.project-tabs{gap:18px}.topbar .top-actions{gap:10px}}
@media(max-width:650px){.sidebar{padding:14px 16px 0}.brand{margin:0;padding-bottom:10px}.sidebar .nav{margin-top:0;gap:8px}.nav button{min-height:44px;font-size:14px;padding:10px 12px}.topbar{padding:8px 16px}.topbar .top-actions{flex-wrap:nowrap;justify-content:space-between}.demo-switcher summary{font-size:11px}.identity-label{font-size:12px}.content{padding:22px 16px}.directory-head{align-items:flex-start;flex-wrap:wrap;gap:8px}.directory-head h1,.project-heading h1{font-size:23px}.project-cards{grid-template-columns:1fr;gap:16px}.project-card{padding:20px}.project-metrics{gap:18px;margin:22px 0}.project-metrics dd{font-size:24px}.attention-strip{gap:8px;padding:12px;font-size:13px}.attention-strip .icon{width:17px}.context-row{gap:12px;flex-wrap:wrap}.project-heading{gap:10px}.project-heading .project-symbol{width:40px;height:40px;font-size:19px}.project-tabs{gap:20px}.project-tabs button{font-size:13px}.page-period{flex-wrap:wrap;gap:6px}.balance-summary{margin:0 16px 8px;padding:14px 12px;gap:10px}.balance-summary b{font-size:16px}.balance-summary span{font-size:11px}.expense-list{padding:0 16px}.expense-list>div{font-size:14px}.panel>.explanation{margin:8px 16px 14px}.status-filters{gap:7px}.status-filters button{font-size:12px;padding:8px 10px}.sample-tools .actions{gap:8px;flex-wrap:wrap}.integration-status{align-items:flex-start;flex-wrap:wrap}.demo-switcher[open]>.role-group{right:-50px;width:228px}.demo-switcher[open]>p{right:-36px;width:200px}}
.form-section{margin:0 0 24px;padding:0;border:0;min-width:0}.form-section legend{font-size:15px;font-weight:600;margin-bottom:14px;padding:0}.optional-fields{border-top:1px solid var(--line);padding-top:6px;margin-top:8px}.optional-fields summary{cursor:pointer;min-height:44px;font-size:13px;color:var(--muted);padding:10px 0}.optional-fields .form-grid{margin-top:12px}.form-sections>.estimate{margin-top:16px}.form-sections{min-width:0}
.daily-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:18px 0}.date-shortcuts{display:flex;gap:6px;padding:4px;background:#e8eef8;border-radius:10px}.date-shortcuts button{min-height:40px;padding:8px 18px;border-radius:7px;font-size:14px;color:var(--muted)}.date-shortcuts button.active{background:white;color:var(--blue);box-shadow:0 2px 8px #16233a08}.date-picker{display:flex;align-items:center;gap:10px}.date-picker label{font-size:13px;color:var(--muted)}.date-picker input{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;padding:8px 10px;min-width:0;color:var(--ink);font:inherit;font-size:14px}.date-picker>button{width:38px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;font-size:22px}.daily-summary{background:white;border:1px solid var(--line);border-radius:16px;padding:22px 24px;margin:0 0 24px}.daily-summary-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;margin-bottom:22px}.daily-summary-title h2{font-size:18px;font-weight:650}.daily-summary-title>span{font-size:12px;color:var(--muted)}.daily-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:18px}.daily-metrics>div{border-right:1px solid var(--line)}.daily-metrics>div:last-child{border-right:0}.daily-metrics span{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}.daily-metrics strong{display:block;font-size:30px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.3}.daily-metrics strong small{font-size:13px;font-weight:400;color:var(--muted);margin-left:7px}.daily-metrics .sent-metric strong{color:var(--blue)}.daily-projects{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);padding-top:16px;margin-bottom:16px}.daily-projects button{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:10px 12px;border-radius:9px;min-height:44px;font-size:13px}.daily-projects button:hover{background:var(--blue-pale)}.daily-projects b{font-weight:500;color:var(--blue)}.daily-summary>p{font-size:11px;line-height:1.7}
.date-shortcuts{flex-wrap:wrap}.date-shortcuts button{white-space:nowrap}@media(max-width:650px){.daily-controls .date-shortcuts{gap:3px;flex-wrap:nowrap}.daily-controls .date-shortcuts button{padding:8px 5px;font-size:12px;min-width:0}}
.creator-searchbar{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px;align-items:end;margin-bottom:12px}.creator-list-note{margin-bottom:20px}.creator-list-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(430px,100%),1fr));gap:18px}.creator-list-card{padding:22px}.creator-card-title{display:flex;justify-content:space-between;gap:12px}.creator-card-title h2{font-size:19px}.creator-id{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.creator-card-projects{font-size:12px;color:var(--muted);margin:12px 0 18px}.creator-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.creator-overview-stats span,.creator-overview-stats small{display:block;color:var(--muted);font-size:12px}.creator-overview-stats b{display:block;font-size:21px;margin:6px 0;font-weight:600}.creator-logistics{font-size:12px;color:var(--muted);padding:16px 0;margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.creator-list-card .actions{justify-content:flex-end;flex-wrap:wrap}.creator-history>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.creator-picker{padding:16px;background:var(--blue-pale);border-radius:12px;margin-bottom:22px}.creator-picker>label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.creator-picker>input{width:100%;font:inherit;background:white;border:1px solid var(--line);padding:10px 12px;border-radius:8px;min-height:44px}#creatorSuggestions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;min-height:48px;background:white;padding:10px 12px;margin-top:6px;border-radius:8px}#creatorSuggestions>button>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}#creatorSuggestions>p{margin-top:10px}@media(max-width:650px){.creator-searchbar{grid-template-columns:1fr}.creator-list-card{padding:18px}.creator-overview-stats{grid-template-columns:1fr 1fr;gap:16px}.creator-card-title h2{font-size:18px}.creator-list-card .actions{justify-content:stretch}.creator-list-card .actions>.btn{flex:1;font-size:13px}.creator-picker{padding:12px}.creator-searchbar input,.creator-searchbar select{font-size:16px}.creator-history>div{align-items:flex-start;flex-wrap:wrap}}
.business-project-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;max-width:1000px}.business-project-tile{aspect-ratio:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;text-align:left;padding:24px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 20px #16233a04;transition:background 160ms,border-color 160ms,transform 160ms}.business-project-tile:hover{border-color:var(--blue);background:#fafdff;transform:translateY(-2px)}.tile-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.tile-top .project-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--blue-pale);color:var(--blue);font-size:22px}.tile-name{display:block;font-size:23px;font-weight:650;color:var(--ink)}.tile-stats{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.tile-stats b{font-weight:600;color:var(--ink)}.tile-status{display:block;border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:var(--muted)}.tile-status.has-task{color:var(--blue)}@media(max-width:650px){.business-project-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.business-project-tile{padding:15px;border-radius:14px}.tile-top .project-symbol{width:32px;height:32px;font-size:18px;border-radius:9px}.tile-top .icon{width:16px}.tile-name{font-size:18px}.tile-stats{font-size:11px;gap:4px}.tile-status{font-size:11px;padding-top:8px}}@media(prefers-reduced-motion:reduce){.business-project-tile{transition:none}.business-project-tile:hover{transform:none}}
@media(max-width:650px){.daily-controls{align-items:flex-start;gap:12px}.date-shortcuts{width:100%;justify-content:space-between}.date-shortcuts button{flex:1;min-height:44px}.date-picker{gap:7px;width:100%}.date-picker label{font-size:12px;white-space:nowrap}.date-picker input{font-size:16px;flex:1;width:0;padding:8px 6px}.date-picker>button{flex:none;width:34px}.daily-summary{padding:18px 16px}.daily-summary-title{margin-bottom:18px}.daily-summary-title h2{font-size:18px}.daily-metrics{grid-template-columns:1fr 1fr;gap:20px 16px}.daily-metrics>div:nth-child(2){border:0}.daily-metrics strong{font-size:28px}.daily-projects{display:grid;grid-template-columns:1fr}.daily-projects button{justify-content:space-between;gap:8px}.daily-projects button b{margin-left:auto}.daily-summary>p{font-size:11px}}
@media(max-width:650px){.sample-panel .table-scroll{overflow:visible}.sample-panel table{display:block;min-width:0;width:100%}.sample-panel thead{display:none}.sample-panel tbody{display:block;padding:0 14px}.sample-panel tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px;padding:16px 0;border-bottom:1px solid var(--line)}.sample-panel tr:last-child{border-bottom:0}.sample-panel td{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;border:0;padding:5px 0;font-size:13px}.sample-panel td:first-child{grid-column:1/-1}.sample-panel td:first-child .text-btn{font-size:15px!important;display:block}.sample-panel td:nth-child(2){grid-column:1/-1;color:var(--muted);font-size:12px}.sample-panel td:nth-child(2) .small{display:inline;margin-left:10px}.sample-panel td:nth-child(3)::before{content:'样品';display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.sample-panel td:nth-child(4)::before{content:'费用';display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.sample-panel td:last-child{grid-column:1/-1}.sample-panel td:last-child .text-btn{display:flex;justify-content:center;width:100%;min-height:44px;background:var(--blue-pale);border-radius:8px;color:var(--blue)}}
@media(prefers-reduced-motion:reduce){.project-card .btn:hover{transform:none}.status-filters button,.project-tabs button,.attention-strip{transition:none}}

.sample-date-shortcuts{margin-top:8px;width:fit-content}.sample-date-shortcuts button{padding:6px 14px;min-height:40px}@media(max-width:650px){.daily-controls .date-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.sample-date-shortcuts{width:100%}}

.daily-controls .date-shortcuts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));width:100%}.daily-controls .date-shortcuts button{padding:8px 6px}@media(max-width:900px){.daily-controls .date-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}

.staff-section-head,.staff-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0 14px}.staff-section-head h2,.staff-detail-heading h2{font-size:18px;margin:0}.staff-section-head h2>span{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px}.staff-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.staff-sample-card{display:flex;flex-direction:column;text-align:left;background:white;border:1px solid var(--line);border-radius:16px;padding:22px;color:var(--ink);transition:border-color .18s,box-shadow .18s;min-width:0}.staff-sample-card:hover{border-color:var(--blue);box-shadow:0 6px 20px #173a7310}.staff-sample-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#f8faff}.staff-sample-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.staff-card-head{display:flex;align-items:center;gap:12px}.staff-member{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.staff-member strong{font-size:17px}.staff-member small{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.staff-card-head>svg{width:18px;height:18px}.staff-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;margin:24px 0}.staff-card-metrics>span{display:flex;flex-direction:column;gap:8px}.staff-card-metrics small{font-size:12px;color:var(--muted)}.staff-card-metrics strong{font-size:27px;font-weight:600;font-variant-numeric:tabular-nums}.staff-card-metrics>span:first-child strong{color:var(--blue)}.staff-card-metrics em{font-style:normal;font-weight:400;font-size:11px;color:var(--muted);margin-left:6px}.staff-card-cost,.staff-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.staff-card-cost{border-top:1px solid var(--line);padding-top:14px;color:var(--muted)}.staff-card-cost>span{font-size:19px;font-weight:600;color:var(--ink)}.staff-card-foot{margin-top:16px;line-height:1.6}.staff-card-foot>span:last-child{color:var(--blue);white-space:nowrap}.staff-detail-heading{margin-top:28px}@media(max-width:650px){.staff-card-grid{grid-template-columns:1fr}.staff-sample-card{padding:18px}}@media(prefers-reduced-motion:reduce){.staff-sample-card{transition:none}}
