:root{--navy:#05072c;--navy-2:#101845;--blue:#15345c;--orange:#f04a06;--orange-dark:#d34202;--ink:#1d2d45;--muted:#67758d;--bg:#f5f7fb;--line:#e5ebf3;--white:#fff;--shadow:0 10px 32px rgba(11,29,67,.065);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{text-decoration:none;color:inherit}img{max-width:100%}[hidden]{display:none!important}
.eyebrow-portal{font-size:11px;color:var(--orange);font-weight:900;letter-spacing:.14em}.primary-button,.secondary-button,.white-button,.outline-button{border-radius:10px;padding:12px 19px;min-height:45px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:16px;transition:background .16s,transform .16s;white-space:nowrap}.primary-button{background:var(--orange);border:1px solid var(--orange);color:#fff;box-shadow:0 5px 13px rgba(240,74,6,.18)}.primary-button:hover:not(:disabled){background:var(--orange-dark);transform:translateY(-1px)}.secondary-button{color:#fff;background:var(--navy-2);border:1px solid var(--navy-2)}.secondary-button:hover:not(:disabled){background:#202c61}.outline-button{background:white;color:var(--blue);border:1px solid #d9e1ed}.outline-button:hover:not(:disabled){background:#f7f9fd}.white-button{color:var(--navy-2);background:#fff;border:1px solid #fff}.white-button:hover{background:#fff1e9;transform:translateY(-1px)}
/* Login */
.login-body{min-height:100vh;background:#fff}.login-back{position:absolute;z-index:2;top:23px;right:32px;color:#7c8597;font-size:12px;font-weight:700}.login-back:hover{color:var(--orange)}.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(420px,52%) 1fr}.login-brand-panel{background:radial-gradient(ellipse at 74% 20%,rgba(239,77,10,.22),transparent 32%),linear-gradient(145deg,#05072c,#0d1c49 64%,#071027);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:40px 9% 35px 12%;position:relative;overflow:hidden}.login-brand-panel:before,.login-brand-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.04);width:470px;height:470px;border-radius:50%;right:-220px;bottom:-245px;pointer-events:none}.login-brand-panel:after{width:630px;height:630px;right:-300px;bottom:-335px}.login-logo img{width:108px;height:95px;object-fit:contain;object-position:left;mix-blend-mode:screen}.login-brand-copy{position:relative;z-index:1;max-width:580px}.login-brand-copy h1{font-size:clamp(41px,4.8vw,68px);letter-spacing:-.055em;line-height:1.11;margin:20px 0}.login-brand-copy h1 span{color:var(--orange)}.login-brand-copy p{color:#bdc7dc;font-size:16px;line-height:1.9;max-width:460px}.brand-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}.brand-points span{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.055);border-radius:7px;font-size:11px;font-weight:700;padding:9px 11px}.login-brand-footer{font-size:10px;letter-spacing:.16em;color:#8f9fba;font-weight:800}.login-brand-footer span{color:var(--orange);padding:0 8px}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:72px 40px}.login-form-wrap{max-width:420px;width:100%}.login-monogram{height:53px;width:53px;background:#fff0e9;color:var(--orange);font-size:15px;font-weight:900;display:grid;place-items:center;border-radius:14px;margin-bottom:28px}.login-form-wrap h2{font-size:clamp(26px,3.1vw,34px);letter-spacing:-.04em;color:#172648;margin:10px 0}.login-intro{font-size:14px;color:var(--muted);margin:0 0 36px}.input-group{margin-bottom:22px}.input-group label{font-size:12px;font-weight:800;color:#1c2e4c;display:block;margin-bottom:8px}.input-group input{width:100%;height:49px;border:1px solid #dbe2ee;border-radius:9px;padding:0 14px;outline:0;color:#172648;font-size:13px;background:#fff;transition:border .2s,box-shadow .2s}.input-group input:focus{border-color:#f38e60;box-shadow:0 0 0 3px rgba(240,74,6,.1)}.input-group input::placeholder{color:#a2acbc}.password-label{display:flex;align-items:center;justify-content:space-between}.password-label span{font-size:11px;color:#99a3b6}.password-input{position:relative}.password-input input{padding-right:64px}.eye-button{position:absolute;right:6px;top:6px;bottom:6px;padding:0 12px;background:none;border:0;color:#6d7891;font-size:12px;font-weight:700}.login-submit{width:100%;justify-content:space-between;margin-top:3px;min-height:51px}.demo-notice{background:#f8f9fd;border:1px solid #e9edf4;border-left:3px solid var(--orange);padding:17px 18px;border-radius:8px;margin-top:33px}.demo-notice strong{font-size:12px;color:#273b5b}.demo-notice p{font-size:11px;line-height:1.8;color:#667792;margin:5px 0 0}.login-form-footer{color:#9aa3b2;font-size:10px;line-height:1.7;margin-top:27px}.form-error{background:#fff1ef;color:#b32b24;font-size:12px;border-radius:7px;padding:11px;margin:0 0 13px}
/* Dashboard frame */
.app-body{background:var(--bg)}.portal-shell{display:flex;min-height:100vh}.sidebar{background:linear-gradient(180deg,#080c31,#080e2e 88%);color:#b5c0d9;width:270px;flex:0 0 270px;min-height:100vh;position:sticky;top:0;align-self:flex-start;height:100vh;display:flex;flex-direction:column;z-index:25;box-shadow:3px 0 16px rgba(3,12,30,.07)}.sidebar-brand{min-height:100px;padding:17px 23px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:12px;color:white}.sidebar-brand img{width:59px;height:63px;object-fit:contain;mix-blend-mode:screen}.sidebar-brand strong{font-size:14px;display:block;white-space:nowrap}.sidebar-brand small{font-size:8px;letter-spacing:.13em;color:#90a1ba;font-weight:800}.sidebar-portal-label{font-size:10px;letter-spacing:.18em;color:#7083a5;font-weight:900;margin:33px 24px 12px}.sidebar-section-label{margin:26px 13px 11px}.sidebar-nav{padding:0 13px}.side-link{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:9px;width:100%;padding:15px 12px;color:#aebbd5;background:transparent;font-size:12px;font-weight:800;margin-bottom:5px;position:relative;white-space:nowrap}.side-link.active{background:linear-gradient(90deg,rgba(240,74,6,.22),rgba(240,74,6,.045));color:#fff}.side-link.active:before{content:"";position:absolute;width:3px;background:var(--orange);left:0;top:8px;bottom:8px;border-radius:4px}.side-link:hover:not(.disabled-link){background:rgba(255,255,255,.07);color:#fff}.side-link.disabled-link{color:#65728f;cursor:default}.side-link small{margin-left:auto;font-size:9px;color:#8d99b2;background:rgba(255,255,255,.07);padding:4px 6px;border-radius:5px}.nav-icon{font-size:19px;font-weight:500;width:22px;text-align:center;line-height:1}.sidebar-bottom{margin-top:auto;padding:17px 21px 22px;border-top:1px solid rgba(255,255,255,.07)}.sidebar-info{font-size:12px;font-weight:800;color:#d9e2f1}.sidebar-info small{display:block;font-size:10px;font-weight:500;color:#8a9abb;margin:6px 0 0 17px}.status-dot{display:inline-block;background:#3fce94;width:7px;height:7px;border-radius:50%;margin-right:7px;box-shadow:0 0 0 3px rgba(48,200,136,.09)}.sidebar-website{display:block;color:#a8bad7;margin-top:22px;font-size:11px;font-weight:700}.sidebar-website:hover{color:#fff}.app-main{flex:1;min-width:0}.app-topbar{height:78px;background:white;border-bottom:1px solid #e9eef6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 39px;position:sticky;top:0;z-index:15}.app-breadcrumb{font-size:12px;color:#8792a6;font-weight:600}.app-breadcrumb span{padding:0 11px;color:#bcc5d2}.app-breadcrumb strong{color:#2c3e5d}.topbar-right{display:flex;align-items:center;gap:25px}.demo-pill{border:1px solid #e5f1e9;background:#f5fcf8;color:#419c72;border-radius:20px;padding:8px 11px;font-size:9px;letter-spacing:.04em;font-weight:900;white-space:nowrap}.user-chip{display:flex;align-items:center;gap:11px}.user-chip>span{background:#f9e5db;width:36px;height:36px;display:grid;place-items:center;color:var(--orange);border-radius:9px;font-weight:900}.user-chip strong,.user-chip small{display:block;max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-chip strong{font-size:11px}.user-chip small{font-size:10px;color:#98a2b2;margin-top:3px}.logout-button{background:transparent;border:1px solid #e1e8f0;color:#4c5e79;border-radius:8px;padding:9px 11px;font-weight:700;font-size:11px}.logout-button:hover{background:#f8fafc}.menu-toggle{display:none;background:none;border:0;color:#142d58;font-size:21px}.app-content{max-width:1580px;margin:auto;padding:37px 40px 80px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:29px}.section-header h1{font-size:31px;letter-spacing:-.05em;color:#1e3150;margin:9px 0 7px;font-weight:900}.title-period{color:var(--orange)}.section-header p{font-size:13px;color:#768399;margin:0;line-height:1.6}.header-date{font-size:11px;color:#6c7b91;background:white;padding:11px 14px;border:1px solid var(--line);border-radius:8px;white-space:nowrap;margin-top:17px;font-weight:700}.welcome-hero{border-radius:15px;background:radial-gradient(circle at 81% 4%,rgba(240,74,6,.35),transparent 36%),linear-gradient(110deg,#0b123e,#132653);color:#fff;min-height:245px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;padding:34px 42px}.welcome-hero>div:first-child{position:relative;z-index:2;max-width:600px}.welcome-eyebrow{font-weight:900;font-size:10px;letter-spacing:.17em;color:#fba478}.welcome-hero h2{font-size:28px;line-height:1.23;margin:11px 0;letter-spacing:-.04em}.welcome-hero p{color:#bfc8dc;font-size:12px;line-height:1.8;margin:0 0 19px;max-width:530px}.hero-watermark{opacity:.07;position:absolute;right:45px;top:10px;font-weight:900;font-size:170px;letter-spacing:-.1em;white-space:nowrap}.hero-watermark span{font-size:60px;vertical-align:top;margin-left:20px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:var(--shadow)}.stat-icon{height:33px;width:33px;border-radius:9px;display:grid;place-items:center;margin-bottom:15px;font-size:19px}.orange-icon{background:#fff1e9;color:#f04a06}.blue-icon{background:#eef3fc;color:#315a9c}.green-icon{background:#e9fbf3;color:#159c72}.stat-card>span,.stat-card strong,.stat-card small{display:block}.stat-card>span{font-size:11px;color:#7d8a9f;font-weight:600}.stat-card strong{font-size:24px;letter-spacing:-.04em;color:#192b4b;margin:6px 0}.stat-card small{font-size:10px;color:#97a1b1}.overview-bottom{margin-top:24px;display:grid;grid-template-columns:1.55fr 1fr;gap:20px}.content-card{background:white;border:1px solid var(--line);border-radius:12px;padding:27px;box-shadow:var(--shadow)}.content-card h3{font-size:15px;color:#1e3050;margin:0 0 20px}.card-head{display:flex;align-items:flex-start;justify-content:space-between}.small-tag{font-size:9px;color:#b35522;background:#fff2e8;padding:6px 9px;border-radius:5px;font-weight:800;letter-spacing:.04em}.feature-row{display:flex;gap:19px}.feature-number{color:var(--orange);background:#fff1ea;width:46px;height:46px;border-radius:11px;flex-shrink:0;font-size:16px;font-weight:900;display:grid;place-items:center}.feature-row h4{font-size:15px;margin:0 0 8px;color:#213355}.feature-row p,.overview-side p{font-size:12px;color:#77869b;line-height:1.9;margin:0 0 15px}.inline-action{background:none;color:var(--orange);border:0;padding:0;font-size:12px;font-weight:900}.overview-side h3{margin-bottom:12px}.mini-info{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf1f6;padding:13px 0;font-size:11px}.mini-info span{color:#8894a7}.mini-info strong{color:#263a58;font-size:11px}.mini-info .muted{color:#8c97a9}.notice-neutral{font-size:10px;color:#667a98;line-height:1.7;background:#f5f8fc;border-radius:7px;padding:12px;margin-top:15px}
/* Report builder */
.report-header{align-items:center}.report-layout{display:grid;grid-template-columns:252px minmax(0,1fr);gap:23px;align-items:start}.step-nav-wrap{border:1px solid var(--line);border-radius:12px;background:#fff;padding:21px 13px;position:sticky;top:104px;box-shadow:var(--shadow)}.step-nav-title{color:#97a2b3;font-weight:900;font-size:10px;letter-spacing:.13em;padding:0 8px 15px}.step-nav-button{border:0;width:100%;padding:13px 10px;border-radius:8px;display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:#5d6e88;margin-bottom:7px}.step-nav-button:hover{background:#f7f9fd}.step-nav-button.active{background:#fff4ed;color:#192c4e}.step-circle{border:1px solid #dce4ef;color:#7788a0;width:31px;height:31px;display:grid;place-items:center;border-radius:8px;font-size:11px;font-weight:800;flex-shrink:0}.step-nav-button.active .step-circle{background:var(--orange);color:white;border-color:var(--orange)}.step-details{display:block;min-width:0}.step-details strong{display:block;font-size:11px;line-height:1.4}.step-details small{display:block;font-size:10px;color:#98a3b4;margin-top:5px}.progress-widget{border-top:1px solid #edf0f6;padding:22px 8px 13px;margin-top:17px}.progress-header{display:flex;align-items:center;justify-content:space-between;font-size:11px}.progress-header span{color:var(--orange);font-weight:900}.progress-track{height:6px;background:#eaf0f7;border-radius:6px;margin:12px 0}.progress-track>div{height:100%;width:0%;background:var(--orange);border-radius:6px;transition:width .2s}.progress-widget p{font-size:10px;color:#8b97a8;line-height:1.5;margin:0}.sidebar-report-note{background:#f6f8fc;border-radius:9px;padding:15px;margin:15px 4px 2px}.sidebar-report-note strong{color:#344b6e;font-size:11px}.sidebar-report-note p{color:#8490a2;font-size:10px;line-height:1.7;margin:5px 0 0}.form-main{min-width:0}.form-paper{background:white;border-radius:12px;border:1px solid var(--line);padding:28px 31px;box-shadow:var(--shadow)}.step-topline{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #ebeff5;padding-bottom:24px;margin-bottom:25px}.step-counter{font-size:10px;color:var(--orange);font-weight:900;letter-spacing:.13em}.step-topline h2{font-size:22px;letter-spacing:-.03em;margin:7px 0;color:#1f3151}.step-topline p{font-size:12px;color:#8793a6;margin:0;line-height:1.6}.optional-chip{font-size:9px;letter-spacing:.04em;font-weight:900;color:#4c8e76;background:#ecf9f2;padding:9px 11px;border-radius:6px;height:max-content;white-space:nowrap}.report-section{margin-bottom:33px}.report-section:last-child{margin-bottom:0}.report-section-heading{margin-bottom:19px}.report-section-heading h3{color:#192f53;font-size:16px;letter-spacing:-.015em;margin:0 0 5px}.report-section-heading p{font-size:11px;color:#8e9aac;margin:0;line-height:1.7}.form-block{border:1px solid #e7edf5;border-radius:10px;overflow:hidden;margin-bottom:17px}.form-block:last-child{margin-bottom:0}.form-block-head{background:#f8fafd;border-bottom:1px solid #edf0f5;padding:12px 17px}.form-block-head h4{margin:0;font-size:11px;font-weight:900;color:#304766}.form-block-head p{margin:4px 0 0;color:#8290a3;font-size:10px}.pairs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;padding:18px}.report-field{min-width:0}.report-field-label{font-size:10px;font-weight:800;color:#50627c;display:block;margin:0 0 7px}.report-input,.table-input,.remarks-textarea{border:1px solid #dbe3ee;border-radius:7px;background:#fff;color:#1b2e4e;outline:0;transition:box-shadow .18s,border-color .18s}.report-input{height:41px;width:100%;padding:0 12px;font-size:12px}.report-input::placeholder,.table-input::placeholder,.remarks-textarea::placeholder{color:#afbac9}.report-input:focus,.table-input:focus,.remarks-textarea:focus{border-color:#ee7a43;box-shadow:0 0 0 3px rgba(240,74,6,.08)}.pair-headings{display:grid;grid-template-columns:1fr 1fr;background:#fdfdfd;border-bottom:1px solid #e9edf5;color:#1d3d64;font-weight:900;font-size:11px}.pair-headings span{padding:11px 17px}.pair-headings span+span{border-left:1px solid #e9edf5}.checks-list{padding:6px 17px}.check-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:55px;border-bottom:1px solid #eff2f6;padding:9px 0}.check-row:last-child{border-bottom:0}.check-label{font-size:11px;font-weight:700;color:#405674;line-height:1.5}.choice-group{display:inline-flex;align-items:center;gap:5px;flex-shrink:0}.choice-button{border:1px solid #dce4ee;color:#70819a;background:white;border-radius:6px;padding:7px 11px;min-width:41px;font-size:10px;font-weight:800;line-height:1.2}.choice-button:hover{border-color:#f5b493}.choice-button.selected{color:#bd3b07;background:#ffede3;border-color:#f4a174}.report-table-scroll{overflow-x:auto;max-width:100%}.report-table{width:100%;border-collapse:collapse;text-align:left;min-width:560px;table-layout:fixed}.report-table thead{background:#19375f;color:#fff}.report-table thead th{font-size:10px;padding:12px 10px;font-weight:800;line-height:1.5}.report-table th,.report-table td{border-right:1px solid #e7ecf4}.report-table th:last-child,.report-table td:last-child{border-right:0}.report-table tbody tr{border-bottom:1px solid #e7edf4}.report-table tbody tr:last-child{border-bottom:0}.report-table tbody tr:nth-child(even){background:#f8fafc}.report-table tbody th{font-size:10px;color:#405674;font-weight:700;line-height:1.5;padding:9px 11px;overflow-wrap:anywhere}.report-table tbody td{padding:7px}.report-table .row-header{width:31%}.report-table td .table-input{height:35px;font-size:11px;padding:0 8px;min-width:0;width:100%;background:transparent}.report-table td .table-input:focus{background:#fff}.report-table td .table-input-wrap{min-width:0}.table-choice-group{flex-wrap:wrap}.table-choice-group .choice-button{padding:7px 9px}.report-table:has(thead th:nth-child(7)){min-width:820px}.report-table:has(thead th:nth-child(7)) thead th:first-child{width:90px}.report-table:has(thead th:nth-child(5)):not(:has(thead th:nth-child(6))) thead th:first-child{width:220px}.remarks-textarea{display:block;width:calc(100% - 34px);margin:17px;resize:vertical;padding:12px;line-height:1.75;font-size:12px}.textarea-caption{font-size:10px;color:#8c9aae;padding:0 17px 16px;margin:0}.form-actions{display:flex;justify-content:space-between;gap:16px;margin-top:21px;align-items:center}.form-actions-left{display:flex;gap:10px}.pdf-status{min-height:16px;font-size:11px;color:#b83d24;margin:15px 0 4px}.pdf-status.success{color:#19815e}.form-footer-note{font-size:10px;color:#8795a8;line-height:1.65;margin:8px 0 0}.load-error{border:1px solid #ffc8c8;padding:16px;border-radius:7px;background:#fff4f4;color:#b32b24}
@media(max-width:1270px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}.overview-bottom{grid-template-columns:1fr}.app-content{padding:32px 27px 70px}.app-topbar{padding:0 25px}.report-layout{grid-template-columns:210px minmax(0,1fr)}.step-nav-wrap{padding:16px 8px}.form-paper{padding:23px}.hero-watermark{right:-80px}}
@media(max-width:940px){.login-layout{grid-template-columns:1fr}.login-brand-panel{min-height:280px;padding:30px 7%;gap:30px}.login-brand-copy h1{font-size:35px;margin:10px 0}.login-brand-copy p{font-size:12px;line-height:1.7}.login-brand-footer{display:none}.login-form-panel{padding:45px 20px}.login-back{color:#fff;right:19px;top:19px}.sidebar{position:fixed;left:-280px;top:0;transition:left .2s}.sidebar.mobile-open{left:0}.app-main{width:100%}.menu-toggle{display:inline-block}.app-content{padding:25px 20px 70px}.report-layout{grid-template-columns:1fr}.step-nav-wrap{position:static}.step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.step-nav-button{display:block;text-align:center;padding:9px 5px}.step-circle{margin:auto auto 6px}.step-details strong{font-size:9px}.step-details small{font-size:9px}.sidebar-report-note{display:none}.progress-widget{margin-top:10px}}
@media(max-width:620px){.app-topbar{height:65px;padding:0 13px}.app-breadcrumb{font-size:10px}.topbar-right{gap:8px}.demo-pill{display:none}.user-chip small{display:none}.user-chip strong{max-width:64px}.user-chip>span{height:29px;width:29px}.logout-button{font-size:9px;padding:7px}.section-header{display:block}.section-header h1{font-size:25px}.section-header .outline-button{margin-top:12px}.header-date{display:none}.welcome-hero{padding:24px;min-height:auto}.welcome-hero h2{font-size:24px}.hero-watermark{display:none}.dashboard-stats{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:20px}.overview-bottom{gap:12px}.content-card{padding:19px}.form-paper{padding:17px 12px}.step-topline{display:block}.optional-chip{display:inline-block;margin-top:12px}.step-topline h2{font-size:20px}.pairs-grid{grid-template-columns:1fr;padding:14px}.empty-pair{display:none}.pair-headings{display:none}.check-row{display:block;padding:14px 2px}.check-label{display:block;margin-bottom:11px}.form-actions{display:block}.form-actions-left{display:flex;margin-bottom:9px}.form-actions-left button{flex:1;padding:10px}.form-actions>.primary-button{width:100%}.step-nav-wrap{padding:12px 5px}.step-nav-button{padding:8px 2px}.step-details strong{font-size:9px}.step-nav-title{padding:4px 9px}.report-table{min-width:590px}.login-brand-panel{min-height:315px}.brand-points{margin-top:14px}.login-logo img{height:70px;width:78px}.login-form-wrap h2{font-size:27px}}
/* Saved Reports, report naming and photo upload workflow */
.report-toolbar{display:flex;align-items:end;gap:18px;margin-bottom:20px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 20px;box-shadow:var(--shadow)}
.report-name-wrap{flex:1;min-width:0}.report-name-wrap label{display:block;font-size:11px;font-weight:900;color:#273c5b;margin-bottom:8px}.required-mark{color:#d04b18;font-size:10px;font-weight:700;margin-left:4px}.report-name-wrap input{width:100%;height:42px;border:1px solid #d9e2ef;border-radius:8px;padding:0 12px;font-size:13px;outline:none}.report-name-wrap input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #fff0e8}.report-name-wrap small{display:block;color:#8795aa;font-size:10px;margin-top:8px}.save-button{border-color:#f2a37b;color:#d34d0f}.form-actions{flex-wrap:wrap}.form-actions .save-button{margin-left:auto}.photo-intro{background:#f6f9fd;border:1px solid #e6edf7;border-radius:10px;padding:17px;margin-bottom:20px;font-size:12px;line-height:1.8;color:#6b7f98}.photo-intro strong{color:#1a3456}.photo-group{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:19px}.photo-group-top{display:flex;align-items:center;justify-content:space-between;gap:18px}.photo-group h3{font-size:15px;color:#1d3355;margin:0 0 6px}.photo-group p{font-size:11px;color:#8a97a7;margin:0;line-height:1.7}.photo-group .photo-upload-button{flex-shrink:0}.photo-upload-button{background:#edf2fc;color:#174171;border:1px solid #d7e5f4;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:900;cursor:pointer}.photo-upload-button:hover{background:#deebfc}.photo-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;margin-top:17px}.photo-gallery:empty{display:none}.photo-tile{background:#f9fbff;border:1px solid #e4ebf4;border-radius:9px;overflow:hidden;position:relative}.photo-tile img{width:100%;height:133px;object-fit:contain;background:#edf1f7;display:block}.photo-tile-bottom{padding:10px}.photo-tile strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2f435e}.photo-tile small{font-size:9px;color:#8493a7}.photo-remove{position:absolute;top:6px;right:6px;background:rgba(11,20,43,.85);color:white;border:0;border-radius:6px;padding:5px 8px;font-size:11px}.pdf-preview-icon{height:133px;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#edf3fa,#fff1e9);font-weight:900;font-size:35px;color:#d65120;letter-spacing:.08em}.photo-document-download{display:block;text-align:center;padding:9px;font-size:11px;font-weight:800;color:#173d6a;text-decoration:none;background:#f0f6fc}.photo-empty{margin-top:16px;border:1px dashed #d9e2ef;padding:17px;text-align:center;font-size:11px;color:#9ba7b8;border-radius:8px}.saved-toolbar{background:white;border:1px solid var(--line);border-radius:12px 12px 0 0;padding:19px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.saved-toolbar strong{font-size:15px;color:#233953}.saved-toolbar p{font-size:11px;color:#8492a7;margin:6px 0 0}.saved-toolbar input{padding:12px 14px;border:1px solid #dbe3ee;border-radius:8px;font-size:12px;width:min(320px,100%)}.saved-table-wrap{overflow-x:auto;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:white;box-shadow:var(--shadow)}.saved-table{border-collapse:collapse;width:100%;min-width:540px;text-align:left}.saved-table th{background:#f5f8fc;text-transform:uppercase;letter-spacing:.07em;font-size:10px;color:#7990a9;padding:15px 24px}.saved-table td{border-top:1px solid #edf1f6;padding:20px 24px;font-size:12px;color:#647792}.saved-table td:first-child{color:#223957;font-weight:800}.saved-table tbody tr:hover{background:#fff9f5;cursor:pointer}.saved-table tbody tr:focus{outline:2px solid #f49c74}.saved-table .open-report{border:1px solid #f3c2aa;background:#fff6f1;color:#bf4712;padding:8px 13px;border-radius:8px;font-weight:900;font-size:11px}.saved-notice{font-size:11px;color:#8490a1;line-height:1.8;margin:16px 0}.photo-warning{font-size:11px;color:#b64a23;margin-top:10px;min-height:16px}.unsaved-indicator{color:#bd5c1d!important}.save-message{color:#15805a!important}.saved-badge{display:inline-flex;gap:5px;align-items:center;font-size:10px;font-weight:800;background:#eaf7f0;border-radius:7px;padding:5px 7px;color:#23825c}
@media(max-width:940px){.step-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.report-toolbar{display:block}.report-toolbar button{margin-top:12px;width:100%}.photo-group-top{align-items:stretch;flex-direction:column}.photo-upload-button{width:100%}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.saved-toolbar{flex-direction:column;align-items:stretch}.saved-toolbar input{width:100%}.step-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions .save-button{width:100%;margin:7px 0}.step-details small{display:none}}

/* v3: Completed Reports workflow and photo caps */
.complete-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:12px 17px;border:1px solid #b4e3cc;border-radius:8px;background:#e7f7ee;color:#116849;font:800 11px Inter,sans-serif;cursor:pointer;transition:background .18s ease}
.complete-button:hover:not(:disabled){background:#cff0df;border-color:#90d8b5}
.complete-button:disabled{opacity:.73;cursor:default}
.status-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 11px;border-radius:7px;font-size:10px;font-weight:900;letter-spacing:.06em}
.status-pill.saved{background:#fff2df;color:#a86413}.status-pill.completed{background:#e1f6eb;color:#14744f}
.report-toolbar{flex-wrap:wrap}.report-name-wrap{flex-basis:210px}
.report-row-actions{min-width:226px;white-space:nowrap}.report-row-actions button{margin:0 6px 4px 0}
.saved-table .finish-report,.saved-table .restore-report{border:1px solid #bbdfc9;background:#edf9f2;color:#126344;border-radius:8px;padding:8px 12px;font-size:11px;font-weight:900;cursor:pointer}
.saved-table .restore-report{border-color:#dce4ef;background:#f3f6fb;color:#385370}
.saved-table .finish-report:hover{background:#dff3e7}.saved-table .restore-report:hover{background:#e7edf7}
.photo-upload-button.limit-reached{background:#eef1f6;color:#8e99a7;border-color:#e1e5eb;cursor:not-allowed}
@media(max-width:1050px){.form-actions{flex-wrap:wrap}.form-actions .complete-button{flex:1}}
@media(max-width:620px){.report-toolbar .complete-button{width:100%}.report-toolbar .status-pill{width:100%}.report-row-actions{white-space:normal}.form-actions .complete-button{width:100%;flex:0 0 100%}}

/* Save Progress confirmation: visible for at least 1.3 seconds after success. */
#saveReport.save-success, #saveReportTop.save-success,
#saveReport.save-success:disabled, #saveReportTop.save-success:disabled {
  background:#e2f5ea; color:#12633d; border-color:#70c798;
  box-shadow:0 0 0 3px rgba(19,145,88,.10); opacity:1;
}

/* v3.2: Section 6 - a distinct outline around BOTH measurement lines for each active PV string. */
.string-card-list{display:flex;flex-direction:column;gap:14px;margin-top:12px}
.string-card{border:2px solid #17365e;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 2px 9px rgba(19,46,86,.08)}
.string-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#eef4fc;padding:11px 16px;border-bottom:1px solid #c7d5e6;color:#17365e}
.string-card-header strong{font-size:13px;font-weight:900}
.string-card-header span{font-size:10px;color:#6b809a;font-weight:700}
.string-card .report-table-scroll{border:0;border-radius:0;margin:0}
.string-card .report-table{border:0;min-width:540px;margin:0}
.string-card .report-table thead th{background:#17365e;color:#fff}
.string-card .report-table tbody tr:last-child>*{border-bottom:0}
@media(max-width:620px){.string-card-header{padding:10px 12px}.string-card-header span{font-size:9px}}

/* V4 admin user access settings */
.settings-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(430px,1.5fr);gap:22px;align-items:start}
.settings-help{font-size:12px;line-height:1.65;color:#7d8ba2;margin:4px 0 18px;display:block}
.settings-wide{width:100%;margin-bottom:20px}.user-directory{display:flex;flex-direction:column;gap:8px;max-height:580px;overflow:auto}
.directory-user{display:flex;text-align:left;width:100%;align-items:center;gap:12px;padding:13px 12px;border:1px solid #e4eaf1;border-radius:10px;background:#fff;cursor:pointer}
.directory-user:hover,.directory-user.selected{border-color:#e98955;background:#fff9f5}
.directory-avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#eaf0f9;color:#19325b;font-size:16px;font-weight:900}
.directory-word{min-width:0;flex:1}.directory-word strong,.directory-word small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.directory-word strong{font-size:12px;color:#1e3150}.directory-word small{font-size:10px;color:#8090a5;margin-top:4px}
.directory-status{font-size:9px;font-weight:800;border-radius:20px;padding:6px 8px;background:#e4f8ee;color:#10845d}.directory-status.inactive{background:#f5e7e7;color:#a34343}
.settings-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid .input-group{margin-bottom:20px}
.settings-grid .input-group input{height:45px;width:100%;border:1px solid #dce4ef;border-radius:8px;padding:0 12px;font-family:inherit;font-size:13px}
.settings-grid .input-group label{display:block;font-size:11px;font-weight:800;color:#334866;margin-bottom:8px}
.settings-grid .password-input{position:relative}.settings-grid .password-input input{padding-right:66px}
.settings-toggle{display:flex;align-items:center;gap:10px;font-size:12px;color:#293d5d;font-weight:700;margin-bottom:20px}
.settings-toggle input,.permissions-grid input,.grant-row input{accent-color:#e85413;width:16px;height:16px}
.permissions-box{border:1px solid #e1e9f3;border-radius:12px;padding:18px;margin:20px 0}.permissions-box>strong,.permissions-box .card-head strong{font-size:13px;color:#1a3050}
.permissions-box>p{color:#7f8ea4;font-size:11px;line-height:1.6;margin:8px 0 16px}.permissions-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.permissions-grid label{display:flex;align-items:center;gap:8px;font-size:11px;color:#3c4d67;cursor:pointer}
.grant-report-list{display:flex;flex-direction:column;gap:7px;max-height:330px;overflow:auto}.grant-row{display:flex;gap:12px;align-items:center;border:1px solid #e9eef5;border-radius:8px;padding:12px;cursor:pointer}
.grant-row:hover{background:#f7f9fc}.grant-row span{display:block;min-width:0}.grant-row strong{display:block;font-size:11px;color:#243958}.grant-row small{display:block;font-size:10px;color:#8b9bb0;margin-top:4px}
.settings-feedback{font-size:12px;min-height:18px;color:#425570}.settings-feedback-success{color:#148764}.settings-feedback-error{color:#bc3737}
.settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.settings-footnote{color:#77859d;font-size:11px;line-height:1.6;margin:18px 0}
@media(max-width:1050px){.settings-grid{grid-template-columns:1fr}}@media(max-width:600px){.settings-two,.permissions-grid{grid-template-columns:1fr}}

/* V4.2 — clear report access cards and dedicated assignment selector */
.access-manager{background:#fafcff}
.access-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.access-manager-head strong{display:block;color:#18335b;font-size:14px;font-weight:800}
.access-manager-head .small-tag{white-space:nowrap}
.access-manager-description{margin:6px 0 0;color:#6b7e9a;font-size:11px;line-height:1.55}
.add-report-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:43px;border:1.5px dashed #e97733;border-radius:9px;background:#fff7f1;color:#a53c11;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;margin-bottom:14px;transition:background .15s ease,border-color .15s ease}
.add-report-button span{display:inline-grid;place-items:center;width:23px;height:23px;background:#ea5d20;color:#fff;border-radius:6px;font-size:21px;line-height:1}
.add-report-button:not(:disabled):hover{background:#fff0e4;border-color:#d75014}
.add-report-button:disabled{opacity:.5;cursor:not-allowed}
.assigned-report-list{display:flex;flex-direction:column;gap:9px}
.assigned-report-card,.available-report-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e1e9f2;border-radius:10px;background:#fff}
.access-report-icon{flex:0 0 auto;display:grid;place-items:center;border-radius:9px;width:38px;height:38px;background:#e9f0fa;color:#21426f;font-size:21px}
.access-report-info{flex:1;min-width:0}
.access-report-info strong{display:block;font-size:12px;font-weight:800;line-height:1.4;color:#19385c;overflow-wrap:anywhere}
.access-report-info small{display:block;font-size:10px;color:#8798ad;margin-top:4px;line-height:1.4}
.remove-report-access{flex:0 0 auto;min-height:32px;border:1px solid #f5d1ce;border-radius:7px;background:#fff7f6;color:#a33432;cursor:pointer;font-family:inherit;font-size:10px;font-weight:800;padding:7px 10px}
.remove-report-access:not(:disabled):hover{background:#ffebea}
.remove-report-access:disabled{opacity:.5;cursor:progress}
.access-empty-state{padding:24px 18px;border:1px dashed #ccd7e6;background:#fff;border-radius:10px;text-align:center;color:#6b7e97;font-size:12px;line-height:1.65}
.access-manager>.settings-feedback{margin-bottom:0;margin-top:10px}
.report-access-modal[hidden]{display:none!important}
.report-access-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px}
.report-access-backdrop{position:absolute;inset:0;background:rgba(9,24,46,.66);backdrop-filter:blur(3px)}
.report-access-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(670px,100%);max-height:min(86vh,790px);background:#fff;border:1px solid #edf1f6;border-radius:17px;box-shadow:0 25px 90px rgba(0,0,0,.24);overflow:hidden}
.report-access-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:25px 27px 19px;border-bottom:1px solid #edf1f5}
.modal-eyebrow{color:#ec672d;font-size:10px;letter-spacing:1.6px;font-weight:900;margin-bottom:7px}
.report-access-dialog-header h2{color:#173357;font-size:22px;margin:0 0 6px;font-weight:900}
.report-access-dialog-header p{color:#6c7e94;font-size:12px;line-height:1.6;margin:0}
.report-access-dialog-header p strong{color:#253e5c}
.report-access-close{flex:0 0 36px;width:36px;height:36px;border:1px solid #e3e9f0;border-radius:9px;background:#f7f9fc;color:#4b627a;cursor:pointer;font-weight:700}
.report-access-search{display:flex;align-items:center;gap:10px;padding:15px 27px;background:#f9fbfe;border-bottom:1px solid #e8edf3}
.report-access-search>span:first-child{font-size:23px;color:#6e829b}
.report-access-search input{flex:1;min-width:0;border:1px solid #dbe4f0;border-radius:8px;padding:12px;font:inherit;font-size:12px;outline-color:#e86c2e;background:#fff}
.report-access-search .small-tag{white-space:nowrap}
.available-report-list{min-height:120px;max-height:440px;overflow:auto;padding:14px 25px;display:flex;flex-direction:column;gap:9px}
.available-report-row{border-color:#e6edf5}
.grant-report-button,.report-already-shared{flex:0 0 auto;padding:9px 12px;border-radius:8px;font:inherit;font-weight:800;font-size:11px;white-space:nowrap}
.grant-report-button{border:1px solid #e96224;background:#eb6427;color:white;cursor:pointer}
.grant-report-button:not(:disabled):hover{background:#d44f15}
.report-already-shared{border:1px solid #b7e2ca;background:#ebf9f1;color:#197547}
.grant-report-button:disabled{opacity:.5;cursor:progress}
.report-access-dialog>.settings-feedback{margin:4px 27px 10px}
.report-access-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf1f5;padding:16px 27px;background:#fafbfe}
.report-access-dialog-footer span{font-size:11px;color:#7a8aa2}
.report-access-dialog-footer .primary-button{min-width:105px}
body.access-dialog-open{overflow:hidden}
@media(max-width:650px){.report-access-dialog-header{padding:19px 17px 15px}.report-access-search{padding:12px 17px}.available-report-list{padding:12px 15px}.report-access-dialog-footer{padding:13px 17px}.assigned-report-card,.available-report-row{gap:8px;padding:9px}.access-report-icon{width:31px;height:31px}.remove-report-access{padding:7px 8px}.report-access-search .small-tag{display:none}}

/* V4.4 — irreversible account deletion, visually separated from editing */
.settings-actions .delete-user-trigger[hidden],.delete-user-modal[hidden]{display:none!important}
.settings-actions .delete-user-trigger{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 15px;border:1px solid #e4a9a6;border-radius:8px;background:#fff7f6;color:#ad3030;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.settings-actions .delete-user-trigger:hover{background:#ffeae8;border-color:#bf5454}
.settings-actions .delete-user-trigger:focus-visible,.delete-user-buttons button:focus-visible{outline:3px solid #f1a87a;outline-offset:3px}
.delete-user-dialog{max-width:490px}
.delete-user-top{padding:28px 30px 14px}
.delete-user-symbol{display:grid;place-items:center;width:50px;height:50px;margin-bottom:19px;background:#fff0ee;border:1px solid #ffcbc5;border-radius:14px;color:#b13434;font-size:30px;font-weight:900}
.delete-user-top .modal-eyebrow{color:#ba4c42}
.delete-user-top h2{font-size:23px;line-height:1.25;margin:0 0 12px;color:#173357}
.delete-user-top>p{font-size:13px;color:#627790;line-height:1.75;margin:0 0 18px;overflow-wrap:anywhere}
.delete-user-top>p strong{color:#1f3e62}
.delete-user-warning{border:1px solid #f1c9c5;border-radius:10px;background:#fff8f7;padding:14px 16px;color:#6b4651;font-size:12px;line-height:1.7}
.delete-user-warning strong{color:#9e3539}
.delete-user-top .settings-feedback{margin:14px 0 0}
.delete-user-buttons{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 30px 24px;background:#f9fbfd;border-top:1px solid #edf1f5}
.delete-user-buttons button{min-height:42px;font-family:inherit;font-size:12px;font-weight:800}
.delete-user-confirm{padding:10px 17px;background:#b73437;color:#fff;border:1px solid #aa3032;border-radius:8px;cursor:pointer}
.delete-user-confirm:not(:disabled):hover{background:#952326}
.delete-user-confirm:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){.settings-actions .delete-user-trigger{margin-left:0;width:100%}.delete-user-top{padding:23px 20px 12px}.delete-user-buttons{padding:17px 20px 22px}.delete-user-buttons button{flex:1}}

/* v4.6 save-state feedback: always visible next to the Save Progress toolbar */
.save-feedback{margin:-7px 0 16px;padding:11px 15px;font-size:12px;line-height:1.5;border-radius:9px;border:1px solid #dbe4f0;color:#324c72;background:#f5f8fd;font-weight:700}
.save-feedback[hidden]{display:none}
.save-feedback.success{border-color:#9bd6b2;background:#eaf8ef;color:#125f3c}
.save-feedback.error{border-color:#e9a5a5;background:#fff2f2;color:#a42626}
.save-feedback.pending{border-color:#edcf97;background:#fff8e9;color:#86520d}
