:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#203b32;background:#f4f6f2;font-synthesis:none;--green:#1d5542;--muted:#718075;--line:#e1e7de;--amber:#9a641a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #92b6a2;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:var(--green)}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-.9px;line-height:1.2}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px;line-height:1.4}small{font-size:12px}.muted{color:var(--muted);font-size:13px;line-height:1.6}.sidebar{display:none}.app{max-width:1100px;margin:auto}.topbar{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line);background:#fff}.mobile-brand{font-size:22px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.mobile-brand span,.brand span{color:#96ac78}.project-label{display:none;font-size:13px}.project-dot{width:7px;height:7px;border-radius:50%;background:#668d60}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}.icon-button:hover{background:#eaf0e7}#refresh{margin-left:auto;background:#f0f4ec}main{padding:24px 18px 16px;min-height:65vh}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--muted);font-weight:650;text-transform:uppercase;margin-bottom:9px}.page-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:23px}.page-heading p{margin-top:8px}.date-control{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:5px 12px;margin-bottom:20px;min-width:0}.date-control input{border:0;background:transparent;min-width:0;max-width:100%;flex:1;padding:10px 0;color:#294c3b;min-height:44px;font-size:16px}.date-control label{font-size:12px;white-space:nowrap}.today-button{font-size:12px;font-weight:650;min-height:44px}.hero{padding:22px;background:#204e3c;color:white;border-radius:18px;margin-bottom:20px;position:relative;overflow:hidden}.hero .eyebrow{color:#bad0ba}.hero h2{font-size:24px;font-weight:550;margin-bottom:7px}.hero p{font-size:13px;color:#d0dfca;line-height:1.6}.hero .hero-action{display:inline-flex;align-items:center;gap:8px;margin-top:20px;border-radius:9px;padding:12px 16px;background:#e5efcd;color:#244632;font-size:13px;font-weight:650;min-height:46px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);padding:15px 10px;border-radius:13px}.metric strong{display:block;font-size:28px;letter-spacing:-1px;font-weight:600;margin-bottom:5px}.metric span{font-size:11px;color:var(--muted);line-height:1.4;display:block}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 13px}.section-head h2{font-size:18px}.section-head small{color:var(--muted)}.card-list{display:grid;gap:12px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:start;gap:10px}.task-id{font-size:10px;font-weight:650;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.badge{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;font-size:10px;font-weight:650;border-radius:6px;background:#f0f3eb;padding:6px 8px;color:#617258}.badge.review{color:#8c651e;background:#fff4da}.badge.rejected{color:#a34435;background:#fbece7}.badge.approved{color:#2c694b;background:#e7f4e9}.badge.progress{color:#406d83;background:#eaf2f7}.quantities{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f6f8f3;border-radius:9px;padding:13px;margin:15px 0}.quantities span{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.quantities strong{font-size:20px;font-weight:600}.quantities small{font-size:11px;font-weight:400;color:var(--muted)}.stage{display:flex;align-items:center;gap:8px;font-size:12px;color:#637567;margin-top:12px;line-height:1.5}.stage svg{width:17px;height:17px}.primary,.secondary{min-height:48px;border-radius:10px;padding:12px 16px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.primary{background:var(--green);color:white}.secondary{background:#f0f4eb;border:1px solid #e0e7d9;color:#38583c}.full{width:100%}.task-actions{display:flex;gap:8px;margin-top:14px}.task-actions>*{flex:1}.tabs{display:flex;gap:5px;background:#e9eee4;padding:5px;border-radius:12px;margin-bottom:20px}.tabs button{flex:1;border-radius:8px;min-height:44px;font-size:13px;font-weight:600}.tabs .selected{background:#fff;box-shadow:0 2px 5px #29492a0c}.filters{display:flex;gap:7px;overflow:auto;padding-bottom:5px;margin-bottom:16px;scrollbar-width:none}.filters button{white-space:nowrap;padding:10px 14px;min-height:44px;border:1px solid var(--line);border-radius:24px;background:white;font-size:12px}.filters .selected{background:#244e3c;color:#fff;border-color:#244e3c}.empty{padding:28px 18px;background:#fff;border:1px dashed #d7e0d1;border-radius:14px;text-align:center}.empty svg{color:#819478;margin-bottom:10px;width:30px;height:30px}.empty h3{margin-bottom:8px}.empty p{font-size:13px;color:var(--muted);line-height:1.7}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 13px;margin-bottom:15px}.search input{min-width:0;width:100%;border:0;outline:0;padding:14px 0;min-height:48px;font-size:16px;background:transparent}.avatar{width:44px;height:44px;border-radius:13px;background:#eaf0e2;color:#4c6f42;font-size:15px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.worker-head{display:flex;gap:12px;align-items:center}.worker-head h3{font-size:15px}.worker-head .badge{margin-left:auto}.worker-times{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:18px 0}.worker-times small{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.worker-times strong{font-size:12px;font-weight:600}.worker-foot{display:flex;justify-content:space-between;gap:10px;align-items:center}.worker-foot a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}.notice-row{display:flex;gap:12px}.notice-icon{width:40px;height:40px;border-radius:12px;background:#fff4dd;color:#a7792f;display:flex;justify-content:center;align-items:center;flex-shrink:0}.notice-row p{margin:7px 0;line-height:1.6;font-size:13px;color:var(--muted)}.notice-row button{font-size:13px;font-weight:650;min-height:44px;padding:0}.profile-card{text-align:center;padding:28px 18px}.profile-card .avatar{width:70px;height:70px;font-size:25px;margin-bottom:15px}.profile-card p{margin-top:7px}.detail-list{margin-top:22px}.detail-list div{padding:15px 0;border-bottom:1px solid var(--line)}.detail-list dt{font-size:12px;color:var(--muted);margin-bottom:6px}.detail-list dd{margin:0;font-size:14px;line-height:1.5}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffffffa;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #204c3510;backdrop-filter:blur(12px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:52px;font-size:10px;padding:4px 0;color:#7c897c;border-radius:9px}.bottom-nav button.active{color:#245b40;background:#eff4e7}.demo-note{font-size:10px;color:#8c9787;text-align:center;padding:15px 15px calc(100px + env(safe-area-inset-bottom))}.loading{padding:40px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:95px;left:18px;right:18px;z-index:30;background:#203f32;color:white;padding:14px 18px;border-radius:12px;box-shadow:0 8px 30px #102b3330;font-size:13px;line-height:1.5;display:none}#toast.visible{display:block}dialog{border:0;border-radius:22px 22px 0 0;padding:12px 20px calc(24px + env(safe-area-inset-bottom));width:100%;max-width:560px;max-height:92dvh;margin:auto auto 0;color:#203b32;background:#fff;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#142f2699;backdrop-filter:blur(3px)}.sheet-handle{width:38px;height:4px;border-radius:2px;background:#dce4d6;margin:0 auto 12px}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.sheet-header h2{font-size:21px}form label.field{display:block;font-size:13px;font-weight:600;margin:18px 0 8px}form input:not([type=file]),form textarea{font-size:16px;width:100%;padding:14px;border:1px solid #d8e2d2;border-radius:10px;background:#fbfcf9;min-height:50px}textarea{resize:vertical}form .primary{margin-top:20px}.form-error{color:#a83d32;font-size:13px;line-height:1.5;margin-top:12px}.photo-picker{display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #87a383;background:#f2f6ec;border-radius:12px;min-height:90px;text-align:center;padding:16px;cursor:pointer;font-size:14px;font-weight:600}.photo-picker input{position:absolute;width:1px;height:1px;opacity:0}.photo-picker:focus-within{outline:3px solid #7aa386}.photo-preview{width:100%;max-height:220px;object-fit:contain;border-radius:10px;margin-top:12px;background:#f4f6ef}.rating-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.rating-grid button{min-height:46px;border:1px solid var(--line);border-radius:9px;font-size:16px}.rating-grid button.selected{background:var(--green);color:white}.hint{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0}.skip{position:absolute;top:-100px}.skip:focus{top:5px;left:5px;z-index:100;background:white;padding:10px}details{margin-top:20px;font-size:12px;color:var(--muted)}summary{cursor:pointer;min-height:44px;padding:12px 0}details a{display:block;padding:10px 0}.photo-view{width:100%;border-radius:10px}.rating-value{font-weight:650;color:#2d6447}@media(min-width:760px){.sidebar{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:235px;background:#173e35;color:#fff;padding:36px 22px}.brand{font-size:28px;letter-spacing:-1px;text-decoration:none;color:#fff;font-weight:700}.brand small{display:block;letter-spacing:1.5px;font-size:8px;color:#b9ccaf;margin-top:10px}.workspace-label{font-size:9px;letter-spacing:1.6px;color:#91af99;margin:45px 0 15px}.desktop-nav{display:grid;gap:8px}.desktop-nav button{min-height:50px;color:#b9ccbf;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border-radius:10px;font-size:13px}.desktop-nav .active{background:#315a47;color:white}.sidebar-foot{display:flex;align-items:center;gap:12px;margin-top:auto;font-size:12px}.sidebar-foot small{display:block;color:#adc2ae;margin-top:6px}.sidebar-foot .avatar{background:#355c45;color:white}.app{margin-left:235px;max-width:1200px}.topbar{padding:20px 36px}.mobile-brand{display:none}.project-label{display:flex;align-items:center;gap:8px}main{padding:32px 36px}.bottom-nav{display:none}.demo-note{padding:20px}.card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{gap:16px}.metric{padding:20px}.metric span{font-size:13px}.hero{padding:30px}.date-control{max-width:380px}.hero h2{font-size:30px}.task-actions .primary,.task-actions .secondary{font-size:12px;padding:12px 9px}dialog{border-radius:18px;margin:auto;padding:24px;max-height:88dvh}.sheet-handle{display:none}#toast{left:auto;right:30px;bottom:25px;max-width:430px}.profile-card{max-width:600px;margin:auto}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}dialog[open]{animation:enter .15s ease-out}@keyframes enter{from{transform:translateY(15px);opacity:.7}to{transform:translateY(0);opacity:1}}}
@media(max-width:380px){.date-control label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.date-control{gap:8px}.date-control input{font-size:15px}}
.password-card{max-width:600px;margin-top:20px}.password-card input{display:block;width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:16px}.password-card .field{display:block;margin:16px 0 7px}.password-card .form-error{min-height:20px;margin:12px 0;color:#a33131}.password-result a{display:inline-block;min-height:44px;margin-top:12px;text-decoration:none}

.review-entry{padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.review-comment{padding:12px;background:#f0f4eb;border-radius:9px;line-height:1.6;margin-top:8px;color:#203b32}details p{white-space:pre-wrap}

.instructions{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;margin:10px 0}

.project-switch{max-width:280px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);font:inherit;font-size:14px}@media(max-width:759px){.topbar{flex-wrap:wrap}.project-switch{order:3;width:100%;max-width:none;flex-basis:100%;font-size:16px}}

.import-table{overflow:auto;max-width:100%;margin:12px 0}.import-table table{border-collapse:collapse;width:100%;font-size:13px}.import-table th,.import-table td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:top}.import-table th{white-space:nowrap}.import-table input,.import-table select{min-width:130px;width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:8px;font-size:16px}.import-table input[type=number]{min-width:100px}.import-editor>h3{margin-top:24px}.import-editor textarea,.import-bulk select,.import-editor>.form-grid input,.import-editor>.form-grid select{width:100%;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:8px}.import-source{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.import-bulk{max-width:500px;display:grid;gap:10px;margin:18px 0}#plan-import-root .remember-option{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;margin:12px 0}#plan-import-root .remember-option input{width:22px;height:22px;flex:0 0 22px}#import-message{margin-top:14px;white-space:pre-wrap;color:#7b4e13}.tabs{overflow-x:auto}.tabs button{flex-shrink:0}
