:root{--navy: #182e5d;--navy-deep: #0f1f3d;--ink: #232734;--gold: #c19a3e;--gold-dark: #9b8744;--gold-tint: #f3ecd9;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--navy);background:#f5f7fa}*{box-sizing:border-box}body{margin:0}.app{max-width:960px;margin:0 auto;padding:2.5rem 1.5rem 3rem}.brand-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;margin-bottom:1.25rem;border-bottom:1px solid #e2e8f0}.brand-right{display:flex;align-items:center;gap:.75rem}.brand-logo{height:38px;width:auto;display:block}.brand-logo-lg{height:66px;margin:0 auto 1.25rem}.login-wrap{max-width:400px;margin:2rem auto 0;text-align:center}.login-wrap .card{text-align:left}.badge{display:inline-block;padding:.25rem .65rem;border-radius:999px;background:var(--gold-tint);color:#7a5f16;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}h1{margin:.5rem 0;color:var(--navy);font-size:1.6rem}.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem 1.5rem;margin-top:1.5rem}.status{font-weight:600}.status.up{color:#15803d}.status.down{color:#b91c1c}.topbar{display:flex;justify-content:space-between;align-items:center}.auth-form{max-width:400px}.auth-form h2{margin-top:0;color:var(--navy)}.auth-form input{display:block;width:100%;margin:.5rem 0;padding:.6rem .75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem}button{padding:.55rem 1rem;border:0;border-radius:8px;cursor:pointer;background:var(--navy);color:#fff;font-weight:600;font-size:.95rem}button:hover{background:var(--navy-deep)}button:disabled{opacity:.6;cursor:default}.auth-form button:not(.linkbtn){background:var(--gold-dark)}.auth-form button:not(.linkbtn):hover{background:#85723a}.auth-form button:not(.linkbtn)+.linkbtn{margin-left:1rem;vertical-align:middle}pre{background:#0f172a;color:#e2e8f0;padding:.9rem 1rem;border-radius:8px;overflow-x:auto;font-size:.85rem}.order-form{display:grid;gap:.6rem;max-width:620px;grid-template-columns:repeat(3,1fr)}.order-form input{width:100%;padding:.6rem .75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem}.order-form .of-wide{grid-column:1 / -1}.order-form button{justify-self:start}@media (max-width: 520px){.order-form{grid-template-columns:1fr 1fr}}table.orders{width:100%;border-collapse:collapse}table.orders th,table.orders td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid #e2e8f0;font-size:.9rem}table.orders th{color:#64748b;font-weight:600;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}.pill{display:inline-block;padding:.15rem .55rem;border-radius:999px;font-size:.72rem;font-weight:700;background:#e2e8f0;color:#475569}.pill-draft{background:#e2e8f0;color:#475569}.pill-submitted{background:#dbeafe;color:#1d4ed8}.pill-open{background:#e0e7ff;color:#4338ca}.pill-with_abstracter,.pill-in_search{background:#fef9c3;color:#a16207}.pill-from_abstracter{background:#e0f2fe;color:#0369a1}.pill-in_assembly,.pill-in_review{background:#ede9fe;color:#6d28d9}.pill-ready,.pill-delivered{background:#dcfce7;color:#15803d}.pill-on_hold{background:#ffedd5;color:#9a3412}.pill-cancelled{background:#fee2e2;color:#b91c1c}.linkbtn{display:inline-block;background:none;border:0;padding:0;margin:0 .5rem .25rem 0;color:var(--navy);font-weight:600;font-size:.85rem;cursor:pointer;text-decoration:underline}.upload-btn{display:inline-block;padding:.25rem .6rem;border-radius:6px;cursor:pointer;background:#eef2ff;color:#3730a3;font-size:.78rem;font-weight:700}.upload-btn input{display:none}tr.clickable{cursor:pointer}tr.clickable:hover td{background:#f8fafc}.muted{color:#94a3b8}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:flex-start;justify-content:center;padding:4rem 1rem;z-index:50}.modal{background:#fff;border-radius:14px;padding:1.5rem 1.75rem;width:100%;max-width:560px;max-height:80vh;overflow-y:auto;box-shadow:0 20px 50px #0f172a4d}.modal h3{margin:1.25rem 0 .5rem;font-size:.95rem}.doc-list{list-style:none;padding:0;margin:0}.doc-list li{margin:.2rem 0}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:flex;gap:.7rem;padding:.35rem 0}.tl-dot{flex:0 0 auto;width:10px;height:10px;border-radius:999px;background:var(--gold);margin-top:.35rem}.tl-title{font-weight:600;font-size:.9rem}.tl-meta{color:#64748b;font-size:.78rem}.compose{display:grid;gap:.5rem;margin:.75rem 0 1rem}.compose textarea{padding:.55rem .65rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.9rem;font-family:inherit;width:100%;resize:vertical}.compose button{justify-self:start}.msg-list{list-style:none;margin:0 0 .5rem;padding:0;display:grid;gap:.6rem}.msg-list li{border-radius:10px;padding:.6rem .8rem;font-size:.9rem;max-width:85%}.msg-list li.msg-client{background:#eef2ff;justify-self:end;border:1px solid #e0e7ff}.msg-list li.msg-staff{background:#f1f5f9;justify-self:start;border:1px solid #e2e8f0}.msg-head{font-weight:600;font-size:.78rem;color:var(--navy);margin-bottom:.2rem}.app-board{max-width:1760px;width:95vw}@media (max-width: 1100px){.app-board{width:auto}}.section-toggle{display:flex;align-items:center;gap:.5rem;width:100%;background:none;border:0;padding:0;margin:0;cursor:pointer;color:inherit;text-align:left;font:inherit}.section-toggle:hover{background:none}.section-toggle h2{color:var(--navy)}.caret{color:var(--gold-dark);font-size:.78rem}.section-hint{font-weight:400;font-size:.85rem;margin-left:auto}.order-cards{display:grid;gap:.9rem;margin-top:.75rem}.order-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}.order-card.open{border-color:#cbd5e1;box-shadow:0 2px 8px #0f172a0d}.oc-head{display:flex;align-items:center;gap:.75rem;width:100%;background:#f8fafc;border:0;border-radius:0;padding:.8rem 1rem;cursor:pointer;color:inherit;text-align:left;font:inherit}.oc-head:hover{background:#f1f5f9}.oc-no{font-weight:700;color:var(--navy)}.oc-addr{color:#475569;flex:1 1 auto;min-width:0}.oc-body{padding:.25rem 1.1rem 1.1rem}.oc-body h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin:1.1rem 0 .5rem}.oc-meta{color:#64748b;font-size:.82rem;margin-top:.6rem}.oc-notes{font-size:.9rem;margin:.4rem 0 0}
