/* 排单工作室：所有样式限制在排单页面，沿用现有路由、表单和数据。 */
#page-orders{--studio-paper:#fffefa;--studio-ink:#29332b;--studio-muted:#75806e;--studio-line:#e6e9df;--studio-green:#dce8ca;color:var(--studio-ink);max-width:1240px;margin:auto;padding-bottom:35px}
#page-orders .order-page-head{border:0;padding:12px 0 22px;gap:20px;align-items:center}
#page-orders .order-page-head>div{display:block}
#page-orders .order-page-head h1{font-size:clamp(24px,3vw,36px);font-weight:650;line-height:1.4;margin:8px 0;letter-spacing:-.8px}
#page-orders .order-page-head .studio-dot{display:inline;color:#91ab78;font-size:inherit;margin:0}
#page-orders .studio-eyebrow{font-size:10px;letter-spacing:2px;color:#74836b}
#page-orders .studio-subtitle{font-size:13px;color:var(--studio-muted);margin:6px 0;line-height:1.7}
#page-orders .order-add-round{width:auto;height:auto;white-space:nowrap;border-radius:30px;background:#2c382d;color:#fff;padding:12px 22px;font-size:14px;box-shadow:none}
#page-orders .echo-tabs{padding:0;margin:0 0 26px;gap:24px;border-bottom:1px solid var(--studio-line);background:none;border-radius:0;overflow-x:auto}
#page-orders .echo-tabs button{font-size:15px;border-radius:0;background:none;box-shadow:none;padding:14px 2px;color:var(--studio-muted);white-space:nowrap;border:0;border-bottom:3px solid transparent}
#page-orders .echo-tabs button.active{color:#293b28;border-bottom-color:#829d67}
#page-orders .echo-tabs .showcase-shortcut{position:static;flex-shrink:0;margin-left:auto;transform:none;box-shadow:none;width:40px;height:auto}
#page-orders .studio-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}
#page-orders .studio-stat{padding:23px;border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:22px;min-width:0}
#page-orders .studio-stat.accent{background:var(--studio-green);border-color:var(--studio-green)}
#page-orders .studio-stat>span{color:#63705d;font-size:13px}
#page-orders .studio-stat strong{display:block;font-size:clamp(23px,2.4vw,32px);font-weight:550;margin:10px 0 5px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#page-orders .studio-stat small{font-size:11px;color:#68755e;font-weight:400}
#page-orders .studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
#page-orders .studio-layout>section,#page-orders .studio-aside{min-width:0}
#page-orders .studio-panel{padding:24px;border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:23px;margin-bottom:18px}
#page-orders .studio-reminder{background:#e9eedd;border:0}
#page-orders .studio-reminder h2{font-size:23px;margin:16px 0 8px;line-height:1.6}
#page-orders .studio-reminder p{color:#68755f;font-size:13px;line-height:1.9}
#page-orders .echo-filters{margin:0 0 10px;padding:0;background:none;box-shadow:none;border:0}
#page-orders .echo-status-filter{gap:6px;flex-wrap:wrap}
#page-orders .echo-status-filter button,#page-orders .echo-sort button{font-size:12px;color:#63715b;padding:8px 12px;border-radius:20px;background:none}
#page-orders .echo-status-filter button.active{background:#303c30;color:white}
#page-orders .echo-sort{gap:8px;flex-wrap:wrap;margin-top:10px}
#page-orders .echo-sort button.active{background:#e4ebdc;color:#34452c}
#page-orders .studio-search-row{display:flex;gap:10px;margin:14px 0 0}
#page-orders .studio-search-row .echo-search{flex:1;min-width:0;margin:0;padding:11px 15px;border:1px solid var(--studio-line);border-radius:24px;background:var(--studio-paper);font-size:13px}
#page-orders .echo-select{max-width:45%;border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:20px;font-size:12px;padding:8px 12px}
#page-orders .order-count-text{font-size:12px;color:var(--studio-muted);margin:12px 0 18px}
#page-orders .echo-order-list{display:grid;grid-template-columns:1fr;gap:14px}
#page-orders .studio-order{display:block;padding:24px;background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:22px;box-shadow:none;min-width:0;cursor:default;transition:box-shadow .18s}
#page-orders .studio-order:hover{box-shadow:0 7px 24px #34442508}
#page-orders .studio-order-top,#page-orders .studio-order-title,#page-orders .studio-order-meta,#page-orders .studio-order-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
#page-orders .studio-order-top{font-size:12px;color:var(--studio-muted)}
#page-orders .status-outline{border:0;background:#edf3e5;color:#587347;padding:4px 10px;font-size:11px;border-radius:7px}
#page-orders .studio-urgent .studio-order-top{color:#a06d3e}
#page-orders .studio-urgent .status-outline{background:#fff0e1;color:#956436}
#page-orders .studio-order-title{margin-top:13px}
#page-orders .studio-title-button{font:inherit;font-size:17px;font-weight:650;text-align:left;background:none;border:0;padding:0;color:inherit;overflow-wrap:anywhere;cursor:pointer}
#page-orders .studio-order-title>strong{white-space:nowrap;font-size:17px;font-weight:550}
#page-orders .studio-order-client{font-size:13px;color:var(--studio-muted);margin:7px 0 19px}
#page-orders .studio-stage-bars{display:flex;gap:6px}
#page-orders .studio-stage-bars i{height:4px;background:#e9ede3;border-radius:5px;flex:1}
#page-orders .studio-stage-bars i.done{background:#a8c08b}
#page-orders .studio-order-meta{color:var(--studio-muted);font-size:11px;margin-top:9px;flex-wrap:wrap}
#page-orders .studio-order-footer{margin-top:18px;padding-top:14px;border-top:1px solid #eef0e9;font-size:12px;color:var(--studio-muted);flex-wrap:wrap}
#page-orders .studio-link{font:inherit;font-size:12px;background:none;border:0;color:#526f3e;padding:5px;cursor:pointer}
#page-orders button:disabled{opacity:.5;cursor:wait}
#page-orders button:focus-visible,#page-orders input:focus-visible{outline:2px solid #71905b;outline-offset:3px}
#page-orders .ddl-toolbar{gap:10px;margin:0;padding:0;background:none;border:0;box-shadow:none}
#page-orders .ddl-month b{font-size:16px}
#page-orders .ddl-month span{font-size:12px;color:#718360}
#page-orders .echo-square{width:30px;height:34px;font-size:21px;border-radius:11px;border:1px solid var(--studio-line);background:var(--studio-paper)}
#page-orders .ddl-total{font-size:11px}
#page-orders .ddl-calendar{margin:16px 0 0}
#page-orders .ddl-days{gap:4px}
#page-orders .ddl-week{font-size:11px;margin-bottom:8px}
#page-orders .ddl-day{min-height:42px;padding:5px 1px;border-radius:9px;font-size:12px;background:transparent;border:1px solid transparent}
#page-orders .ddl-day.has{background:#e6eedc;border-color:#d4e3c4}
#page-orders .ddl-day.selected{background:#34462e;color:white}
#page-orders .ddl-day b{font-size:9px;overflow-wrap:anywhere;color:inherit}
#page-orders .calendar-style-toggle{margin-top:12px}
#page-orders .calendar-style-toggle button,#page-orders .echo-toggle button{font-size:11px;padding:5px 9px}
#page-orders .ddl-interval-list button{flex-wrap:wrap;font-size:12px;gap:5px}
#page-orders .income-mode{margin:0 0 18px;gap:8px}
#page-orders .income-mode button{border:1px solid var(--studio-line);border-radius:20px;color:#68765c;padding:8px 19px;background:var(--studio-paper)}
#page-orders .income-mode button.active{background:#303c30;color:white;border-color:#303c30}
#page-orders .income-period-nav{margin-bottom:15px}
#page-orders .income-big{background:var(--studio-green);border-radius:24px;padding:28px;margin:0 0 26px;display:flex;align-items:flex-start;flex-direction:column;gap:8px}
#page-orders .income-big strong{font-size:clamp(32px,4vw,46px);font-weight:550;color:#2e4027;line-height:1.3;overflow-wrap:anywhere;max-width:100%}
#page-orders .income-big span{font-size:14px;color:#4e6342}
#page-orders .income-big small{font-size:12px;color:#617553}
#page-orders .income-chart{background:var(--studio-paper);border:1px solid var(--studio-line);border-radius:22px;padding:20px;height:270px;margin:16px 0 24px}
#page-orders .studio-pending-total{font-size:34px;margin:10px 0;overflow-wrap:anywhere}
#page-orders .studio-receivable{padding:18px 0;border-top:1px solid var(--studio-line);margin-top:15px}
#page-orders .studio-receivable .studio-title-button{font-size:14px}
#page-orders .studio-receivable .studio-link{margin-top:10px;padding-left:0}
#page-orders .studio-income-calendar{border:1px solid var(--studio-line);background:var(--studio-paper);border-radius:20px;padding:18px;margin-bottom:20px}
#page-orders .studio-income-calendar summary{cursor:pointer;font-size:14px}
#page-orders .income-records,#page-orders .painting-card,#page-orders .archive-card,#page-orders .analysis-block{border:1px solid var(--studio-line);border-radius:22px;background:var(--studio-paper);box-shadow:none}
#page-orders .income-row{gap:12px}
#page-orders .income-row>div{min-width:0;overflow-wrap:anywhere}
#page-orders .income-row strong{white-space:nowrap;color:#5c7548;font-size:16px}
#page-orders .echo-table{width:100%;font-size:13px}
#page-orders .analysis-block{padding:20px;overflow-x:auto}
@media(max-width:1100px){#page-orders .studio-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}#page-orders .studio-panel{padding:18px}#page-orders .studio-stat{padding:18px}}
@media(max-width:760px){#page-orders .studio-layout{grid-template-columns:1fr}#page-orders .studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#page-orders .order-page-head{gap:10px}#page-orders .order-page-head h1{font-size:24px}#page-orders .studio-eyebrow{font-size:9px;letter-spacing:1px}#page-orders .order-add-round{padding:10px 14px;font-size:12px}#page-orders .echo-tabs{gap:20px}#page-orders .echo-tabs button{font-size:13px}#page-orders .studio-order{padding:19px}#page-orders .studio-title-button{font-size:16px}#page-orders .studio-order-title{align-items:flex-start}#page-orders .studio-aside .ddl-day{min-height:49px}#page-orders .income-records{padding:18px}#page-orders .income-records .card-head{flex-wrap:wrap;gap:10px}#page-orders .studio-income-layout .studio-aside{grid-row:2}#page-orders{padding-bottom:calc(40px + env(safe-area-inset-bottom))}}
