.dash-main{max-width:960px}
.dash-muted{color:#c8bfd5}
.dash-small{font-size:.9rem;margin-top:16px}
.dash-section-title{margin:40px 0 0}
.dash-carrier h2{margin:4px 0}
.dash-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.deadline-list{list-style:none;margin:0;padding:0}
.deadline-list li{display:grid;grid-template-columns:1fr auto;gap:4px 16px;padding:14px 0;border-top:1px solid #2c2638}
.deadline-list li:first-child{border-top:0}
.deadline-title{font-weight:700}
.deadline-detail{grid-column:1/-1;color:#c8bfd5;font-size:.95rem}
.deadline-date{text-align:right;white-space:nowrap}
.pill{display:inline-block;padding:2px 10px;border-radius:99px;font-size:.82rem;font-weight:700;border:1px solid #68517e;color:#e9d5ff;white-space:nowrap}
.pill.overdue{background:#4c0519;border-color:#fb7185;color:#ffe4e6}
.pill.soon{background:#422006;border-color:#f59e0b;color:#fef3c7}
.pill.later{background:#052e16;border-color:#4ade80;color:#dcfce7}
.pill.status-done{background:#052e16;border-color:#4ade80;color:#dcfce7}
.pill.status-review{background:#422006;border-color:#f59e0b;color:#fef3c7}
.order-card{padding:clamp(20px,5vw,32px);margin:20px 0;background:#14121e;border:1px solid #3e354e;border-radius:16px}
.order-card h3{margin:0 0 4px;font-size:1.25rem}
.order-meta{margin:0 0 16px;color:#c8bfd5;font-size:.95rem}
.order-items{list-style:none;margin:0;padding:0}
.order-items>li{padding:14px 0;border-top:1px solid #2c2638}
.order-item-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px}
.order-item-name{font-weight:700}
.order-item-price{color:#d0c7df}
.order-checklist{margin:8px 0 0;padding-left:20px;color:#d0c7df;font-size:.95rem}
.order-docs{margin:16px 0 0}
.dash-form{display:grid;gap:18px}
.dash-form label{display:grid;gap:6px;font-weight:600}
.dash-form input:not([type=checkbox]),.dash-form textarea,.dash-form select{width:100%;padding:11px 12px;border:1px solid #68517e;border-radius:8px;background:#0d0b12;color:#fff;font:inherit}
.dash-form :focus-visible{outline:3px solid #d8b4fe;outline-offset:3px}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.dash-services{border:0;padding:0;margin:0}
.dash-services legend{font-weight:700;margin-bottom:8px}
#catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}
.catalog-option{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid #544864;border-radius:10px;cursor:pointer;font-weight:400}
.catalog-option:has(input:checked){border-color:#b580ff;background:#241a31}
.catalog-option input{width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:#a855f7}
.catalog-option strong{display:block}
.catalog-option small{color:#c8bfd5}
.dash-result{margin:0;min-height:1.4em}
.dash-result.ok{color:#86efac}
.dash-result.err{color:#fca5a5}
@media(max-width:520px){.deadline-list li{grid-template-columns:1fr}.deadline-date{text-align:left}}
.dash-form label.catalog-option{display:flex}
.dash-form label .dash-muted{font-weight:400}
.dash-actions button,.dash-actions .button-link{min-height:46px;padding:11px 22px;font:inherit;font-weight:700;border-radius:8px;cursor:pointer}
.dash-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:520px){.dash-actions button{width:100%}}
.dash-callout{border-color:#8c58cb;background:#1b1328}
.order-pay{margin:16px 0;padding:14px 16px;border:1px solid #8c58cb;border-radius:12px;background:#1b1328}
.order-pay p{margin:0 0 10px}
html[data-theme=light] .order-pay{background:#f3eeff;border-color:#a78bfa}

.nav-signout{background:none;border:0;padding:8px 0;font:inherit;color:#ddd0ff;text-decoration:underline;cursor:pointer}html[data-theme=light] .nav-signout{color:#5b21b6}

.company-form{display:grid;gap:1rem;margin-top:1rem}.company-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem}
.company-field{display:flex;flex-direction:column;gap:.35rem;font-weight:600}.company-field small{font-weight:400;opacity:.8}
.company-field input,.company-field select{width:100%;box-sizing:border-box;border:1px solid #5b5068;border-radius:8px;padding:10px 12px;font:inherit;font-weight:400;background:#0f0d16;color:#f8f8fb;min-height:44px}
html[data-theme=light] .company-field input,html[data-theme=light] .company-field select{background:#fff;color:#17131e;border-color:#b9b0c9}
.company-field input[aria-invalid],.company-field select[aria-invalid]{border-color:#fb7185}
.company-check{display:flex;gap:10px;align-items:flex-start}.company-check input{margin-top:5px;width:18px;height:18px}
.company-result{color:#fb7185;margin:0;min-height:1.2em}html[data-theme=light] .company-result{color:#be123c}
/* Compact layout */
.dash-section-title{margin:24px 0 0;font-size:1.2rem}
.order-card{padding:18px 22px;margin:12px 0;border-radius:12px}
.order-card h3{font-size:1.1rem}
.deadline-list li{padding:10px 0}
.dash-form{gap:14px}
