:root{--gold:#e9bd55;--page:#f4f4ed;--card:#f7f5ef;--black:#050505;--ink:#21231e;--muted:#62645c;--line:#ddded4;--radius:20px;color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--page)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button,a.btn-link,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9c6b0b;outline-offset:4px}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;background:white;z-index:100;padding:14px}.skip-link:focus{top:0}
.topbar{background:var(--black);color:var(--card);display:flex;align-items:center;gap:16px;padding:18px max(24px,calc((100vw - 1160px)/2));border-bottom:1px solid #262620}.brand{display:flex;align-items:center;gap:12px;flex:1;text-decoration:none;font-weight:900;letter-spacing:.12em;color:var(--gold)}.brand small{font-size:.75rem;color:#c5c5b9;letter-spacing:.08em}.brand-icon{width:42px;height:42px;object-fit:cover;border-radius:10px}.records-link,.logout-link{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;padding:10px 14px;border:1px solid #35362f;border-radius:99px}.logout-link{color:#c6c6bd}
.container{max-width:1160px;margin:auto;padding:32px 24px 24px}.page-step{font-size:.75rem;letter-spacing:.14em;font-weight:800;color:#775518;margin-bottom:16px}.hero-wrap{display:grid;grid-template-columns:.85fr 1.15fr;border:1px solid var(--line);border-radius:28px;overflow:hidden;background:var(--card);box-shadow:0 16px 50px #1a1a1210}.hero-brand{background:linear-gradient(145deg,#1c1c16,#050505);color:white;display:flex;flex-direction:column;gap:44px;padding:32px;min-width:0}.hero-logo-frame{border:1px solid #5d5030;border-radius:20px;overflow:hidden;max-width:300px}.hero-logo-frame img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}.hero-brand-copy{margin-top:auto}.hero-brand h1{font-size:clamp(2.5rem,5vw,4rem);letter-spacing:-.06em;font-weight:600;line-height:1.04;margin:20px 0}.hero-brand p{color:#c6c6bb;line-height:1.8}.hero-brand-foot{font-size:.75rem;letter-spacing:.12em;color:#c9af6c}.hero-card{padding:44px 48px}.eyebrow{font-size:.75rem;font-weight:900;letter-spacing:.14em;color:#7c5c1c}.hero-brand .eyebrow{color:var(--gold)}h1{font-size:clamp(2rem,4vw,2.75rem);letter-spacing:-.045em;line-height:1.12;margin:12px 0 16px;overflow-wrap:anywhere}h2{font-size:1.375rem;letter-spacing:-.025em;margin:0 0 20px}h3{font-size:1.1rem;margin-top:24px}p{line-height:1.65;overflow-wrap:anywhere}.hero-card>p{color:var(--muted);margin-bottom:28px}
label{display:block;font-size:.875rem;font-weight:800;margin:20px 0 8px}input:not([type=checkbox]),select,textarea{width:100%;min-height:54px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:14px 16px;min-width:0;outline:none}textarea{min-height:96px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#997022;box-shadow:0 0 0 3px #e9bd552e}input::placeholder,textarea::placeholder{color:#777a70}.input-icon-wrap{position:relative}.input-icon-wrap svg{position:absolute;left:17px;top:17px;width:20px;height:20px;color:#9d772b;pointer-events:none}.input-icon-wrap input{padding-left:50px}.field-hint{font-size:.8125rem;color:var(--muted);line-height:1.5;display:block;margin:7px 0 12px}
button[type=submit],.btn-link.primary{background:linear-gradient(110deg,#e5b648,#ffdb7c);border:1px solid #967127;min-height:54px;padding:14px 20px;border-radius:14px;font-weight:800;color:#26200f;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px}form>button[type=submit]{width:100%;margin-top:24px}.location-button{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:16px;margin:24px 0 8px;border:1px solid #dbc88e;border-radius:16px;background:#fff9e9}.location-icon{background:var(--gold);width:48px;height:48px;display:grid;place-items:center;border-radius:14px;font-size:2rem;flex-shrink:0}.location-button small{display:block;letter-spacing:.1em;font-size:.75rem;color:#6f613c;font-weight:800;margin-bottom:4px}.location-button strong{display:block}.location-button .field-hint{margin:4px 0 0}.location-button b{margin-left:auto;font-size:.75rem;color:#765519}.address-details summary{border:1px dashed #b7a16b;border-radius:12px;min-height:48px;padding:14px;font-weight:700;font-size:.875rem;cursor:pointer;text-align:center}.address-details[open]{padding-bottom:12px}.secondary,.btn-link{border:1px solid var(--line);border-radius:12px;background:white;padding:13px 18px;min-height:48px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:24px 0}.action-row{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 32px}.list{border-collapse:separate;border-spacing:0;width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:20px 0}th,td{padding:18px 16px;text-align:left;border-bottom:1px solid #ebebe4;overflow-wrap:anywhere}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;background:#efeee5;color:var(--muted)}td{font-size:.9375rem}tr:last-child td{border-bottom:0}.badge{display:inline-block;font-size:.8125rem;line-height:1.4;border:1px solid #dddccf;border-radius:99px;padding:5px 10px;background:#f0efe8}.status-completed,.ok{background:#e9f4e9;color:#225d30;border-color:#c3d8c1}.status-in_progress,.status-approved{background:#fff1c7;color:#725408;border-color:#e6d6a3}.status-cancelled{background:#fae9e6;color:#862e22}.inline-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.inline-form input,.inline-form select{flex:1;min-width:140px}.inline-form label{margin:0}.inline-form button[type=submit]{width:auto;margin:0}.link-btn{background:transparent!important;color:#8a332b!important;border:1px solid #e3cfc8!important;border-radius:10px!important;padding:10px 16px!important;min-height:44px!important;box-shadow:none!important;margin:0!important;width:auto!important}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white}.photo-card img{display:block;aspect-ratio:4/3;object-fit:cover;width:100%}.photo-meta{padding:16px}.photo-meta .badge{margin-bottom:6px}.photo-upload-form{max-width:640px}.checkbox-label{display:flex;gap:12px;align-items:flex-start;font-weight:500;line-height:1.6;cursor:pointer}.checkbox-label input{width:22px;height:22px;accent-color:#8c651a;flex-shrink:0}.notice,.error{padding:16px;border:1px solid #d5bc76;background:#fff4d8;border-radius:12px;margin-bottom:20px}.error{background:#fce9e4;border-color:#e4b3a4;color:#822a1c}.bottom-nav{display:none}.install-bar{max-width:1160px;padding:0 24px 32px;margin:auto;color:var(--muted);font-size:.875rem}.install-bar summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.install-bar p{max-width:600px}
@media(max-width:760px){.topbar{padding:12px 18px;gap:8px}.brand small{display:block;font-size:.625rem;margin-top:4px}.brand-icon{width:34px;height:34px}.records-link{display:none}.logout-link{padding:8px 12px}.container{padding:20px 16px}.hero-wrap{display:block;border-radius:20px}.hero-brand{display:none}.hero-card{padding:24px 20px}.hero-card h1{font-size:2.1rem}.page-step{margin-bottom:12px}.page-heading{align-items:flex-start;flex-direction:column;gap:10px}.page-heading .btn-link{width:100%}.panel{padding:18px 14px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fafaf5f5;border-top:1px solid var(--line);box-shadow:0 -4px 24px #11111108}.bottom-nav a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:.75rem;min-height:48px;text-decoration:none;border-radius:12px;color:var(--muted);font-weight:700}.bottom-nav a[aria-current=page]{background:#f6e5b9;color:#5d440c}.bn-icon{font-size:1.375rem;line-height:1}.install-bar{padding:0 20px calc(106px + env(safe-area-inset-bottom))}.list,.list tbody,.list tr,.list td{display:block}.list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.list{border:0;background:none;overflow:visible}.list tr{border:1px solid var(--line);background:white;border-radius:14px;margin-bottom:12px;padding:10px 14px}.list td{padding:8px 0;border:0}.list td:before{content:attr(data-label);display:block;font-size:.75rem;color:var(--muted);margin-bottom:4px}.list td[data-label=""]:before{display:none}.list td:first-child a{font-weight:800}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-meta{padding:12px}.inline-form{display:block}.inline-form>*{margin-top:10px!important}.inline-form button[type=submit]{width:100%}.action-row>*{flex:1}.location-button{padding:12px;gap:10px}.location-icon{width:40px;height:44px}.location-button .field-hint{font-size:.75rem}}
@media(max-width:360px){.hero-card{padding:22px 14px}.brand small{font-size:.6rem}.photo-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
