html{min-height:100%;background:#07111e;color-scheme:dark;transition:background-color .65s ease}
html[data-theme=light]{background:#fff;color-scheme:light}
body[data-page]{min-height:100vh;min-height:100dvh;margin:0;transition:background-color .65s ease,color .45s ease}
body[data-page=admin]{--bg:#07111e;--panel:#0d1d30;--text:#edf4ff;--muted:#a3b9d3;--line:#829ac433;background:#07111e;color:var(--text);display:flow-root;padding-bottom:40px}
body[data-page=admin].light-mode{--bg:#fff;--panel:#fff;--text:#17304a;--muted:#48617b;--line:#c4d5e7;background:#fff;color:var(--text);color-scheme:light}
body[data-page=admin] header,body[data-page=admin] .card,body[data-page=admin] .flow-card,body[data-page=admin] input,body[data-page=admin] select,body[data-page=admin] textarea{transition:background-color .55s ease,color .45s ease,border-color .45s ease}
body[data-page=admin].light-mode header{background:#fff;border-color:#d5e1ed}
body[data-page=admin].light-mode .card,body[data-page=admin].light-mode .flow-card,body[data-page=admin].light-mode .record-context,body[data-page=admin].light-mode .workflow-guide,body[data-page=admin].light-mode .stat{background:#fff;border-color:#cad9e9;color:#17304a;box-shadow:0 8px 28px #244e7910}
body[data-page=admin].light-mode .admin-drawer{background:linear-gradient(155deg,#fff 40%,#f0f6ff);color:#17304a;border-color:#bfd1e5}
body[data-page=admin].light-mode .admin-drawer nav button{background:#f7faff;color:#234b76;border-color:#d3e0ee}
body[data-page=admin].light-mode .admin-drawer nav button.active{background:#2866c7;color:#fff;border-color:#2866c7}
body[data-page=admin].light-mode .admin-drawer nav button:hover{background:#e6f0fd;color:#153a65}
body[data-page=admin].light-mode .menu-group-label{color:#496583}
body[data-page=admin].light-mode .ops-draft-status{background:#f5f9ff;border-color:#cadbec;color:#48617b}
body[data-page=admin].light-mode .quote-details,body[data-page=admin].light-mode .next-step,body[data-page=admin].light-mode .report-summary div{background:#f3f7fd;color:#244565}
body[data-page=admin].light-mode .badge{background:#edf4ff;color:#245897;border-color:#bdd0eb}
body[data-page=admin].light-mode input,body[data-page=admin].light-mode select,body[data-page=admin].light-mode textarea{background:#fff;color:#17304a;border-color:#a9bfd6}
body[data-page=admin].light-mode input::placeholder,body[data-page=admin].light-mode textarea::placeholder{color:#687f96;opacity:1}
body[data-page=admin].light-mode .empty,body[data-page=admin].light-mode .contract-help{color:#48617b}
body[data-page=public].light-mode{--bg:#fff;--panel:#fff;--text:#142b44;--muted:#506780;background:#fff;color:#142b44}
body[data-page=public].light-mode footer,body[data-page=public].light-mode .process,body[data-page=public].light-mode .marquee{background:#f5f9ff;color:#234969}
body[data-page=public].light-mode .calendar-box{background:#fff;border-color:#c1d3e9}
body[data-page=public].light-mode .calendar-day{background:#f5f9ff;color:#234b76;border-color:#c7d8eb}
body[data-page=public].light-mode .calendar-day.selected{background:#286bce;color:#fff;border-color:#286bce}
body[data-page=public].light-mode .calendar-day:disabled{background:#f3f5f8;color:#7b8897}
body[data-page=public].light-mode .calendar-hint,body[data-page=public].light-mode .day-title,body[data-page=public].light-mode .form-caption{color:#506780}
.contact-author{display:block;font-size:12px;line-height:1.8;margin-top:6px;color:var(--muted,#a3b9d3)}
.selected-request-date{margin:12px 0 0;color:var(--text);font-weight:600;font-size:13px}
.request-confirmation{display:grid;grid-template-columns:48px 1fr;gap:18px;padding:24px;border:1px solid #6bd8b47a;border-radius:18px;background:linear-gradient(135deg,#123b3670,#102337);color:#eafbf5;box-shadow:0 12px 36px #2ac99b12;animation:request-reveal .55s cubic-bezier(.2,.8,.2,1) both;scroll-margin-top:110px}
.request-confirmation .confirmation-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#54d5ad20;color:#88e2c4;border:1px solid #6bd8b466;box-shadow:0 0 24px #6bd8b420}
.request-confirmation svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.request-confirmation .confirmation-check{stroke-dasharray:25;stroke-dashoffset:25;animation:request-check .5s .15s ease forwards}
.request-confirmation h3{margin:0 0 8px;font-size:19px;color:inherit}.request-confirmation p{margin:7px 0;line-height:1.7;font-size:13px}.request-confirmation .confirmation-number{font-weight:700;overflow-wrap:anywhere}.request-confirmation .confirmation-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.request-confirmation a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #7ccabf66;border-radius:8px;background:#2c7e6d22;color:inherit;font-size:12px;font-weight:600}
.light-mode .request-confirmation{background:linear-gradient(135deg,#f1fbf7,#fff);color:#184d40;border-color:#8fc9b5;box-shadow:0 12px 36px #27866e12}.light-mode .request-confirmation .confirmation-icon{background:#e2f5ed;color:#187454;border-color:#9ccdb9}.light-mode .request-confirmation a{color:#205b49;background:#fff;border-color:#9bc4b4}
@keyframes request-reveal{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@keyframes request-check{to{stroke-dashoffset:0}}
@media(max-width:600px){.request-confirmation{padding:20px;grid-template-columns:36px 1fr;gap:12px}.request-confirmation .confirmation-icon{height:36px;width:36px}.request-confirmation h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){html,body[data-page],body[data-page=admin] header,body[data-page=admin] .card,body[data-page=admin] .flow-card,body[data-page=admin] input,body[data-page=admin] select,body[data-page=admin] textarea{transition:none}.request-confirmation,.request-confirmation .confirmation-check{animation:none}.request-confirmation .confirmation-check{stroke-dashoffset:0}}
