:root {
    --ink: #172332;
    --muted: #697685;
    --line: #dce3e8;
    --paper: #f4f6f7;
    --white: #fff;
    --blue: #075c78;
    --blue-dark: #073b4c;
    --cyan: #00a6c8;
    --orange: #f4a51c;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.45 Arial, sans-serif; }
a { color: inherit; }
.concept-banner { padding: 9px 20px; color: #684600; background: #fff1cf; border-bottom: 1px solid #edcf87; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.demo-header { min-height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; font-weight: 700; }
.brand img { width: 112px; height: 45px; object-fit: contain; }
.brand span { padding-left: 18px; border-left: 1px solid var(--line); }
.header-actions, .header-actions nav { display: flex; align-items: center; gap: 18px; }
.header-actions a { text-decoration: none; font-weight: 700; }
.nav-primary { color: var(--blue); }
.language-form select { padding: 8px 28px 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.link-button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; transition: color .18s ease; }
.link-button:hover { color: var(--blue); text-decoration: underline; }
.link-button:focus-visible { outline: 3px solid rgba(0, 166, 200, .28); outline-offset: 3px; }
.page-shell { max-width: 1180px; margin: 0 auto; padding: 52px 24px 80px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.compact-heading { margin-bottom: 24px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(32px, 5vw, 54px); line-height: 1.02; letter-spacing: -.035em; }
h2 { margin-bottom: 8px; font-size: 22px; }
.eyebrow, .section-label { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 35px rgba(23, 35, 50, .06); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer; transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button.primary { color: white; background: var(--blue); }
.button.secondary { color: var(--blue); background: white; border-color: var(--blue); }
.button:not(:disabled):hover { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 7px 16px rgba(7, 92, 120, .24); transform: translateY(-2px); }
.button.primary:not(:disabled):hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button:focus-visible { outline: 3px solid rgba(0, 166, 200, .28); outline-offset: 2px; }
.button:disabled { color: #929da5; background: #edf0f2; border-color: #d4dbe0; cursor: not-allowed; opacity: 1; }
.button.full { width: 100%; }
.notice { margin-bottom: 24px; padding: 14px 18px; color: #174f3c; background: #dff4ea; border: 1px solid #b8dfcd; border-radius: 8px; }
.login-layout { min-height: calc(100vh - 250px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 90px; }
.login-copy h1 { max-width: 650px; }
.login-copy p:last-child { max-width: 540px; color: var(--muted); font-size: 19px; }
.login-panel { padding: 34px; }
.stack-form { display: grid; gap: 10px; }
input, textarea, select { width: 100%; padding: 11px 12px; color: var(--ink); background: white; border: 1px solid #bdc8d0; border-radius: 6px; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(0, 166, 200, .16); border-color: var(--cyan); }
.errorlist { margin: 0; padding: 0; color: #a22e2e; list-style: none; font-size: 13px; }
.orders-grid { display: grid; gap: 22px; }
.order-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.order-card-head { display: flex; justify-content: space-between; gap: 20px; }
.order-card-head p { color: var(--muted); }
.order-summary { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 0; }
.order-number { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status { align-self: start; padding: 6px 10px; border-radius: 999px; background: #e5f3f6; color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0; }
.proof-pair img, .proof-frame img { display: block; width: 100%; min-height: 80px; background: #e8ecef; }
.proof-pair.compact { margin-bottom: 0; padding: 16px; background: #e8eef1; border: 1px solid #d5dfe4; border-radius: 10px; }
.proof-pair.compact img { justify-self: center; max-width: 420px; background: white; border: 1px solid #cbd5da; box-shadow: 0 5px 14px rgba(23, 35, 50, .12); }
.order-actions { display: grid; grid-template-columns: repeat(2, 132px); justify-content: end; gap: 10px; margin-top: 16px; }
.order-action { width: 132px; }
.empty-state { padding: 50px; text-align: center; }
.quantity-chip, .proof-badge { padding: 7px 11px; color: var(--blue-dark); background: #daf1f5; border-radius: 999px; font-size: 13px; font-weight: 800; }
.create-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 28px; align-items: start; }
.form-panel { padding: 28px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.section-label { display: block; margin: 26px 0 14px; }
.office-summary { display: grid; gap: 2px; margin-top: 12px; padding: 14px; background: #eff6f7; border-left: 3px solid var(--cyan); font-size: 13px; }
.phone-input { display: grid; grid-template-columns: auto 1fr; }
.phone-input span { display: flex; align-items: center; padding: 0 12px; color: white; background: var(--blue-dark); border-radius: 6px 0 0 6px; font-weight: 800; }
.phone-input input { border-radius: 0 6px 6px 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.form-error { margin-top: 18px; padding: 12px; color: #8b2020; background: #fbe5e5; border-radius: 6px; }
.preview-panel { position: sticky; top: 24px; padding: 26px; color: var(--ink); background: #e8eef1; border: 1px solid #d5dfe4; border-radius: 14px; }
.preview-heading { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.preview-heading .section-label { margin: 0; color: var(--blue); }
.preview-heading p { color: var(--muted); font-size: 13px; }
.proof-label { margin: 18px 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.proof-frame { background: transparent; }
.proof-frame img { aspect-ratio: 85 / 55; object-fit: contain; background: white; border: 1px solid #cbd5da; box-shadow: 0 5px 14px rgba(23, 35, 50, .12); }
.proof-frame img[hidden], .proof-frame .preview-empty[hidden] { display: none; }
.preview-empty { display: grid; aspect-ratio: 85 / 55; place-items: center; padding: 24px; color: #6f7d84; background: white; border: 1px solid #cbd5da; text-align: center; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 820px) {
    .concept-banner { text-align: left; }
    .demo-header { padding: 14px 18px; align-items: flex-start; }
    .brand span, .header-actions nav { display: none; }
    .header-actions { gap: 10px; }
    .page-shell { padding: 34px 18px 60px; }
    .login-layout, .create-grid { grid-template-columns: 1fr; gap: 28px; }
    .login-layout { align-items: start; }
    .preview-panel { position: static; }
    .page-heading, .order-card-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
    .brand img { width: 90px; }
    .two-columns, .proof-pair { grid-template-columns: 1fr; }
    .form-panel, .login-panel { padding: 20px; }
    .form-actions { flex-direction: column; }
    .order-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order-action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .button, .link-button { transition: none; }
    .button:not(:disabled):hover { transform: none; }
}
