:root{--ct-green:#08734b;--ct-red:#c82d3b;--ct-ink:#162f29;--ct-muted:#697e76;--ct-line:#dce6e0;--ct-bg:#f3f6f2;--ct-shadow:0 8px 28px #17372b08}
.ct-page{max-width:1440px;margin:auto;padding:32px clamp(16px,3vw,38px) 100px;color:var(--ct-ink)}.ct-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.ct-heading h1{font-size:clamp(25px,3.2vw,38px);line-height:1.15;letter-spacing:-1px;margin:7px 0 10px;font-weight:800}.ct-heading p{color:var(--ct-muted);margin:0}.ct-eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:800;color:var(--ct-green)}.ct-card{background:white;border:1px solid var(--ct-line);border-radius:20px;padding:24px;box-shadow:var(--ct-shadow);min-width:0}.ct-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.ct-card h2{font-size:18px;font-weight:750;margin:0}.ct-team-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(350px,1.3fr);gap:22px}.ct-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ct-form{display:grid;gap:17px}.ct-form label{display:grid;gap:7px;font-size:13px;font-weight:650}.ct-form input,.ct-form select,.ct-form textarea,.ct-search input,.ct-select{font:inherit;background:#fcfdfb;border:1px solid #cfdcd3;border-radius:10px;min-height:46px;padding:11px 12px;color:var(--ct-ink);width:100%;box-sizing:border-box}.ct-form input:focus,.ct-form select:focus,.ct-form textarea:focus{outline:3px solid #d8efe2;border-color:var(--ct-green)}.ct-form textarea{min-height:115px;resize:vertical}.ct-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1px solid transparent;background:var(--ct-green);color:#fff;border-radius:10px;font:inherit;font-size:13px;font-weight:750;text-decoration:none;cursor:pointer;box-sizing:border-box;white-space:normal}.ct-btn:hover{background:#055f3d;color:white}.ct-btn:disabled{opacity:.5;cursor:wait}.ct-secondary{background:#fff;border-color:var(--ct-line);color:var(--ct-ink)}.ct-secondary:hover{background:#edf5ef;color:var(--ct-ink)}.ct-red{background:var(--ct-red)}.ct-muted{color:var(--ct-muted);font-size:12px;font-weight:400}.ct-small{font-size:12px}.ct-check{display:flex!important;flex-direction:row;align-items:center;gap:9px!important;font-size:13px!important}.ct-check input{width:18px!important;min-height:18px!important;accent-color:var(--ct-green)}.ct-inset{background:#f0f6ef;border-radius:10px;padding:14px;font-size:12px;line-height:1.6;color:#446858}.ct-alert{padding:15px 18px;border:1px solid #e3d8aa;background:#fff8df;color:#715719;border-radius:12px;margin-bottom:18px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ct-danger{background:#fff0ef;border-color:#f1c8c5;color:#9c2431}.ct-success{background:#edf8ef;border-color:#c6e4cb;color:#20613c}.ct-search{display:flex;gap:8px;margin-bottom:15px}.ct-search input{min-width:0;flex:1}.ct-person{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:start;padding:16px 0;border-bottom:1px solid #edf1eb;overflow-wrap:anywhere}.ct-avatar{width:38px;height:38px;display:grid;place-items:center;background:#e9f3e9;border-radius:50%;font-weight:700;color:#367253}.ct-pill{display:inline-block;border:1px solid #d2e9d6;color:#276343;background:#f0f8f0;padding:4px 8px;border-radius:7px;font-size:10px;font-weight:750;text-transform:capitalize;margin:5px 4px 0 0}.ct-pill-warn{color:#926419;border-color:#e9d6aa;background:#fff8e8}.ct-empty{padding:45px 15px;text-align:center;color:var(--ct-muted);font-size:13px}.ct-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.ct-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.ct-stat{background:#fff;border:1px solid var(--ct-line);border-radius:16px;padding:20px;position:relative;overflow:hidden}.ct-stat:before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:4px;background:var(--ct-green)}.ct-stat b{display:block;font-size:30px;line-height:1.25;letter-spacing:-1px;margin:8px 0}.ct-stat span{font-size:12px;color:var(--ct-muted)}.ct-dash-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-bottom:20px}.ct-bar-row{display:grid;grid-template-columns:62px 1fr 75px;gap:14px;align-items:center;padding:13px 0;font-size:13px}.ct-track{height:12px;background:#edf1eb;border-radius:5px;overflow:hidden}.ct-track i{display:block;height:100%;background:#7b9c8a;border-radius:5px}.ct-bar-row.ct-focus .ct-track i{background:var(--ct-red)}.ct-bar-row b:last-child{text-align:right;font-variant-numeric:tabular-nums}.ct-table-wrap{overflow:auto}.ct-table{border-collapse:collapse;width:100%;font-size:12px}.ct-table th{text-align:left;color:var(--ct-muted);font-size:11px;letter-spacing:.5px;padding:12px 10px;border-bottom:1px solid var(--ct-line);white-space:nowrap}.ct-table td{padding:13px 10px;border-bottom:1px solid #edf1eb;vertical-align:middle}.ct-table .ct-num{text-align:right;font-variant-numeric:tabular-nums}.ct-progress{height:6px;background:#e8efe8;border-radius:4px;overflow:hidden}.ct-progress i{display:block;height:100%;background:var(--ct-green)}.ct-banner{background:#103e2f;color:white;padding:27px;border-radius:20px;display:flex;justify-content:space-between;gap:24px;margin-bottom:22px}.ct-banner p{color:#c2d7c8;font-size:13px;margin:7px 0 0}.ct-banner h2{font-size:22px;margin:0}.ct-banner .ct-btn{background:white;color:#174c36}.ct-incident{display:block;padding:14px 0;border-bottom:1px solid var(--ct-line);color:var(--ct-ink)}.ct-incident p{font-size:12px;color:var(--ct-muted);margin:5px 0}.ct-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}.ct-comparison{font-size:12px}.ct-diff{color:#ab2d38;background:#fff0ee}.ct-match{color:#237447}.ct-media{width:100%;max-height:500px;object-fit:contain;border-radius:12px;background:#f1f5ef}.ct-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.ct-status-title{font-size:22px!important;margin-bottom:8px!important}.ct-detail-meta{font-size:12px;color:var(--ct-muted);margin-bottom:18px}.ct-form [hidden],.ct-page [hidden]{display:none!important}
/* Standalone field application: all styles and icons are local for offline use. */
body.ct-field{margin:0;background:var(--ct-bg);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ct-ink)}.ct-field *{box-sizing:border-box}.ct-topbar{background:#fff;border-bottom:1px solid var(--ct-line);height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(16px,5vw,64px);gap:14px;position:sticky;top:0;z-index:10}.ct-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ct-ink)}.ct-brand-mark{width:40px;height:44px;background:linear-gradient(180deg,var(--ct-red) 0 48%,white 48% 52%,var(--ct-green) 52%);border-radius:9px;display:grid;place-items:center;color:white;font-size:18px;font-weight:800}.ct-brand b{font-size:15px;display:block}.ct-brand small{font-size:10px;letter-spacing:1.3px;color:var(--ct-muted);display:block;margin-top:3px}.ct-network{font-size:11px;padding:7px 10px;background:#eaf5eb;color:#24643e;border-radius:20px;white-space:nowrap}.ct-network.offline{background:#fff1d5;color:#846010}.ct-field .ct-page{max-width:1160px}.ct-tabs{display:flex;gap:6px;background:#e6eee5;border-radius:12px;padding:5px;margin:0 0 24px}.ct-tab{border:0;background:transparent;padding:12px 18px;border-radius:9px;flex:1;color:#58705f;font-weight:700;font-size:13px;cursor:pointer}.ct-tab.active{background:#fff;color:var(--ct-ink);box-shadow:0 2px 8px #163a2010}.ct-capture-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.ct-field .ct-form{gap:22px}.ct-step{display:flex;align-items:center;gap:10px;margin-bottom:18px}.ct-step span{display:grid;place-items:center;width:27px;height:27px;background:#eaf1e8;color:#477357;border-radius:8px;font-size:12px;font-weight:800}.ct-step h2{font-size:16px}.ct-official{border:1px solid var(--ct-line);border-radius:12px;overflow:hidden}.ct-official label{display:grid;grid-template-columns:minmax(0,1fr) 135px;align-items:center;gap:20px;margin:0;padding:11px 14px;border-bottom:1px solid var(--ct-line);font-weight:550}.ct-official label:last-child{border:0}.ct-official input{text-align:right;font-size:17px;font-variant-numeric:tabular-nums;min-height:42px;background:#fff}.ct-official label small{display:block;color:var(--ct-muted);font-size:11px;margin-top:4px;font-weight:400}.ct-party-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.ct-party{display:flex!important;align-items:center;justify-content:space-between;border:1px solid var(--ct-line);border-radius:10px;padding:10px;gap:10px}.ct-party input{max-width:100px;text-align:right;font-size:17px;min-height:42px}.ct-party-code{font-weight:800;font-size:13px;display:block}.ct-party-name{font-size:9px;color:var(--ct-muted);display:block;max-width:155px;margin-top:3px}.ct-party[data-party=PDP]{border-left:3px solid var(--ct-red)}.ct-attach{border:1px dashed #a4bda8;border-radius:12px;background:#f6f9f2;padding:18px;display:grid;gap:8px;font-size:12px}.ct-attach input{padding:0;min-height:32px;border:0;background:none;font-size:10px}.ct-attach img,.ct-attach video{max-width:100%;max-height:160px;border-radius:8px}.ct-sticky{position:sticky;top:96px}.ct-review-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:11px 0;border-bottom:1px solid var(--ct-line)}.ct-review-line b{font-size:15px}.ct-submit{width:100%;margin-top:18px}.ct-mobile-bottom{display:none}.ct-notice{font-size:12px;color:#836022;background:#fff7e5;padding:12px;border-radius:10px;line-height:1.6}.ct-workspace{margin-bottom:20px}.ct-queue-item{border-bottom:1px solid var(--ct-line);padding:18px 0}.ct-queue-head{display:flex;justify-content:space-between;gap:10px}.ct-queue-item .ct-actions{margin-top:10px}.ct-title-line{display:flex;align-items:center;gap:10px}.ct-field a{color:var(--ct-green)}.ct-field .ct-btn{color:white}.ct-field .ct-btn.ct-secondary{color:var(--ct-ink)}.ct-field #reportNotice:empty{display:none}
@media(max-width:1000px){.ct-team-grid,.ct-dash-grid{grid-template-columns:1fr}.ct-capture-grid{grid-template-columns:minmax(0,1fr) 250px}.ct-stats{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.ct-page{padding:22px 14px 108px}.ct-card{padding:18px;border-radius:16px}.ct-heading{align-items:start;gap:12px}.ct-heading h1{font-size:27px}.ct-heading p{font-size:12px}.ct-heading>.ct-btn{font-size:11px;padding:9px 12px}.ct-capture-grid,.ct-detail-grid{grid-template-columns:1fr}.ct-sticky{position:static}.ct-official label{grid-template-columns:minmax(0,1fr) 110px;gap:10px;padding:9px 10px}.ct-official label span{font-size:12px}.ct-party-list{gap:8px}.ct-party{padding:8px;gap:5px}.ct-party input{max-width:76px;font-size:16px}.ct-party-name{font-size:8px}.ct-two{gap:12px}.ct-banner{padding:22px;flex-direction:column;gap:16px}.ct-topbar{height:67px;padding:0 14px}.ct-topbar .ct-btn{min-height:36px;padding:7px 10px;font-size:11px}.ct-brand small{font-size:8px;letter-spacing:1px}.ct-brand b{font-size:13px}.ct-brand-mark{width:32px;height:37px}.ct-mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid var(--ct-line);z-index:20;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.ct-mobile-bottom a,.ct-mobile-bottom button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:44px;border:0;background:none;color:#5c7365;text-decoration:none;font-size:10px;font-weight:650}.ct-tabs{margin-bottom:18px}.ct-tab{padding:11px 8px;font-size:12px}.ct-stat{padding:17px}.ct-stat b{font-size:27px}.ct-stat span{font-size:11px}.ct-team-grid{grid-template-columns:1fr}.ct-people .ct-person{grid-template-columns:32px minmax(0,1fr) auto}.ct-people .ct-avatar{width:32px;height:32px}.ct-search{flex-wrap:nowrap}}
@media(prefers-reduced-motion:no-preference){.ct-card,.ct-stat{animation:ct-enter .25s ease-out}@keyframes ct-enter{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}}
/* Shared shell stays usable if an external stylesheet is unavailable. */
body.pt-has-shell{margin:0;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ct-ink);background:var(--ct-bg);overflow-x:hidden}body.pt-has-shell *{box-sizing:border-box}body.pt-has-shell a{color:var(--ct-green);text-decoration:none}body.pt-has-shell .ct-btn{color:white}body.pt-has-shell .ct-secondary{color:var(--ct-ink)}.ct-shell-header{height:74px;position:sticky;top:0;z-index:40;background:white;border-bottom:1px solid var(--ct-line);padding:0 28px;display:flex;justify-content:space-between;align-items:center;gap:18px}.ct-shell-brand{display:flex;align-items:center;gap:12px;min-width:0}.ct-shell-brand b{color:var(--ct-ink);font-size:15px;display:block}.ct-shell-brand small{font-size:9px;letter-spacing:1.7px;color:var(--ct-muted);display:block;margin-top:5px}.ct-shell-account{display:flex;align-items:center;gap:12px}.ct-shell-user b{display:block;font-size:12px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ct-shell-user small{font-size:10px;color:var(--ct-muted)}.ct-shell-account .ct-btn{min-height:36px;padding:7px 12px;font-size:11px}.ct-shell-sidebar{position:fixed;top:74px;left:0;bottom:0;width:244px;border-right:1px solid var(--ct-line);background:#fff;overflow:auto;padding:20px 14px;z-index:30}.ct-sidebar-note{background:#f0f6ed;border:1px solid #dde8d9;border-radius:12px;padding:13px;font-size:11px;font-weight:700}.ct-sidebar-note small{display:block;color:var(--ct-muted);font-size:10px;font-weight:400;margin:5px 0 0 12px}.ct-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#31a364;margin-right:6px}.ct-shell-group{text-transform:uppercase;letter-spacing:1.3px;color:#91a093;font-size:9px;font-weight:750;padding:21px 12px 9px}.ct-shell-link{display:flex;align-items:center;gap:12px;padding:11px 13px;min-height:42px;border-radius:9px;font-size:11px;font-weight:550;color:#5d7366!important;margin-bottom:3px}.ct-shell-link .ct-icon{width:17px;height:17px}.ct-shell-link.active{background:#edf5e9;color:#155f3b!important;font-weight:750}.ct-shell-link:hover{background:#f3f7f0}.pt-content-shell{min-width:0;margin-left:244px}.pt-content-shell>.ct-page{padding-top:30px}.ct-shell-bottom{display:none}.ct-menu-dialog:not([open]){display:none}.ct-menu-dialog{border:1px solid var(--ct-line);border-radius:20px;width:calc(100% - 28px);max-width:440px;max-height:85vh;padding:20px;color:var(--ct-ink);background:#fff}.ct-menu-dialog::backdrop{background:#09241785}.ct-menu-dialog h2{font-size:18px;margin:0}.app-footer{padding:24px 24px 36px;color:var(--ct-muted);font-size:11px}.app-footer-shell{border-top:1px solid var(--ct-line);padding:20px 0;display:flex;justify-content:space-between;gap:20px;line-height:1.7}.app-footer-shell strong{color:var(--ct-ink)}.app-footer-shell .small{font-size:10px}.pt-has-shell .page-hero{padding:28px 24px 12px}.pt-has-shell .hero-card{padding:26px;background:#fff;border:1px solid var(--ct-line);border-radius:20px}.pt-has-shell .headline{font-size:30px;font-weight:800}.pt-has-shell .page-section{padding:16px 24px 90px}.pt-has-shell .btn-main{background:var(--ct-green);color:#fff;border:0;border-radius:10px;padding:12px 16px}.pt-has-shell .btn-soft{background:#fff;color:var(--ct-ink);border:1px solid var(--ct-line);border-radius:10px;padding:12px 16px}.pt-has-shell .section-card{background:#fff;border:1px solid var(--ct-line);border-radius:16px;padding:20px}
@media(min-width:992px){.ct-shell-bottom{display:none!important}}
@media(max-width:991px){.ct-shell-sidebar{display:none}.pt-content-shell{margin-left:0}.ct-shell-header{height:66px;padding:0 14px;gap:12px}.ct-shell-brand{gap:8px}.ct-shell-brand .ct-brand-mark{width:30px;height:36px;font-size:15px}.ct-shell-brand b{font-size:12px;max-width:200px;white-space:normal}.ct-shell-brand small{font-size:7px;letter-spacing:1px}.ct-shell-user{display:none}.ct-shell-account{gap:8px}.ct-shell-account .ct-avatar{width:29px;height:29px;font-size:12px}.ct-shell-account .ct-btn{min-height:33px;padding:7px 10px;font-size:10px}.ct-shell-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--ct-line);padding:7px 5px calc(7px + env(safe-area-inset-bottom));z-index:45;box-shadow:0 -4px 16px #132a1404}.ct-shell-bottom a,.ct-shell-bottom button{border:0;background:none;display:flex;flex:1;min-width:0;min-height:46px;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:650;line-height:1.2;color:#6c7c71!important;padding:5px 3px;text-align:center}.ct-shell-bottom .ct-icon{width:18px;height:18px}.ct-shell-bottom .active{color:var(--ct-green)!important;background:#f0f7ec;border-radius:10px}.app-footer{padding:12px 16px 95px}.app-footer-shell{display:block}.app-footer-shell>div+div{margin-top:10px}.ct-heading{flex-wrap:wrap}.ct-heading form{max-width:100%}.ct-heading select{max-width:100%}}
body.pt-has-shell .ct-banner .ct-btn{background:#fff;color:#174c36}
.ct-login-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:55px;align-items:center;padding:70px 0}.ct-login-grid .ct-card{padding:34px}@media(max-width:760px){.ct-login-grid{grid-template-columns:1fr;gap:24px;padding:15px 0}.ct-login-grid .ct-card{padding:22px}.ct-login-intro h1{font-size:34px!important}.ct-login-intro .ct-inset{margin-top:15px!important}}

/* Result alerts share the desktop and mobile workspace. */
.ct-result-alert-link{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--ct-line);border-radius:12px;color:var(--ct-ink)!important;white-space:nowrap;font-size:11px;text-decoration:none}.ct-result-alert-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}.ct-result-alert-link b{min-width:21px;height:21px;display:grid;place-items:center;border-radius:20px;background:#e5eee1;font-size:11px;padding:0 5px}.ct-result-alert-link.ct-has-alerts{border-color:#efbd9a;background:#fff4e9;color:#9e3e12!important}.ct-result-alert-link.ct-has-alerts b{background:#b9491e;color:#fff}.ct-alert-list{display:grid;gap:16px;margin-top:20px}.ct-duplicate-card{border:1px solid var(--ct-line);border-radius:16px;padding:20px;background:#fff}.ct-duplicate-card h2{font-size:18px}.ct-duplicate-card p{margin:10px 0;overflow-wrap:anywhere}.ct-duplicate-card .ct-actions{flex-wrap:wrap}.ct-duplicate-card .ct-btn{text-align:center;white-space:normal}
@media(max-width:991px){.ct-alert-link-label{display:none}.ct-result-alert-link{gap:4px;padding:6px}.ct-shell-account:has(.ct-result-alert-link) .ct-avatar{display:none}.ct-duplicate-card{padding:16px}.ct-duplicate-card .ct-actions .ct-btn{flex:1;min-width:130px}}
@media(max-width:380px){.ct-shell-brand small{display:none}.ct-shell-brand b{font-size:11px}.ct-shell-header{gap:5px}.ct-shell-account{gap:5px}}

/* Online reporting stays usable while offline storage is locked. */
.ct-field #accessPanel .ct-card-head{align-items:flex-start;gap:12px}.ct-field #accessPanel h2{margin:0 0 8px}.ct-field #accessPanel .ct-actions{flex-wrap:wrap;align-items:end}.ct-field #accessPanel label{min-width:180px;max-width:100%}.ct-field #accessPanel .ct-select{max-width:100%}.ct-field [hidden]{display:none!important}@media(max-width:600px){.ct-field #accessPanel .ct-card-head{flex-wrap:wrap}.ct-field #accessPanel .ct-actions>label{flex:1 1 100%}}

/* Transfer progress and server-confirmed receipts remain visible at any scroll position. */
.ct-transfer{position:fixed;bottom:24px;right:24px;width:min(420px,calc(100vw - 32px));z-index:85;background:#fff;border:1px solid #9cbfa9;border-radius:16px;padding:18px;box-shadow:0 12px 50px #102f2840;color:var(--ct-ink)}.ct-transfer-head{display:flex;justify-content:space-between;gap:12px;font-size:13px}.ct-transfer p{font-size:11px;line-height:1.7;margin:10px 0 0;color:var(--ct-muted)}.ct-transfer progress,.ct-receipt-dialog progress{display:block;width:100%;height:12px;margin-top:12px;accent-color:var(--ct-green)}.ct-transfer[data-state=failed]{border-color:var(--ct-red);background:#fff5f5}.ct-receipt-dialog{width:calc(100% - 32px);max-width:440px;border:1px solid #bdd5c4;border-radius:22px;padding:28px;color:var(--ct-ink);background:#fff;box-shadow:0 20px 80px #0b292c45;max-height:90vh;overflow:auto}.ct-receipt-dialog::backdrop{background:#112b2b88}.ct-receipt-dialog h2{font-size:23px;margin:18px 0 12px}.ct-receipt-dialog p{font-size:14px;line-height:1.8;color:var(--ct-muted)}.ct-receipt-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e5f6e9;color:#08734b;font-size:27px;font-weight:800}.ct-receipt-dialog .ct-actions{display:flex;flex-wrap:wrap;gap:10px}.ct-receipt-dialog .ct-btn{white-space:normal;text-align:center}.ct-receipt-card{margin-bottom:22px;border-left:4px solid #08734b}.ct-receipt-card p{font-size:13px;line-height:1.7}.ct-field-notifications{display:flex;align-items:center;gap:5px;font-size:11px;text-decoration:none;padding:8px;border:1px solid var(--ct-line);border-radius:9px;white-space:nowrap}.ct-field-notifications b{background:#c82d3b;color:#fff;border-radius:14px;min-width:19px;text-align:center;padding:2px 4px}.ct-notification-unread{border-left:4px solid #c82d3b!important;background:#fffaf8!important}#receiptTransferLabel{font-size:12px}.ct-receipt-dialog[open]{display:block}
@media(max-width:991px){.ct-transfer{bottom:calc(82px + env(safe-area-inset-bottom));right:16px;left:16px;width:auto}.ct-receipt-dialog{padding:24px}.ct-field .ct-title-line{gap:5px}.ct-field .ct-title-line .ct-btn{font-size:10px;padding:8px}.ct-field-notifications{font-size:10px;padding:6px}.ct-field .ct-topbar{padding-left:14px;padding-right:14px}}

@media(max-width:380px){.ct-field .ct-brand small{display:none}.ct-field .ct-brand b{font-size:12px}.ct-field .ct-topbar{gap:5px}.ct-field .ct-title-line{gap:4px}}

/* Both stored and newly captured evidence feed the same protected upload. */
.ct-media-grid{align-items:start}.ct-media-grid .ct-attach{min-width:0;margin:0}.ct-media-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.ct-media-heading>span{font-size:10px;font-weight:700;background:#e6eee4;padding:4px 8px;border-radius:14px}.ct-media-source{font-size:12px;font-weight:650;margin:8px 0 0}.ct-media-grid input[type=file]{width:100%;max-width:100%;min-width:0;min-height:38px;font-size:12px}.ct-media-grid input[type=file]::file-selector-button{padding:9px 10px;border:1px solid #c6d8c8;border-radius:8px;background:#fff;color:#294f3c;font:inherit;cursor:pointer;margin-right:8px}.ct-media-grid .ct-btn{min-height:42px;white-space:normal}.ct-media-or{text-align:center;color:var(--ct-muted);font-size:11px}.ct-media-selection{margin:4px 0;font-size:11px;line-height:1.7;overflow-wrap:anywhere;color:var(--ct-ink)}.ct-media-error{color:#b42335!important}.ct-media-remove{justify-self:start;font-size:11px!important;padding:7px 12px!important}.ct-media-grid .ct-attach img,.ct-media-grid .ct-attach video{width:100%;max-height:220px;object-fit:contain;background:#e7eee5}
@media(max-width:600px){.ct-media-grid{grid-template-columns:minmax(0,1fr)}.ct-media-grid .ct-attach{padding:16px}}

/* Evidence-first figures stay attached to their original immutable files. */
.ct-stage-fields{border:1px solid var(--ct-line);min-width:0;margin:0}.ct-ai-summary{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.ct-ai-summary .ct-pill{white-space:normal}.ct-field .ct-tabs{flex-wrap:wrap}.ct-field .ct-tab{flex:1;min-width:125px}.ct-field #evidenceCard[data-manual=true] input[type=file],.ct-field #evidenceCard[data-manual=true] .ct-media-source,.ct-field #evidenceCard[data-manual=true] .ct-media-or,.ct-field #evidenceCard[data-manual=true] button{display:none!important}.ct-stage-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.ct-stage-metric{display:block;background:#fff;border:1px solid var(--ct-line);border-radius:16px;padding:18px;text-decoration:none;color:var(--ct-ink)}.ct-stage-metric b{display:block;font-size:28px;margin:10px 0}.ct-stage-metric small{color:var(--ct-muted);font-size:11px}.ct-stage-metric[data-tone=problem]{border-left:4px solid #c82d3b}.ct-stage-metric[data-tone=missing]{border-left:4px solid #b77914}.ct-stage-metric[data-tone=ready]{border-left:4px solid #08734b}.ct-stage-status{display:inline-flex;padding:5px 10px;border-radius:20px;background:#edf2ef;font-size:11px;font-weight:700}.ct-stage-status[data-status=ready],.ct-stage-status[data-status=completed]{background:#e4f3e9;color:#11613c}.ct-stage-status[data-status=delayed],.ct-stage-status[data-status=not_started]{background:#fff3d8;color:#875515}.ct-stage-status[data-status=problem],.ct-stage-status[data-status=suspended]{background:#fee8e9;color:#aa2938}.ct-stage-status[data-status=ongoing]{background:#e6effe;color:#285daa}.ct-stage-note{max-width:300px;white-space:normal;overflow-wrap:anywhere}.ct-operation-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ct-operation-filters label{display:grid;gap:7px;font-size:11px;min-width:130px;flex:1}.ct-operation-filters select{width:100%}.ct-stage-history{border-left:2px solid #d7e3d9;padding:0 0 20px 18px;margin-left:5px}.ct-stage-history h3{font-size:14px}.ct-stage-history p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.ct-field #manualSnapshot p{line-height:1.7}.ct-field #manualSnapshot .ct-pill{font-size:11px}.ct-stage-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.ct-stage-details div{background:#f3f6f1;padding:12px;border-radius:9px}.ct-stage-details b,.ct-stage-details span{display:block;font-size:12px}.ct-stage-details span{margin-top:6px;color:var(--ct-muted)}
@media(max-width:800px){.ct-stage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-operation-filters label{min-width:calc(50% - 12px)}}
@media(max-width:480px){.ct-stage-metric{padding:14px}.ct-stage-metric b{font-size:24px}.ct-field .ct-tabs{gap:6px}.ct-field .ct-tab{min-width:calc(50% - 6px);padding:12px 8px;font-size:11px}.ct-stage-details{grid-template-columns:1fr}.ct-operation-filters label{min-width:100%}}
