:root{--wine:#76253e;--ink:#222328;--muted:#70727b;--line:#e7e2e4;--pale:#f4e9ed;--bg:#faf8f8;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:24px 5%;background:white;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:15px;font-size:12px;font-weight:bold;letter-spacing:1.4px}.brand>b{font-size:34px;letter-spacing:-3px;color:#111}.brand small{display:block;font-size:11px;font-weight:normal;letter-spacing:0;margin-top:5px;color:var(--muted)}main{max-width:1240px;margin:0 auto;padding:36px 28px 80px}h1{font-size:34px;letter-spacing:-1.2px;margin:8px 0 12px}h2{font-size:20px;margin:0 0 14px}h3{font-size:16px;margin:0 0 12px}p{line-height:1.6}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--wine);font-weight:bold}.muted,small{color:var(--muted)}nav{display:flex;gap:8px;margin:26px 0;border-bottom:1px solid var(--line);padding-bottom:12px;flex-wrap:wrap}button{font:inherit;cursor:pointer;border:1px solid #dcd3d6;border-radius:7px;padding:11px 16px;background:white;color:var(--ink);font-weight:600}button.primary,nav button.active{background:#76253e;color:#fff;border-color:#76253e}button:disabled{opacity:.55;cursor:wait}button:hover{filter:brightness(.96)}input,select,textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #cfc6c9;border-radius:6px;margin-top:7px;background:white;color:#222}textarea{min-height:85px;resize:vertical}label{display:block;font-size:13px;font-weight:600;margin:16px 0}input[type=checkbox]{display:inline;width:auto;margin-right:9px}form{margin:0}.login{max-width:460px;margin:4vh auto;background:white;padding:32px;border:1px solid var(--line);border-radius:14px}.login button{width:100%;margin-top:12px}.card{border:1px solid var(--line);background:white;border-radius:10px;padding:24px;margin:18px 0}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat{padding:22px;border:1px solid var(--line);border-radius:10px;background:white}.stat strong{font-size:32px;display:block;margin-top:10px}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.toolbar label{flex:1;min-width:130px}.badge{font-size:11px;padding:6px 8px;border-radius:4px;background:#eee;display:inline-block;margin:3px}.warn{background:#fff0dd;color:#8c4a0d;padding:12px;border-radius:6px;font-size:13px;line-height:1.5}.badge.ok{background:#e5f1e9;color:#27603d}.badge.flag{background:#fff0dd;color:#8c4a0d}.empty{text-align:center;padding:60px 20px;color:var(--muted);border:1px dashed #d9cdd2;border-radius:10px;margin:24px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:14px 12px;border-bottom:1px solid var(--line)}td{padding:18px 12px;border-bottom:1px solid var(--line);vertical-align:top}td small{display:block;margin-top:6px}.full{width:100%;min-height:54px}.steps{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.steps span{padding:10px;background:var(--pale);border-radius:5px;font-size:12px}.error{color:#9e2034;white-space:pre-line;font-size:13px;margin:12px 0;line-height:1.5}.success{color:#27603d}.count-box{background:var(--pale);padding:18px;border:2px solid var(--wine);border-radius:9px}.count-box input{font-size:32px;font-weight:bold;min-height:65px}.count-box label{margin:0}.count-box small{display:block;margin-bottom:9px;color:var(--wine)}dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:min(850px,96vw);max-height:92dvh}dialog::backdrop{background:#26202a99}dialog[open]{display:flex;flex-direction:column}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0}.modal-head button{padding:5px 10px;font-size:22px}#modal-body{overflow:auto;padding:22px;flex:1;min-height:0}#modal-actions{padding:16px 22px;border-top:1px solid var(--line);background:white;display:flex;gap:10px;flex-wrap:wrap}#modal-actions:empty{display:none}video,.capture-photo{width:100%;max-height:35vh;object-fit:contain;background:#222;border-radius:8px;margin:16px 0}.photos{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.photos article{border:1px solid var(--line);border-radius:7px;padding:12px}.photos img{width:100%;height:220px;object-fit:contain;background:#f5f4f4}.photos small{display:block;line-height:1.6;overflow-wrap:anywhere}.audit{border-left:2px solid #d8b9c4;padding:3px 0 3px 14px;margin:16px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#28212a;color:#fff;padding:14px 20px;border-radius:8px;display:none;z-index:100}.auth-email{font-size:12px;margin-right:12px}a{color:var(--wine)}[hidden]{display:none!important}@media(max-width:650px){header{padding:18px 16px}.brand{font-size:10px}.brand>b{font-size:28px}main{padding:24px 16px 70px}h1{font-size:29px}.auth-email{display:none}.grid{gap:7px}.stat{padding:14px 10px;font-size:11px}.stat strong{font-size:27px}.card{padding:18px}.login{padding:24px;margin-top:15px}.split,.photos{grid-template-columns:1fr}dialog{max-height:94dvh}#modal-actions{padding:12px}#modal-actions button{flex:1;min-height:50px}#modal-body{padding:16px}.toolbar label{min-width:120px}th,td{padding:12px 8px}.photos img{height:230px}}@media print{header button,nav,.toolbar,button,#toast{display:none!important}body,main{background:white}main{padding:0}.card{break-inside:avoid}.photos img{height:180px}dialog{position:static;max-height:none;width:100%;border:0}dialog[open]~*{display:none}body:has(dialog[open])>main,body:has(dialog[open])>header{display:none}#modal-body{overflow:visible}.photos{grid-template-columns:repeat(2,1fr)}}

.settlement-summary{overflow-wrap:anywhere;min-width:130px;max-width:230px}@media print{.settlement-summary{min-width:0;width:22%}.table-wrap{overflow:visible}tr{break-inside:avoid}}

.company-logo{width:190px;height:auto;display:block}@media(max-width:650px){.company-logo{width:135px}.brand{gap:10px}}

.app-updates{text-align:center;padding:0 16px 24px}@media print{.app-updates{display:none}}

.company-logo{width:83px;height:60px;object-fit:contain}@media(max-width:650px){.company-logo{width:69px;height:50px}}

.photo-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-step{min-height:88px;text-align:left;background:#76253e;color:white;border:2px solid #76253e;padding:14px}.photo-step strong{display:block;font-size:16px}.photo-step small{display:block;margin-top:8px;color:inherit;font-size:11px;line-height:1.5;font-weight:normal}.photo-step.saved{background:#e5f1e9;color:#215338;border-color:#6f9b80}.photo-step:disabled{opacity:1;background:#f2eff0;color:#747078;border-color:#e2dce0;cursor:not-allowed}.photo-step:nth-child(5){grid-column:1/-1}
/* Chosen design: Burgundy Signature with an editorial serif headline. */
body.supervisor-design{background:#f9f7f8}
.supervisor-design>header{max-width:540px;margin:auto;padding:22px 24px 12px;border:0;background:transparent;gap:10px}
.supervisor-design .company-logo{width:58px;height:42px;background:white;border-radius:6px}
.supervisor-design .brand{gap:12px;font-size:10px;letter-spacing:1.1px}
.supervisor-design .brand small{font-size:9px}
.supervisor-design .auth-email{display:none}
.supervisor-design #logout{font-size:11px;padding:9px 11px;border-radius:22px;background:#fff}
.supervisor-design>main{max-width:540px;padding:12px 22px 22px}
.supervisor-design .workspace-heading{display:block;border-radius:22px;padding:28px 24px;background:#772c44;color:#fff}
.supervisor-design .workspace-heading .eyebrow{color:#e1bcc9;font-size:9px;letter-spacing:1.8px}
.supervisor-design .workspace-heading h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(34px,9vw,44px);line-height:1.08;letter-spacing:-1.2px;margin:20px 0 16px}
.supervisor-design .workspace-heading p{font-size:13px;line-height:1.8;color:#eee0e5;margin:0}
.supervisor-design .workspace-heading .badge{display:block;background:transparent;color:#e5eee7;padding:0;margin:24px 0 0;font-size:10px;font-weight:400}
.supervisor-design .workspace-heading .badge::before{content:'●';color:#b8d3bb;margin-right:7px;font-size:8px}
.supervisor-design nav{border:0;justify-content:flex-end;margin:10px 0 0;padding:0}
.supervisor-design nav [data-tab]{display:none}
.supervisor-design #refresh{border:0;background:transparent;color:#82737a;padding:8px 2px;font-size:11px;font-weight:400}
.supervisor-design #page-error:empty{display:none}
.supervisor-design #group-steps{background:transparent;border:0;padding:0 2px;margin:12px 0 0}
.group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}
.group-heading h2{font-size:19px;letter-spacing:-.5px;margin:0}
.group-heading small{font-size:9px;white-space:nowrap;color:#82737a}
.supervisor-design #group-steps>label{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:#82737a;font-weight:400;margin:18px 0}
.supervisor-design #group-steps select{min-height:52px;border:1px solid #e5dde1;border-radius:12px;padding:14px 12px;background:#fff;font-size:13px;letter-spacing:0;color:#2a2025;font-weight:600;text-transform:none}
.group-caption{font-size:11px;color:#82737a;margin:18px 0 28px;line-height:1.7}
.photo-progress{display:flex;justify-content:space-between;font-size:11px;margin:0 0 10px;color:#2a2025;font-weight:600}.photo-progress span:last-child{color:#82737a;font-weight:400}
.photo-progress-bar{display:block;width:100%;height:4px;appearance:none;border:0;background:#e7dfe3;border-radius:5px;margin:0 0 20px}.photo-progress-bar::-webkit-progress-bar{background:#e7dfe3;border-radius:5px}.photo-progress-bar::-webkit-progress-value{background:#772c44;border-radius:5px}.photo-progress-bar::-moz-progress-bar{background:#772c44;border-radius:5px}
.supervisor-design .photo-steps{gap:12px}.supervisor-design .photo-step{border:1px solid #772c44;border-radius:15px;padding:17px 14px;min-height:124px;background:#772c44}.supervisor-design .step-number{display:block;font-size:10px;letter-spacing:1px;opacity:.6;margin:0 0 19px;font-weight:400}.supervisor-design .photo-step strong{font-size:14px}.supervisor-design .photo-step small{font-size:10px;line-height:1.6;margin-top:7px}.supervisor-design .photo-step.saved{background:#eff6f0;color:#36664d;border-color:#c2d8ca}.supervisor-design .photo-step:disabled{background:#fdfcfc;border-color:#e8e3e6;color:#827d82}.supervisor-design .photo-step:nth-child(5){min-height:76px}.supervisor-design .photo-step:nth-child(5) .step-number{float:left;margin:3px 15px 0 0}.supervisor-design #group-steps>p.muted{font-size:11px;color:#82737a;line-height:1.8;margin-top:20px}.supervisor-design .app-updates button{border:0;background:transparent;font-size:10px;color:#82737a;font-weight:400}
@media(max-width:360px){.supervisor-design>header{padding:18px 16px 8px}.supervisor-design>main{padding:10px 16px 20px}.supervisor-design .brand{font-size:9px;gap:8px}.supervisor-design .company-logo{width:48px;height:35px}.supervisor-design .workspace-heading{padding:24px 20px}.supervisor-design .photo-step{padding:14px 12px}.group-heading small{font-size:8px}}

.supervisor-design .new-company-group{border:0;background:transparent;padding:0;color:#772c44;font-size:11px;font-weight:500;margin:0 0 4px}

.site-search{border:1px solid #e6dce0;border-radius:12px;padding:16px;margin:16px 0;background:#fcf9fa}.site-search iframe{width:100%;height:260px;border:0;border-radius:8px}.site-result{padding:12px 0;border-bottom:1px solid #e6dce0}.site-result p{overflow-wrap:anywhere}.site-search small{display:block;margin-top:12px}.site-search button{margin-bottom:8px}

button.danger{color:#a9233d;border-color:#dab3bc}.row>p{overflow-wrap:anywhere;min-width:0}

.supervisor-design .workspace-heading,.supervisor-design .brand>div{display:none}.supervisor-design .group-heading{justify-content:flex-end;margin-bottom:12px}

.progress-capture{margin-top:24px;padding-top:20px;border-top:1px solid #e6dce0}.progress-capture small{display:block;margin:10px 0}.progress-capture button{margin-bottom:8px}.supervisor-design input{font-size:16px}#summary-project{max-width:500px}

.progress-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.progress-thumb{display:block;aspect-ratio:3/4;min-width:0;padding:0;overflow:hidden;border:1px solid #ded7db;border-radius:10px;background:#fff}.progress-thumb.empty{border-style:dashed;background:transparent}.progress-thumb img{display:block;width:100%;height:100%;object-fit:cover;font-size:11px;color:#746870}.progress-thumb:focus-visible{outline:3px solid #772c44;outline-offset:3px}

.progress-thumb.empty{margin:0;padding:0}.progress-thumbnails{align-items:start}

.supervisor-design.pm-design nav [data-tab]{display:inline-flex;font-size:12px;padding:10px 12px}
.supervisor-design.pm-design nav{justify-content:flex-start;gap:8px;flex-wrap:wrap}

.sync-panel{font-size:12px;line-height:1.5;padding:12px 14px;margin:8px 0 14px;border:1px solid #e6dce1;border-radius:12px;background:#f3f7f5}.sync-panel button{font-size:12px;margin:8px 0 0;padding:7px 12px}.sync-panel p{margin:8px 0;color:#8b2540}.sync-panel.warn{background:#fff3e3}
