:root {
  --ink: #121313;
  --soft-ink: #363a38;
  --paper: #f2f0ea;
  --white: #fff;
  --line: #d8d5cc;
  --muted: #72756f;
  --accent: #cbb993;
  --sage: #dce3d8;
  --error: #8f332d;
  --shadow: 0 24px 80px rgba(22, 24, 23, .12);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header { height: 84px; padding: 0 clamp(24px, 4.5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(18,19,19,.15); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .08em; }
.brand-name { display: flex; flex-direction: column; font: 700 15px/1.05 "Manrope", sans-serif; letter-spacing: -.02em; }
.brand-name small { margin-top: 4px; font: 500 9px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .19em; }
.account-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.account-nav a, .nav-button { text-decoration: none; border: 0; background: none; padding: 4px 0; color: var(--soft-ink); }
.account-company { padding-right: 26px; border-right: 1px solid var(--line); font-weight: 600; }
.account-nav form { margin: 0; }

.site-footer { padding: 30px clamp(24px, 4.5vw, 72px); display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #696d67; }
.eyebrow.light { color: var(--accent); }
.muted { color: var(--muted); }

.auth-page { background: var(--ink); }
.auth-page .site-header { background: var(--ink); color: var(--white); border-bottom-color: rgba(255,255,255,.15); }
.auth-page .brand { color: var(--white); }
.auth-page .brand-mark { background: var(--white); color: var(--ink); }
.auth-page .site-footer { background: var(--ink); border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.45); }
.auth-shell { min-height: calc(100vh - 145px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr); }
.auth-intro { padding: clamp(60px, 9vw, 140px) clamp(30px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; color: var(--white); background: radial-gradient(circle at 20% 20%, #333734 0, #191b1a 38%, #111212 75%); position: relative; overflow: hidden; }
.auth-intro::after { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(203,185,147,.18); border-radius: 50%; right: -280px; bottom: -190px; box-shadow: 0 0 0 90px rgba(203,185,147,.03), 0 0 0 180px rgba(203,185,147,.025); }
.auth-intro h1 { max-width: 710px; margin: 0; font: 600 clamp(44px, 5.6vw, 82px)/.98 "Manrope", sans-serif; letter-spacing: -.055em; }
.auth-intro > p { max-width: 540px; margin: 30px 0 0; color: rgba(255,255,255,.62); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.auth-index { margin-top: 75px; display: flex; gap: 12px; align-items: center; color: var(--accent); font: 600 10px/1 "Manrope", sans-serif; letter-spacing: .16em; }
.auth-index span { margin-right: 18px; color: rgba(255,255,255,.45); text-transform: uppercase; }
.auth-card { padding: clamp(55px, 7vw, 108px) clamp(34px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.auth-card h2 { margin: 0; font: 600 clamp(36px, 4vw, 54px)/1.05 "Manrope", sans-serif; letter-spacing: -.045em; }
.auth-card > p.muted { max-width: 480px; margin: 18px 0 34px; line-height: 1.6; }
.stack-form { display: grid; gap: 20px; }
.stack-form label, .form-grid label { display: grid; align-content: start; gap: 9px; color: var(--soft-ink); font-size: 13px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid #c9c6bd; border-radius: 2px; background: rgba(255,255,255,.72); color: var(--ink); outline: none; transition: border .18s, box-shadow .18s, background .18s; }
input, select { height: 50px; padding: 0 15px; }
textarea { min-height: 90px; padding: 14px 15px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(18,19,19,.08); }
label small { color: var(--muted); font-weight: 400; }
label em { color: #8b5948; font: 500 10px/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.label-line { min-height: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.button { min-height: 49px; padding: 0 22px; display: inline-flex; gap: 30px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 600; font-size: 13px; transition: transform .16s, background .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #303330; }
.button-wide { width: 100%; margin-top: 6px; justify-content: space-between; }
.button-light { border-color: rgba(255,255,255,.42); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--ink); }
.demo-note { margin-top: 24px; padding: 16px 18px; display: grid; gap: 4px; background: #e8e4d9; color: #565951; font-size: 12px; }
.demo-note strong { margin-bottom: 3px; color: var(--ink); }
.auth-switch { margin: 24px 0 0; font-size: 13px; color: var(--muted); }
.auth-switch a, .text-link { font-weight: 600; text-underline-offset: 4px; }
.register-shell { grid-template-columns: minmax(360px, .7fr) minmax(570px, 1.3fr); }
.register-shell .auth-intro h1 { font-size: clamp(40px, 4.5vw, 68px); }
.auth-card-wide { padding-top: 52px; padding-bottom: 52px; }
.compact-form { margin-top: 28px; }

.flash-stack { position: fixed; z-index: 20; top: 98px; right: 24px; width: min(390px, calc(100vw - 48px)); display: grid; gap: 8px; }
.flash { padding: 14px 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); font-size: 13px; }
.flash-success { border-left: 4px solid #58725a; }
.flash-error { border-left: 4px solid var(--error); }
.flash-info { border-left: 4px solid #5c6d79; }

.page-shell { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 145px); margin: 0 auto; padding: 70px 0 100px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.page-heading h1 { margin: 0; font: 600 clamp(38px, 5vw, 64px)/1.03 "Manrope", sans-serif; letter-spacing: -.05em; }
.page-heading p { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.summary-strip { margin-bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(255,255,255,.34); }
.summary-strip div { min-height: 102px; padding: 24px 28px; display: flex; align-items: baseline; gap: 14px; border-right: 1px solid var(--line); }
.summary-strip div:last-child { border: 0; }
.summary-strip strong { font: 600 32px/1 "Manrope", sans-serif; }
.summary-strip span { color: var(--muted); font-size: 12px; }
.booking-list { border-top: 1px solid var(--ink); }
.booking-list-head, .booking-row { display: grid; grid-template-columns: 2.3fr .85fr 1.35fr .85fr 30px; gap: 22px; align-items: center; }
.booking-list-head { padding: 12px 18px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.booking-row { min-height: 94px; padding: 18px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; transition: background .16s; }
.booking-row:hover { background: rgba(255,255,255,.52); }
.booking-row > span { display: flex; flex-direction: column; gap: 5px; }
.booking-row small { color: var(--muted); font-size: 11px; }
.booking-main strong { font: 600 15px/1.3 "Manrope", sans-serif; }
.row-arrow { align-items: flex-end; font-size: 18px; }
.status { width: fit-content; display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 100px; background: #e4e0d7; color: #51534f; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.status-submitted { background: #e5dfcf; color: #665a3c; }
.status-complete { background: var(--sage); color: #405844; }
.status-pending { background: #eee2c9; color: #745a2c; }
.status-accepted, .status-photographer-confirmed { background: var(--sage); color: #405844; }
.status-declined, .status-cancelled { background: #eadbd7; color: #7b413a; }
.empty-state { min-height: 390px; padding: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); text-align: center; }
.empty-number { margin-bottom: 25px; color: var(--accent); font: 600 12px/1 "Manrope", sans-serif; letter-spacing: .2em; }
.empty-state h2 { margin: 0; font: 600 30px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.empty-state p { color: var(--muted); }
.empty-state .button { margin-top: 15px; }

.breadcrumb { margin-bottom: 30px; display: flex; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-underline-offset: 3px; }
.form-heading { align-items: center; }
.form-heading h1 { font-size: clamp(36px, 4.2vw, 56px); }
.reference-chip { padding: 10px 13px; border: 1px solid var(--line); font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .1em; }
.booking-form { display: grid; gap: 22px; }
.form-section { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.section-title { display: flex; gap: 17px; align-items: flex-start; }
.section-title > span { padding-top: 6px; color: #9b8863; font: 600 11px/1 "Manrope", sans-serif; }
.section-title h2 { margin: 0; font: 600 21px/1.2 "Manrope", sans-serif; letter-spacing: -.03em; }
.section-title p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.span-2 { grid-column: 1 / -1; }
.field-group { display: grid; gap: 9px; align-content: start; }
.field-label { color: var(--soft-ink); font-size: 13px; font-weight: 600; }
.time-window { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.time-window label { gap: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.add-field { color: var(--muted); font-size: 12px; }
.add-field summary { width: fit-content; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.add-field[open] summary { margin-bottom: 12px; }
.add-field label { margin-top: 4px; }
.submit-bar { margin-top: 4px; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--ink); color: var(--white); }
.submit-bar > div:first-child { display: grid; gap: 5px; }
.submit-bar strong { font: 600 16px/1.2 "Manrope", sans-serif; }
.submit-bar > div:first-child span { color: rgba(255,255,255,.5); font-size: 12px; }
.submit-actions { display: flex; gap: 24px; align-items: center; }
.submit-bar .text-link { color: rgba(255,255,255,.72); font-size: 12px; }
.submit-bar .button-primary { background: var(--white); color: var(--ink); }
.form-actions { display: flex; justify-content: space-between; align-items: center; }

.detail-hero { margin-bottom: 0; padding: clamp(34px, 5vw, 66px); display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; background: var(--ink); color: var(--white); }
.detail-meta { margin-bottom: 22px; display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.5); font: 600 10px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.detail-hero h1 { max-width: 820px; margin: 0; font: 600 clamp(34px, 5vw, 62px)/1.02 "Manrope", sans-serif; letter-spacing: -.05em; }
.detail-hero p { margin: 17px 0 0; color: rgba(255,255,255,.58); }
.detail-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); border: 1px solid var(--line); border-top: 0; background: rgba(255,255,255,.35); }
.detail-sidebar { padding: 44px 36px; border-right: 1px solid var(--line); }
.detail-sidebar dl { margin: 8px 0 0; }
.detail-sidebar dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-sidebar dt { margin-bottom: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.detail-sidebar dd { margin: 0; font-size: 13px; line-height: 1.5; }
.detail-content { padding: 0 50px; }
.detail-section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border: 0; }
.section-kicker { display: block; margin-bottom: 30px; color: #806f4c; font: 600 11px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 50px; }
.detail-section h3 { margin: 0 0 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.detail-section p { margin: 0; color: var(--soft-ink); font-size: 14px; line-height: 1.65; }
.detail-section a { text-underline-offset: 3px; }
.preserve { white-space: pre-line; }
.brief-box { padding: 28px; background: var(--white); border: 1px solid var(--line); }
.shot-list { line-height: 2 !important; }
.shot-list::first-line { font-weight: 500; }
.avoid-box { margin-top: 14px; padding: 19px 24px; border-left: 3px solid #956755; background: #ebe3dc; }
.admin-booking-list .booking-list-head, .admin-booking-list .booking-row { grid-template-columns: 2fr 1.15fr .85fr 1.25fr 30px; }
.admin-assignment-panel, .response-panel { padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 40px; border: 1px solid var(--line); border-top: 0; background: #e9e5db; }
.admin-assignment-panel h2, .response-panel h2 { margin: 0; font: 600 24px/1.2 "Manrope", sans-serif; letter-spacing: -.03em; }
.admin-assignment-panel p, .response-panel p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.assign-form { width: min(520px, 100%); display: grid; grid-template-columns: minmax(240px, 1fr) auto; align-items: end; gap: 12px; }
.assign-form label { display: grid; gap: 8px; color: var(--soft-ink); font-size: 12px; font-weight: 600; }
.history-list { display: grid; border-top: 1px solid var(--line); }
.history-list > div { padding: 17px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; border-bottom: 1px solid var(--line); }
.history-list small { grid-column: 1 / -1; color: var(--muted); }
.assignment-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.assignment-card { min-height: 260px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(255,255,255,.42); text-decoration: none; transition: background .16s, transform .16s; }
.assignment-card:hover { background: var(--white); transform: translateY(-2px); }
.assignment-card > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.assignment-card small { color: var(--muted); font: 600 10px/1 "Manrope", sans-serif; letter-spacing: .1em; }
.assignment-card h2 { margin: 38px 0 12px; font: 600 25px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.assignment-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-link { margin-top: auto; padding-top: 30px; font-size: 12px; font-weight: 600; }
.response-actions { display: flex; gap: 12px; }
.button-decline { border-color: #a98f87; background: transparent; color: #75453e; }
.button-decline:hover { background: #eadbd7; }

@media (max-width: 900px) {
  .auth-shell, .register-shell { grid-template-columns: 1fr; }
  .auth-intro { min-height: 440px; padding-top: 80px; padding-bottom: 80px; }
  .auth-index { margin-top: 44px; }
  .form-section { grid-template-columns: 1fr; gap: 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-sidebar dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .booking-list-head { display: none; }
  .booking-row { grid-template-columns: 2fr 1fr 30px; }
  .booking-row > span:nth-child(3), .booking-row > span:nth-child(4) { display: none; }
  .admin-assignment-panel, .response-panel { align-items: stretch; flex-direction: column; }
  .assign-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 72px; padding: 0 18px; }
  .brand-name, .account-company, .account-nav > a { display: none; }
  .account-nav { gap: 12px; }
  .page-shell { width: min(100% - 28px, 1180px); padding-top: 42px; }
  .page-heading, .detail-hero, .submit-bar { align-items: flex-start; flex-direction: column; }
  .dashboard-heading .button { width: 100%; }
  .summary-strip { grid-template-columns: 1fr; }
  .summary-strip div { border-right: 0; border-bottom: 1px solid var(--line); min-height: 78px; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .form-section { padding: 28px 20px; }
  .submit-actions { width: 100%; justify-content: space-between; }
  .detail-content { padding: 0 24px; }
  .detail-sidebar dl { grid-template-columns: 1fr; }
  .detail-hero .button { width: 100%; }
  .site-footer { gap: 15px; flex-direction: column; }
  .auth-card { padding-left: 24px; padding-right: 24px; }
  .auth-intro { min-height: 390px; padding-left: 25px; padding-right: 25px; }
  .auth-index { flex-wrap: wrap; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; gap: 20px; }
  .form-actions .button { width: 100%; }
  .assignment-cards { grid-template-columns: 1fr; }
  .response-actions { width: 100%; }
  .response-actions .button { flex: 1; }
}
