.admin-body{background:#f3f3ec;min-height:100vh}.admin-header{height:84px;background:var(--green);color:var(--white);display:flex;align-items:center;justify-content:space-between;padding:1rem clamp(1.3rem,5vw,5rem)}.admin-header .brand{color:var(--white)}.admin-header-actions{display:flex;gap:1.5rem;align-items:center}.admin-header-actions a,.admin-header-actions button{font-size:.78rem;font-weight:700;color:var(--white);background:none;border:0;text-decoration:none}.admin-header-actions button{text-decoration:underline;text-underline-offset:4px}.admin-main{padding:clamp(2rem,5vw,5rem) clamp(1.3rem,5vw,5rem);max-width:1600px;margin:auto}.admin-demo,.global-message{padding:.8rem 1rem;margin-bottom:1rem;background:#e8d6a6;color:var(--deep);font-size:.82rem;font-weight:700}.global-message.error{background:#f7ded9;color:#8b281d}.auth-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:4rem;align-items:start;padding-top:clamp(2rem,5vw,5rem)}.auth-intro h1,.dashboard-top h1{font:600 clamp(3rem,5vw,5rem)/1.1 var(--serif);letter-spacing:-.05em;margin:0}.auth-intro h1 em,.dashboard-top h1 em{color:#9a7c42}.auth-intro>p:last-child{color:var(--muted);max-width:450px}.auth-card{background:var(--white);border:1px solid var(--line);padding:clamp(1.5rem,3vw,2.5rem);box-shadow:0 18px 50px #19342412}.auth-card h2{font:600 1.8rem var(--serif);margin:0 0 1.5rem}.auth-card label,.dialog-form label,.invite-form label{display:block;font-size:.75rem;font-weight:700;margin:0 0 1rem}.auth-card input,.dialog-form input:not([type=checkbox]):not([type=file]),.dialog-form textarea,.dialog-form select,.invite-form input,.panel-heading select{display:block;width:100%;border:1px solid var(--line);border-radius:0;background:#fff;padding:.7rem;margin-top:.35rem;color:var(--ink);font-size:.84rem}.auth-card .button{width:100%}.auth-error,.dialog-error{min-height:1.1rem;color:#a13127;font-size:.75rem;font-weight:700}.auth-links{display:flex;justify-content:space-between;gap:1rem;margin-top:1.2rem}.auth-links button,.plain-button{border:0;background:none;padding:0;font-size:.72rem;font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:3px}.plain-button{margin-top:1.2rem}.dashboard-top{display:flex;justify-content:space-between;gap:2rem;align-items:end}.dashboard-top>div>p:last-child{color:var(--muted);font-size:.8rem}.dashboard-badge{border:1px solid var(--gold);background:#fff9e9;padding:.5rem .8rem;color:#87682e;font-size:.65rem;font-weight:700;letter-spacing:.1em}.dashboard-tabs{display:flex;gap:1rem;border-bottom:1px solid var(--line);margin:2rem 0 2.5rem;overflow:auto}.dashboard-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:.9rem .8rem;color:var(--muted);font-weight:700;font-size:.82rem;white-space:nowrap}.dashboard-tabs button.active{color:var(--green);border-bottom-color:#ac8746}.dashboard-tabs span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e1e5da;margin-left:.3rem;font-size:.7rem}.panel-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.5rem}.panel-heading h2{font:600 2.2rem var(--serif);margin:0}.panel-heading p{color:var(--muted);font-size:.82rem;margin:.35rem 0 0}.panel-heading label{font-size:.72rem;font-weight:700;min-width:175px}.empty-state{background:var(--white);border:1px solid var(--line);padding:2rem;color:var(--muted);font-size:.83rem}.requests-list{display:grid;gap:.8rem}.request-card{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(130px,1fr) minmax(130px,1fr) auto;align-items:center;gap:1rem;background:var(--white);border:1px solid var(--line);padding:1.15rem 1.3rem}.request-card h3{font:600 1.13rem var(--serif);margin:.15rem 0}.request-card p{margin:.1rem 0;color:var(--muted);font-size:.77rem;overflow-wrap:anywhere}.request-card .request-service{font-weight:700;color:var(--green)}.request-card .request-date{color:var(--ink)}.status-pill{display:inline-block;border-radius:999px;background:#edf0e7;padding:.28rem .65rem;font-size:.63rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.status-pill.new{background:#fff0c3;color:#73571d}.status-pill.confirmed{background:#d8ecdc;color:#1f5d2c}.status-pill.declined{background:#f8e0dc;color:#9c3023}.request-card button,.profile-row button,.invite-row button{border:1px solid var(--green);background:transparent;color:var(--green);font-size:.72rem;font-weight:700;padding:.6rem .8rem;white-space:nowrap}.request-card button:hover,.profile-row button:hover{background:var(--green);color:var(--white)}.profiles-list{display:grid;gap:.8rem}.profile-row,.invite-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:var(--white);border:1px solid var(--line);padding:1rem 1.3rem}.profile-row strong,.invite-row strong{display:block;font-size:.9rem}.profile-row span,.invite-row span{font-size:.73rem;color:var(--muted)}.profile-row .profile-status{display:inline-block;margin-top:.25rem;color:#8a7142}.invite-form{display:flex;align-items:end;gap:1rem;max-width:680px;margin-bottom:1.5rem}.invite-form label{flex:1;margin:0}.invite-form .button{white-space:nowrap}.invites-list{display:grid;gap:.6rem}.admin-dialog{width:min(760px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);border:1px solid var(--line);background:var(--white);padding:0;box-shadow:0 24px 80px #14291955}.admin-dialog::backdrop{background:#10251dcc}.dialog-form{padding:clamp(1.3rem,3vw,2.2rem);max-height:calc(100vh - 2rem);overflow:auto}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.4rem}.dialog-heading .tiny-heading{color:#9a7c42}.dialog-heading h2{font:600 2rem var(--serif);margin:.25rem 0}.close-dialog{border:0;background:none;font:400 2rem var(--sans);line-height:1;color:var(--green)}.dialog-contact{color:var(--muted);font-size:.8rem;background:var(--paper);padding:.8rem;margin-bottom:1.4rem;overflow-wrap:anywhere}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.dialog-form textarea{resize:vertical}.dialog-form input[type=file]{display:block;margin-top:.5rem;font-size:.78rem}.dialog-form .checkbox-label{display:flex;align-items:center;gap:.6rem}.dialog-form .checkbox-label input{accent-color:var(--green)}.field-hint{font-size:.7rem;color:var(--muted);margin:-.5rem 0 1rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.6rem}@media(max-width:800px){.auth-panel{grid-template-columns:1fr;gap:2rem}.request-card{grid-template-columns:1fr 1fr}.request-card button{justify-self:start}.dashboard-top{align-items:start}.panel-heading{align-items:start;flex-direction:column}.panel-heading label{width:100%}}@media(max-width:540px){.admin-header{height:auto;min-height:76px}.admin-header-actions{gap:.7rem}.admin-header-actions a,.admin-header-actions button{font-size:.68rem}.request-card{grid-template-columns:1fr}.profile-row,.invite-row{align-items:flex-start;flex-direction:column}.invite-form{flex-direction:column;align-items:stretch}.invite-form label{width:100%}.dialog-grid{grid-template-columns:1fr}.dialog-actions{flex-direction:column}.dialog-actions .button{width:100%}.dashboard-top{flex-direction:column}}
