@scope(.mba-portal){:scope{--primary:var(--ochre);--primary-foreground:var(--ochre-foreground);--radius:.375rem;--surface:#223144;--sidebar-bg:#162537;--brand-ink:#e99b2a;--success:#8bd8ab;--success-bg:#2b4435;--warning:#fcc270;--warning-bg:#4f3c20;--info:#99cbf1;--info-bg:#2c4558;--image-ink:#fcfcfc;--image-overlay:linear-gradient(180deg, transparent 20%, #162537d9);--shadow-panel:0 10px 32px #1625240f}@supports (color:lab(0% 0 0)){:scope{--surface:lab(19.7982% -1.72605 -14.1004);--sidebar-bg:lab(13.9801% -1.38752 -14.0229);--brand-ink:lab(70.6914% 24.1602 66.1517);--success:lab(80.4523% -32.2114 14.2111);--success-bg:lab(26.294% -12.8573 5.67405);--warning:lab(82.5724% 14.5738 49.3804);--warning-bg:lab(26.9127% 5.99976 20.4213);--info:lab(79.1175% -9.76765 -24.4847);--info-bg:lab(28.0611% -5.49741 -14.5841);--image-ink:lab(98.84% .0000298023 -.0000119209);--image-overlay:linear-gradient(180deg, transparent 20%, lab(13.9801% -1.38752 -14.0229/.85));--shadow-panel:0 10px 32px lab(13.2282% -6.70256 -1.36386/.06)}}*{letter-spacing:0}:scope{font-family:var(--font-sans);font-size:14px}h1,h2,h3,.brand{font-family:var(--font-display)}h1{font-size:30px;font-weight:750;line-height:1.3}h2{font-size:19px;font-weight:700}h3{font-size:15px;font-weight:700}button,input,select,textarea{font:inherit}input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--foreground);border-radius:5px;outline:none;padding:11px 13px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in oklch,var(--primary) 12%,transparent)}textarea{resize:vertical;min-height:86px}label{font-size:13px;font-weight:600;display:block}label>input,label>select,label>textarea,label>.password-field{margin-top:8px}form>label,form>.form-grid{margin-bottom:20px}.brand{color:var(--brand-ink);align-items:center;gap:10px;display:flex}.brand-symbol{border:1.5px solid var(--brand-ink);border-radius:3px;place-items:center;width:39px;height:44px;display:grid}.brand strong{font-size:14px;font-weight:800;display:block}.brand span{margin-top:2px;font-size:10px;font-weight:700;display:block}.brand small{color:var(--muted-foreground);margin-top:10px;font-size:9px;font-weight:500;display:block}.eyebrow{letter-spacing:0;color:var(--primary);margin-bottom:13px;font-size:10px;font-weight:700}.muted{color:var(--muted-foreground);font-size:12px}.auth-page{background:var(--surface);flex-direction:column;min-height:100vh;display:flex}.auth-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:100px;padding:0 6%;display:flex}.auth-header>span{color:var(--muted-foreground);align-items:center;gap:8px;font-size:12px;display:flex}.auth-main{flex:1;grid-template-columns:1fr 1fr;min-height:660px;display:grid}.auth-image{min-height:620px;position:relative;overflow:hidden}.auth-image>img{object-fit:cover;width:100%;height:100%;position:absolute}.auth-image:after{content:"";background:var(--image-overlay);position:absolute;inset:0}.auth-image-copy{z-index:1;color:var(--image-ink);position:absolute;bottom:65px;left:12%;right:8%}.auth-image-copy>span{font-size:10px;font-weight:600}.auth-image-copy h2{margin:22px 0;font-size:46px;font-weight:650;line-height:1.2}.auth-image-copy p{opacity:.85;font-size:13px}.auth-form-wrap{justify-content:center;align-items:center;padding:64px 45px;display:flex}.auth-form{width:100%;max-width:370px}.auth-form h1{margin:8px 0 14px;font-size:33px}.auth-subtitle{color:var(--muted-foreground);margin-bottom:38px;font-size:14px;line-height:1.8}.auth-form input{height:47px}.password-field{position:relative}.password-field input{padding-right:45px}.password-field button{color:var(--muted-foreground);position:absolute;top:5px;right:5px}.auth-submit{justify-content:space-between;width:100%;height:47px;margin-top:7px}.forgot-link{margin:16px auto 0;font-size:12px;display:flex}.invite-notice{border-top:1px solid var(--border);color:var(--muted-foreground);gap:12px;margin-top:38px;padding-top:26px;display:flex}.invite-notice svg{color:var(--primary);flex-shrink:0}.invite-notice strong{color:var(--foreground);font-size:12px;font-weight:600}.invite-notice p{margin-top:6px;font-size:11px;line-height:1.6}.form-message{color:var(--destructive);padding:10px 0;font-size:12px}.auth-footer{color:var(--muted-foreground);border-top:1px solid var(--border);justify-content:space-between;padding:24px 6%;font-size:10px;display:flex}.reset-page{flex-direction:column;justify-content:center;align-items:center;gap:44px;min-height:100vh;display:flex}.reset-form{width:90%;max-width:380px}.reset-form h1{margin-bottom:24px}.portal-shell{min-height:100vh;display:flex}.portal-sidebar{background:var(--sidebar-bg);border-right:1px solid var(--border);z-index:25;flex-direction:column;flex-shrink:0;width:252px;padding:29px 18px 0;display:flex;position:fixed;inset:0 auto 0 0}.portal-sidebar>.brand{margin-bottom:37px;padding-left:10px}.workspace-label{color:var(--muted-foreground);margin:0 12px 12px;font-size:9px;font-weight:700}.workspace-select{border:1px solid var(--border);background:var(--surface);justify-content:flex-start;width:100%;height:64px;margin-bottom:22px;padding:10px}.workspace-avatar{background:var(--secondary);width:34px;height:34px;color:var(--primary);border-radius:5px;place-items:center;display:grid}.workspace-select>span{text-align:left;flex:1;font-size:12px;overflow:hidden}.workspace-select small{color:var(--muted-foreground);margin-top:4px;font-size:10px;font-weight:400;display:block}.workspace-select>svg{width:12px}.portal-sidebar nav{flex-direction:column;gap:5px;margin-bottom:33px;display:flex}.portal-sidebar nav>button,.company-nav{width:100%;height:40px;color:var(--muted-foreground);justify-content:flex-start;padding:0 12px;font-size:12px;font-weight:500}.portal-sidebar nav>button.nav-active{background:var(--secondary);color:var(--primary);font-weight:700}.nav-count{background:var(--surface);border-radius:3px;min-width:21px;margin-left:auto;padding:2px;font-size:10px}.company-nav{font-size:11px}.company-nav>svg{width:12px;margin-left:auto}.company-dot{background:var(--primary);border-radius:50%;width:7px;height:7px;margin-right:4px}.company-active{background:var(--secondary);color:var(--primary)}.add-company{color:var(--muted-foreground);justify-content:flex-start;margin-top:9px;font-size:11px}.sidebar-bottom{margin-top:auto}.secure-note{border-top:1px solid var(--border);color:var(--muted-foreground);align-items:center;gap:10px;padding:23px 8px;font-size:10px;display:flex}.secure-note svg{width:17px;color:var(--primary)}.secure-note small{margin-top:4px;font-size:9px;display:block}.user-row{border-top:1px solid var(--border);align-items:center;gap:9px;padding:18px 3px;display:flex}.user-initials{background:var(--secondary);color:var(--primary);border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:grid}.user-row>div{flex:1;min-width:0}.user-row strong{text-overflow:ellipsis;font-size:11px;display:block;overflow:hidden}.user-row small{color:var(--muted-foreground);margin-top:3px;font-size:9px;display:block}.user-row button{color:var(--muted-foreground)}.portal-body{flex-direction:column;width:calc(100% - 252px);margin-left:252px;display:flex}.portal-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:15px;height:72px;padding:0 38px;display:flex}.breadcrumbs{color:var(--muted-foreground);align-items:center;gap:12px;font-size:11px;display:flex}.breadcrumbs strong{color:var(--foreground);font-weight:500}.breadcrumbs svg{width:12px}.header-secure{color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:7px;font-size:10px;display:flex}.header-secure>svg{color:var(--primary);margin-left:16px}.live-dot{background:var(--success);border-radius:50%;width:6px;height:6px;display:inline-block}.portal-main{flex:1;width:100%;max-width:1550px;margin:0 auto;padding:38px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading .eyebrow{margin-bottom:9px}.page-heading p{color:var(--muted-foreground);margin-top:10px;font-size:12px}.page-heading>button{font-size:12px}.stats{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:repeat(4,1fr);margin-bottom:38px;display:grid}.stats>div{border-right:1px solid var(--border);padding:21px 22px}.stats>div:last-child{border:0}.stats>div>span{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:5px;font-size:11px;display:flex}.stats svg{width:15px;color:var(--primary)}.stats strong{font-size:30px;font-weight:600;font-family:var(--font-display);margin:10px 0 6px;display:block}.stats small{color:var(--muted-foreground);font-size:9px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.section-heading h2{font-size:16px}.section-heading h2>span{font-family:var(--font-sans);color:var(--muted-foreground);background:var(--muted);border-radius:4px;margin-left:6px;padding:3px 7px;font-size:10px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.project-card{border:1px solid var(--border);background:var(--surface);border-radius:6px;transition:box-shadow .2s;overflow:hidden}.project-card:hover{box-shadow:var(--shadow-panel)}.project-cover{height:175px;position:relative;overflow:hidden}.project-cover>img{object-fit:cover;object-position:50% 55%;width:100%;height:100%}.project-cover:after{content:"";background:var(--image-overlay);position:absolute;inset:0}.project-cover>span{z-index:1;background:var(--surface);color:var(--primary);border-radius:3px;padding:5px 8px;font-size:8px;font-weight:700;position:absolute;top:15px;left:17px}.project-company{z-index:1;color:var(--image-ink);font-size:12px;font-weight:600;position:absolute;bottom:16px;left:20px}.project-card-:scope{padding:20px 20px 0}.project-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.project-title h3{font-size:17px}.project-title button{color:var(--muted-foreground)}.address{color:var(--muted-foreground);gap:6px;margin:3px 0 19px;font-size:10px;display:flex}.address svg{flex-shrink:0}.project-ref{justify-content:space-between;margin-bottom:24px;font-size:10px;display:flex}.project-ref>span:first-child{background:var(--muted);color:var(--muted-foreground);border-radius:3px;padding:4px 7px}.project-ref>span:last-child{color:var(--muted-foreground);padding:4px 0}.progress-label{color:var(--muted-foreground);justify-content:space-between;margin-bottom:8px;font-size:10px;display:flex}.progress-label strong{color:var(--foreground)}progress{appearance:none;background:var(--muted);border:0;border-radius:4px;width:100%;height:5px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--muted)}progress::-webkit-progress-value{background:var(--primary)}.project-card-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;margin-top:23px;padding:13px 0;display:flex}.project-card-footer>span{color:var(--warning);font-size:10px}.project-card-footer button{color:var(--primary);padding-right:0;font-size:10px}.portal-footer{border-top:1px solid var(--border);color:var(--muted-foreground);justify-content:space-between;margin-top:40px;padding:22px 38px;font-size:9px;display:flex}.portal-footer>span:last-child span{margin:0 9px}.heading-actions{gap:8px;display:flex}.heading-actions button{font-size:11px}.project-metadata{border-top:1px solid var(--border);gap:45px;margin-top:-5px;padding:22px 0;display:flex}.project-metadata div>span{color:var(--muted-foreground);margin-bottom:7px;font-size:8px;display:block}.project-metadata strong{font-size:11px;font-weight:500}.project-metadata>button{margin-left:auto;font-size:10px}.stage-bar{background:var(--secondary);border:1px solid var(--border);border-radius:5px;align-items:center;gap:15px;margin-bottom:23px;padding:15px 18px;display:flex}.stage-bar select{background:0 0;border:0;max-width:310px;padding:0;font-size:12px;font-weight:650}.stage-state{color:var(--primary);border:1px solid color-mix(in oklch,var(--primary) 20%,transparent);border-radius:4px;padding:4px 6px;font-size:9px}.stage-progress{color:var(--muted-foreground);margin-left:auto;font-size:10px}.section-tabs{border-bottom:1px solid var(--border);gap:19px;margin-bottom:22px;display:flex}.section-tabs button{height:auto;color:var(--muted-foreground);border-bottom:2px solid #0000;border-radius:0;padding:0 2px 14px;font-size:12px}.section-tabs button.tab-active{border-color:var(--primary);color:var(--primary)}.section-tabs button>span{background:var(--muted);border-radius:3px;padding:2px 5px;font-size:9px}.checklist-toolbar{align-items:center;gap:12px;margin-bottom:18px;display:flex}.search-field{border:1px solid var(--border);background:var(--surface);max-width:350px;color:var(--muted-foreground);border-radius:5px;flex:1;align-items:center;gap:8px;padding:0 12px;display:flex}.search-field input{font-size:11px;box-shadow:none!important;border:0!important;padding:10px 0!important}.filter-field{border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);border-radius:5px;align-items:center;gap:5px;padding:0 8px;display:flex}.filter-field select{padding:10px 0;font-size:10px;border:0!important}.checklist-toolbar>.muted{margin-left:auto;font-size:10px}.checklist-table{border:1px solid var(--border);background:var(--surface);border-radius:5px;overflow:hidden}.table-header,.checklist-row{grid-template-columns:45px minmax(180px,1fr) 115px 145px 43px 30px;align-items:center;gap:14px;padding:0 18px;display:grid}.table-header{background:var(--muted);height:42px;color:var(--muted-foreground);font-size:8px;font-weight:600}.checklist-row{border-top:1px solid var(--border);min-height:72px;padding-top:14px;padding-bottom:14px}.item-reference{color:var(--muted-foreground);font-size:12px;font-weight:600}.item-title button{white-space:normal;text-align:left;height:auto;color:var(--foreground);justify-content:flex-start;padding:0;font-size:11px;font-weight:550;line-height:1.6;text-decoration:none}.item-title button:hover{color:var(--primary)}.item-title small{color:var(--muted-foreground);margin-top:4px;font-size:9px;display:block}.stage-required{color:var(--muted-foreground);font-size:10px}.status-badge{white-space:nowrap;background:var(--muted);width:fit-content;color:var(--muted-foreground);border-radius:4px;align-items:center;gap:6px;padding:5px 8px;font-size:9px;display:inline-flex}.status-badge>span{background:currentColor;border-radius:50%;width:4px;height:4px}.status-satisfied{background:var(--success-bg);color:var(--success)}.status-submitted{background:var(--info-bg);color:var(--info)}.status-revision-required{background:var(--warning-bg);color:var(--warning)}.file-count{color:var(--muted-foreground);gap:5px;font-size:10px;display:flex}.checklist-row>button{width:28px;color:var(--muted-foreground)}.table-footer{color:var(--muted-foreground);justify-content:space-between;margin-top:16px;font-size:9px;display:flex}.table-footer>span:first-child{align-items:center;gap:6px;display:flex}.empty-state{text-align:center;color:var(--muted-foreground);padding:55px 20px}.empty-state>svg{width:28px;height:28px;color:var(--primary);margin:0 auto 18px}.empty-state h2,.empty-state h3{color:var(--foreground);margin-bottom:10px}.empty-state p{font-size:12px}.item-dialog{max-height:90vh;overflow:auto;max-width:800px!important;padding:30px!important}:scope.item-dialog,:scope.management-dialog,:scope.template-dialog,:scope.comment-notifications-dialog{overscroll-behavior:contain;max-height:90dvh;overflow-y:auto}.item-dialog h3{margin-top:20px}.item-dialog .eyebrow{margin-bottom:5px}.item-dialog-meta{color:var(--muted-foreground);justify-content:space-between;align-items:center;font-size:11px;display:flex}.requirement-text{white-space:pre-wrap;font-size:12px;line-height:1.85}.requirement-comment{background:var(--muted);padding:16px;font-size:11px;line-height:1.8}.requirement-comment p{white-space:pre-wrap;margin-top:5px}.original-note{color:var(--warning);margin-top:5px;font-size:10px;font-weight:600;display:inline-block}.document-list>div{border:1px solid var(--border);border-radius:5px;align-items:center;gap:12px;margin-top:8px;padding:12px;display:flex}.document-list>div>svg{color:var(--primary);width:19px}.document-list>div>span{flex:1;min-width:0}.document-list strong{overflow-wrap:anywhere;font-size:11px}.document-list small{color:var(--muted-foreground);margin-top:4px;font-size:9px;display:block}.upload-zone{border:1px dashed var(--primary);background:var(--secondary);cursor:pointer;color:var(--primary);border-radius:5px;flex-direction:column;align-items:center;gap:7px;margin-top:12px;padding:24px;display:flex;position:relative}.upload-zone>svg{width:21px}.upload-zone>strong{font-size:12px}.upload-zone>span{color:var(--muted-foreground);font-size:10px}.upload-zone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.review-actions{flex-wrap:wrap;gap:8px;display:flex}.review-actions button{font-size:10px}.history-list>div{gap:12px;margin:15px 0;display:flex}.history-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:5px}.history-list strong{font-size:10px}.history-list strong span{color:var(--muted-foreground);font-weight:400}.history-list p{white-space:pre-wrap;margin-top:5px;font-size:11px}.history-list small{color:var(--muted-foreground);font-size:9px}.management-dialog{max-height:90vh;overflow:auto;max-width:500px!important}.management-dialog form{margin-top:8px}.management-dialog input,.management-dialog select,.management-dialog textarea{font-size:12px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.modal-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.template-dialog{max-width:760px!important}.template-summary{background:var(--muted);border-radius:4px;align-items:center;gap:12px;margin-bottom:18px;padding:16px;display:flex}.template-summary svg{color:var(--primary)}.template-summary strong{font-size:12px}.template-summary small{color:var(--muted-foreground);margin-top:5px;font-size:10px;display:block}.template-preview{border:1px solid var(--border);border-radius:4px;max-height:320px;margin:12px 0 20px;overflow:auto}.template-preview summary{cursor:pointer;background:var(--muted);padding:12px;font-size:12px;font-weight:600}.template-preview details>div{border-top:1px solid var(--border);padding:14px}.template-preview strong{font-size:11px}.template-preview p,.template-preview small{white-space:pre-wrap;padding:8px 12px;font-size:10px;line-height:1.8;display:block}.confirmation{align-items:center;gap:9px;margin:14px 0;font-size:11px;font-weight:400;display:flex}.confirmation input{accent-color:var(--primary);margin:0}fieldset{border:1px solid var(--border);border-radius:4px;padding:5px 15px}legend{padding:0 5px;font-size:12px;font-weight:600}.mobile-menu{display:none!important}@media(min-width:1600px){.auth-main{max-height:1100px}.auth-form-wrap{padding:90px}.auth-image-copy{bottom:90px}}@media(max-width:1100px){.portal-sidebar{width:220px}.portal-body{width:calc(100% - 220px);margin-left:220px}.portal-main{padding:28px}.portal-header{padding:0 28px}.stats>div{padding:18px 14px}.stats small{font-size:8px}.table-header,.checklist-row{grid-template-columns:35px minmax(140px,1fr) 75px 125px 30px 25px;gap:10px;padding-left:12px;padding-right:12px}.status-badge{font-size:8px}.project-title h3{font-size:15px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.section-tabs{gap:12px}.section-tabs button{font-size:11px}.project-metadata{gap:20px}}@media(max-width:760px){h1{font-size:26px}.auth-header{height:82px;padding:0 24px}.auth-header>span{font-size:0}.auth-header>span svg{width:17px;height:17px}.auth-main{flex-direction:column-reverse;min-height:0;display:flex}.auth-form-wrap{padding:48px 25px}.auth-form h1{font-size:30px}.auth-image{min-height:260px}.auth-image-copy{bottom:28px;left:25px}.auth-image-copy h2{margin:12px 0;font-size:31px}.auth-image-copy>span{font-size:8px}.auth-image-copy p{font-size:10px}.auth-footer{flex-wrap:wrap;gap:15px;padding:20px 25px;font-size:9px}.portal-sidebar{width:250px;box-shadow:var(--shadow-panel);transform:translate(-100%)}.portal-sidebar.sidebar-open{transform:translate(0)}.portal-body{width:100%;margin-left:0}.portal-header{height:60px;padding:0 18px}.mobile-menu{display:inline-flex!important}.breadcrumbs{gap:5px;font-size:10px}.breadcrumbs>span:last-child:not(:first-child){display:none}.header-secure{font-size:0}.header-secure>svg{margin-left:0}.portal-main{padding:25px 18px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;line-height:1.7}.page-heading>button{font-size:10px}.stats{grid-template-columns:1fr 1fr;margin-bottom:28px}.stats>div:nth-child(2){border-right:0}.stats>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.stats strong{font-size:28px}.stats small{font-size:9px}.project-grid{grid-template-columns:1fr}.project-cover{height:185px}.project-title h3{font-size:17px}.portal-footer{gap:15px;padding:20px 18px;font-size:8px}.section-heading .muted{font-size:10px}.project-metadata{flex-wrap:wrap;justify-content:space-between;gap:18px}.project-metadata>button{margin-left:0}.stage-bar{flex-wrap:wrap;gap:10px;padding:12px}.stage-bar select{width:100%;max-width:100%}.stage-progress{font-size:9px}.section-tabs{gap:10px;overflow-x:auto}.section-tabs button{flex-shrink:0;font-size:10px}.checklist-toolbar{flex-wrap:wrap}.search-field{flex-basis:100%;max-width:none}.filter-field{max-width:230px}.checklist-table{overflow-x:auto}.table-header,.checklist-row{min-width:670px}.item-dialog{padding:22px!important}.review-actions button{flex-grow:1}.form-grid{grid-template-columns:1fr}.item-dialog h3{font-size:14px}.heading-actions{justify-content:flex-start}.table-footer{gap:10px;font-size:8px}.template-preview{max-height:270px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.brand{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.brand-logo{object-fit:contain;width:240px;max-width:100%;height:auto}.brand>small{font-family:var(--font-sans);color:var(--muted-foreground);font-size:9px}.auth-header{background:var(--background);height:90px}.auth-header .brand-logo{width:290px}.auth-page,.auth-form-wrap{background:var(--background)}h1,h2,h3{font-variation-settings:"SOFT" 100,"opsz" 144;font-weight:500}.auth-form h1{font-size:38px;font-weight:500}.portal-sidebar>.brand{padding-left:0}.portal-sidebar .brand-logo{width:216px}.portal-header{background:var(--background)}.page-heading h1{font-size:34px}.stats strong{font-family:var(--font-sans)}.project-title h3{font-size:21px;font-weight:500}.item-title button{font-size:12px}.table-header{font-size:9px}.status-badge{font-size:10px}.checklist-row{min-height:76px}.auth-image-copy h2{font-weight:500}.reset-page>.brand .brand-logo{width:300px}.auth-image-copy>span{color:var(--primary)}@media(max-width:760px){.auth-header .brand-logo{width:245px}.page-heading h1{font-size:29px}.portal-sidebar .brand-logo{width:216px}.auth-form h1{font-size:34px}}:scope{min-width:0}.templates-page{background:var(--background);min-height:100dvh}.templates-topbar{border-bottom:1px solid var(--border);padding:20px 32px}.templates-content{max-width:1200px;margin:0 auto;padding:32px}.template-draft-notice{border-left:3px solid var(--warning);background:var(--warning-bg);color:var(--warning);margin:16px 0;padding:12px 16px;font-size:12px}.template-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.template-library article{border:1px solid var(--border);border-radius:6px;min-width:0;padding:24px}.template-library h2,.template-edit-items summary{overflow-wrap:anywhere}.template-library article>span{color:var(--muted-foreground);font-size:11px}.template-edit-items{max-height:360px;margin-bottom:16px;overflow:auto}.template-edit-items details{border-bottom:1px solid var(--border);padding:12px 0}.template-edit-items label{margin:12px 0}.template-dialog .form-grid{margin:16px 0}@media(max-width:700px){.template-library,.template-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.templates-content{padding:20px}.template-library article{padding:16px}}.portal-main,.portal-body,.breadcrumbs{min-width:0}.portal-main{overflow:hidden}.checklist-management{width:min(960px,100vw - 32px);max-width:960px;max-height:90dvh;overflow-y:auto}.management-items{gap:8px;margin-top:18px;display:grid}.management-item{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.management-item-copy{overflow-wrap:anywhere;min-width:0}.management-item-copy small{color:var(--muted-foreground);margin-top:5px;display:block}.management-item-actions{flex-shrink:0;align-items:center;display:flex}.deletion-confirmation{border:1px solid var(--border);margin-top:16px;padding:16px}.deletion-confirmation p{margin:8px 0 16px}.comment-bell{flex-shrink:0;position:relative}.comment-count{background:var(--primary);color:var(--primary-foreground);border-radius:50%;place-items:center;min-width:19px;height:19px;padding:0 3px;font-size:10px;display:grid;position:absolute;top:-3px;right:-5px}.comment-notifications-dialog{width:min(640px,100vw - 32px);max-height:90dvh;overflow-y:auto}.comment-notification-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.comment-notification-list article{border-bottom:1px solid var(--border);overflow-wrap:anywhere;white-space:normal;padding:18px 12px}.comment-notification-list article.comment-unread{border-left:3px solid var(--primary);background:var(--surface)}.comment-notification-list small{color:var(--muted-foreground);margin:5px 0 12px;display:block}.comment-notification-list p{white-space:pre-wrap;margin:12px 0}.comment-body{overflow-wrap:anywhere;min-width:0}.comment-body p{white-space:pre-wrap}.comment-photos,.comment-attachments{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0;display:grid}.comment-photos img,.comment-attachments img{object-fit:contain;background:var(--surface);border:1px solid var(--border);border-radius:5px;width:100%;height:160px}.comment-attachments>div{min-width:0;position:relative}.comment-attachments button{background:var(--surface);position:absolute;top:5px;right:5px}.comment-photo-input{margin:12px 0}.comment-photo-input input{max-width:100%;margin-top:8px;font-size:12px;display:block}@media(max-width:700px){.management-item{grid-template-columns:minmax(0,1fr)}.management-item-actions{flex-wrap:wrap;justify-content:flex-start}.checklist-management .form-grid{grid-template-columns:minmax(0,1fr)}}}
