
:root{
  --bg:#f2efe9;--surface:#fbfaf7;--card:#fff;--ink:#1c1b18;--muted:#777168;--line:#e5e0d7;
  --dark:#171614;--wood:#876a52;--wood2:#a98d73;--sand:#d9cec0;--green:#59715f;--green-soft:#e6eee8;
  --amber:#9c6b2f;--amber-soft:#f6eddf;--danger:#a9473f;--danger-soft:#f8e7e4;
  --shadow:0 16px 50px rgba(32,28,22,.06)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;min-height:100vh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
button,input,select{font:inherit}button{cursor:pointer}
.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:var(--dark);color:#f4efe7;padding:28px 20px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;z-index:30}
.brand{display:flex;align-items:center;gap:12px;padding:0 8px 20px}
.brand-mark{width:42px;height:42px;border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;border-radius:12px;font-family:Georgia,serif;font-size:24px}
.brand-name{font-family:Georgia,"Times New Roman",serif;font-size:22px;letter-spacing:.12em}.brand-caption{font-size:9px;letter-spacing:.22em;color:#a9a198;margin-top:2px}
.role-switch{margin:0 0 18px;padding:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:12px}.eyebrow.dark{color:#9c958d}
.role-switch select{width:100%;margin-top:7px;background:#24211e;color:#eee5dc;border:1px solid #39342f;border-radius:9px;padding:9px}
.nav{display:flex;flex-direction:column;gap:6px}.nav-item{width:100%;border:0;background:transparent;color:#bcb4aa;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;text-align:left;transition:.2s}
.nav-item:hover{background:rgba(255,255,255,.06);color:#fff}.nav-item.active{background:#f0ebe2;color:#171614}.nav-icon{font-size:17px;width:18px;text-align:center}
.sidebar-footer{margin-top:auto;display:grid;gap:10px}.mini-card{padding:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:14px}
.mini-label{font-size:11px;color:#a9a198;text-transform:uppercase;letter-spacing:.12em}.mini-value{font-size:24px;font-weight:700;margin-top:6px}.mini-note{font-size:11px;color:#8e877e;margin-top:4px}
.main{grid-column:2;padding:0 34px 42px;min-width:0}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(129,112,90,.13);margin-bottom:26px}
.topbar-left{display:flex;align-items:center;gap:12px}.topbar h1{margin:4px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:500}
.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--muted)}.eyebrow.light{color:#d1c7ba}
.today-chip{padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.5);color:var(--muted);font-size:12px}.mobile-menu{display:none}
.view{display:none}.view.active{display:block;animation:fade .18s ease}@keyframes fade{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}
.hero{min-height:265px;background:linear-gradient(115deg,rgba(20,19,17,.95),rgba(39,34,29,.86)),radial-gradient(circle at 78% 30%,rgba(157,125,91,.34),transparent 30%);border-radius:24px;color:white;padding:40px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;box-shadow:var(--shadow);overflow:hidden;position:relative}
.hero::after{content:"";position:absolute;right:-80px;top:-100px;width:350px;height:350px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 44px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018)}
.hero h2{font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.08;font-weight:500;max-width:760px;margin:12px 0}.hero p{max-width:680px;color:#c8c0b7;line-height:1.6;margin:0}
.hero-action{position:relative;z-index:2;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;padding:13px 16px;white-space:nowrap}.hero-action:hover{background:#fff;color:#171614}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.metric-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 7px 24px rgba(40,32,23,.03)}
.metric-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.metric-value{font-family:Georgia,"Times New Roman",serif;font-size:30px;margin-top:10px}.metric-note{font-size:11px;color:#9b958c;margin-top:6px}
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(37,30,24,.035)}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}.panel h3,.section-toolbar h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;margin:5px 0 0}.panel h3{font-size:22px}.section-toolbar h2{font-size:30px}
.soft-badge{font-size:10px;text-transform:uppercase;letter-spacing:.1em;background:#f1ede7;color:#7b7268;padding:7px 10px;border-radius:999px}.section-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.primary,.ghost{border-radius:11px;padding:11px 14px;font-weight:700;border:1px solid transparent}.primary{background:var(--dark);color:white;border-color:var(--dark)}.primary:hover{background:#2b2926}.ghost{background:#fff;color:var(--ink);border-color:var(--line)}.ghost:hover{background:#f8f5f0}.wide{width:100%}.upload-label{text-align:center;display:block}
.table-panel{padding:0;overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:860px}th,td{padding:14px 16px;border-bottom:1px solid #eeeae3;text-align:left}
th{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#8f887f;background:#fbfaf7}td{font-size:13px}tr:last-child td{border-bottom:0}.padded{padding:20px 20px 0}
.name-cell{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:10px;background:#ece5dc;color:#65513f;display:grid;place-items:center;font-weight:800}
.status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:11px}.status.active{background:var(--green-soft);color:var(--green)}.status.inactive{background:#f2ede7;color:#8a7767}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(37,30,24,.035);display:flex;flex-direction:column;gap:18px}
.project-card-top{display:flex;justify-content:space-between;gap:14px}.project-type{font-size:10px;letter-spacing:.12em;color:var(--wood);text-transform:uppercase;font-weight:800}.project-card h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:22px;margin:6px 0 5px}
.project-note{font-size:12px;color:var(--muted);line-height:1.5}.project-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.project-stat{background:#f7f4ef;border-radius:12px;padding:12px}.project-stat span{display:block;font-size:10px;text-transform:uppercase;color:#928a81;letter-spacing:.08em}.project-stat b{display:block;margin-top:5px}
.entry-panel{margin-bottom:16px}.entry-grid{display:grid;grid-template-columns:1fr 1.5fr 1.5fr 1fr auto;gap:12px;align-items:end}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#82796f}
.field input,.field select{width:100%;border:1px solid var(--line);background:#fbfaf7;border-radius:10px;padding:11px 12px;color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:#9b8269;box-shadow:0 0 0 3px rgba(139,109,81,.08)}.field.compact{min-width:145px}.add-workday{height:42px}
.notice{margin-top:12px;padding:10px 12px;border-radius:10px;font-size:12px}.notice.success{background:#ecf3ed;color:#42604a}
.period-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.payroll-summary,.payment-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.payroll-card{background:var(--dark);color:white;border-radius:18px;padding:20px}.payroll-card.muted{background:#8b735f}.payroll-card.light{background:#d9cec0;color:#2a2723}.payroll-card.green{background:#5f7465}.payroll-card .label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.7}.payroll-card .value{font-family:Georgia,"Times New Roman",serif;font-size:30px;margin-top:8px}
.list-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eeeae3}.list-row:last-child{border-bottom:0}.list-main{min-width:0}.list-title{font-weight:700;font-size:13px}.list-meta{font-size:11px;color:var(--muted);margin-top:3px}.list-amount{font-family:Georgia,"Times New Roman",serif;font-size:18px;white-space:nowrap}.bar{height:5px;background:#eee9e1;border-radius:999px;margin-top:9px;overflow:hidden}.bar span{display:block;height:100%;background:var(--wood);border-radius:999px}
.empty{padding:28px;text-align:center;color:#948c82;font-size:13px}.small-btn{border:0;background:transparent;color:#6b6259;font-size:12px;text-decoration:underline;text-underline-offset:3px}.delete-btn{color:var(--danger)}.spacer-top{margin-top:16px}
.calendar-scroll{overflow:auto}.matrix{border-collapse:separate;border-spacing:0;min-width:max-content}.matrix th,.matrix td{min-width:38px;padding:8px;text-align:center;border-right:1px solid #eeeae3;border-bottom:1px solid #eeeae3;font-size:11px}.matrix th:first-child,.matrix td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:170px;text-align:left}.matrix thead th:first-child{background:#fbfaf7;z-index:3}.day-full{background:#ece7df;font-weight:700}.day-half{background:#f7efe3;color:#8c5f29;font-weight:700}.project-code{font-size:9px;color:#7a6d61;margin-top:2px}
.modal{display:none;position:fixed;inset:0;background:rgba(15,14,12,.45);backdrop-filter:blur(5px);z-index:100;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-card{width:min(560px,100%);background:var(--surface);border-radius:20px;padding:22px;box-shadow:0 30px 100px rgba(0,0,0,.18)}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal-head h3{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500;margin:5px 0 0}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.icon-btn{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:20px}
.type-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:10px;background:#f2eee8;color:#765f4a}.type-pill.advance{background:var(--amber-soft);color:var(--amber)}.type-pill.salary{background:var(--green-soft);color:var(--green)}.type-pill.bonus{background:#eee9f6;color:#69557e}
.debt-positive{font-weight:800;color:var(--danger)}.debt-zero{color:var(--green);font-weight:700}
.hidden-by-role{display:none!important}
@supports (-webkit-touch-callout:none){input,select,button{font-size:16px}}
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.entry-grid{grid-template-columns:1fr 1fr}.add-workday{grid-column:1/-1}.payroll-summary,.payment-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){
  .app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.25s ease;box-shadow:0 20px 70px rgba(0,0,0,.25)}.sidebar.open{transform:translateX(0)}
  .main{padding:0 16px calc(30px + env(safe-area-inset-bottom))}.topbar{height:88px;position:sticky;top:0;z-index:20;background:rgba(242,239,233,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  .mobile-menu{display:block;border:1px solid var(--line);background:#fff;border-radius:10px;width:42px;height:42px}.content-grid,.project-grid{grid-template-columns:1fr}.hero{padding:28px;align-items:flex-start;flex-direction:column}.hero h2{font-size:31px}.today-chip{display:none}.hero-action,.primary,.ghost{min-height:44px}.nav-item{min-height:46px}
}
@media(max-width:560px){.metric-grid,.payroll-summary,.payment-summary,.entry-grid,.modal-grid{grid-template-columns:1fr}.full{grid-column:auto}.hero{border-radius:18px}.hero h2{font-size:27px}.section-toolbar{align-items:flex-start;flex-direction:column}.section-toolbar .primary{width:100%}.period-controls{width:100%}.period-controls .field,.period-controls button{flex:1}.project-stats{grid-template-columns:1fr}.panel{padding:16px}}

/* iPhone safe areas, keyboard and accessible interaction. */
.storage-note{font-size:11px;color:#bcb4aa;line-height:1.5;margin:8px 0}
.sidebar{padding-top:calc(28px + env(safe-area-inset-top));overflow-y:auto}
.modal{padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.modal-card{max-height:85dvh;overflow-y:auto}
button:focus-visible,a:focus-visible{outline:3px solid var(--wood2);outline-offset:3px}
.small-btn{min-height:44px}
@media(max-width:820px){.topbar{top:env(safe-area-inset-top)}.topbar h1{font-size:25px}.sidebar-footer{padding-top:18px}.panel-head{flex-wrap:wrap}.panel.table-panel{padding:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Touch feedback and dismissible mobile navigation. */
button,.upload-label{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,background .15s ease,box-shadow .15s ease}
button:active,.upload-label:active{transform:scale(.97);filter:brightness(.92)}
[hidden]{display:none!important}
.menu-backdrop{display:none}
.report-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.report-controls .field{flex:1;min-width:180px}
.report-total{margin-top:18px;padding:14px;background:#f2ede6;border-radius:12px;font-size:13px;color:var(--wood)}
.employee-project-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.employee-project-row:last-child{border:0}.report-number{white-space:nowrap;text-align:right;font-size:20px;font-family:Georgia,serif}
.day-off{background:var(--green-soft);color:var(--green);font-weight:700}
@media(max-width:820px){.menu-backdrop{display:block;position:fixed;inset:0;z-index:29;border:0;border-radius:0;background:rgba(23,22,20,.28);backdrop-filter:blur(2px)}.menu-backdrop:active{transform:none;filter:none}.menu-open{overflow:hidden}.sidebar{width:min(300px,82vw)}.entry-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.entry-grid{grid-template-columns:1fr}.report-controls .ghost{width:100%}}

.hours-presets{display:flex;gap:10px;margin:14px 0}.hours-presets button{flex:1;min-height:44px}

/* Furniture workshop linework: decorative, behind solid reading surfaces. */
body{background-color:var(--bg);background-image:url("./furniture-hatch.svg");background-size:640px 560px}
.hero::before{content:"";position:absolute;inset:0;background:url("./furniture-hatch.svg") center right/640px 560px repeat;filter:brightness(2.5);opacity:.5;pointer-events:none}
.hero>div{position:relative;z-index:1}
.hero::after{pointer-events:none}
@media(max-width:820px){body{background-size:480px 420px}.hero::before{background-size:480px 420px}.topbar{background:rgba(242,239,233,.96)}}

.entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.entry-grid .add-workday{grid-column:1/-1}@media(max-width:820px){.entry-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.entry-grid{grid-template-columns:1fr}}

.split-row{display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:12px;align-items:end;padding:16px 0;border-top:1px solid var(--line)}#addSplitBtn{margin-top:12px}.history-controls{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:12px;padding:0 20px}.history-summary{padding:0 20px 12px}.project-code{max-width:150px;white-space:normal;line-height:1.4}.field{min-width:0}.field input,.field select{min-width:0;max-width:100%}@media(max-width:560px){.split-row,.history-controls{grid-template-columns:1fr}.split-row{background:var(--surface);padding:16px;border-radius:12px;margin-top:12px}.history-controls{padding:0 16px}.history-summary{padding:0 16px 12px}.matrix th:first-child,.matrix td:first-child{min-width:140px;max-width:160px}}

.project-period-panel{margin-bottom:18px}.project-period-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.project-period-totals strong{display:block;font-family:Georgia,serif;font-size:24px;margin-top:6px}.project-period-totals>div{background:var(--surface);border-radius:12px;padding:14px}.project-budget{padding:14px;border-radius:12px;background:#f2ede6}.budget-line{display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px}.budget-line span{color:var(--muted)}.budget-line strong,.budget-line b{white-space:nowrap}.budget-exceeded{background:var(--danger-soft);color:var(--danger)}.budget-exceeded .bar span{background:var(--danger)}.project-person{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.project-person:last-child{border:0}.project-person>b{white-space:nowrap}.app-update{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(420px,calc(100% - 32px));padding:14px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:90;font-size:13px}@media(max-width:560px){.project-period-totals{grid-template-columns:1fr}.project-period-panel .field{width:100%}.budget-line{flex-wrap:wrap}.project-person{flex-wrap:wrap}}
@media(max-width:560px){.project-period-panel .period-controls .field{flex:1 0 100%}.project-period-panel .period-controls button{flex:1 1 40%}}

.project-picker{margin-bottom:18px}.project-grid.project-single{grid-template-columns:minmax(0,1fr);max-width:900px}.project-picker select{min-height:48px;font-size:16px}

.office-pinned{margin-bottom:20px}

.overview-period{margin-top:18px}.completed-project{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:16px 0;color:var(--ink);font-size:14px}.completed-project:last-child{border-bottom:0}.completed-project .list-meta{display:block;line-height:1.5}.completed-cost{white-space:nowrap;text-align:right;font-size:18px;font-family:Georgia,serif}.completed-cost .list-meta{font-family:inherit;font-size:12px}.completed-project:active{background:var(--surface)}@media(max-width:560px){.overview-period .period-controls .field{flex:1 0 100%}.completed-project{flex-wrap:wrap}.completed-cost{text-align:left}}

.swipe-feedback{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:85;padding:10px 18px;border-radius:999px;background:var(--dark);color:white;font-size:13px;box-shadow:var(--shadow);pointer-events:none;max-width:calc(100% - 32px);white-space:nowrap}

/* Calendar controls stay inside the card on iPhone, including native date inputs. */
.work-date-picker{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:stretch}
.work-date-picker .ghost{padding:0;min-height:48px;font-size:26px}
.work-date-picker input{display:block;min-width:0;width:100%;min-height:48px;padding:10px 6px;font-size:16px;text-align:center;-webkit-appearance:none;appearance:none}
.work-date-picker input::-webkit-date-and-time-value{min-height:24px;text-align:center}
.work-date-shortcuts{display:flex;gap:8px}
.work-date-shortcuts .ghost{flex:1;min-height:44px;padding:8px 12px;font-size:13px}
.work-date-shortcuts [aria-pressed="true"]{border-color:var(--wood);background:#f2ede6;color:var(--ink)}
.work-date-field .list-meta{line-height:1.5;margin:0}
.work-date-status{font-size:12px;color:var(--wood);line-height:1.5}
.work-date-picker button:disabled{opacity:.4;cursor:default}

.cloud-locked>.app-shell,.cloud-locked>#menuBackdrop,.cloud-locked>#printShell{display:none!important}
.cloud-gate{min-height:100dvh;display:grid;place-items:center;padding:24px}
.cloud-card{width:min(460px,100%);padding:32px;background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.cloud-card .brand-mark{margin-bottom:24px}.cloud-card h1{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.15;margin:18px 0}.cloud-copy{font-size:14px;color:var(--muted);line-height:1.6}.cloud-footnote{font-size:12px;line-height:1.6;color:var(--muted);margin-top:24px}.cloud-card .field{margin:18px 0 12px}.cloud-card .wide{margin-top:12px}
.cloud-status-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:14px 0 18px}.cloud-status-bar strong{color:var(--green)}.cloud-status-bar .small-btn{margin-left:auto}.cloud-conflict{border-color:var(--wood);line-height:1.5;font-size:14px}.cloud-conflict button{margin:6px 6px 0 0}.cloud-invite{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:16px}.role-switch>.ghost{margin-top:12px}.role-switch>.small-btn{color:#d9cec0}.cloud-card .small-btn{margin-top:10px}
@media(max-width:560px){.cloud-gate{padding:16px}.cloud-card{padding:24px}.cloud-card h1{font-size:34px}.cloud-status-bar{gap:6px}.cloud-status-bar>span{flex-basis:100%}.cloud-status-bar .small-btn{margin-left:0}.cloud-conflict button{width:100%;margin:6px 0}}

/* Owner backup controls. */
#driveBackupModal .wide{display:block;text-align:center;margin-top:12px}#driveBackupFolder{text-decoration:none}.drive-backup-details{padding:10px 0}.drive-backup-details p{display:flex;justify-content:space-between;gap:16px;font-size:13px;padding:10px 0;margin:0;border-bottom:1px solid var(--line)}.drive-backup-details span{color:var(--muted)}.drive-backup-details strong{text-align:right;overflow-wrap:anywhere}.drive-daily{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}.drive-daily input{width:20px;height:20px}#driveBackupStatus{line-height:1.5;background:var(--surface)}#driveBackupBtn{margin-bottom:10px;font-size:13px}@media(max-width:560px){.drive-backup-details p{flex-direction:column;gap:6px}.drive-backup-details strong{text-align:left}}

.cloud-legal-links{line-height:2}.cloud-legal-links a{color:var(--wood);text-underline-offset:3px}

.delivery-panel{margin-top:20px;scroll-margin-top:110px}.delivery-preview{padding:14px 16px;border:1px solid var(--line,#ddd6cd);border-radius:14px;background:#f7f4ef;font-weight:600;line-height:1.6}.delivery-mark{color:#8b6349;font-weight:600}.delivery-pay{display:block;color:#52745d;font-size:12px;margin-top:4px}
