@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root { --ink:#101217; --ink-soft:#5e6572; --paper:#f4f6f9; --card:#fff; --line:#e2e6ec; --blue:#2563eb; --blue-deep:#1648b7; --blue-pale:#e9f0ff; --green:#157a55; --amber:#a36200; }
* { box-sizing:border-box; }
html { background:var(--paper); }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:14px; line-height:1.45; }
button,input,select,textarea { font:inherit; }
button { border:0; cursor:pointer; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible { outline:3px solid rgba(37,99,235,.28); outline-offset:2px; }
.view { max-width:620px; min-height:100vh; margin:0 auto; padding:0 18px 36px; }
.view[hidden] { display:none; }
.empty-state { padding:80px 22px; text-align:center; }
.muted { color:var(--ink-soft); font-size:12px; }
.topbar { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin:0 -18px 24px; padding:28px 22px 25px; color:#fff; background:var(--ink); border-radius:0 0 26px 26px; box-shadow:0 8px 24px rgba(16,18,23,.14); }
.topbar h1 { margin:4px 0 5px; font-size:clamp(24px,7vw,33px); line-height:1.05; letter-spacing:-.045em; font-weight:800; }
.topbar-note { max-width:290px; margin:0; color:#aeb5c2; font-size:12px; line-height:1.45; }
.eyebrow { margin:0; color:#8d96a5; font-size:10px; line-height:1; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.eyebrow.blue { color:var(--blue); }
.role-chip { flex:0 0 auto; margin-top:1px; padding:7px 10px; color:#dbe7ff; background:rgba(37,99,235,.28); border:1px solid rgba(138,174,255,.35); border-radius:999px; font-size:11px; font-weight:700; }
.section-nav { position:sticky; top:8px; z-index:2; display:flex; gap:6px; padding:5px; margin:0 0 20px; overflow-x:auto; background:rgba(255,255,255,.8); border:1px solid var(--line); border-radius:12px; backdrop-filter:blur(12px); }
.section-nav a { padding:7px 10px; color:var(--ink-soft); border-radius:8px; font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; }
.section-nav a:hover { color:var(--blue); background:var(--blue-pale); }
.request-composer { padding:19px; margin-bottom:30px; background:var(--card); border:1px solid var(--line); border-radius:20px; box-shadow:0 7px 22px rgba(29,44,70,.06); }
.form-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.form-heading h2,.section-heading h2 { margin:0; font-size:18px; letter-spacing:-.03em; }
.form-heading p { margin:2px 0 0; color:var(--ink-soft); font-size:12px; }
.step-mark { display:grid; width:34px; height:34px; place-items:center; color:#fff; background:var(--blue); border-radius:11px; font-size:11px; font-weight:800; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
label { display:grid; gap:6px; margin-bottom:12px; color:var(--ink-soft); font-size:11px; font-weight:700; }
input,select,textarea { width:100%; color:var(--ink); background:#fbfcfe; border:1px solid var(--line); border-radius:11px; transition:border-color .16s,box-shadow .16s,background .16s; }
input,select { min-height:42px; padding:10px 12px; }
textarea { min-height:92px; padding:11px 12px; resize:vertical; }
input::placeholder,textarea::placeholder { color:#a6adba; }
input:focus,select:focus,textarea:focus { background:#fff; border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.1); outline:0; }
.primary-action { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:48px; padding:0 14px 0 16px; color:#fff; background:var(--blue); border-radius:12px; font-weight:800; box-shadow:0 7px 14px rgba(37,99,235,.2); transition:background .16s,transform .16s; }
.primary-action b { display:grid; width:25px; height:25px; place-items:center; color:var(--blue); background:#fff; border-radius:50%; font-size:16px; }
.primary-action:hover { background:var(--blue-deep); transform:translateY(-1px); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; margin:0 0 12px; }
.section-heading h2 { margin-top:6px; }
#request-list,#logist-request-list,#owner-request-list,#user-list { display:grid; gap:10px; padding:0; margin:0; list-style:none; }
.request-row { padding:15px; background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:0 4px 14px rgba(29,44,70,.04); }
.request-summary { display:flex; align-items:center; gap:8px; cursor:pointer; color:var(--ink); font-weight:800; letter-spacing:-.015em; }
.request-details { margin-top:12px; padding-top:11px; border-top:1px solid var(--line); color:var(--ink-soft); font-size:12px; }
.request-details p { margin:5px 0; }
.request-details strong { color:var(--ink); }
.request-details button,.calc-section button,.user-row button,#form-add-user button,#btn-dashboard-apply { min-height:34px; padding:7px 10px; color:var(--blue); background:var(--blue-pale); border-radius:9px; font-size:11px; font-weight:800; }
.calc-section { margin-top:12px; }
.variant-row { display:grid; grid-template-columns:1.5fr .8fr; gap:7px; margin-bottom:7px; }
.variant-row textarea,.variant-row input { min-height:55px; }
.variant-existing { grid-template-columns:1.35fr .7fr auto; align-items:stretch; padding:7px; background:#f8faff; border:1px solid #dbe6ff; border-radius:11px; }
.variant-existing textarea,.variant-existing input { min-height:46px; padding:7px; background:#fff; border-radius:8px; }
.variant-readonly { padding:7px 0; color:var(--ink-soft); font-size:12px; }
.edited-badge { padding:3px 6px; color:var(--amber); background:#fff4df; border-radius:6px; font-size:10px; white-space:nowrap; }
.sla-countdown { color:var(--blue)!important; font-weight:800; }
.field-group { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.field-group input,.field-group select { flex:1 1 120px; }
.field-group-vertical { flex-direction:column; }
.user-row { display:flex; align-items:center; gap:8px; padding:11px 0; border-bottom:1px solid var(--line); }
.user-row span { flex:1; font-weight:700; }
.dashboard-table { width:100%; margin-bottom:16px; overflow:hidden; border-collapse:separate; border-spacing:0; background:var(--card); border:1px solid var(--line); border-radius:12px; font-size:11px; }
.dashboard-table th,.dashboard-table td { padding:8px 6px; text-align:left; border-bottom:1px solid var(--line); }
.dashboard-table th { color:var(--ink-soft); font-size:10px; }
.dashboard-table tr:last-child td { border-bottom:0; }
.toast { position:fixed; right:18px; bottom:18px; left:18px; z-index:10; max-width:584px; margin:0 auto; padding:12px 14px; color:#fff; background:var(--ink); border:1px solid #313744; border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.2); font-size:12px; font-weight:700; }
@media (max-width:420px) { .view { padding-right:14px; padding-left:14px; } .topbar { margin-right:-14px; margin-left:-14px; padding-right:18px; padding-left:18px; } .form-grid { grid-template-columns:1fr; gap:0; } .variant-existing { grid-template-columns:1fr 1fr; } .variant-existing button { grid-column:1/-1; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }
