:root { --accent: #4477BB; --ink: #1e2430; --line: #d9dfe8; --bg: #f4f6f9; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       color: var(--ink); background: var(--bg); }
header { background: #fff; border-bottom: 3px solid var(--accent); padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.brand div { display: flex; flex-direction: column; }
.brand strong { color: var(--ink); font-size: 19px; }
.brand .sub { color: #5b6676; font-size: 13px; }
main { max-width: 760px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px;
        padding: 22px; margin-bottom: 20px; }
h2 { font-size: 19px; margin: 0 0 16px; color: var(--accent); display: flex; align-items: center; gap: 8px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 5px; }
input, select { width: 100%; padding: 11px 12px; font-size: 16px; border: 1px solid var(--line);
        border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
fieldset { border: 1px solid var(--line); border-radius: 11px; margin: 18px 0 0; padding: 4px 14px 14px; }
legend { font-weight: 700; padding: 0 6px; font-size: 15px; }
.hint { font-weight: 400; color: #5b6676; font-size: 13px; }
.row { display: flex; gap: 12px; } .row > div { flex: 1; }
.dims { display: flex; align-items: center; gap: 8px; } .dims span { font-weight: 700; color: #5b6676; }
.dims input { flex: 1; }
button { font-size: 16px; border-radius: 10px; padding: 13px 20px; cursor: pointer;
         display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); }
button.primary { background: var(--accent); color: #fff; width: 100%; justify-content: center;
         margin-top: 18px; font-weight: 700; }
button.primary:hover { filter: brightness(1.08); }
button.ghost { background: #fff; color: var(--accent); }
.privacy { font-size: 13.5px; color: #47515f; display: flex; gap: 7px; align-items: flex-start; margin-top: 14px; }
.privacy svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.hidden { display: none; }
.suggestion { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; margin: 0 0 12px; }
.suggestion.main-sugg { border: 2px solid var(--accent); }
.sugg-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sugg-name { font-size: 17px; font-weight: 700; }
.sugg-price { font-size: 17px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.meta { font-size: 13.5px; color: #47515f; margin-top: 3px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 20px;
         padding: 2px 10px; margin-top: 8px; border: 1.5px solid var(--accent); color: var(--accent); }
.badge.warn { background: #fff; }
.reason { font-size: 13.5px; margin-top: 8px; padding: 8px 10px; background: #eef3fa;
          border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; }
.total { font-weight: 700; margin: 14px 0 4px; }
#ordertext { background: #f7f9fc; border: 1px dashed var(--accent); border-radius: 10px;
             padding: 14px; font-size: 13.5px; white-space: pre-wrap; margin-top: 14px; }
footer { max-width: 760px; margin: 0 auto 40px; padding: 0 16px; font-size: 12px; color: #6b7381; }
.alts h3 { font-size: 14px; color: #5b6676; margin: 18px 0 8px; }
