:root{--paper:#fff9f8;--white:#fff;--ink:#202124;--muted:#5f6368;--line:#e3e7ee;--primary:#d93025;--primary-soft:#fce8e6;--yellow:#fbbc05;--yellow-soft:#fef7e0;--green:#137333;--orange:#9a6700;--orange-soft:#fef7e0;--red:#c5221f;--red-soft:#fce8e6;--radius:20px;--shadow:0 14px 45px #2021240b}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}:is(button,a,input,select,textarea):focus-visible{outline:3px solid #d9302550;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.2;letter-spacing:-.04em}h1{font-size:34px;font-weight:650}h2{font-size:22px;font-weight:650}h3{font-size:17px;font-weight:650}small{font-size:12px}svg.icon{width:20px;height:20px;flex-shrink:0;stroke-width:1.7;vertical-align:middle}button svg.icon{pointer-events:none}button{border:0}strong{font-weight:650}.muted{color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:750;color:var(--muted)}.caption{font-size:12px;color:var(--muted)}.nowrap{white-space:nowrap}.stack{display:grid;gap:16px}.row{display:flex;align-items:center;gap:12px}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px}.grow{flex:1}.text-right{text-align:right}.break{overflow-wrap:anywhere}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 17px;border-radius:11px;font-weight:650;font-size:13px;background:var(--primary);color:white;text-decoration:none;border:1px solid transparent;transition:background .18s,transform .18s;white-space:nowrap}.btn:hover{background:#b3261e;text-decoration:none}.btn:active{transform:translateY(1px)}.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:var(--paper)}.btn.soft{background:var(--primary-soft);color:var(--primary)}.btn.soft:hover{background:#fad2cf}.btn.dark{background:var(--ink);color:#fff}.btn.yellow{background:var(--yellow);color:var(--ink)}.btn.yellow:hover{background:#f9ab00}.btn.danger{background:var(--red-soft);color:var(--red)}.btn.small{min-height:35px;padding:7px 12px;font-size:12px}.btn.full{width:100%}.btn.ghost{background:transparent;color:var(--muted)}.icon-btn{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:transparent;color:var(--muted)}.icon-btn:hover{background:var(--paper);color:var(--ink)}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:750;font-size:20px;letter-spacing:-.8px}.brand:hover{text-decoration:none}.brand-mark{width:36px;height:36px;display:block;flex-shrink:0;object-fit:contain}.shell{display:grid;grid-template-columns:234px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;padding:31px 21px 22px;border-right:1px solid var(--line);background:#ffffff;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 7px}.workspace-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:35px 13px 13px}.workspace-label:before{content:"";width:5px;height:5px;background:#34a853;border-radius:50%}.nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;color:#5f6368;padding:12px 13px;border-radius:12px;font-size:13px;font-weight:600}.nav-link:hover{color:var(--ink);background:#f1f3f4;text-decoration:none}.nav-link.active{background:var(--primary);color:#fff}.nav-link.active .nav-count{background:#ffffff26;color:#fff}.nav-count{margin-left:auto;font-size:10px;background:#f1f3f4;color:#5f6368;padding:1px 6px;border-radius:5px}.side-bottom{margin-top:auto;padding-top:38px}.side-tip{border:1px solid #ceead6;background:#e6f4ea;border-radius:15px;padding:17px 15px;margin-bottom:23px}.side-tip .icon{color:#137333;margin-bottom:9px}.side-tip h4{font-size:12px;letter-spacing:0;margin-bottom:6px}.side-tip p{font-size:11px;color:#5f6368;line-height:1.65}.identity{display:flex;align-items:center;gap:10px;padding:15px 4px 0;border-top:1px solid var(--line);min-width:0}.avatar{display:grid;place-items:center;flex-shrink:0;background:#fce8e6;color:#b3261e;width:36px;height:36px;border-radius:11px;font-size:11px;font-weight:750}.identity-info{min-width:0;flex:1}.identity-info strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-info small{display:block;font-size:10px;color:var(--muted)}.main{min-width:0}.topbar{min-height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 40px;background:#ffffff}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}.breadcrumb .icon{width:14px;height:14px}.top-actions{display:flex;align-items:center;gap:14px}.date-label{font-size:11px;color:var(--muted)}.content{max-width:1500px;margin:auto;padding:34px 40px 45px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.page-head p{color:var(--muted);font-size:13px;margin-top:9px}.page-head .eyebrow{margin-bottom:10px}.page-head h1{max-width:800px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;margin-bottom:25px}.welcome-card{position:relative;overflow:hidden;background:var(--primary);color:white;border-radius:var(--radius);padding:29px 32px;min-height:239px;display:flex;align-items:center}.welcome-copy{position:relative;z-index:1;max-width:60%}.welcome-card .eyebrow{color:#fad2cf;margin-bottom:14px}.welcome-card h2{font-size:32px;font-weight:600;letter-spacing:-1.4px;margin-bottom:12px;line-height:1.17}.welcome-card p{font-size:12px;color:#fce8e6;line-height:1.8;margin-bottom:21px}.welcome-card .btn{font-size:12px;min-height:38px;padding:8px 13px}.hero-art{position:absolute;width:230px;height:250px;right:-13px;bottom:-19px;transform:rotate(-9deg);pointer-events:none}.art-orbit{border:1px solid #ffffff22;border-radius:50%;width:245px;height:245px;position:absolute;left:5px;top:24px}.art-orbit:after{content:"";position:absolute;border:1px solid #ffffff19;border-radius:50%;inset:30px}.art-map{background:#fff9f8;width:150px;height:170px;border-radius:17px;position:absolute;top:27px;left:40px;box-shadow:0 13px 20px #b3261e40;overflow:hidden}.art-road{position:absolute;background:#fff;width:230px;height:15px;transform:rotate(-30deg);left:-44px;top:65px;box-shadow:0 0 0 2px #e3e7ee}.art-road.r2{top:98px;transform:rotate(45deg)}.art-road.r3{top:12px;left:-130px;transform:rotate(75deg)}.art-block{position:absolute;border-radius:9px;background:#ceead6;width:46px;height:40px;left:91px;top:13px;transform:rotate(8deg)}.art-block.b2{left:10px;top:110px;width:60px;height:48px;background:#fce8e6}.art-pin{position:absolute;left:90px;top:61px;width:52px;height:52px;color:var(--primary);filter:drop-shadow(0 8px 3px #d9302518)}.art-photo{position:absolute;left:102px;top:145px;width:100px;height:71px;border-radius:10px;background:var(--yellow);box-shadow:0 10px 20px #b3261e30;display:flex;align-items:center;justify-content:center;transform:rotate(18deg);color:#202124}.art-photo .icon{width:35px;height:35px;stroke-width:1.3}.art-dot{position:absolute;left:6px;top:87px;border:1px solid #ffffff40;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--yellow)}.art-dot .icon{width:15px;height:15px}.balance-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:27px 28px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow)}.balance-card .eyebrow{color:var(--muted)}.balance-icon{width:33px;height:33px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;color:#5f6368}.balance-amount{font-size:39px;letter-spacing:-1.5px;font-weight:650;line-height:1.3;margin:16px 0 4px}.balance-amount span{font-size:20px;color:#80868b;font-weight:500;letter-spacing:0;margin-left:3px}.balance-card .caption{font-size:11px}.balance-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:19px;border-top:1px solid var(--line);margin-top:21px}.balance-bottom>span{font-size:11px;color:var(--muted)}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:34px}.stat-item{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px 19px;display:flex;gap:13px;align-items:center}.stat-symbol{height:40px;width:40px;border-radius:11px;background:#fce8e6;display:grid;place-items:center;color:#b3261e}.stat-item:nth-child(2) .stat-symbol{background:var(--primary-soft);color:var(--primary)}.stat-item:nth-child(3) .stat-symbol{background:#e6f4ea;color:#137333}.stat-item strong{display:block;font-size:23px;line-height:1.1;letter-spacing:-.8px}.stat-item small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2{font-size:20px}.section-head p{color:var(--muted);font-size:11px;margin-top:6px}.text-link{font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:5px}.text-link svg{width:14px;height:14px}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.task-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s;min-width:0}.task-card:hover{box-shadow:0 9px 24px #20212408;transform:translateY(-2px)}.task-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}.place-symbol{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#fce8e6;color:#d93025}.task-card:nth-child(3n+2) .place-symbol{background:#fce8e6;color:#c5221f}.task-card:nth-child(3n+3) .place-symbol{background:#fef7e0;color:#9a6700}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:7px;background:#e6f4ea;color:#137333;font-size:10px;font-weight:650;line-height:1.5;white-space:nowrap}.pill.blue{background:var(--primary-soft);color:var(--primary)}.pill.orange{background:var(--orange-soft);color:var(--orange)}.pill.red{background:var(--red-soft);color:var(--red)}.pill.gray{background:#f1f3f4;color:#5f6368}.pill .icon{height:12px;width:12px}.task-card h3{margin-bottom:10px;font-size:16px;letter-spacing:-.35px}.address{display:flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:11px;line-height:1.7}.address .icon{width:13px;height:13px;margin-top:3px}.task-requirements{font-size:11px;color:#5f6368;display:flex;gap:12px;margin:18px 0 17px;flex-wrap:wrap}.task-requirements span{display:flex;align-items:center;gap:5px}.task-requirements .icon{width:13px;height:13px}.task-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.reward strong{font-size:21px;letter-spacing:-.7px;color:var(--primary)}.reward small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:2px}.task-card .btn.small{padding:7px 10px;font-size:11px}.content-section{margin-top:32px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.panel-header p{font-size:12px;color:var(--muted);margin-top:7px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.table th{color:#5f6368;font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.045em;padding:12px 13px;border-bottom:1px solid var(--line);background:#fff9f8;white-space:nowrap}.table td{border-bottom:1px solid #e8eaed;padding:16px 13px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.table strong{font-size:12px}.table td .btn{white-space:nowrap}.table .money{font-weight:650;white-space:nowrap;color:var(--primary)}.filters{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.search-field{position:relative;flex:1;min-width:210px}.search-field .icon{position:absolute;left:15px;top:14px;width:17px;height:17px;color:#80868b}.search-field input{padding-left:43px!important;background:white}.filter-tab{padding:10px 16px;border:1px solid var(--line);background:white;border-radius:10px;color:var(--muted);font-size:12px}.filter-tab.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:650}.notice{padding:14px 17px;border:1px solid #fad2cf;background:#fce8e6;border-radius:12px;color:#b3261e;font-size:12px;line-height:1.7;display:flex;align-items:flex-start;gap:10px}.notice .icon{width:17px;height:17px;margin-top:2px;flex-shrink:0}.notice.success{background:#e6f4ea;border-color:#ceead6;color:#137333}.notice.neutral{background:#fff9f8;border-color:#e3e7ee;color:#5f6368}.notice.warning{background:#fef7e0;border-color:#fdd663;color:#9a6700}.profile-reminder{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fef7e0;border:1px solid #fdd663;border-radius:14px;padding:16px 20px;font-size:12px;color:#9a6700}.profile-reminder strong{display:block;color:#7a5200;margin-bottom:3px}.empty{padding:43px 20px;text-align:center}.empty .icon{width:30px;height:30px;color:#9aa0a6;margin-bottom:14px}.empty h3{font-size:15px;letter-spacing:0;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);max-width:420px;margin:0 auto 18px;line-height:1.7}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full-span{grid-column:1/-1}.field{display:grid;gap:7px;margin-bottom:18px}.field:last-child{margin-bottom:0}.field label,.field .label{font-size:12px;font-weight:650;display:block}.field .hint{color:#5f6368;font-size:11px;font-weight:400;line-height:1.6}.field input,.field select,.field textarea,.search-field input{width:100%;min-height:45px;background:#ffffff;border:1px solid #dadce0;padding:11px 13px;border-radius:10px;color:var(--ink);font-size:13px;outline:none;transition:border-color .15s}.field input:focus,.field select:focus,.field textarea:focus,.search-field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #d930250d}.field input[readonly],.field input:disabled{background:#f1f3f4;color:#5f6368}.field textarea{resize:vertical;min-height:95px}.field input[type=file]{background:#fff9f8;border:1px dashed #f6aea9;font-size:11px;padding:14px}.form-error{color:var(--red);background:var(--red-soft);border-radius:9px;padding:11px 13px;font-size:12px;margin:0 0 15px;display:none;line-height:1.7}.form-error:not(:empty){display:block}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:23px}.field .counter{font-size:10px;color:var(--muted)}.profile-avatar{width:57px;height:57px;border-radius:16px;background:var(--primary-soft);color:var(--primary);font-size:18px;font-weight:600;display:grid;place-items:center}.profile-identity{display:flex;gap:15px;align-items:center;margin-bottom:26px}.profile-identity h3{font-size:18px}.profile-identity p{color:var(--muted);font-size:12px;margin-top:5px}.verified-line{display:flex;align-items:center;gap:7px;color:#137333;font-size:11px;margin-top:6px}.verified-line .icon{width:13px;height:13px}.bank-card{border-radius:17px;padding:25px;background:var(--ink);color:white;position:relative;overflow:hidden;margin:19px 0}.bank-card:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff0b;border-radius:50%;right:-70px;top:-15px;box-shadow:0 0 0 30px #ffffff04,0 0 0 60px #ffffff04;pointer-events:none}.bank-card .eyebrow{color:#bdc1c6}.bank-card h3{font-size:15px;letter-spacing:.015em}.bank-account{font-family:ui-monospace,Consolas,monospace;font-size:21px;letter-spacing:2px;margin:25px 0 19px}.bank-holder{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;max-width:75%}.bank-card .locked{position:absolute;right:23px;bottom:25px;font-size:9px;color:#bdc1c6;display:flex;gap:5px;align-items:center}.locked .icon{width:13px;height:13px}.wallet-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:23px;align-items:stretch;margin-bottom:27px}.wallet-hero{background:var(--primary);color:white;padding:30px;border-radius:20px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.wallet-hero .eyebrow{color:#fad2cf}.wallet-hero .wallet-value{font-size:52px;letter-spacing:-2px;font-weight:650;margin:12px 0 20px;line-height:1.25}.wallet-hero .wallet-value span{font-size:27px;color:#fce8e6}.wallet-hero:after{content:"";position:absolute;width:300px;height:300px;right:-155px;top:-175px;border:1px solid #ffffff26;border-radius:50%;box-shadow:0 0 0 30px #ffffff05,0 0 0 60px #ffffff05;pointer-events:none}.wallet-substats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff29;padding-top:20px;margin-top:27px;gap:20px}.wallet-substats small{display:block;color:#fce8e6;font-size:10px;margin-bottom:5px}.wallet-substats strong{font-size:18px;letter-spacing:-.5px}.withdraw-progress{height:5px;border-radius:5px;background:#ffffff20;overflow:hidden;margin-top:7px}.withdraw-progress span{display:block;height:100%;background:var(--yellow);border-radius:5px}.wallet-details{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.wallet-details .caption{color:#fad2cf;font-size:11px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:21px 0}.step{display:flex;gap:9px;align-items:flex-start}.step-number{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:750;flex-shrink:0}.step strong{font-size:11px;display:block;margin:3px 0 2px;letter-spacing:0}.step p{font-size:10px;color:var(--muted);line-height:1.6}.assignments{display:grid;gap:17px}.assignment-card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px}.assignment-body{display:grid;grid-template-columns:1fr auto;gap:20px}.assignment-body h3{font-size:18px;margin-bottom:9px}.assignment-meta{display:flex;gap:13px;align-items:center;margin-top:15px;font-size:11px;color:var(--muted);flex-wrap:wrap}.assignment-meta .icon{height:13px;width:13px;margin-right:4px}.assignment-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:21px;padding-top:18px;gap:15px}.assignment-actions p{font-size:11px;color:var(--muted);max-width:65%;line-height:1.6}.assignment-actions .row{gap:8px}.decision-note{font-size:12px;line-height:1.7;color:#9a6700;padding:12px 14px;background:#fef7e0;border-radius:9px;margin-top:17px}.tabs{display:flex;gap:7px;margin-bottom:23px;overflow:auto}.tab{padding:9px 15px;border-radius:9px;color:var(--muted);font-size:12px;background:transparent;white-space:nowrap}.tab.active{background:white;color:var(--ink);box-shadow:0 1px 3px #00000008;font-weight:650}.tab span{font-size:10px;margin-left:5px;color:#80868b}.timeline-list{display:grid;gap:0}.timeline-row{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.timeline-row:last-child{border-bottom:0}.timeline-dot{height:34px;width:34px;border-radius:10px;background:var(--yellow-soft);color:#137333;display:grid;place-items:center;flex-shrink:0}.timeline-dot .icon{width:16px;height:16px}.timeline-dot.out{background:var(--primary-soft);color:var(--primary)}.timeline-row strong{font-size:12px}.timeline-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.timeline-row .amount{font-size:13px;font-weight:650;white-space:nowrap;margin-left:auto;color:#137333}.timeline-row .amount.out{color:var(--ink)}.mobile-brand{display:none}.mobile-nav{display:none}.page-footer{padding:25px 0 0;margin-top:36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:#80868b;font-size:10px}.page-footer span:last-child{display:flex;align-items:center;gap:5px}.page-footer .icon{width:12px;height:12px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.admin-stats .stat-item{display:block;padding:21px}.admin-stats .stat-item .eyebrow{margin-bottom:15px;font-size:9px}.admin-stats .stat-item strong{font-size:30px}.admin-stats .stat-item small{font-size:11px;margin-top:10px}.admin-welcome{padding:27px 30px;background:var(--yellow);border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.admin-welcome h2{font-size:27px;max-width:460px}.admin-welcome p{font-size:12px;margin-top:10px;color:#5f6368;max-width:600px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.review-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:23px}.review-card h3{margin:17px 0 7px}.review-card .caption{font-size:11px}.evidence-row{display:flex;gap:8px;margin:18px 0;overflow:auto;padding-bottom:3px}.evidence-link{width:72px;height:72px;border-radius:9px;overflow:hidden;flex-shrink:0;background:#fff9f8;border:1px solid var(--line);position:relative}.evidence-link img{width:100%;height:100%;object-fit:cover}.evidence-link small{position:absolute;bottom:0;left:0;right:0;font-size:8px;text-align:center;background:#2021248f;color:white;padding:2px}.review-card .actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px}.identity-mini{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5}.identity-mini .avatar{width:30px;height:30px;border-radius:9px;font-size:10px}.identity-mini small{font-size:10px;color:var(--muted);display:block}.detail-list{display:grid;gap:0;font-size:12px;margin-top:15px}.detail-row{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line)}.detail-row:last-child{border:0}.detail-row>span:first-child{color:var(--muted);flex-shrink:0}.detail-row strong{text-align:right;overflow-wrap:anywhere}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:21px}.google-letter{width:20px;height:20px;display:grid;place-items:center;font-weight:750;font-family:Arial;font-size:18px;color:#4285f4;flex-shrink:0}.check-field{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:12px;line-height:1.75}.check-field input{width:17px;height:17px;accent-color:var(--primary);margin-top:2px;flex-shrink:0}.file-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.file-preview img{width:60px;height:60px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.upload-progress{font-size:11px;color:var(--primary);min-height:18px;margin-top:8px}.receipt{background:#fff9f8;border:1px solid #dadce0;border-radius:12px;padding:16px 18px;margin-bottom:23px}.receipt .detail-row{padding:9px 0;font-size:12px}.receipt .total{color:var(--primary);font-size:22px;letter-spacing:-.8px}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:13px 21px;border-radius:12px;z-index:100;font-size:12px;box-shadow:0 10px 30px #0002;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;max-width:calc(100vw - 35px);text-align:center;pointer-events:none}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.toast.error{background:var(--red)}dialog{padding:0;border:0;border-radius:21px;width:min(610px,calc(100vw - 32px));max-height:calc(100dvh - 50px);box-shadow:0 30px 100px #20212429;background:#fff;color:var(--ink);overflow:auto}dialog::backdrop{background:#20212470;backdrop-filter:blur(4px)}.dialog-header{padding:24px 27px 18px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-header h2{font-size:22px;margin:4px 0 7px}.dialog-header p{font-size:12px;color:var(--muted)}.dialog-body{padding:24px 27px 27px}.dialog-header .icon-btn{margin:-4px -7px 0 0;flex-shrink:0}.dialog-body .form-grid .field{margin-bottom:0}.dialog-body>.notice{margin-bottom:20px}.dialog-body .steps{grid-template-columns:1fr 1fr;margin:21px 0}.dialog-body .field label{font-size:12px}.dialog-subhead{font-size:10px;color:var(--muted);font-weight:750;letter-spacing:.1em;text-transform:uppercase;margin:22px 0 15px}.no-scroll{overflow:hidden}.login-page{min-height:100vh;display:grid;grid-template-columns:1.04fr 1fr;background:#fff}.login-story{position:relative;padding:45px 65px 32px;background:var(--paper);display:flex;flex-direction:column;overflow:hidden}.login-story .brand{margin-bottom:75px}.login-story h1{font-size:clamp(42px,4.2vw,70px);font-weight:600;letter-spacing:-3px;line-height:1.13;max-width:650px;position:relative;z-index:1}.login-story h1 em{font-style:normal;color:var(--primary)}.login-story>p{font-size:14px;color:var(--muted);line-height:1.8;max-width:390px;margin-top:23px}.login-story .eyebrow{margin-bottom:18px;color:#5f6368}.login-visual{position:relative;min-height:282px;margin-top:35px;flex:1;display:flex;align-items:center;justify-content:center}.login-task{position:relative;background:#fff;border:1px solid #e3e7ee;border-radius:22px;padding:25px;max-width:360px;width:95%;box-shadow:0 15px 45px #2021240c;transform:rotate(-4deg);z-index:1}.login-task .task-top{margin-bottom:18px}.login-task h3{font-size:19px;margin-bottom:10px}.login-task .reward strong{font-size:29px}.login-task .task-footer{padding-top:17px;margin-top:20px}.sample-tag{font-size:9px;color:#80868b;margin-top:9px;text-align:center}.visual-circle{position:absolute;width:280px;height:280px;border:1px solid #fad2cf;border-radius:50%;left:calc(50% - 140px);top:calc(50% - 140px);box-shadow:0 0 0 35px #fce8e6,0 0 0 70px #fff3f1}.floating-check{position:absolute;right:0;bottom:36px;background:var(--yellow);border:5px solid var(--paper);width:66px;height:66px;border-radius:19px;display:grid;place-items:center;transform:rotate(10deg);z-index:2;color:#202124}.floating-check .icon{width:27px;height:27px}.login-story-footer{font-size:10px;color:#80868b;display:flex;justify-content:space-between;gap:15px;margin-top:35px}.login-form-side{display:flex;align-items:center;justify-content:center;padding:55px 65px;position:relative}.login-box{max-width:385px;width:100%}.login-box .eyebrow{margin-bottom:18px}.login-box h2{font-size:32px;font-weight:600;letter-spacing:-1.2px;margin-bottom:14px}.login-box>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:30px}.login-box .google-btn{background:white;color:var(--ink);border:1px solid #dadce0;min-height:52px;font-size:13px;gap:13px;width:100%;font-weight:550}.login-box .google-btn:hover{background:#fff9f8}.login-box .google-btn.disabled{cursor:not-allowed;opacity:.65}.login-benefits{display:grid;gap:14px;margin:24px 0 32px;font-size:12px;color:#5f6368}.login-benefits div{display:flex;align-items:center;gap:11px}.login-benefits .icon{width:16px;height:16px;color:#34a853}.divider{display:flex;align-items:center;gap:12px;color:#80868b;font-size:10px;margin:29px 0 20px}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.demo-login{padding:19px;background:#fff9f8;border:1px solid #e3e7ee;border-radius:13px}.demo-login .spread{align-items:flex-start}.demo-login strong{font-size:12px}.demo-login p{font-size:11px;line-height:1.7;color:#5f6368;margin:7px 0 15px}.demo-login .row{gap:8px}.demo-login .btn{flex:1;font-size:11px;padding:9px 12px}.login-legal{font-size:10px;line-height:1.8;color:#80868b;text-align:center;margin-top:22px}.mini-notice{font-size:11px;line-height:1.8;color:#5f6368;margin-top:12px}.login-version{position:absolute;right:32px;top:29px;font-size:10px;color:#80868b}.loading-inline{height:16px;width:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;display:inline-block;vertical-align:middle;margin-right:6px}@keyframes spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.noscript{text-align:center;padding:30px}
@media(min-width:1550px){.content{padding-top:45px}.welcome-card{min-height:265px}.welcome-card h2{font-size:38px}.welcome-copy{max-width:65%}.hero-art{right:10px;bottom:-7px;transform:scale(1.15) rotate(-9deg)}.task-card{padding:26px}.sidebar{padding-top:37px}.topbar{min-height:96px}}
@media(max-width:1200px){.shell{grid-template-columns:205px 1fr}.sidebar{padding:30px 14px 20px}.brand{font-size:18px;gap:9px}.topbar{padding:19px 27px}.content{padding:30px 27px 40px}.task-grid{gap:13px}.task-card{padding:17px}.task-card h3{font-size:15px}.task-card .btn.small{padding:7px 9px}.reward strong{font-size:19px}.task-footer{gap:5px}.hero-grid{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:16px}.welcome-card{padding:26px}.welcome-copy{max-width:69%}.welcome-card h2{font-size:28px}.hero-art{right:-45px;transform:scale(.8) rotate(-9deg);transform-origin:bottom center}.balance-card{padding:24px}.balance-amount{font-size:35px}.admin-stats{gap:12px}.admin-stats .stat-item{padding:18px}.login-story{padding:40px}.login-form-side{padding:45px}.login-story .brand{margin-bottom:60px}.login-story h1{font-size:54px}}
@media(max-width:1000px){.shell{grid-template-columns:183px 1fr}.sidebar{padding-left:12px;padding-right:12px}.sidebar .brand{font-size:16px;gap:7px;padding:0 6px}.brand-mark{width:32px;height:32px;font-size:22px;border-radius:10px}.nav-link{font-size:12px;padding:11px 10px;gap:9px}.nav-link .icon{width:18px;height:18px}.side-tip{padding:14px 12px}.content{padding:27px 24px 35px}.topbar{padding:18px 24px;min-height:78px}.hero-grid{grid-template-columns:1fr}.welcome-card{min-height:225px}.welcome-copy{max-width:70%}.welcome-card h2{font-size:31px}.hero-art{right:10px;transform:rotate(-9deg)}.balance-card{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;align-items:center;padding:23px}.balance-card>.spread{grid-column:1/-1}.balance-card .balance-amount{margin-top:10px}.balance-card .balance-bottom{margin:0;border:0;padding-top:0;grid-row:2/4;grid-column:2;align-items:flex-end;flex-direction:column;gap:11px}.balance-card>.caption{grid-column:1}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-strip{gap:10px}.stat-item{padding:15px 12px;gap:9px}.stat-symbol{width:32px;height:32px;border-radius:9px}.stat-symbol .icon{width:17px;height:17px}.stat-item strong{font-size:21px}.stat-item small{font-size:10px}.profile-grid{grid-template-columns:1fr}.wallet-grid{grid-template-columns:1fr 1fr;gap:16px}.wallet-hero{padding:24px}.wallet-hero .wallet-value{font-size:37px}.wallet-details{align-items:flex-start;flex-direction:column}.wallet-grid .panel{padding:21px}.bank-card{padding:21px}.bank-account{font-size:17px;letter-spacing:1px}.admin-stats{grid-template-columns:1fr 1fr}.review-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.two-cols{grid-template-columns:1fr}.login-story{padding:35px}.login-form-side{padding:45px 35px}.login-story h1{font-size:47px;letter-spacing:-2px}.login-story>p{font-size:12px}.login-story .brand{margin-bottom:57px}.login-story-footer{font-size:9px}.login-task{width:100%;padding:22px}.floating-check{right:-12px;bottom:10px}.login-box h2{font-size:28px}.login-benefits{font-size:11px}}
@media(max-width:760px){.shell{display:block}.sidebar{display:none}.topbar{min-height:72px;padding:15px 20px;background:var(--paper)}.breadcrumb{display:none}.mobile-brand{display:flex}.mobile-brand .brand{font-size:17px}.date-label{display:none}.top-actions{gap:8px}.top-actions .btn{font-size:10px;padding:7px 10px;min-height:33px}.content{padding:25px 20px 100px}.page-head{margin-bottom:22px;align-items:flex-start}.page-head h1{font-size:29px}.page-head p{font-size:12px;line-height:1.7;max-width:440px}.page-head .eyebrow{font-size:9px;margin-bottom:8px}.page-head>.btn{font-size:11px;min-height:36px;padding:8px 11px}.hero-grid{margin-bottom:17px;gap:15px}.welcome-card{padding:26px;min-height:225px}.welcome-card h2{font-size:30px;max-width:300px}.welcome-card p{font-size:11px;max-width:280px}.welcome-copy{max-width:67%}.hero-art{right:-13px;transform:scale(.85) rotate(-9deg);transform-origin:bottom center}.balance-card{padding:21px 23px}.balance-amount{font-size:35px}.stat-strip{margin-bottom:29px}.stat-item{display:block;padding:16px 13px}.stat-symbol{height:30px;width:30px;margin-bottom:14px}.stat-item strong{font-size:23px}.stat-item small{margin-top:6px;font-size:10px}.section-head h2{font-size:19px}.task-grid{gap:13px}.task-card{padding:18px}.task-card h3{font-size:16px}.task-top{margin-bottom:17px}.place-symbol{width:38px;height:38px;border-radius:11px}.address{font-size:10px}.task-requirements{gap:10px;font-size:10px;margin:17px 0}.task-footer{align-items:center;gap:8px}.task-card .btn.small{font-size:10px;padding:7px 10px}.reward strong{font-size:19px}.reward small{font-size:8px}.mobile-nav{display:flex;justify-content:space-around;gap:2px;position:fixed;z-index:20;bottom:0;left:0;right:0;padding:9px 9px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff7;backdrop-filter:blur(15px)}.mobile-nav a{color:#5f6368;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;flex:1;padding:4px 0;text-decoration:none;border-radius:10px}.mobile-nav a .icon{width:20px;height:20px}.mobile-nav a.active{color:var(--primary)}.mobile-nav a.active .icon{stroke-width:2.2}.mobile-nav a.active span{font-weight:700}.toast{bottom:95px}.page-footer{margin-top:27px;font-size:9px}.profile-grid{gap:17px}.panel{padding:22px}.wallet-grid{grid-template-columns:1fr}.wallet-hero{padding:27px}.wallet-hero .wallet-value{font-size:46px}.wallet-details{flex-direction:row;align-items:center}.wallet-substats{margin-top:23px;padding-top:20px}.wallet-grid .bank-card{margin-bottom:15px}.assignment-card{padding:20px}.assignment-body h3{font-size:16px}.assignment-actions{flex-direction:column;align-items:flex-start;gap:15px}.assignment-actions p{max-width:100%}.assignment-actions .row{width:100%;justify-content:flex-end}.assignment-body .reward strong{font-size:18px}.filters{gap:8px}.search-field{min-width:100%;flex:initial}.filter-tab{padding:9px 13px;font-size:11px}.admin-welcome{padding:24px;align-items:flex-start;flex-direction:column;gap:18px}.admin-welcome h2{font-size:24px}.admin-welcome p{font-size:11px}.admin-stats .stat-item{padding:18px}.admin-stats .stat-item strong{font-size:29px}.admin-stats .stat-item .eyebrow{font-size:9px}.table{font-size:11px}.table th{font-size:9px;padding:10px}.table td{padding:14px 10px}.table td strong{font-size:11px}.table .btn{font-size:10px;padding:7px 9px}.review-card{padding:20px}.login-page{grid-template-columns:1fr}.login-story{padding:30px 25px 28px}.login-story .brand{margin-bottom:38px}.login-story h1{font-size:44px;max-width:500px;letter-spacing:-2px}.login-story>p{font-size:12px;max-width:370px;margin-top:18px}.login-visual{display:none}.login-story-footer{display:none}.login-form-side{padding:37px 25px 45px;align-items:flex-start;justify-content:flex-start}.login-box{max-width:none}.login-box h2{font-size:27px}.login-version{top:20px;right:25px;font-size:9px}.login-box>.eyebrow{margin-bottom:12px}.login-box>p{font-size:12px;margin-bottom:22px}.login-benefits{gap:13px;margin:20px 0 27px}.login-benefits div{font-size:11px}.login-legal{max-width:430px;margin:22px auto 0}.topbar .avatar{width:32px;height:32px}.profile-reminder{align-items:flex-start;padding:15px;font-size:11px}.profile-reminder .btn{min-height:35px;font-size:10px;padding:7px 10px;flex-shrink:0}.detail-row{font-size:11px;gap:10px}}
@media(max-width:440px){.content{padding:23px 15px 95px}.topbar{padding:15px}.page-head h1{font-size:26px}.page-head{gap:12px}.welcome-card{padding:24px;min-height:228px}.welcome-copy{max-width:72%}.welcome-card h2{font-size:28px}.welcome-card p{max-width:195px;font-size:10px}.hero-art{right:-46px;transform:scale(.7) rotate(-9deg)}.balance-card{padding:19px}.balance-amount{font-size:30px}.balance-amount span{font-size:17px}.balance-card .balance-bottom>.caption{font-size:10px}.balance-bottom .btn{font-size:11px;padding:8px 12px}.balance-bottom>span{font-size:10px}.stat-item{padding:14px 11px}.stat-item strong{font-size:22px}.stat-item small{font-size:9px}.task-grid{grid-template-columns:1fr}.task-card{padding:20px}.task-card .task-top{margin-bottom:16px}.task-card h3{font-size:17px}.task-card .address{font-size:11px}.task-card .task-requirements{margin:17px 0;font-size:11px}.task-card .reward strong{font-size:23px}.task-card .btn.small{font-size:12px;padding:8px 13px}.task-card .reward small{font-size:9px}.panel{padding:20px}.wallet-hero{padding:24px}.wallet-hero .wallet-value{font-size:43px}.wallet-substats strong{font-size:17px}.wallet-substats small{font-size:9px}.form-grid{grid-template-columns:1fr}.form-grid .full-span{grid-column:auto}.assignment-card{padding:18px}.assignment-body{gap:13px}.assignment-body .reward strong{font-size:16px}.assignment-body h3{font-size:16px}.assignment-body .reward small{font-size:8px}.assignment-actions .btn{font-size:11px;padding:8px 11px}.assignment-meta{gap:8px;font-size:10px}.tabs{gap:2px}.tab{padding:9px 12px;font-size:11px}.section-head p{font-size:10px}.section-head .text-link{font-size:11px}.dialog-header{padding:23px 21px 18px}.dialog-body{padding:22px 21px 24px}.dialog-header h2{font-size:21px}.dialog-body .steps{gap:17px}.page-footer span:last-child{display:none}.review-card .actions .btn{font-size:10px;padding:8px 10px}.profile-avatar{width:47px;height:47px;font-size:16px;border-radius:13px}.profile-identity{gap:12px}.profile-identity h3{font-size:17px}.profile-identity p{font-size:11px}.login-story h1{font-size:41px}.login-story{padding:26px 23px}.login-story .brand{margin-bottom:33px}.login-form-side{padding:32px 23px 39px}.login-version{top:14px;font-size:8px}.login-story>p{max-width:330px}.login-box h2{font-size:26px}.admin-welcome{padding:22px}.admin-stats{gap:12px}.admin-stats .stat-item{padding:17px}.admin-stats .stat-item .eyebrow{font-size:8px}.profile-reminder{flex-direction:column;gap:11px}.check-field{font-size:11px}}
[hidden]{display:none!important}
.assignment-deadline{background:#fce8e6;border:1px solid #fad2cf;border-radius:12px;padding:12px 16px;color:var(--primary);margin:12px 0 18px}
.deadline-clock{display:flex;align-items:center;gap:8px;font-size:12px;flex-wrap:wrap}.deadline-clock strong{margin-left:auto;font-size:22px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.02em}.deadline-clock .icon{width:17px;height:17px}.assignment-deadline p{font-size:11px;line-height:1.6;margin-top:8px;color:var(--muted)}.assignment-deadline.is-urgent{background:#fef7e0;border-color:#fdd663;color:#9a6700}.assignment-deadline.is-expired{background:#f1f3f4;border-color:var(--line);color:var(--muted)}
.audit-item{border:1px solid var(--line);border-radius:14px;padding:19px;margin:22px 0;background:#ffffff}.audit-item h3{font-size:15px;max-width:75%;overflow-wrap:anywhere}.audit-item .caption{margin:9px 0}.audit-item .notice{margin:14px 0}.audit-checks{display:grid;gap:10px;margin:19px 0}.audit-item .check-field{margin:0}.audit-finish{padding-top:20px;border-top:2px solid var(--line)}.audit-finish h3{margin-bottom:19px}.audit-item .row{flex-wrap:wrap}

/* 5sreview identity: Google colors, with a review star. */
:root{--google-blue:#4285f4;--google-red:#ea4335;--google-yellow:#fbbc05;--google-green:#34a853}
.brand-name{white-space:nowrap;letter-spacing:-.65px;color:#4b5059}.brand-name>span{color:#dc655c}.brand-mark{background:transparent;padding:0;border-radius:0}.sidebar .brand,.mobile-brand .brand{gap:8px}
.welcome-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--google-blue) 0 25%,var(--google-red) 25% 50%,var(--google-yellow) 50% 75%,var(--google-green) 75% 100%)}
.art-pin{color:var(--google-red)}.art-block{background:#ceead6}.art-block.b2{background:#fad2cf}.art-photo{background:var(--google-yellow);color:#202124}.art-dot{background:var(--google-green);border-color:transparent;color:#fff}
.task-card:nth-child(4n+1) .place-symbol{background:#e8f0fe;color:#1a73e8}.task-card:nth-child(4n+2) .place-symbol{background:#fce8e6;color:#c5221f}.task-card:nth-child(4n+3) .place-symbol{background:#fef7e0;color:#9a6700}.task-card:nth-child(4n+4) .place-symbol{background:#e6f4ea;color:#137333}
.admin-welcome{background:#fce8e6;border:1px solid #fad2cf}.login-story{background:#fff9f8}.login-story h1 em{color:#d93025}.login-story h1 em:after{content:"";display:block;margin-top:14px;width:100px;height:4px;border-radius:2px;background:linear-gradient(90deg,#4285f4 0 25%,#ea4335 25% 50%,#fbbc05 50% 75%,#34a853 75% 100%)}

/* 5sreview: warm red is the primary brand color; Google colors remain accents. */
.nav-link.active{background:var(--primary-soft);color:var(--primary)}.nav-link.active .nav-count{background:#fad2cf;color:var(--primary)}.admin-welcome{background:#fff1ef;border-color:#fad2cf}.brand-name>span{color:#dc655c}

.task-admin-summary{display:flex;flex-wrap:wrap;gap:6px 12px;border-top:1px solid var(--line);padding-top:13px;margin-top:15px;font-size:11px;color:var(--muted)}.task-admin-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.task-admin-actions .btn{flex:1;font-size:10px;padding:7px 8px}

.ai-panel{margin-bottom:24px}.ai-panel .caption{margin-top:7px}.ai-job{border:1px solid var(--line);padding:16px;border-radius:12px;display:grid;gap:10px}.review-card .notice{margin:0 0 16px}.audit-item>.notice{margin-bottom:16px}
@media(max-width:480px){.ai-panel>.spread{align-items:flex-start;flex-wrap:wrap}.ai-job>.spread{align-items:flex-start;flex-wrap:wrap}}

/* CTV: phone-first layout, scoped so admin and desktop keep their current layout. */
@media (max-width: 820px) {
  body[data-role="ctv"] {
    --ctv-nav-height: 72px;
    --ctv-gutter: 20px;
    -webkit-text-size-adjust: 100%;
  }
  .ctv-shell {display:block; min-height:100dvh}
  .ctv-shell .sidebar {display:none}
  .ctv-shell .breadcrumb, .ctv-shell .date-label {display:none}
  .ctv-shell .mobile-brand {display:flex; min-width:0}
  .ctv-shell .mobile-brand .brand {font-size:19px; min-height:44px}
  .ctv-shell .brand-mark {width:32px; height:32px}
  .ctv-shell .topbar {
    min-height:72px;
    padding:12px max(var(--ctv-gutter), env(safe-area-inset-right)) 12px max(var(--ctv-gutter), env(safe-area-inset-left));
    gap:12px;
    background:#fff;
  }
  .ctv-shell .top-actions {gap:8px; flex-shrink:0}
  .ctv-shell .top-actions [data-action="switch-role"] {font-size:0; padding:10px; width:44px; gap:0}
  .ctv-shell .top-actions [data-action="switch-role"] .icon {width:20px; height:20px}
  .ctv-shell .content {
    padding:24px max(var(--ctv-gutter), env(safe-area-inset-right)) calc(var(--ctv-nav-height) + 28px + env(safe-area-inset-bottom)) max(var(--ctv-gutter), env(safe-area-inset-left));
  }
  .ctv-shell .mobile-nav {
    position:fixed; inset:auto 0 0; z-index:20;
    display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px;
    min-height:calc(var(--ctv-nav-height) + env(safe-area-inset-bottom));
    padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    background:#fffffff7; border-top:1px solid var(--line); box-shadow:0 -4px 20px #20212405;
  }
  .ctv-shell .mobile-nav a {
    display:flex; flex-direction:column; justify-content:center; align-items:center;
    min-width:0; min-height:60px; padding:7px 2px; gap:5px;
    font-size:11px; line-height:1.3; font-weight:550; border-radius:12px;
  }
  .ctv-shell .mobile-nav a .icon {width:22px; height:22px}
  .ctv-shell .mobile-nav a.active {background:var(--primary-soft); color:var(--primary)}
  .ctv-shell .mobile-nav a.active .icon {stroke-width:2}
  body[data-role="ctv"] .toast {bottom:calc(var(--ctv-nav-height) + 14px + env(safe-area-inset-bottom)); font-size:13px}

  body[data-role="ctv"] :is(.btn,.btn.small,.task-card .btn.small,.assignment-actions .btn) {
    min-height:46px; padding:11px 15px; font-size:14px; line-height:1.4; white-space:normal; text-align:center;
  }
  body[data-role="ctv"] .icon-btn {width:44px; height:44px; min-width:44px; flex-shrink:0}
  body[data-role="ctv"] :is(input:not([type="checkbox"]),select,textarea) {
    min-height:48px; font-size:16px; line-height:1.5; max-width:100%; min-width:0;
  }
  body[data-role="ctv"] :is(.field label,.field .label,.dialog-body .field label) {font-size:14px}
  body[data-role="ctv"] :is(.field .hint,.field .counter,.upload-progress) {font-size:12px; line-height:1.65}
  body[data-role="ctv"] .field input[type="file"] {padding:12px; font-size:16px; overflow:hidden}
  body[data-role="ctv"] input[type="file"]::file-selector-button {
    min-height:44px; padding:9px 12px; margin:-4px 9px -4px -4px;
    border:0; border-radius:8px; background:var(--primary-soft); color:var(--primary); font:inherit; font-weight:650;
  }
  body[data-role="ctv"] .check-field {font-size:13px; line-height:1.7; min-height:44px; padding:7px 0; cursor:pointer}
  body[data-role="ctv"] .check-field input {width:22px; height:22px; margin:1px 0 0}
  body[data-role="ctv"] :is(.notice,.form-error,.decision-note) {font-size:13px; overflow-wrap:anywhere}
  body[data-role="ctv"] .notice {padding:14px; gap:10px}
  body[data-role="ctv"] .notice > div {min-width:0}
  body[data-role="ctv"] .caption {font-size:12px; line-height:1.65}

  .ctv-shell .page-head {margin-bottom:22px; align-items:flex-start}
  .ctv-shell .page-head > div {min-width:0}
  .ctv-shell .page-head h1 {font-size:clamp(26px,5vw,32px); line-height:1.2; overflow-wrap:anywhere}
  .ctv-shell .page-head p {font-size:14px; line-height:1.7; margin-top:10px}
  .ctv-shell .page-head .eyebrow {font-size:10px}
  .ctv-shell .panel {padding:22px; min-width:0}
  .ctv-shell :is(.section-head,.panel-header) {gap:12px; flex-wrap:wrap; align-items:flex-start}
  .ctv-shell :is(.section-head h2,.panel-header h2) {font-size:20px; line-height:1.3}
  .ctv-shell :is(.section-head p,.panel-header p) {font-size:12px; line-height:1.65}
  body[data-role="ctv"] .text-link {min-height:44px; font-size:13px; flex-shrink:0}
  .ctv-shell .profile-reminder {font-size:13px; padding:17px; flex-direction:column; align-items:stretch}
  .ctv-shell .profile-reminder .btn {width:100%}
  .ctv-shell .hero-grid {grid-template-columns:1fr; gap:16px; margin-bottom:18px}
  .ctv-shell .welcome-card {padding:27px; min-height:230px}
  .ctv-shell .welcome-copy {max-width:70%}
  .ctv-shell .welcome-card h2 {font-size:30px; line-height:1.18}
  .ctv-shell .welcome-card p {font-size:13px; line-height:1.7; max-width:340px}
  .ctv-shell .welcome-card .eyebrow {font-size:10px; line-height:1.6}
  .ctv-shell .hero-art {right:-10px; transform:scale(.85) rotate(-9deg); transform-origin:bottom center}
  .ctv-shell .balance-card {display:flex; padding:24px; gap:0}
  .ctv-shell .balance-amount {font-size:clamp(32px,8vw,42px); margin:14px 0 4px; overflow-wrap:anywhere}
  .ctv-shell .balance-amount span {font-size:22px}
  .ctv-shell .balance-bottom {width:100%; border-top:1px solid var(--line); margin-top:18px; padding-top:16px; flex-direction:row; align-items:center; gap:12px}
  .ctv-shell .balance-bottom > span {font-size:12px}
  .ctv-shell .stat-strip {gap:10px; margin-bottom:28px}
  .ctv-shell .stat-item {display:block; padding:16px 12px; min-width:0}
  .ctv-shell .stat-symbol {width:34px; height:34px; margin-bottom:12px}
  .ctv-shell .stat-item strong {font-size:24px}
  .ctv-shell .stat-item small {font-size:11px; line-height:1.5; overflow-wrap:anywhere}

  .ctv-shell .task-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px}
  .ctv-shell .task-card {padding:22px; border-radius:18px}
  .ctv-shell .task-card:hover {transform:none}
  .ctv-shell .task-top {margin-bottom:18px}
  .ctv-shell .place-symbol {width:44px; height:44px; border-radius:12px}
  .ctv-shell .pill {font-size:11px; padding:5px 9px; white-space:normal; overflow-wrap:anywhere}
  .ctv-shell .task-card h3 {font-size:18px; line-height:1.35; overflow-wrap:anywhere}
  .ctv-shell .address {font-size:13px; line-height:1.65; min-width:0}
  .ctv-shell .address span {min-width:0; overflow-wrap:anywhere}
  .ctv-shell .address .icon {width:15px; height:15px; margin-top:3px}
  .ctv-shell .task-requirements {font-size:12px; gap:10px 14px; margin:18px 0}
  .ctv-shell .task-requirements .icon {width:15px; height:15px}
  .ctv-shell .task-footer {flex-wrap:wrap; gap:14px; padding-top:18px}
  .ctv-shell .reward strong {font-size:24px; line-height:1.25; overflow-wrap:anywhere}
  .ctv-shell .reward small {font-size:10px; line-height:1.6; letter-spacing:.04em}
  .ctv-shell .task-footer .btn {flex:1 1 135px}
  .ctv-shell .filters {gap:10px; margin-bottom:20px}
  .ctv-shell .search-field {flex:1 1 100%; min-width:0}
  .ctv-shell .search-field .icon {top:16px}
  .ctv-shell .filter-tab {min-height:44px; font-size:13px; padding:10px 16px}
  .ctv-shell .tabs {gap:6px; padding:2px 0 8px; scroll-padding-inline:16px; -webkit-overflow-scrolling:touch}
  .ctv-shell .tab {min-height:44px; font-size:13px; padding:10px 14px; flex-shrink:0}
  .ctv-shell .tab span {font-size:11px}

  .ctv-shell .assignment-card {padding:22px; min-width:0}
  .ctv-shell .assignment-body {grid-template-columns:minmax(0,1fr) auto; gap:16px}
  .ctv-shell .assignment-body > div {min-width:0}
  .ctv-shell .assignment-body h3 {font-size:18px; line-height:1.35; overflow-wrap:anywhere}
  .ctv-shell .assignment-meta {font-size:12px; gap:10px 16px}
  .ctv-shell .assignment-body .reward strong {font-size:21px}
  .ctv-shell .assignment-body .reward small {font-size:10px}
  .ctv-shell .assignment-actions {flex-direction:column; align-items:stretch; gap:16px; margin-top:20px}
  .ctv-shell .assignment-actions p {font-size:13px; max-width:none; line-height:1.65}
  .ctv-shell .assignment-actions .row {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:10px; width:100%}
  .ctv-shell .assignment-deadline {padding:14px; margin:17px 0 0}
  .ctv-shell .deadline-clock {font-size:13px}
  .ctv-shell .deadline-clock strong {font-size:24px}
  .ctv-shell .assignment-deadline p {font-size:12px}
  .ctv-shell .active-mission {margin-bottom:22px}

  .ctv-shell .wallet-grid {grid-template-columns:1fr; gap:18px}
  .ctv-shell .wallet-hero {padding:26px; border-radius:20px}
  .ctv-shell .wallet-hero .wallet-value {font-size:clamp(34px,9vw,48px); letter-spacing:-1.3px; overflow-wrap:anywhere}
  .ctv-shell .wallet-hero .wallet-value span {font-size:24px}
  .ctv-shell .wallet-details {flex-direction:column; align-items:stretch; gap:15px}
  .ctv-shell .wallet-details .caption {font-size:12px}
  .ctv-shell .wallet-details .btn {width:100%}
  .ctv-shell .wallet-substats {gap:16px; margin-top:23px}
  .ctv-shell .wallet-substats small {font-size:12px; line-height:1.5}
  .ctv-shell .wallet-substats strong {font-size:20px; overflow-wrap:anywhere}
  .ctv-shell .wallet-grid .panel {padding:22px}
  .ctv-shell .bank-card {padding:24px; margin:18px 0}
  .ctv-shell .bank-card h3 {font-size:16px; line-height:1.4; overflow-wrap:anywhere}
  .ctv-shell .bank-account {font-size:21px; letter-spacing:1px; overflow-wrap:anywhere}
  .ctv-shell .bank-holder {max-width:100%; font-size:12px; padding-bottom:28px; overflow-wrap:anywhere}
  .ctv-shell .bank-card .locked {left:24px; right:auto; bottom:21px; font-size:10px}
  .ctv-shell .timeline-row {display:grid; grid-template-columns:36px minmax(0,1fr); gap:6px 12px; align-items:start; padding:18px 0}
  .ctv-shell .timeline-dot {grid-row:1/3; margin-top:2px}
  .ctv-shell .timeline-row > div:nth-child(2) {min-width:0}
  .ctv-shell .timeline-row strong {font-size:14px; overflow-wrap:anywhere}
  .ctv-shell .timeline-row small {font-size:12px}
  .ctv-shell .timeline-row .amount {grid-column:2; text-align:left; font-size:16px; margin-left:0; overflow-wrap:anywhere}

  .ctv-shell .profile-grid {grid-template-columns:1fr; gap:18px}
  .ctv-shell .profile-identity {align-items:flex-start; gap:13px}
  .ctv-shell .profile-identity > div:last-child {min-width:0}
  .ctv-shell .profile-identity h3 {font-size:18px; line-height:1.35; overflow-wrap:anywhere}
  .ctv-shell .profile-identity p {font-size:13px}
  .ctv-shell .verified-line {font-size:12px; line-height:1.6}
  .ctv-shell .profile-avatar {width:48px; height:48px; flex-shrink:0; font-size:17px}
  .ctv-shell .form-grid {grid-template-columns:1fr}
  .ctv-shell .form-grid .full-span {grid-column:auto}
  .ctv-shell .form-actions {gap:10px; flex-wrap:wrap}
  .ctv-shell .form-actions .btn {flex:1 1 180px}
  .ctv-shell .page-footer {font-size:11px; line-height:1.65; flex-wrap:wrap; gap:10px; margin-top:30px}

  /* Keep the header available to assistive technology while rendering history as cards. */
  .ctv-shell :is(.assignment-table,.withdrawal-table) {display:block; font-size:13px}
  .ctv-shell :is(.assignment-table,.withdrawal-table) thead {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap;
  }
  .ctv-shell :is(.assignment-table,.withdrawal-table) tbody {display:grid; gap:12px}
  .ctv-shell :is(.assignment-table,.withdrawal-table) tr {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px;
    border:1px solid var(--line); padding:16px; border-radius:14px; background:#fff;
  }
  .ctv-shell :is(.assignment-table,.withdrawal-table) td {display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:0; border:0; min-width:0; white-space:normal; overflow-wrap:anywhere}
  .ctv-shell :is(.assignment-table,.withdrawal-table) td::before {content:attr(data-label); font-size:11px; color:var(--muted); font-weight:500}
  .ctv-shell :is(.assignment-table,.withdrawal-table) td:first-child {grid-column:1/-1}
  .ctv-shell :is(.assignment-table,.withdrawal-table) td:first-child::before {display:none}
  .ctv-shell :is(.assignment-table,.withdrawal-table) td strong {font-size:15px; line-height:1.45}
  .ctv-shell :is(.assignment-table,.withdrawal-table) td small {font-size:12px; margin-top:0}
  .ctv-shell :is(.assignment-table,.withdrawal-table) .money {font-size:16px}
  .ctv-shell .assignment-table td:nth-child(4) {grid-column:1/-1; flex-direction:row; justify-content:space-between; align-items:center; font-size:12px}
  .ctv-shell .assignment-table td:last-child {grid-column:1/-1; flex-direction:row; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:10px}
  .ctv-shell .assignment-table td:last-child::before {font-size:13px; color:var(--ink); font-weight:600}
  .ctv-shell .withdrawal-table td:last-child {grid-column:1/-1; border-top:1px solid var(--line); padding-top:12px; gap:5px}
  .ctv-shell .withdrawal-table td:last-child > span {max-width:100%; overflow-wrap:anywhere}

  body[data-role="ctv"] dialog {width:min(640px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overscroll-behavior:contain; -webkit-overflow-scrolling:touch; scroll-padding-bottom:24px}
  body[data-role="ctv"] .dialog-header {padding:22px; gap:12px; align-items:flex-start; background:#fff}
  body[data-role="ctv"] .dialog-header > div {min-width:0}
  body[data-role="ctv"] .dialog-header h2 {font-size:22px; line-height:1.25; overflow-wrap:anywhere}
  body[data-role="ctv"] .dialog-header p {font-size:13px; line-height:1.65; overflow-wrap:anywhere}
  body[data-role="ctv"] .dialog-header .icon-btn {margin:-5px -7px 0 0}
  body[data-role="ctv"] .dialog-body {padding:22px}
  body[data-role="ctv"] .dialog-body .form-grid {grid-template-columns:1fr; gap:18px}
  body[data-role="ctv"] .dialog-body .steps {grid-template-columns:1fr; gap:16px}
  body[data-role="ctv"] .step-number {width:30px; height:30px; font-size:12px}
  body[data-role="ctv"] .step strong {font-size:14px; line-height:1.35}
  body[data-role="ctv"] .step p {font-size:12px; line-height:1.65}
  body[data-role="ctv"] .detail-row {font-size:13px; line-height:1.6; flex-wrap:wrap; gap:5px 12px}
  body[data-role="ctv"] .detail-row strong {min-width:0; max-width:100%}
  body[data-role="ctv"] .detail-row .total {font-size:24px}
  body[data-role="ctv"] .dialog-subhead {font-size:11px; line-height:1.65}
  body[data-role="ctv"] .form-actions {display:flex; gap:10px; flex-wrap:wrap; margin-top:24px}
  body[data-role="ctv"] .form-actions .btn {flex:1 1 180px}
  body[data-role="ctv"] .form-actions .btn[type="submit"] {order:-1}
  body[data-role="ctv"] .file-preview {display:grid; grid-template-columns:repeat(auto-fit,minmax(90px,1fr)); gap:10px}
  body[data-role="ctv"] .file-preview img {width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:10px}
  body[data-role="ctv"] .upload-selected {font-size:12px; color:var(--muted); line-height:1.65; overflow-wrap:anywhere; margin-top:9px}
  body[data-role="ctv"] .upload-preview-item {position:relative; min-width:0; padding-bottom:0}
  body[data-role="ctv"] .upload-preview-item img {display:block}
  body[data-role="ctv"] .upload-preview-item .icon-btn {position:absolute; top:5px; right:5px; background:#fff; box-shadow:0 2px 8px #20212420; color:var(--red); border:1px solid var(--line); border-radius:50%}
  body[data-role="ctv"] .upload-preview-item :is(small,.upload-file-info) {display:block; font-size:11px; line-height:1.5; margin-top:5px; overflow-wrap:anywhere}
  body[data-role="ctv"] .upload-summary {padding:12px 14px; border-radius:10px; background:var(--primary-soft); color:var(--primary); font-size:12px; line-height:1.6; margin:12px 0}
  body[data-role="ctv"] .evidence-row {gap:10px; flex-wrap:wrap}
  body[data-role="ctv"] .evidence-link {min-width:80px; min-height:44px}
}
@media (max-width: 599px) {
  body[data-role="ctv"] {--ctv-gutter:16px}
  .ctv-shell .task-grid {grid-template-columns:1fr}
  .ctv-shell .task-card {padding:22px}
  .ctv-shell .welcome-card {min-height:0; padding:24px}
  .ctv-shell .welcome-copy {max-width:100%; width:100%}
  .ctv-shell .welcome-card h2 {font-size:28px; max-width:none}
  .ctv-shell .welcome-card p {max-width:none; font-size:13px; margin-bottom:20px}
  .ctv-shell .welcome-card .btn {width:100%}
  .ctv-shell .hero-art {display:none}
  .ctv-shell .assignment-body {grid-template-columns:1fr; gap:14px}
  .ctv-shell .assignment-body .reward {text-align:left; display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding-top:13px}
  .ctv-shell .assignment-body .reward strong {font-size:23px}
  .ctv-shell .wallet-hero {padding:24px}
  body[data-role="ctv"] dialog {
    position:fixed; inset:auto 0 0; margin:0 auto; width:100%; max-width:none;
    max-height:calc(100dvh - max(12px, env(safe-area-inset-top))); border-radius:24px 24px 0 0;
  }
  body[data-role="ctv"] .dialog-header {position:sticky; top:0; z-index:2; border-radius:24px 24px 0 0; padding:21px 20px 17px}
  body[data-role="ctv"] .dialog-body {padding:22px 20px calc(24px + env(safe-area-inset-bottom))}
  body[data-role="ctv"] .form-actions {flex-direction:column; align-items:stretch}
  body[data-role="ctv"] .form-actions .btn {flex:0 0 auto; width:100%}
}
@media (max-width: 359px) {
  body[data-role="ctv"] {--ctv-gutter:12px}
  .ctv-shell :is(.panel,.assignment-card,.task-card) {padding:18px}
  .ctv-shell .welcome-card {padding:22px}
  .ctv-shell .welcome-card h2 {font-size:26px}
  .ctv-shell .stat-strip {gap:8px}
  .ctv-shell .stat-item {padding:14px 9px}
  .ctv-shell .stat-item small {font-size:10px}
  .ctv-shell .mobile-nav a {font-size:10px}
  .ctv-shell .wallet-hero {padding:22px}
  .ctv-shell .wallet-substats strong {font-size:18px}
  .ctv-shell .assignment-actions .row {grid-template-columns:1fr}
  .ctv-shell .balance-bottom {align-items:stretch; flex-direction:column; gap:10px}
  body[data-role="ctv"] .dialog-header {padding-left:16px; padding-right:16px}
  body[data-role="ctv"] .dialog-body {padding-left:16px; padding-right:16px}
}
/* Registration is part of the CTV mobile journey. */
@media (max-width: 820px) {
  body[data-role="guest"] .login-page {grid-template-columns:1fr; min-height:100dvh}
  body[data-role="guest"] .login-story {padding:28px max(24px,env(safe-area-inset-left)) 30px}
  body[data-role="guest"] .login-story .brand {margin-bottom:28px; min-height:44px}
  body[data-role="guest"] .login-story h1 {font-size:clamp(34px,7vw,46px); line-height:1.15; letter-spacing:-1.5px; overflow-wrap:anywhere}
  body[data-role="guest"] .login-story > p {font-size:14px; line-height:1.75}
  body[data-role="guest"] :is(.login-visual,.login-story-footer) {display:none}
  body[data-role="guest"] .login-form-side {padding:32px 24px calc(32px + env(safe-area-inset-bottom)); justify-content:center}
  body[data-role="guest"] .login-box {max-width:560px}
  body[data-role="guest"] .login-box h2 {font-size:clamp(26px,5vw,32px); line-height:1.25}
  body[data-role="guest"] .login-box > p {font-size:14px}
  body[data-role="guest"] .login-benefits div {font-size:13px; line-height:1.6}
  body[data-role="guest"] :is(.btn,.demo-login .btn) {min-height:48px; font-size:14px; white-space:normal}
  body[data-role="guest"] .demo-login .row {flex-wrap:wrap; gap:10px}
  body[data-role="guest"] .demo-login .btn {flex:1 1 180px}
  body[data-role="guest"] :is(.demo-login p,.login-legal,.mini-notice) {font-size:12px; line-height:1.7}
}.current-assignment {display:none}
@media (max-width:820px) {
  .ctv-shell .current-assignment {display:block; margin-bottom:22px; padding:22px; background:#fff; border:1px solid #fad2cf; border-radius:18px; box-shadow:0 5px 18px #d9302505}
  .ctv-shell .current-assignment .section-head {margin-bottom:12px}
  .ctv-shell .current-assignment > h3 {font-size:18px; line-height:1.35; overflow-wrap:anywhere; margin-bottom:8px}
  .ctv-shell .current-assignment .assignment-deadline {margin-top:16px}
  .ctv-shell .current-assignment-actions {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:10px; margin-top:17px}
  body[data-role="ctv"] .upload-picker {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px}
  body[data-role="ctv"] .upload-picker .btn {padding:11px 10px}
  body[data-role="ctv"] .upload-file-info strong {display:block; font-size:12px; line-height:1.5; font-weight:600; overflow-wrap:anywhere}
  body[data-role="ctv"] .upload-file-info small {font-size:11px; color:var(--muted)}
  body[data-role="ctv"] .field-label {font-size:14px; font-weight:650; line-height:1.5}
}
@media (max-width:359px) {
  .ctv-shell .current-assignment {padding:18px}
  .ctv-shell .current-assignment-actions {grid-template-columns:1fr}
  body[data-role="ctv"] .upload-picker .btn {font-size:13px; gap:6px; padding:11px 8px}
}
@media (max-width:820px) {
  body[data-role="ctv"] .top-actions .btn[data-action="switch-role"] {min-width:44px; width:44px; min-height:44px; padding:10px; gap:0; font-size:0}
  .ctv-shell .top-actions [data-action="switch-role"] > span {display:none}
}
@media (max-width:820px) {
  body[data-role="ctv"] .check-field > span {min-width:0; overflow-wrap:anywhere}
  body[data-role="ctv"] .step > div {min-width:0; overflow-wrap:anywhere}
  body[data-role="ctv"] .dialog-body > :is(p,.caption) {overflow-wrap:anywhere}
}
.sr-only {position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important}
/* Evidence controls keep the same compact structure on desktop and mobile. */
.upload-picker {display:flex; flex-wrap:wrap; gap:10px}
.upload-selected {display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,150px)); gap:12px; align-items:start; margin-top:10px}
.upload-preview-item {position:relative; min-width:0}
.upload-preview-link {display:block; min-width:44px; min-height:44px; overflow:hidden; border-radius:10px}
.upload-selected .upload-preview-item img {display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border:1px solid var(--line); border-radius:10px}
.upload-preview-item .icon-btn {position:absolute; top:5px; right:5px; width:44px; height:44px; min-width:44px; background:#fff; color:var(--red); border:1px solid var(--line); border-radius:50%; box-shadow:0 2px 8px #20212420}
.upload-file-info {min-width:0; padding-top:6px}
.upload-file-info strong {display:block; max-width:100%; font-size:12px; line-height:1.5; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.upload-file-info small {display:block; font-size:11px; color:var(--muted); line-height:1.5}
.upload-summary {font-size:12px; line-height:1.6; color:var(--primary); background:var(--primary-soft); border-radius:10px; padding:10px 13px}
#screenshot-preview.upload-selected {grid-template-columns:minmax(0,1fr)}
#screenshot-preview .upload-preview-item {display:grid; grid-template-columns:80px minmax(0,1fr) 44px; gap:12px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:12px}
#screenshot-preview :is(.upload-preview-link,.upload-preview-item > img) {grid-column:1; width:80px; height:80px}
#screenshot-preview .upload-preview-item img {height:80px; object-position:top}
#screenshot-preview .upload-file-info {grid-column:2; padding-top:0}
#screenshot-preview .upload-preview-item .icon-btn {position:static; grid-column:3; border-radius:10px; box-shadow:none}
@media (max-width:820px) {
  .ctv-shell .topbar {padding-top:calc(12px + env(safe-area-inset-top))}
  body[data-role="guest"] .login-story {padding-top:calc(28px + env(safe-area-inset-top))}
  body[data-role="ctv"] .file-preview.upload-selected {grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:10px}
  body[data-role="ctv"] .upload-preview-item .upload-file-info {margin-top:0; padding-top:5px}
  body[data-role="ctv"] .upload-file-info strong {overflow-wrap:normal; white-space:nowrap; text-overflow:ellipsis; overflow:hidden}
  body[data-role="ctv"] .upload-file-info small {font-size:10px; line-height:1.5; margin-top:1px}
  body[data-role="ctv"] #screenshot-preview.upload-selected {grid-template-columns:minmax(0,1fr)}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item {grid-template-columns:80px minmax(0,1fr) 44px; gap:10px; padding:10px}
  body[data-role="ctv"] #screenshot-preview .upload-preview-link {width:80px; min-height:80px}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item img {width:80px; height:80px; aspect-ratio:1; object-position:top}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item .upload-file-info {padding-top:0}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item .icon-btn {position:static; width:44px; height:44px; border-radius:10px; box-shadow:none}
}
@media (max-width:599px) {
  body[data-role="ctv"] .dialog-body form .form-actions {
    position:sticky; bottom:0; z-index:3;
    margin:24px -20px calc(-24px - env(safe-area-inset-bottom));
    padding:12px 20px calc(12px + env(safe-area-inset-bottom));
    flex-direction:row; flex-wrap:nowrap; align-items:stretch;
    border-top:1px solid var(--line); background:#fffffff7; backdrop-filter:blur(14px);
    box-shadow:0 -6px 18px #20212407;
  }
  body[data-role="ctv"] .dialog-body form .form-actions .btn {flex:1 1 auto; min-width:0; width:auto; padding:11px 12px}
  body[data-role="ctv"] .dialog-body form .form-actions .btn[type="submit"] {flex:2 1 auto; order:1}
}
@media (max-width:359px) {
  body[data-role="ctv"] .file-preview.upload-selected {grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-role="ctv"] #screenshot-preview.upload-selected {grid-template-columns:minmax(0,1fr)}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item {grid-template-columns:72px minmax(0,1fr) 44px; gap:8px; padding:8px}
  body[data-role="ctv"] #screenshot-preview .upload-preview-link {width:72px; min-height:72px}
  body[data-role="ctv"] #screenshot-preview .upload-preview-item img {width:72px; height:72px}
  body[data-role="ctv"] .dialog-body form .form-actions {margin-left:-16px; margin-right:-16px; padding-left:16px; padding-right:16px}
}
body[data-role="ctv"] .check-field {min-height:44px}
/* In-app camera (evidence policy 2): live viewfinder, recording state and clip playback. */
.upload-picker.single, body[data-role="ctv"] .upload-picker.single {display:grid; grid-template-columns:minmax(0,1fr)}
.camera-blocked {margin:4px 0 10px}
.camera-blocked p {margin-bottom:10px}
.camera-panel {position:relative; background:#000; border-radius:12px; overflow:hidden; color:#fff; scroll-margin:16px 0 96px}
.camera-panel.is-recording {box-shadow:0 0 0 3px #ea4335}
.camera-stage {position:relative; background:#000}
.camera-stage::after {content:""; position:absolute; inset:0; background:#fff; opacity:0; pointer-events:none; transition:opacity .25s}
.camera-panel.is-flash .camera-stage::after {opacity:.65; transition:none}
.camera-viewfinder {display:block; width:100%; min-height:180px; max-height:55vh; max-height:55dvh; object-fit:contain; background:#000}
.camera-rec {position:absolute; top:10px; left:10px; display:inline-flex; align-items:center; gap:8px; padding:6px 11px; border-radius:999px; background:#000000b3; color:#fff; font-size:13px; font-weight:650; line-height:1.2; font-variant-numeric:tabular-nums; letter-spacing:.02em}
.camera-rec-dot {width:10px; height:10px; border-radius:50%; background:#ea4335; animation:camera-blink 1s steps(2,start) infinite}
@keyframes camera-blink {to {visibility:hidden}}
.camera-controls {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:10px; background:#17181a}
.camera-controls .btn {width:100%; min-width:0}
.camera-controls .btn.secondary {background:#2a2b2e; color:#fff; border-color:#3c4043}
.camera-controls .btn.secondary:hover {background:#3c4043}
.camera-controls .btn.danger {background:#ea4335; color:#fff}
.camera-controls :is([data-action="stop-clip"],[data-action="close-camera"]) {grid-column:1/-1}
.camera-controls .btn[aria-disabled="true"] {cursor:not-allowed; opacity:.55}
.camera-controls .btn.ghost {min-height:38px; color:#e8eaed}
.camera-controls .btn.ghost:hover {background:#2a2b2e}
.camera-status {font-size:12px; line-height:1.6; color:var(--muted); margin-top:8px}
.camera-status:empty {display:none}
.video-preview:empty {display:none}
.video-preview-item {display:grid; gap:8px; justify-items:start; margin-top:10px; padding:10px; border:1px solid var(--line); border-radius:12px}
.video-preview-item .evidence-video {width:100%}
.video-preview-item .upload-file-info {width:100%; padding-top:0}
.evidence-video {display:block; width:100%; max-height:360px; background:#000; border-radius:9px}
.evidence-clip {display:grid; gap:6px; justify-items:start; margin:0 0 18px}
@media (max-width:820px) {
  body[data-role="ctv"] .camera-controls .btn {padding:11px 10px}
  body[data-role="ctv"] .camera-status {font-size:13px; line-height:1.65}
  body[data-role="ctv"] .video-preview-item .btn {width:100%}
}
@media (max-width:599px) {
  /* Leave room for the sticky form-actions bar when the panel scrolls into view. */
  body[data-role="ctv"] .camera-viewfinder {max-height:50vh; max-height:50dvh}
}
/* Review model (12/10/2026): the policy-2 checklist on review cards, withdrawal visibility checks
   and the admin payout panel. Shared by the admin and moderator workspaces. */
.pill-row {display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end}
.account-actions {display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.role-notice {margin-bottom:24px}
.correction-rule {margin:0 0 18px}
.review-card .review-address {margin:-2px 0 12px}
.review-checked {display:flex; align-items:center; gap:6px; color:var(--green); margin-bottom:14px}
.review-checked .icon {width:15px; height:15px}
.review-card .review-version {margin:-6px 0 12px; color:var(--orange); font-weight:650}
.task-admin-summary .task-clawed {color:var(--red)}
.assignment-actions p.clawed-note {color:var(--red)}
/* Three demo accounts (CTV, admin, moderator): the row wraps instead of overflowing the box. */
.demo-login .row {flex-wrap:wrap}
.approval-checks {border:1px solid var(--line); border-radius:12px; padding:12px 14px 6px; margin:0 0 16px; min-width:0; background:#fffdfc}
.approval-checks legend {font-size:12px; font-weight:650; padding:0 6px}
.approval-checks .caption {margin:2px 0 6px}
.approval-checks .check-field {margin:0; padding:6px 0; min-height:36px; cursor:pointer}
.review-card .actions .approval-count {margin-left:auto; align-self:center; font-size:11px}
.approval-summary {border:1px solid #ceead6; background:#e6f4ea; color:var(--green); border-radius:12px; padding:12px 16px; font-size:12px}
.approval-summary ul {list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px}
.approval-summary li {display:flex; align-items:center; gap:8px; color:var(--ink)}
.approval-summary li .icon {width:16px; height:16px; color:var(--green)}
.check-summary .detail-row strong {text-align:right}
.audit-item .check-links {margin:12px 0}
.audit-item .evidence-row {margin:10px 0}
.audit-item .decision-note {margin:12px 0 0}
.audit-item .check-result {margin:12px 0 0}
.audit-item form {margin-top:14px}
.check-actions {display:flex; flex-wrap:wrap; gap:8px}
.check-actions .btn {flex:1 1 150px}
details.recheck, details.reject-panel {margin-top:14px}
details.recheck > summary, details.reject-panel > summary {display:inline-flex; align-items:center; min-height:35px; padding:7px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; font-size:12px; font-weight:650; cursor:pointer; list-style:none}
details.recheck > summary::-webkit-details-marker, details.reject-panel > summary::-webkit-details-marker {display:none}
details.reject-panel > summary {color:var(--red)}
details.recheck[open] > summary, details.reject-panel[open] > summary {margin-bottom:4px}
.payout-panel {border-top:2px solid var(--line); margin-top:24px; padding-top:20px}
.payout-panel h3 {margin-bottom:16px}
.withdrawal-outcome {display:grid; gap:3px}
.withdrawal-outcome small {margin-top:0}
@media (max-width:760px) {
  .approval-checks .check-field {min-height:44px}
  .approval-checks .check-field input {width:20px; height:20px}
  :is(.check-actions .btn, details.recheck > summary, details.reject-panel > summary) {min-height:44px}
  .review-card .actions .approval-count {margin-left:0; width:100%}
}
/* Stacked notices and fields inside dialog forms keep a small gap. */
dialog form > .notice + :is(.notice, .approval-summary, .field) {margin-top:12px}
/* Withdrawal list (admin and moderator): rows become cards on a phone. */
@media (max-width:760px) {
  .checks-table {display:block}
  .checks-table thead {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap}
  .checks-table tbody {display:grid; gap:12px}
  .checks-table tr {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px; border:1px solid var(--line); border-radius:14px; padding:14px; background:#fff}
  .checks-table td {display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:0; border:0; min-width:0; white-space:normal; overflow-wrap:anywhere}
  .checks-table td::before {content:attr(data-label); font-size:10px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.04em}
  .checks-table td small {margin-top:0}
  .checks-table td:is(:first-child, :last-child) {grid-column:1/-1}
  .checks-table td:is(:first-child, :last-child)::before {display:none}
  .checks-table td:last-child .btn {width:100%; min-height:44px}
}
