@font-face{font-family:Inter;src:url(/assets/inter-latin.woff2) format("woff2");font-display:swap}
:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;--ink:#142b42;--muted:#496074;--brand:#086b80;--line:#cbdce4;--surface:#fff;--bg:#eff5f8;--radius:.8rem}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55}button,input,select,textarea{font:inherit}
a{color:#075b72;text-underline-offset:.22em}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}
:focus-visible{outline:3px solid #007692;outline-offset:3px}
.top{background:var(--surface);border-bottom:1px solid var(--line)}.top-inner,.wrap{max-width:81rem;margin:auto;padding-inline:clamp(.8rem,4vw,2.6rem)}
.top-inner,.top-actions,.identity,.bar,.actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.top-inner{justify-content:space-between;padding-block:.75rem}.identity{text-decoration:none;font-weight:730;color:var(--ink)}.identity img{width:8.75rem;height:auto}.top-actions{font-size:.9rem}
.wrap{padding-block:1.7rem 3rem}.login{max-width:31rem;margin:clamp(.5rem,7vw,5rem) auto}.login form{display:grid;gap:.9rem}
h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.65rem,4vw,2.45rem);line-height:1.14;letter-spacing:-.04em;margin-bottom:.6rem}
h2{font-size:1.3rem;line-height:1.2}h3{font-size:1rem}.muted,p.muted,.login p{color:var(--muted)}.legacy{margin-top:1.4rem;border-top:1px solid var(--line);padding-top:1rem;font-size:.9rem}.legacy p{margin:.25rem 0 0}
.panel,.stat,.row{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(.85rem,3vw,1.55rem);min-width:0}.panel+.panel{margin-top:1rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.48rem .85rem;border:1px solid var(--brand);border-radius:.52rem;color:white;background:var(--brand);text-decoration:none;font-weight:680;text-align:center}
.button.secondary{background:#fff;color:#075b72;border-color:#9dbac9}.text{color:#075b72;text-decoration:underline;text-underline-offset:.18em;border:0;background:none;min-height:44px;padding:.45rem .2rem;text-align:left}
.notice{background:#e0f2f5;border:1px solid #85bcc9;border-radius:.55rem;padding:.75rem;margin-bottom:1rem;overflow-wrap:anywhere}.notice.error{background:#fff1f0;border-color:#cc807a;color:#751e21}
.sections{display:flex;gap:.3rem;overflow-x:auto;margin-bottom:1.45rem;padding:.2rem .15rem .45rem;scrollbar-width:thin}.sections button{padding:.55rem .75rem;white-space:nowrap;min-height:44px;border:1px solid transparent;border-radius:.45rem;background:transparent;color:var(--ink);font-weight:600}.sections [aria-current=page]{background:#dceff4;border-color:#a9cad7;color:#07566a}
.bar{justify-content:space-between;margin-bottom:1rem}.bar h1{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.8rem;margin-bottom:1.15rem}.stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.stat strong{display:block;font-size:1.85rem;line-height:1.2}.stat span{font-size:.9rem;color:var(--muted)}.list{display:grid;gap:.55rem}.row{padding:.7rem 1rem}.row button.text{font-weight:700}.row p{margin:0}.stack{display:grid;gap:.85rem}
label{display:grid;gap:.35rem;font-weight:630;font-size:.88rem;min-width:0}input,textarea,select{width:100%;min-height:44px;background:#fff;border:1px solid #99b4c3;border-radius:.45rem;color:var(--ink);padding:.55rem .65rem;font-size:1rem}textarea{min-height:88px;resize:vertical}label.check{display:flex;align-items:center;gap:.6rem;min-height:44px}input[type=checkbox]{width:1.2rem;height:1.2rem;min-height:auto}fieldset{min-width:0;border:1px solid var(--line);border-radius:.55rem;padding:.85rem;margin:0}.position{border-left:3px solid #68aebc}
.badge{display:inline-block;padding:.17rem .5rem;border-radius:.4rem;background:#e6f0f5;color:#24485c;font-size:.8rem;font-weight:660}.details{font-size:.94rem;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.gallery img{width:100%;height:9rem;object-fit:cover;border-radius:.4rem}.gallery figure{margin:0}.gallery figcaption{font-size:.86rem;overflow-wrap:anywhere}dialog{border:0;border-radius:.75rem;width:min(92vw,60rem);max-height:91vh;padding:1rem}dialog::backdrop{background:#09192bc7}dialog img{display:block;max-width:100%;max-height:75vh;margin:1rem auto}
.scroll{overflow:auto}.table{border-collapse:collapse;width:100%;min-width:27rem}.table th,.table td{padding:.6rem;text-align:left;border-bottom:1px solid var(--line)}
@media(max-width:540px){.top-inner{gap:.45rem}.identity img{width:6rem}.identity span{font-size:.82rem}.top-actions{gap:.6rem}.wrap{padding-top:1rem}.actions .button{flex:1 1 auto}}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem}.month-weekday{font-weight:700;text-align:center;color:var(--muted)}
.month-day,.month-blank{min-height:5.1rem;background:#fff;border:1px solid var(--line);border-radius:.45rem;padding:.45rem;min-width:0}
.month-blank{background:#e6eef2}.month-day button{display:block;font-size:.83rem;width:100%;overflow-wrap:anywhere}
@media(max-width:680px){.month-grid{grid-template-columns:minmax(0,1fr)}.month-weekday,.month-blank,.month-day:not(.has-orders){display:none}.month-day{min-height:auto}.month-day button{font-size:.95rem}}

.mobile-navigation{display:none}
.sections{flex-wrap:wrap;overflow:visible}
.section-link{display:flex;align-items:center;min-height:44px;padding:.55rem .75rem;color:var(--ink);font-weight:600;text-decoration:none;border-radius:.45rem}
.section-link:hover{background:#e0f1f5;text-decoration:underline}
.permission-list{display:grid;gap:.3rem;padding:.8rem 1rem 1rem;background:#f5f9fb}
.permission-list legend{font-weight:730;color:var(--ink);padding-inline:.35rem}
.permission-list p{margin:0 0 .4rem;font-size:.92rem}
.permission-choice{padding:.25rem .1rem;border-top:1px solid var(--line)}
.check input[type=checkbox]{accent-color:var(--brand);flex:none}
.row>.bar{margin-bottom:.3rem}
.stats .stat{padding:1rem 1.12rem}
@media(max-width:1100px){
  .portal-nav{margin-bottom:1.15rem}
  .portal-nav .sections{display:none}
  .mobile-navigation{display:block;border:1px solid var(--line);border-radius:.65rem;background:var(--surface)}
  .mobile-navigation summary{display:flex;align-items:center;gap:.75rem;min-height:48px;padding:.55rem .8rem;cursor:pointer;list-style:none}
  .mobile-navigation summary::-webkit-details-marker{display:none}
  .mobile-navigation summary>span{font-size:.8rem;color:var(--muted)}
  .mobile-navigation summary>strong{flex:1;font-size:.96rem}
  .mobile-navigation summary::after{content:"";width:.48rem;height:.48rem;margin-right:.15rem;border:solid var(--brand);border-width:0 2px 2px 0;transform:rotate(45deg);translate:0 -.13rem}
  .mobile-navigation[open] summary::after{transform:rotate(225deg);translate:0 .13rem}
  .mobile-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.3rem),1fr));gap:.25rem;padding:.4rem .55rem .6rem;border-top:1px solid var(--line)}
  .mobile-sections button{min-height:44px;border:1px solid transparent;border-radius:.38rem;background:transparent;color:var(--ink);font-weight:600;text-align:left;padding:.42rem .55rem}
  .mobile-sections .section-link{padding:.42rem .55rem}
  .mobile-sections [aria-current=page]{background:#e0f1f5;border-color:#a9cad7;color:#07566a}
}
@media(max-width:540px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-bottom:.85rem}
  .stats .stat{padding:.65rem .75rem}
  .stats .stat strong{font-size:1.45rem}
  .stats .stat span{display:block;font-size:.8rem;line-height:1.3;margin-top:.2rem}
  .row>.bar{gap:.4rem}
  .row .text{overflow-wrap:anywhere}
}
.offer-position { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto; gap:1rem; overflow-wrap:anywhere; }
.offer-position > :last-child { text-align:right; }
.offer-photos { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:1rem; }
.offer-photos img { width:100%; height:10.5rem; object-fit:contain; background:#eef4f7; border-radius:.5rem; }
.offer-photos article,.photo-portal { overflow-wrap:anywhere; }
.photo-portal { max-width:54rem; }
.photo-portal input:not([type=checkbox]) { min-width:0; width:100%; }
.button.response-accept { background:#087251; }
.button.response-decline { background:#a62129; }


.photo-portal [data-binding] ul { padding-inline-start:1.25rem; }
.button.danger { background:#fff; border-color:#c8837e; color:#8e2622; }
.button.danger:hover { background:#fff0ed; }
.record-heading { display:flex; justify-content:space-between; gap:.55rem 1.1rem; align-items:flex-start; flex-wrap:wrap; min-width:0; }
.record-heading > :first-child { min-width:0; overflow-wrap:anywhere; }
.record-heading h3,.finance-card h3 { margin:0; line-height:1.35; }
.record-heading .muted { margin:.2rem 0 0; }
.finance-amount { display:grid; gap:.25rem; justify-items:end; align-self:flex-start; }
.finance-amount strong { font-variant-numeric:tabular-nums; white-space:nowrap; }
.badge-warn { background:#fff3dc; color:#713f0c; border:1px solid #efd29b; }
.order-request { scroll-margin-top:1rem; }
.order-request:focus { outline:3px solid #007692; outline-offset:2px; }
.payment-confirmation { width:min(92vw,32rem); padding:clamp(1rem,5vw,1.5rem); color:var(--ink); }
.payment-confirmation h2,.payment-confirmation p { margin:0; overflow-wrap:anywhere; }
.payment-confirmation .actions { justify-content:flex-end; }
@media(max-width:36rem) {
  .offer-position { grid-template-columns:minmax(0,1fr) auto; gap:.4rem .8rem; }
  .offer-position > :nth-child(2) { grid-column:1/-1; grid-row:2; }
}
@media(max-width:30rem) {
  .payment-confirmation .actions { display:grid; }
  .finance-card .record-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; }
}
.documentation-image{display:block;max-width:100%;max-height:440px;object-fit:contain;border-radius:10px}.mail-review{max-width:720px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;border:1px solid #b4cad8;border-radius:16px;padding:24px}.mail-content,pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit}.customer-workspace{max-width:1100px}.customer-alert{border:1px solid #d79aa0;border-radius:10px;padding:16px}.customer-alert.unread{border-left:5px solid #ac2533;animation:cw-unread 2s ease-in-out infinite}.customer-alert summary{cursor:pointer;font-weight:700}@keyframes cw-unread{50%{background:#fff1f2}}@media(prefers-reduced-motion:reduce){.customer-alert.unread{animation:none;background:#fff1f2}}@media(max-width:620px){.mail-review{padding:16px}.mail-review .actions{flex-direction:column}.mail-review .button{width:100%}}

/* Ordered workflow and a separate administrative row. */
.portal-nav .sections{display:block}.navigation-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.navigation-secondary{border-top:1px solid var(--line);padding-top:9px;margin-top:9px}.navigation-row:empty{display:none}.navigation-row .section-link{white-space:nowrap}
@media(max-width:1100px){.portal-nav .sections{display:none}.mobile-sections{display:block}.mobile-sections .navigation-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mobile-sections .navigation-secondary{margin-top:8px;padding-top:8px}}

/* Employee documentation and explicitly separated object/document grants. */
.object-grants {display:grid;gap:.55rem;padding:1rem;min-width:0;}
.object-grants h3 {font-size:1rem;margin:.75rem 0 .1rem;}
.object-grants .check {min-height:2.75rem;align-items:center;}
.work-metrics {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem 1rem;margin:0;}
.work-metrics dt {color:var(--muted,#557084);}
.work-metrics dd {margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
@media(max-width:30rem){.work-metrics{grid-template-columns:minmax(0,1fr);gap:.2rem;}.work-metrics dd{text-align:left;margin-bottom:.6rem;}}

.important-notice,.customer-alert{border:2px solid #b42332;border-radius:12px;padding:18px;background:#fff5f5}.customer-tabs{margin:24px 0;gap:8px;flex-wrap:wrap}.customer-tabs [aria-selected="true"]{background:#087f91;color:white}.customer-tab-content[hidden]{display:none}.customer-tab-content .panel{margin-top:18px}.customer-tab-content{min-width:0}.photo-portal img,.photo-portal video{max-width:100%;height:auto}.photo-portal dialog img,.photo-portal dialog video{max-height:45vh;object-fit:contain}
