.pro-main {width:min(74rem,92%);margin-top:clamp(2rem,4.2vw,4rem)}
.pro-main h1 {font-size:clamp(2.4rem,4.6vw,4.1rem);margin-bottom:1.55rem}
.pro-bar {background:#fffaf7;border-bottom:1px solid #e4dbe7}
.pro-bar-inner {width:min(78rem,94%);margin:auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}
.pro-bar nav {align-items:center;gap:.2rem}
.pro-bar nav a,.pro-bar .nav-lock {padding:.58rem .7rem;border-radius:.55rem;white-space:nowrap;line-height:1.35;font-size:.92rem}
.pro-bar nav a[aria-current] {background:#eee5fc;color:#492687}
.pro-bar nav form {display:block;margin:0}
.pro-bar .nav-lock {background:transparent;color:var(--muted);border:0;font-weight:550;min-height:38px}
.pro-mobile {display:none}
.pro-main .panel {box-shadow:0 2px 6px #42235508}
.section-head,.action-row,.pagination {display:flex;align-items:center;justify-content:space-between;gap:.7rem 1rem;flex-wrap:wrap}
.section-head h2,.panel>h2:first-child {margin:0 0 .55rem}
.section-head>span,.report-note {color:var(--muted);font-size:.92rem}
.section-head {margin-bottom:.55rem}
.metric-grid,.pipeline {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:1.3rem 0}
.pipeline,.customer-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
.metric,.pipeline-item {display:grid;gap:.38rem;background:white;border:1px solid var(--rule);border-radius:14px;padding:1rem 1.15rem;min-width:0}
.metric span,.pipeline-item span {font-weight:600;color:var(--muted);font-size:.89rem}
.metric strong,.pipeline-item strong {font:750 clamp(1.4rem,3vw,2.1rem)/1.1 Bricolage,Arial,sans-serif;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.metric.featured {background:#513481;border-color:#513481;color:white}.metric.featured span {color:#f5ebff}
.pipeline-item {color:var(--ink);text-decoration:none}.pipeline-item:hover {border-color:#9c80bd;text-decoration:none}
.pipeline-item span::before,.state::before {content:"";display:inline-block;width:.55em;height:.55em;border-radius:50%;background:#877795;margin-right:.45em;vertical-align:.08em}
.pipeline-paid span::before,.state-paid::before {background:#bf791e}.pipeline-making span::before,.state-making::before {background:#7759b7}.pipeline-shipping span::before,.state-shipping::before {background:#237a8f}
.state-delivered::before {background:#318359}
.record-row,.planning-order {display:flex;gap:.8rem 1.2rem;align-items:center;justify-content:space-between;color:var(--ink);text-decoration:none;padding:.9rem 0;border-bottom:1px solid #eae2ee;overflow-wrap:anywhere}
.record-row:last-child,.planning-orders li:last-child .planning-order {border-bottom:0}
.record-row:hover,.planning-order:hover {text-decoration:none;background:#fbf8ff}
.record-row strong,.record-row small,.order-person>* {display:block}
.record-row>span,.order-person {min-width:0}.align-end,.order-amount {text-align:right}
.planning-orders {margin:.3rem 0;padding:0;list-style:none}
.planning-order {justify-content:flex-start}.order-person {flex:1}
.order-person>strong {font-size:1.07rem}.order-person>span {font-size:.93rem}
.order-amount {display:grid;justify-items:end;gap:.3rem}
.order-pictures {display:flex;align-items:center;flex:0 0 auto}
.order-pictures img {width:clamp(3.1rem,6vw,4.4rem);height:clamp(3.1rem,6vw,4.4rem);object-fit:contain;background:#f7f3f8;border:1px solid #ece5ef;border-radius:10px}
.order-pictures img+img {margin-left:-.6rem;box-shadow:-2px 0 0 white}
.state {white-space:normal;display:inline-block;font-size:.8rem;background:#f1eef4;border-radius:1rem;padding:.2rem .65rem;font-weight:600}
.search-form,.report-filter {display:flex;align-items:end;gap:.8rem;flex-wrap:wrap}
.search-form label {flex:1 1 16rem}.report-filter>label {flex:1}
.report-dates {width:min(100%,21rem)}
.report-filter:not(:has(option[value="dates"]:checked)) .report-dates {display:none}
.panel details,.panel fieldset,.inline-details {border:1px solid var(--rule);border-radius:10px;padding:.8rem 1rem}
details>summary {cursor:pointer;font-weight:700}
fieldset {min-width:0}fieldset legend {font-weight:750;padding:0 .35rem}
fieldset>label+label,.inline-details[open]>label,.inline-details[open]>.pair {margin-top:.7rem}
.check-line {display:flex;gap:.55rem;align-items:baseline}.check-line input {width:auto;flex:0 0 auto}
.delete-panel>summary {color:#923e49}.delete-panel .primary {background:#852f40;border-color:#852f40}
.change-entry+.change-entry {border-top:1px solid var(--rule);padding-top:.75rem}
.action-row,.pagination {justify-content:flex-start}.pagination {margin-top:1rem}.pagination span {font-size:.88rem;color:var(--muted)}
.pro-main .filter {margin-top:0}.pro-main .filter select {min-width:12rem}
@media(max-width:60rem){
 .pro-desktop {display:none}.pro-mobile {display:block;position:relative}
 .pro-mobile summary {padding:.45rem .8rem;border:1px solid var(--rule);border-radius:8px;background:white}
 .pro-mobile[open] nav {display:grid;position:absolute;z-index:4;right:0;top:calc(100% + .4rem);min-width:14rem;background:white;border:1px solid var(--rule);border-radius:12px;padding:.45rem;box-shadow:0 .45rem 1.5rem #39284e20}
 .pro-mobile nav a,.pro-mobile .nav-lock {min-height:44px;display:flex;align-items:center}.pro-mobile .nav-lock {width:100%;justify-content:flex-start}
 .pro-bar-inner {min-height:64px}.metric-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:36rem){
 .pro-main {width:94%;margin-top:1.6rem}.metric,.pipeline-item {padding:.75rem}.pipeline {gap:.4rem}
 .pipeline-item span {font-size:.76rem}.pipeline-item span::before {display:none}
 .record-row,.planning-order {gap:.55rem}.order-pictures {flex-wrap:wrap;width:3.2rem}.order-pictures img {width:3.2rem;height:3.2rem}
 .order-pictures img+img {width:1.55rem;height:1.55rem;margin:-.2rem .05rem 0 0}
 .order-amount {max-width:6.7rem}.report-filter>label {flex-basis:100%}.section-head {align-items:flex-start}
 .order-person small {font-size:.75rem}.pro-main .panel {padding:.9rem}
}

.order-person .marking-preview {color:var(--purple);font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
