:root {
  --orange: #E97B15;
  --orange-deep: #A8500A;
  --orange-tint: #FDEBDA;
  --red: #C4121F;
  --red-tint: #FBE7E9;
  --yellow: #F2C11D;
  --yellow-tint: #FFF5CC;
  --green: #1E7B3E;
  --fahrt: #5F7086;
  --sonder: #7C6DAA;
  --ink: #1C1B19;
  --muted: #5B5852;
  --line: #D9D6CF;
  --surface: #F4F2EE;
  --focus: #1E5EFF;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
[hidden], .hide { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; background: #E0DDD6 !important; border-color: #C5C1B8 !important; color: #615D55 !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:hover:not(:disabled) { filter: brightness(.97); }
svg.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.5px; }
h2 { font-size: 21px; line-height: 1.35; }
h3 { font-size: 18px; line-height: 1.4; }
p { line-height: 1.6; }
a { color: var(--orange-deep); }
.muted { color: var(--muted); }
.small, small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.section-space { margin-top: 24px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-title > span, .date-label { color: var(--muted); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 11px 16px; background: white; font-size: 16px; font-weight: 600; line-height: 1.45; text-align: center; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn.quiet { background: transparent; }
.btn.small { min-height: 48px; font-size: 15px; padding: 10px 14px; }
.btn.wide { width: 100%; }
.btn.danger { color: var(--red); border-color: #C4121F; }
.iconbtn, .edit-seg { width: 48px; min-width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 6px; background: white; display: inline-flex; align-items: center; justify-content: center; padding: 10px; flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 5px; font-size: 13px; font-weight: 600; line-height: 1.4; background: var(--surface); }
.pill.orange { background: var(--orange-tint); color: var(--orange-deep); }
.pill.green { background: #EDF5EE; color: var(--green); }
.pill.purple { background: #F0EDF7; color: #61538C; }
.pill.red { background: var(--red-tint); color: var(--red); }
.dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; background: #EBE7DF; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; font-weight: 600; }
button.avatar { width: 48px; height: 48px; }
.avatar.warm { background: var(--orange-tint); }
.avatar.large { width: 48px; height: 48px; }
.logo { width: 180px; height: 30px; object-fit: contain; object-position: left center; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }
.prototypebar { background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; min-height: 80px; }
.prototypebar .tag { font-size: 13px; }
.mode-switch { display: flex; gap: 4px; padding: 4px; background: #38352F; border-radius: 6px; }
.mode-switch button { background: transparent; border: 0; border-radius: 4px; min-height: 48px; padding: 10px 18px; color: white; font-size: 15px; }
.mode-switch button.active { background: white; color: var(--ink); font-weight: 600; }
.preview-options { display: flex; gap: 12px; }
.preview-options label { display: grid; gap: 4px; font-size: 13px; }
.preview-options select { background: #38352F; border: 1px solid #918B80; border-radius: 4px; padding: 10px; color: white; min-height: 48px; font-size: 14px; max-width: 245px; }
.workspace { display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: calc(100vh - 80px); }
.sidebar { padding: 28px 16px; background: white; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.brand { padding: 0 8px 24px; }
.brand-sub { font-size: 14px; color: var(--muted); margin-top: 10px; }
.nav-label { font-size: 13px; color: var(--muted); padding: 0 10px; }
.nav { display: grid; gap: 7px; }
.nav button { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-radius: 5px; background: transparent; text-align: left; font-size: 15px; }
.nav button.active { background: var(--orange-tint); color: var(--orange-deep); font-weight: 600; }
.nav .ico { width: 21px; height: 21px; }
.count { margin-left: auto; background: var(--orange); color: var(--ink); border-radius: 4px; padding: 1px 7px; font-size: 13px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.connection { font-size: 13px; color: var(--muted); padding: 16px 0; }
.profile { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; }
.profile p { font-size: 14px; }
.profile small { color: var(--muted); }
.main { min-width: 0; }
.topbar { background: white; border-bottom: 1px solid var(--line); padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.breadcrumb .ico { width: 18px; height: 18px; }
.topbar .date { font-size: 14px; color: var(--muted); }
.content { max-width: 1500px; padding: 32px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading p { margin-top: 10px; max-width: 750px; }
.queue { max-width: 1060px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { min-width: 48px; min-height: 48px; border: 1px solid var(--line); background: white; border-radius: 6px; padding: 10px 16px; font-size: 15px; }
.tabs button.active { border-color: var(--orange-deep); background: var(--orange-tint); font-weight: 600; }
.card { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card-pad { padding: 24px; }
.report-head { display: flex; justify-content: space-between; gap: 16px; padding: 24px; align-items: flex-start; }
.report-head p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.report-head h3 { font-size: 19px; }
.report-body { padding: 0 24px 24px; }
.report-footer { border-top: 1px solid var(--line); background: #FCFBF9; padding: 20px 24px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.report-footer > .btn:first-child { background: white; font-weight: 400; }
.approve-button { min-height: 60px; padding: 15px 30px; font-size: 19px; margin-left: auto; min-width: 220px; }
.queue-card { margin-top: 20px; }
.note { display: flex; align-items: flex-start; gap: 10px; background: var(--orange-tint); border-left: 4px solid var(--orange); padding: 14px; font-size: 15px; line-height: 1.55; border-radius: 4px; margin-top: 14px; }
.note > div, .note > span { min-width: 0; }
.note .ico { width: 22px; height: 22px; color: var(--orange-deep); margin-top: 1px; }
.note p { margin-top: 8px; }
.note .btn { margin-top: 12px; }
.note.yellow { background: var(--yellow-tint); border-color: var(--yellow); }
.note.yellow .ico { color: #705B10; }
.note.red { background: var(--red-tint); border-color: var(--red); }
.note.red .ico { color: var(--red); }
.note.success { background: #EDF5EE; color: var(--green); border-color: var(--green); }
.timeline { margin-top: 20px; }
.segment { display: grid; grid-template-columns: 28px minmax(0,1fr) 48px; gap: 8px 12px; padding: 0 0 24px; }
.seg-time { grid-column: 2; grid-row: 1; font-size: 16px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; font-variant-numeric: tabular-nums; }
.seg-time span { font-weight: 400; }
.seg-line { grid-column: 1; grid-row: 1 / 3; position: relative; }
.seg-line:after { content: ""; position: absolute; width: 1px; background: var(--line); top: 35px; bottom: -10px; left: 14px; }
.segment:last-child .seg-line:after { display: none; }
.seg-symbol { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; background: var(--orange-tint); color: var(--orange-deep); }
.seg-symbol .ico { width: 20px; height: 20px; }
.fahrt .seg-symbol { background: #EDF0F4; color: var(--fahrt); }
.pause .seg-symbol { background: var(--yellow-tint); color: #705B10; }
.sonder .seg-symbol { background: #F0EDF7; color: var(--sonder); }
.seg-copy { grid-column: 2; grid-row: 2; min-width: 0; }
.seg-copy b, .seg-copy p { font-size: 16px; }
.seg-copy p { margin-top: 5px; color: var(--muted); }
.seg-copy .note { margin-top: 12px; }
.seg-duration { grid-column: 3; grid-row: 1; font-size: 15px; white-space: nowrap; }
.edit-seg { grid-column: 3; grid-row: 1 / 3; }
.section-attachments { font-size: 14px; font-weight: 400; margin-top: 12px; }
.workspace .segment { grid-template-columns: 132px 28px minmax(0,1fr) 90px; gap: 16px; }
.workspace .seg-time { grid-column: 1; grid-row: 1; display: block; }
.workspace .seg-time span { display: block; }
.workspace .seg-line { grid-column: 2; grid-row: 1; }
.workspace .seg-copy { grid-column: 3; grid-row: 1; }
.workspace .seg-duration { grid-column: 4; grid-row: 1; text-align: right; }
.total { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 18px; margin-top: 16px; }
.totals-breakdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.totals-breakdown b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.totals-breakdown span { font-size: 14px; }
.total-day { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.total-day strong { font-size: 18px; }
.total-day span { font-size: 15px; }
.details-toggle { border: 0; border-top: 1px solid var(--line); background: white; padding: 16px 0; width: 100%; min-height: 48px; display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 20px; text-align: left; font-size: 15px; }
.footnote { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.three-cols { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.team-person { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.team-person:last-child { border-bottom: 0; }
.team-person b { font-size: 16px; }
.team-person p { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.data-table caption { text-align: left; padding: 18px; font-size: 16px; font-weight: 600; }
.data-table th { background: #FAF9F6; padding: 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.data-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table td small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.data-table tr:last-child td { border: 0; }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.planner { display: grid; grid-template-columns: 175px repeat(7,minmax(150px,1fr)); min-width: 1225px; }
.plan-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px; min-height: 156px; }
.plan-cell.heading { min-height: 76px; text-align: center; background: #FAF9F6; font-size: 14px; }
.plan-cell.heading b { display: block; font-size: 18px; margin-top: 4px; }
.plan-cell.today { background: #FFF7ED; }
.plan-cell.weekend { background: #F4F2EE; }
.plan-cell.person { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.plan-project { width: 100%; min-height: 64px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 5px; padding: 10px; background: white; font-size: 14px; text-align: left; margin-bottom: 10px; }
.plan-project b { display: block; }
.plan-project small { display: block; font-size: 13px; margin-top: 7px; }
.sync-ok { color: var(--green); }
.sync-warning { background: var(--orange-tint); color: var(--orange-deep); padding: 6px; border-radius: 3px; }
.plan-add { border: 1px dashed #969187; width: 100%; min-height: 48px; background: white; border-radius: 5px; font-size: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; font-size: 16px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 12px; min-height: 48px; border: 1px solid #969187; border-radius: 5px; font-size: 16px; background: white; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.form-error { color: var(--red); font-size: 15px; margin-top: 16px; }
.form-error:empty { display: none; }
.empty { padding: 48px 24px; text-align: center; }
.empty > .ico { width: 40px; height: 40px; color: var(--orange-deep); margin-bottom: 18px; }
.empty p { margin: 16px auto 24px; max-width: 450px; }
.loading { height: 16px; background: linear-gradient(90deg,#EAE6DD,#FAF8F3,#EAE6DD); background-size: 200% 100%; animation: shimmer 1.5s infinite; margin: 18px 0; border-radius: 4px; }
.loading:nth-of-type(2) { width: 72%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mobile-stage { padding: 32px; }
.phone { width: 480px; max-width: 100%; margin: auto; background: white; border: 1px solid var(--line); border-radius: 8px; }
.phone-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.phone-content { padding: 24px; min-height: 540px; }
.phone-content h1 { font-size: 28px; overflow-wrap: break-word; }
.phone-content .sub { margin-top: 12px; font-size: 16px; }
.date-label { margin-bottom: 10px; }
.greeting { margin-bottom: 24px; }
.greeting > p:last-child { margin-top: 8px; }
.today-report { padding: 20px; border: 1px solid #EBC39B; background: var(--orange-tint); border-radius: 6px; margin-bottom: 28px; }
.today-report p { font-size: 16px; margin: 15px 0 20px; }
.site-card { border: 1px solid var(--line); border-radius: 6px; padding: 18px; margin-top: 16px; }
.site-number { width: 28px; height: 28px; display: grid; place-items: center; font-size: 15px; background: var(--orange-tint); color: var(--orange-deep); border-radius: 4px; }
.site-card h3 { margin-top: 16px; font-size: 18px; }
.site-card p { font-size: 16px; margin-top: 4px; }
.site-bottom { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.site-bottom button { min-width: 48px; min-height: 48px; padding: 10px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: white; border-radius: 5px; font-size: 15px; }
.phone-nav { position: sticky; bottom: 0; z-index: 10; background: white; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); padding: 8px 12px max(8px,env(safe-area-inset-bottom)); }
.phone-nav button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 0; border-radius: 5px; background: white; min-height: 56px; font-size: 14px; }
.phone-nav button.active { background: var(--orange-tint); color: var(--orange-deep); font-weight: 600; }
.mobile-back { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: white; margin-bottom: 20px; font-size: 16px; text-align: left; }
.record-date { display: flex; gap: 8px; margin: 24px 0; }
.record-date button { flex: 1; min-height: 48px; min-width: 48px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: 16px; }
.record-date button.active { background: var(--orange-tint); border-color: var(--orange-deep); font-weight: 600; }
.record-center { display: flex; align-items: center; flex-direction: column; text-align: center; padding: 24px 0; }
.record-button { width: 136px; height: 136px; background: var(--orange); border: 9px solid var(--orange-tint); border-radius: 50%; display: grid; place-items: center; margin: 10px 0 26px; }
.record-button .ico { width: 42px; height: 42px; }
.record-button.recording { background: var(--red); color: white; border-color: var(--red-tint); animation: pulse 1.6s infinite; }
.record-center p { font-size: 16px; margin-top: 14px; }
.record-tip { background: var(--surface); border-radius: 5px; padding: 18px; font-size: 16px; line-height: 1.6; }
.record-tip b { display: block; font-size: 13px; margin-bottom: 10px; }
.wave { display: flex; align-items: center; justify-content: center; height: 44px; gap: 4px; margin-top: 12px; }
.wave span { width: 3px; height: var(--h); background: var(--orange); border-radius: 2px; animation: wave .8s alternate infinite; animation-delay: var(--d); }
@keyframes wave { to { height: 8px; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px var(--red-tint); } }
.phone-content .segment { position: relative; grid-template-columns: 28px minmax(0,1fr) 48px; }
.phone-content .seg-copy { grid-column: 2 / 4; }
.phone-content .seg-time { padding-top: 9px; }
.phone-content .seg-copy .btn { max-width: 100%; }
.phone-content .edit-seg { grid-row: 1; }
.phone-content .seg-duration { display: none; }
.confirm-zone { margin-top: 24px; }
.confirm-zone .btn { min-height: 60px; font-size: 18px; }
.confirm-zone p { font-size: 14px; margin-top: 12px; }
.speech { background: var(--surface); border: 1px solid #A49F94; padding: 20px; border-radius: 8px 8px 8px 0; margin: 24px 0; }
.speech h3 { font-size: 17px; }
.speech .stack { margin-top: 16px; }
.success-screen { padding: 35px 0; text-align: center; }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: #EDF5EE; color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.success-mark .ico { width: 36px; height: 36px; }
.success-screen p { margin: 18px 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; }
.history-day { display: block; padding: 18px; width: 100%; border: 1px solid var(--line); border-radius: 6px; background: white; margin-top: 16px; text-align: left; }
.history-day .row { flex-wrap: wrap; }
.history-day p { font-size: 15px; margin-top: 12px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.photo-tile { min-width: 0; min-height: 155px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface); border: 1px dashed #969187; border-radius: 5px; font-size: 16px; text-align: center; }
.photo-tile span { font-size: 13px; }
.photo-tile.filled { border-style: solid; background: #F2EBE1; }
.device { border: 1px solid var(--line); border-radius: 6px; padding: 18px; margin-top: 16px; }
.device p { margin-top: 8px; font-size: 16px; }
.login-symbol { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 24px; }
.code-input { font-size: 25px !important; font-weight: 700; text-align: center; letter-spacing: 5px; text-transform: uppercase; }
.install-guide { margin: 24px 0; }
.install-guide figcaption { font-size: 17px; margin-bottom: 12px; }
.install-guide img { display: block; width: 100%; max-width: 350px; height: auto; border: 1px solid var(--line); border-radius: 8px; margin: auto; }
.modal-shade { position: fixed; inset: 0; z-index: 100; background: #1C1B1980; padding: 24px; display: flex; align-items: center; justify-content: center; }
.modal { width: 620px; max-width: 100%; max-height: 92dvh; overflow-y: auto; background: white; padding: 28px; border-radius: 8px; }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.modal-head h2 { font-size: 24px; }
.modal-actions { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.modal-actions .danger { margin-right: auto; }
.modal .seg-duration { font-size: 13px; }
.modal .segment { grid-template-columns: 28px minmax(0,1fr) 76px; }
.search-result { width: 100%; min-height: 64px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 5px; display: block; text-align: left; margin-top: 12px; }
.search-result:hover { background: var(--orange-tint); }
.search-result p { font-size: 14px; margin-top: 6px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%,20px); max-width: calc(100vw - 24px); width: max-content; padding: 16px 20px; background: var(--ink); color: white; border-radius: 6px; z-index: 200; opacity: 0; transition: .2s; pointer-events: none; font-size: 15px; text-align: center; }
#toast.visible { opacity: 1; transform: translate(-50%,0); }
@media(max-width:1100px) {
  .workspace { grid-template-columns: 216px minmax(0,1fr); }
  .content { padding: 24px; }
  .three-cols { grid-template-columns: 1fr; }
  .topbar .date { display: none; }
  .workspace .segment { grid-template-columns: 105px 28px minmax(0,1fr) 74px; gap: 10px; }
}
@media(max-width:760px) {
  .prototypebar { padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .prototypebar .tag { font-size: 13px; }
  .preview-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .preview-options label:only-child { grid-column: 1 / -1; }
  .preview-options select { width: 100%; max-width: 100%; min-width: 0; font-size: 13px; padding: 8px; }
  .mode-switch button { font-size: 14px; padding: 10px 15px; }
  .workspace { display: block; }
  .sidebar { padding: 18px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
  .brand-sub { margin: 0; }
  .nav-label, .sidebar-bottom { display: none; }
  .nav { display: flex; overflow-x: auto; padding-bottom: 12px; }
  .nav button { flex-shrink: 0; }
  .topbar { padding: 14px 16px; }
  .content { padding: 24px 16px; }
  h1 { font-size: 28px; }
  .page-heading { display: block; }
  .page-heading > .btn { margin-top: 18px; width: 100%; }
  .tabs { display: grid; grid-template-columns: 1fr; }
  .tabs button { text-align: left; }
  .report-head { padding: 18px 16px; flex-wrap: wrap; }
  .report-head p { font-size: 14px; }
  .report-body { padding: 0 16px 20px; }
  .workspace .segment { grid-template-columns: 28px minmax(0,1fr) 80px; gap: 8px 10px; }
  .workspace .seg-time { grid-column: 2; grid-row: 1; display: flex; font-size: 15px; gap: 6px; }
  .workspace .seg-line { grid-column: 1; grid-row: 1 / 3; }
  .workspace .seg-copy { grid-column: 2 / 4; grid-row: 2; }
  .workspace .seg-duration { grid-column: 3; grid-row: 1; font-size: 14px; }
  .report-footer { padding: 18px 16px; display: grid; grid-template-columns: 1fr; gap: 16px; }
  .report-footer > .btn:first-child { justify-self: start; }
  .approve-button { width: 100%; min-width: 0; margin: 0; }
  .totals-breakdown { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .total-day { flex-wrap: wrap; }
  .table-actions { display: grid; }
  .data-table { min-width: 700px; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-stage { padding: 0; background: white; }
  .phone { border: 0; border-radius: 0; width: 480px; }
  .phone-header { padding: 16px; }
  .phone-content { padding: 24px 16px; }
  .phone-content .seg-copy { grid-column: 2 / 4; }
  .phone-content .seg-copy .note { margin-left: -40px; }
  .phone-content .seg-copy .note span { font-size: 15px; }
  .phone-content .section-attachments { width: 100%; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-tile { min-height: 130px; }
  .site-card .row { flex-wrap: wrap; }
  .modal-shade { padding: 12px; }
  .modal { padding: 20px 16px; max-height: 94dvh; }
  .modal-actions { display: grid; grid-template-columns: 1fr; }
  .modal-actions .btn { width: 100%; }
  .modal .row { flex-wrap: wrap; }
  .modal .segment { grid-template-columns: 28px minmax(0,1fr) 65px; gap: 8px; }
  .modal .seg-copy { grid-column: 2 / 4; }
  .footnote { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

.scope-caption { padding: 12px 24px; background: white; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.prototypebar { flex-wrap: wrap; position: relative; }
.preview-options { flex-wrap: wrap; }
.audit-entry { padding: 20px 0; border-bottom: 1px solid var(--line); }
.audit-entry p { margin-top: 8px; overflow-wrap: anywhere; }
.audit-entry time { font-size: 14px; color: var(--muted); }
.check-label { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.approval-status { margin-bottom: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.segment.heimfahrt { opacity: 1; background: var(--surface); padding: 16px 8px; border-radius: 6px; }
@media(max-width:760px) { .scope-caption { padding: 12px 16px; } .preview-options { grid-template-columns: 1fr; } .prototypebar .preview-options label { grid-column: 1; } .phone { max-width: 100%; } .phone-content { overflow-wrap: anywhere; } .table-actions { min-width: 190px; } }

.start-speaking { width: 100%; min-height: 156px; margin: 24px 0 12px; border: 0; border-radius: 8px; background: var(--orange); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 22px; font-weight: 700; }
.preview-controls > summary { min-height: 48px; padding: 12px; border: 1px solid #918B80; border-radius: 5px; font-size: 14px; cursor: pointer; }
.preview-controls > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.preview-controls[open] .preview-options { padding-top: 16px; }
.prototypebar:has(.preview-controls:not([open])) + .scope-caption { display: none; }
@media(max-width:760px) { .prototypebar .tag { grid-column: 1 / -1; } .prototypebar .mode-switch { grid-row: 2; } .prototypebar .preview-controls { grid-row: 2; grid-column: 2; } .prototypebar .preview-controls[open] { grid-column: 1 / -1; grid-row: 3; } }
.start-speaking .ico { width: 44px; height: 44px; }
.speak-help { text-align: center; margin-bottom: 22px; }
.support-details { border-top: 1px solid var(--line); margin-top: 20px; }
.support-details summary { cursor: pointer; min-height: 48px; padding: 16px 0; font-size: 15px; font-weight: 600; }
.support-details summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.support-details > p { font-size: 16px; margin-bottom: 16px; }
.guided-question { padding: 24px 0; }
.guided-question h2 { font-size: 25px; line-height: 1.3; margin: 18px 0 14px; }
.guided-question p { font-size: 17px; }
.guided-question .btn.primary { min-height: 60px; font-size: 18px; }
.question-symbol { background: var(--orange-tint); width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; }
.question-symbol .ico { width: 30px; height: 30px; }
.question-context { background: var(--surface); padding: 14px; margin-top: 18px; font-size: 15px !important; }
.example-answer { padding: 18px; background: var(--surface); margin: 18px 0; }
.capture-frame { min-height: 240px; padding: 24px; background: var(--surface); border: 3px solid var(--orange-deep); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.capture-frame > .ico { width: 52px; height: 52px; }
.capture-frame > span { font-size: 15px; }
.queue { max-width: none; }
.review-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 20px; align-items: start; }
.report-list { display: grid; gap: 10px; position: sticky; top: 16px; }
.report-choice { width: 100%; display: grid; gap: 9px; text-align: left; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.report-choice strong { font-size: 18px; }
.report-choice > span { font-size: 14px; }
.report-choice .pill { justify-self: start; }
.report-choice.selected { background: var(--orange-tint); border: 2px solid var(--orange-deep); padding: 17px; }
.review-detail { min-width: 0; }
.office-section { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.office-section p { font-size: 15px; margin-top: 5px; }
.office-section-time { display: grid; align-content: start; gap: 4px; }
.office-section-time b { font-size: 15px; white-space: nowrap; }
.office-section-time span { font-size: 14px; color: var(--muted); }
.office-section.pause { background: var(--yellow-tint); padding: 14px 10px; }
.office-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.office-sum span { font-size: 14px; color: var(--muted); }
.review-detail .report-footer { gap: 12px; flex-wrap: wrap; }
.review-detail .approve-button { min-width: 190px; }
.review-detail .support-details .approval-status { margin-bottom: 12px; }
@media (max-width:1100px) { .review-layout { grid-template-columns: 210px minmax(0,1fr); gap: 14px; } .review-detail .report-head { flex-wrap: wrap; } .office-section { grid-template-columns: 1fr; gap: 8px; } .office-section-time { display: flex; flex-wrap: wrap; gap: 10px; } }
@media (max-width:760px) { .review-layout { grid-template-columns: 1fr; } .report-list { position: static; display: flex; overflow-x: auto; padding: 2px 2px 10px; } .report-choice { flex: 0 0 240px; } .review-detail .approve-button { min-width: 0; } .guided-question { padding-top: 20px; } }

.section-proof { margin-top: 14px; }
.plan-project .plan-time, .site-card .plan-time { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.plan-project > span { display: block; margin-top: 4px; }
.proof-thumbnails { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.proof-thumb { display: grid; gap: 6px; width: 150px; padding: 6px; text-align: left; background: white; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.proof-thumb img { width: 100%; height: 90px; object-fit: cover; border-radius: 3px; }
.proof-thumb span, .proof-state { font-size: 13px; line-height: 1.4; }
.proof-state { display: block; padding: 6px; background: var(--orange-tint); }
.proof-state.accepted { background: #EDF5EE; color: var(--green); }
.soft-photo { filter: blur(2px); }
.photo-viewer { width: 1000px; }
.proof-meta p { margin-top: 6px; font-size: 15px; }
.proof-view { margin-top: 18px; overflow: auto; background: var(--surface); height: min(50vh,520px); display: flex; align-items: center; justify-content: center; }
.proof-view img { width: 100%; height: 100%; object-fit: contain; }
.proof-view.zoomed { display: block; }
.proof-view.zoomed img { width: 170%; height: auto; max-width: none; }
.gallery-controls { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0; }
.previous-proof { width: 220px; max-width: 100%; margin: 16px 0; }
.photo-task-list { margin: 24px 0; }
.photo-task { border: 2px solid var(--orange-deep); background: var(--orange-tint); padding: 18px; border-radius: 6px; margin-top: 14px; }
.photo-task h3 { margin: 10px 0; }
.photo-task p { margin-top: 8px; }
.photo-task .btn { margin-top: 18px; }
.task-photo { width: 100%; max-height: 330px; object-fit: contain; background: var(--surface); margin: 18px 0; }
@media(max-width:600px) { .proof-thumb { width: calc(50% - 6px); } .gallery-controls { flex-wrap: wrap; } .gallery-controls .btn { flex: 1; } .proof-view { height: 35vh; } }
