.portal-root{max-width:1180px;margin-inline-start:auto;margin-inline-end:auto}.portal-loading{color:var(--muted)}.app{grid-template-columns:236px minmax(0,1fr);align-items:start;gap:28px;display:grid}.app-scrim{display:none}.app-side{background:var(--dark);color:#e8ebf0;border-radius:16px;flex-direction:column;align-self:start;gap:4px;max-height:calc(100vh - 104px);padding:16px 12px;display:flex;position:sticky;top:84px;overflow:auto}.app-brand{align-items:center;gap:10px;padding:6px 10px 16px;display:flex}.app-brand-mark{font-family:var(--font-head);letter-spacing:.12em;color:#ff8a91;border:1.5px solid #ff8a9155;border-radius:6px;padding:3px 7px;font-size:.78rem;font-weight:800}.app-brand-name{font-family:var(--font-head);color:#fff;font-size:1.05rem;font-weight:700}.app-nav{flex-direction:column;gap:2px;display:flex}.app-nav-item{text-align:left;color:#c7cdd7;width:100%;font:inherit;font-family:var(--font-head);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:10px 12px;font-size:.94rem;font-weight:600;transition:background .15s,color .15s;display:flex}.app-nav-item:hover{color:#fff;background:#ffffff12}.app-nav-item.is-active{background:var(--brand);color:#fff}.app-nav-ic{flex:0 0 20px;width:20px;height:20px;display:inline-flex}.app-nav-ic svg{width:100%;height:100%}.app-side-foot{border-top:1px solid #ffffff1a;flex-direction:column;gap:6px;margin-top:12px;padding-top:12px;display:flex}.app-user{color:#9aa2af;word-break:break-all;padding:0 12px;font-size:.8rem}.app-logout{color:#c7cdd7;font:inherit;font-family:var(--font-head);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:10px 12px;font-size:.92rem;font-weight:600;display:flex}.app-logout:hover{color:#fff;background:#ffffff12}.app-body{min-width:0}.app-topbar{display:none}.app-main{min-width:0}.p-subhead{font-family:var(--font-head);border-top:1px solid var(--line);color:var(--ink);margin:18px 0 8px;padding-top:12px;font-size:.9rem;font-weight:700}.pdf-ov{z-index:200;background:#0a0c108c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.pdf-modal{background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 24px 60px #0a0c104d}.pdf-modal-hd{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.pdf-modal-hd h3{font-family:var(--font-head);margin:0;font-size:1.12rem}.pdf-modal-x{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:1.5rem;line-height:1}.pdf-modal-bd{flex-direction:column;gap:14px;padding:18px 20px;display:flex}.pdf-modal-file{color:var(--muted);word-break:break-all;font-size:.86rem}.pdf-modal-sep{color:var(--muted);align-items:center;gap:10px;font-size:.82rem;display:flex}.pdf-modal-sep:before,.pdf-modal-sep:after{content:"";background:var(--line);flex:1;height:1px}.pdf-field{flex-direction:column;gap:5px;display:flex}.pdf-field label{font-family:var(--font-head);font-size:.84rem;font-weight:600}.pdf-field input,.pdf-field textarea{border:1px solid var(--line);width:100%;font:inherit;box-sizing:border-box;border-radius:10px;padding:9px 11px}.pdf-field textarea{resize:vertical;min-height:150px}.pdf-field .hint{color:var(--muted);font-size:.76rem}.pdf-modal-msg{min-height:1.2em;font-size:.86rem}.pdf-modal-msg.ok{color:#1a7f37}.pdf-modal-msg.err{color:var(--brand)}@media (max-width:860px){.app{display:block}.app-topbar{align-items:center;gap:12px;margin-bottom:18px;display:flex}.app-burger{border:1px solid var(--line);cursor:pointer;width:42px;height:42px;color:var(--ink);background:#fff;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.app-burger svg{width:22px;height:22px}.app-topbar-title{font-family:var(--font-head);font-size:1.15rem;font-weight:800}.app-side{z-index:60;border-radius:0;width:272px;max-height:none;transition:transform .22s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app-scrim{z-index:55;opacity:0;pointer-events:none;background:#0a0c1080;transition:opacity .22s;position:fixed;top:0;bottom:0;left:0;right:0}.app[data-drawer=open] .app-side{transform:translate(0)}.app[data-drawer=open] .app-scrim{opacity:1;pointer-events:auto;display:block}}.dash-hero{margin-bottom:22px}.dash-hero h1{margin:0 0 4px}.dash-stats{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px;display:grid}.dash-stat{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:14px;padding:16px 18px;transition:border-color .15s,transform .15s}.dash-stat:hover{border-color:var(--ink);transform:translateY(-1px)}.dash-stat-n{font-family:var(--font-head);font-size:2rem;font-weight:800;line-height:1;display:block}.dash-stat-l{color:var(--muted);margin-top:6px;font-size:.85rem;display:block}.dash-stat.is-alert .dash-stat-n{color:var(--brand-dark)}.p-go{color:var(--muted);width:18px;height:18px;display:inline-flex}.p-go svg{width:100%;height:100%}.p-searchbar{margin:4px 0 16px;position:relative}.p-searchbar-ic{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.p-searchbar-ic svg{width:100%;height:100%}.p-searchbar input{width:100%;font:inherit;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 14px 11px 42px}.p-searchbar input:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px #14171c14}@media (max-width:560px){.dash-stats{gap:8px}.dash-stat{padding:12px}.dash-stat-n{font-size:1.5rem}}.p-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:max(18px,min(3vw,28px))}.p-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.p-head h1{margin:0}.p-user{color:var(--muted);align-items:center;gap:12px;font-size:.9rem;display:flex}.p-field{font-family:var(--font-head);flex-direction:column;gap:6px;margin-bottom:14px;font-size:.9rem;font-weight:600;display:flex}.p-field input,.p-field textarea,.p-field select{font:inherit;border:1px solid var(--line);border-radius:9px;width:100%;padding:11px 13px;font-weight:400}.p-grid2{grid-template-columns:1fr 1fr;gap:14px;display:grid}@media (max-width:560px){.p-grid2{grid-template-columns:1fr}}.p-list{flex-direction:column;gap:10px;margin:18px 0 0;padding:0;list-style:none;display:flex}.p-item{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.p-item:hover{border-color:var(--ink)}.p-item h3{margin:0 0 2px;font-size:1.05rem}.p-item p{color:var(--muted);margin:0;font-size:.88rem}.p-badge{font-family:var(--font-head);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:4px 9px;font-size:.72rem;font-weight:700}.p-badge.open{color:var(--brand-dark);background:#cc1f2a18}.p-badge.closed{color:#0c6b42;background:#12855222}.p-badge.progress{color:#8a4b00;background:#b4690e22}.p-stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-top:12px;display:grid}.p-stat{border:1px solid var(--line);text-align:center;background:#fff;border-radius:12px;padding:16px}.p-stat-n{font-family:var(--font-head);font-size:1.9rem;font-weight:800;line-height:1;display:block}.p-stat-l{color:var(--muted);margin-top:6px;font-size:.82rem;display:block}.p-stat.open .p-stat-n{color:var(--brand-dark)}.p-stat.progress .p-stat-n{color:#8a4b00}.p-stat.closed .p-stat-n{color:#0c6b42}.p-catrow{border-bottom:1px solid var(--line);justify-content:space-between;padding:7px 0;display:flex}.p-catrow:last-child{border-bottom:0}.hb-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.hb-card{text-align:left;background:var(--dark);color:#eef1f5;cursor:pointer;border:0;border-radius:14px;align-items:center;gap:14px;padding:18px;transition:transform .15s,box-shadow .15s;display:flex}.hb-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #14171c2e}.hb-ic{color:#ff8a91;background:#ffffff1a;border-radius:11px;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.hb-ic svg{width:22px;height:22px}.hb-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.hb-title{font-family:var(--font-head);font-size:1rem;font-weight:700}.hb-meta{color:#aab2bd;word-break:break-all;font-size:.8rem}.hb-go{font-family:var(--font-head);color:#ff8a91;white-space:nowrap;font-size:.82rem;font-weight:700}.hb-review{color:#0c6b42;background:#12855218;border:1px solid #12855244;border-radius:10px;margin-bottom:14px;padding:10px 14px;font-size:.9rem}.hb-review.overdue{color:var(--brand-dark);background:#cc1f2a14;border-color:#cc1f2a44;font-weight:600}.hb-chap{border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:8px}.hb-chap>summary{cursor:pointer;font-family:var(--font-head);padding:14px 16px;font-size:1.02rem;font-weight:700;list-style:none}.hb-chap>summary::-webkit-details-marker{display:none}.hb-chap>summary:before{content:"";background:var(--muted);width:14px;height:14px;-webkit-mask:var(--p-chev) center / contain no-repeat;-webkit-mask:var(--p-chev) center / contain no-repeat;mask:var(--p-chev) center / contain no-repeat;flex:0 0 14px;margin-right:10px;transition:transform .15s;display:inline-block}.hb-chap[open]>summary:before{transform:rotate(90deg)}.hb-chap .p-article{padding:0 18px 16px}.p-article{line-height:1.65}.p-article h3{margin:18px 0 6px;font-size:1.1rem}.p-article p{margin:0 0 12px}.p-article ul{margin:0 0 12px;padding-left:20px}.p-article li{margin-bottom:5px}.p-muted{color:var(--muted);font-size:.92rem}.p-err{color:var(--brand-dark);margin:8px 0 0;font-size:.9rem}.p-linkbtn{font:inherit;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.p-linkbtn:hover{color:var(--brand-dark)}.p-sortbar{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;display:flex}.p-sortbar select{border:1px solid var(--line,#d8d8d8);font:inherit;background:#fff;border-radius:8px;padding:7px 10px}.p-sortbar-label{color:#6b6b6b;font-size:.85rem}.p-actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.p-thumbs{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:10px;display:grid}.p-thumb{aspect-ratio:1;border:1px solid var(--line);border-radius:8px;position:relative;overflow:hidden}.p-thumb img{object-fit:cover;width:100%;height:100%}.p-thumb-del{color:#fff;cursor:pointer;background:#14171cbf;border:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.8rem;line-height:1;display:flex;position:absolute;top:3px;right:3px}.p-thumb-del:hover{background:var(--brand)}.p-fdv-filter{cursor:pointer;align-items:center;gap:7px;margin:0 0 6px;font-size:.88rem;display:inline-flex}.p-fdv-filter input{width:auto}.p-fdv-mark{letter-spacing:.04em;cursor:pointer;border:1px solid var(--line,#d9dde3);min-width:34px;height:22px;color:var(--muted,#8a909a);background:0 0;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:.72rem;font-weight:700;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.p-fdv-mark:hover{border-color:var(--brand);color:var(--brand)}.p-fdv-mark.is-on{background:var(--brand);border-color:var(--brand);color:#fff}.i-tg{font-weight:600}.i-tg-tg0{color:#1a7f37}.i-tg-tg1{color:#8a6a00}.i-tg-tg2{color:#b5510a}.i-tg-tg3{color:#cc1f2a}.p-bar{background:#e7e9ee;border-radius:999px;height:8px;margin:6px 0;overflow:hidden}.p-bar span{border-radius:999px;height:100%;display:block}.p-timestats{flex-wrap:wrap;gap:18px;margin:8px 0 2px;font-size:.95rem;display:flex}.p-timestats strong{font-size:1.15rem}tr.p-click{cursor:pointer}tr.p-click:hover td{background:#00000008}.p-weeknav{flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 16px;display:flex}.p-week-label{font-size:1.05rem}.p-controlled{color:#1a7f37;background:#e4f4e8;border-radius:10px;margin-bottom:14px;padding:8px 12px;font-size:.9rem;font-weight:600}.p-weektable tr.p-weeksum td{border-top:2px solid #20231c;font-weight:700}.p-daychks{flex-wrap:wrap;gap:12px;margin-top:6px;display:flex}.p-daychk{align-items:center;gap:5px;font-size:.9rem;display:inline-flex}.p-daychk input{width:auto}.p-restable td.rp-emp{white-space:nowrap;font-weight:600}.p-restable td.rp-cell{vertical-align:top;min-width:96px}.rp-chip{border-radius:8px;align-items:center;gap:4px;margin:2px 2px 0 0;padding:2px 6px;font-size:.78rem;font-weight:600;line-height:1.3;display:inline-flex}.rp-chip-x{color:inherit;cursor:pointer;opacity:.65;background:0 0;border:0;padding:0;font-size:.72rem}.rp-chip-x:hover{opacity:1}.p-section{margin-top:30px}.p-section>h2{font-size:1.25rem}details.p-new{border:1px dashed var(--line);border-radius:10px;margin-top:14px;padding:14px 16px}details.p-new summary{cursor:pointer;font-family:var(--font-head);color:var(--brand);font-weight:700}details.p-new[open] summary{margin-bottom:14px}.p-login{max-width:400px;margin:6vh auto 0}.p-cl-sec{border:0;border-top:2px solid var(--line);margin:0;padding:14px 0 2px}.p-cl-sec legend{font-family:var(--font-head);color:var(--brand);padding:0;font-size:1rem;font-weight:700}.p-cl-item{border-bottom:1px solid var(--line);padding:12px 0}.p-cl-item:last-child{border-bottom:0}.p-cl-text{margin:0 0 8px;font-weight:500}.ks-radios{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ks-pill{position:relative}.ks-pill input{opacity:0;cursor:pointer;position:absolute;top:0;bottom:0;left:0;right:0}.ks-pill span{border:1.5px solid var(--line);font-family:var(--font-head);cursor:pointer;border-radius:999px;padding:7px 15px;font-size:.88rem;font-weight:600;display:inline-block}.ks-pill--ok input:checked+span{color:#0c6b42;background:#12855222;border-color:#128552}.ks-pill--na input:checked+span{background:var(--surface);border-color:var(--muted);color:var(--muted)}.ks-pill--dev input:checked+span{border-color:var(--brand);color:var(--brand-dark);background:#cc1f2a18}.p-cl-note{min-width:150px;font:inherit;border:1px solid var(--line);border-radius:8px;flex:1;padding:8px 11px}.p-tpl{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:14px;padding:18px 20px}.p-tpl-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.p-tpl-head h3{margin:0}.p-tpl-cats-label{font-size:.85rem;font-weight:600;font-family:var(--font-head);margin:12px 0 6px}.p-chips{flex-wrap:wrap;gap:6px;display:flex}.p-chip{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:.8rem}.p-sm{padding:6px 12px;font-size:.82rem}.p-grid3{grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:8px;display:grid}.p-grid3 input{font:inherit;border:1px solid var(--line);border-radius:8px;width:100%;padding:9px 11px}@media (max-width:560px){.p-grid3{grid-template-columns:1fr}}.p-grid-inline{align-items:center;gap:8px;margin-bottom:8px;display:flex}.p-grid-inline input{flex:1}.p-tpl-edit-sec{border:1px solid var(--line);border-radius:10px;margin:10px 0;padding:12px 14px}.p-checks{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px 14px;margin-bottom:14px;display:grid}.p-check{align-items:center;gap:7px;font-size:.9rem;font-weight:400;display:flex}.p-check input{width:auto}.p-jd-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px;display:grid}.p-jd-photo{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.p-jd-photo img{aspect-ratio:4/3;object-fit:cover;width:100%}.p-jd-cap{color:var(--muted);flex:1;padding:8px 10px;font-size:.82rem}.p-jd-photo .btn{margin:0 10px 10px}.p-filters{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.p-filters input,.p-filters select{font:inherit;border:1px solid var(--line);border-radius:9px;padding:10px 12px}.p-filters #a-search{flex:1;min-width:200px}.p-tablewrap{overflow-x:auto}.p-table{border-collapse:collapse;border:1px solid var(--line);border-radius:var(--radius);background:#fff;width:100%;overflow:hidden}.p-table th,.p-table td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:12px 14px;font-size:.94rem}.p-table th{font-family:var(--font-head);background:var(--surface);font-weight:700}.p-table tbody tr[data-form]{cursor:pointer}.p-table tbody tr[data-form]:hover{background:var(--surface)}.p-table tbody tr[data-q],.p-table tbody tr[data-doc]{cursor:pointer}.p-table tbody tr[data-q]:hover{background:var(--surface)}.q-badge{font-size:.78rem;font-weight:700;font-family:var(--font-head);border-radius:999px;padding:3px 9px;display:inline-block}.q-draft{color:#5a606c;background:#eceef1}.q-sent{color:#1a5fb4;background:#e7f0fb}.q-accepted{color:#1a7f37;background:#e4f4e8}.q-declined{color:var(--brand);background:#fdeaec}.p-badge.is-done{color:#1a7f37;vertical-align:middle;background:#e4f4e8;border-radius:999px;padding:2px 8px;font-size:.72rem}.ql-table{border-collapse:collapse;width:100%;margin:8px 0}.ql-table th{text-align:left;font-family:var(--font-head);color:var(--muted);padding:4px 6px;font-size:.78rem;font-weight:700}.ql-table td{vertical-align:top;padding:3px 4px}.ql-table input{border:1px solid var(--line);width:100%;font:inherit;box-sizing:border-box;border-radius:8px;padding:7px 8px}.ql-spec{min-width:220px}.ql-num{width:92px}.ql-sum{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding-top:12px}.ql-del{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:6px;font-size:1.1rem}.ql-del:hover{color:var(--brand)}.ql-totals{font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;gap:3px;margin:10px 0;display:flex}.ql-totals .grand{font-size:1.1rem;font-weight:800;font-family:var(--font-head)}.q-term{border-bottom:1px solid var(--line);align-items:flex-start;gap:9px;padding:6px 0;display:flex}.q-term textarea{border:1px solid var(--line);font:inherit;resize:vertical;border-radius:8px;flex:1;min-height:40px;padding:7px 9px}.q-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.p-logo{width:auto;height:40px}.calc-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:6px;margin:6px 0 18px;display:flex}.calc-tab{color:var(--muted);font:inherit;font-family:var(--font-head);cursor:pointer;background:0 0;border:0;border-bottom:2.5px solid #0000;padding:9px 12px;font-weight:600}.calc-tab.is-active{color:var(--ink);border-bottom-color:var(--brand)}.imp-box{border:1px dashed var(--line);background:var(--surface);border-radius:12px;margin:8px 0 16px;padding:14px}.imp-box textarea{border:1px solid var(--line);box-sizing:border-box;border-radius:10px;width:100%;min-height:90px;padding:9px 11px;font:13px/1.4 monospace}.portal-root h1{letter-spacing:-.015em;font-size:max(1.55rem,min(2.6vw,2rem))}.portal-root h2{font-size:1.25rem}.portal-root h3{font-size:1.05rem}.p-head p.p-muted,.p-intro{max-width:68ch}.dash-stat,.hb-card,.dash-row,.fh-btn,.fh-primary,.fh-job,.app-tab,.p-jump button{font:inherit}.p-field input,.p-field textarea,.p-field select{font-size:1rem}.portal-root{accent-color:var(--brand);caret-color:var(--brand)}.portal-root ::selection{background:#cc1f2a2e}.portal-root :focus-visible{outline:2.5px solid var(--brand);outline-offset:2px}.p-dialog :focus-visible{outline:2.5px solid var(--brand);outline-offset:2px}.p-toasts :focus-visible{outline:2.5px solid var(--brand);outline-offset:2px}.pdf-modal :focus-visible{outline:2.5px solid var(--brand);outline-offset:2px}.app-side :focus-visible{outline-color:#ff8a91}.ks-pill input:focus-visible+span{outline:2.5px solid var(--brand);outline-offset:2px}.p-searchbar input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #cc1f2a2e}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.p-badge.is-done,.q-accepted,.p-controlled{color:#146b2e}.btn:disabled,.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none}.btn[aria-busy=true]{opacity:.75;cursor:progress}.btn-ic{flex:0 0 18px;width:18px;height:18px;display:inline-flex}.btn-ic svg{width:100%;height:100%}.btn--danger{background:var(--brand);color:#fff}.btn--danger:hover{background:var(--brand-dark);color:#fff}.btn--dangerghost{color:var(--brand-dark)}.btn--dangerghost:hover{border-color:var(--brand)}.p-toasts{left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:300;pointer-events:none;flex-direction:column;gap:8px;width:min(560px,100vw - 24px);display:flex;position:fixed;transform:translate(-50%)}.p-toast{pointer-events:auto;background:var(--dark);color:#fff;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 10px 12px 16px;animation:.2s cubic-bezier(.2,.8,.2,1) p-toast-in;display:flex;box-shadow:0 10px 30px #0a0c1047}.p-toast--err{color:var(--ink);border:1.5px solid var(--brand);background:#fff}.p-toast-msg{flex:1;margin:0;font-size:.95rem;line-height:1.45}.p-toast-msg small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:.78rem;display:block}.p-toast--ok .p-toast-msg small{color:#b9bfc9}.p-toast-x{width:36px;height:36px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;margin:-6px 0;font-size:1.35rem;line-height:1}.p-toast.is-out{opacity:0;transition:opacity .2s,transform .2s;transform:translateY(6px)}@keyframes p-toast-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.p-toast{animation:none}.p-toast.is-out{transition:none}}.p-dialog{width:min(440px,100vw - 32px);color:var(--ink);border:0;border-radius:16px;padding:0;box-shadow:0 24px 60px #0a0c104d}.p-dialog::backdrop{background:#0a0c1080}.p-dialog form{padding:22px 22px 18px}.p-dialog-title{margin:0 0 8px;font-size:1.15rem;line-height:1.3}.p-dialog-body{color:var(--muted);margin:0 0 18px;font-size:.95rem;line-height:1.5}.p-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.p-draftnote{color:#5c4400;background:#fff7e0;border:1px solid #e8c766;border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:14px;padding:10px 14px;font-size:.92rem;display:flex}.app-nav-group+.app-nav-group{border-top:1px solid #ffffff14;margin-top:10px;padding-top:10px}.app-nav-glabel{font-family:var(--font-head);letter-spacing:.06em;text-transform:uppercase;color:#8f98a5;margin:0 0 4px;padding:0 12px;font-size:.72rem;font-weight:700}.app-side-foot{background:var(--dark);padding-bottom:4px;position:sticky;bottom:-16px}a.app-logout:hover{text-decoration:none}.app-topbar-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-tabbar{display:none}.p-actionbar{z-index:20;background:var(--surface);border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;padding:12px 0;display:flex;position:sticky;bottom:0}.p-card .p-actionbar{margin-inline-start:calc(-1*max(18px,min(3vw,28px)));margin-inline-end:calc(-1*max(18px,min(3vw,28px)));border-radius:0 0 var(--radius) var(--radius);background:#fff;margin-bottom:calc(-1*max(18px,min(3vw,28px)));padding-inline-start:max(18px,min(3vw,28px));padding-inline-end:max(18px,min(3vw,28px))}.p-actionbar [role=status]:empty{display:none}.p-actionbar .btn--dangerghost{margin-left:auto}.p-pdfpick{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.p-pdfpick select{font:inherit;border:1px solid var(--line);background:#fff;border-radius:8px;min-height:48px;padding:0 12px;font-size:.95rem}.p-photopick{margin:4px 0 16px}.p-photo-btn{border:1.5px solid var(--ink);min-height:48px;color:var(--ink);font-family:var(--font-head);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.95rem;font-weight:700;display:inline-flex}.p-photo-btn:hover{background:var(--surface)}.p-photo-btn:focus-within{outline:2.5px solid var(--brand);outline-offset:2px}.p-photo-btn .btn-ic{flex-basis:22px;width:22px;height:22px}.p-thumb-del{width:32px;height:32px;font-size:1rem}.wd-photo-btns{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.wd-thumbs{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-bottom:10px;display:grid}.wd-thumb{border:1px solid var(--line);aspect-ratio:4/3;background:var(--surface);border-radius:8px;margin:0;position:relative;overflow:hidden}.wd-thumb img{object-fit:cover;width:100%;height:100%}.wd-thumb-ph{color:#fff;font-family:var(--font-head);background:#14171cd1;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:700;position:absolute;bottom:4px;left:4px}.wd-thumb-del{color:#fff;cursor:pointer;background:#14171cd1;border:0;border-radius:50%;width:34px;height:34px;font-size:1.15rem;line-height:1;position:absolute;top:4px;right:4px}.wd-thumb-del:hover{background:var(--brand)}.wd-entry{margin-bottom:12px}.wd-entry-hd{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.wd-entry-n{margin:0}.wd-del-entry{color:var(--brand-dark);align-items:center;gap:6px;min-height:40px;padding:0 4px;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex}.wd-del-entry[hidden]{display:none}.wd-entry-photos{margin-top:6px}.wd-ep-msg{margin-top:6px;font-size:.85rem;display:block}.wd-ep-msg:empty{display:none}fieldset.p-seg{border:0;min-width:0;margin:0 0 14px;padding:0;display:block}.p-seg legend{font-family:var(--font-head);margin-bottom:8px;padding:0;font-size:.9rem;font-weight:600}.ks-pill span{align-items:center;min-height:44px;padding:9px 16px;display:inline-flex}.p-seg .ks-pill input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}.p-seg .ks-pill--sev-lav input:checked+span{color:#0c6b42;background:#12855222;border-color:#128552}.p-seg .ks-pill--sev-middels input:checked+span{color:#7a4100;background:#b4690e22;border-color:#b4690e}.p-seg .ks-pill--sev-hoy input:checked+span{border-color:var(--brand);color:var(--brand-dark);background:#cc1f2a18}.p-form .p-field textarea{resize:vertical}.p-note{margin:6px 0 0;font-size:.85rem}.nc-tools{margin:4px 0 6px}.nc-tools[hidden]{display:none}details.p-more{border:1px solid var(--line);background:#fff;border-radius:10px;margin:6px 0 14px;padding:12px 16px}details.p-more>summary{cursor:pointer;font-family:var(--font-head);align-items:center;min-height:32px;font-size:.95rem;font-weight:700;list-style:none;display:flex}details.p-more>summary::-webkit-details-marker{display:none}details.p-more>summary:before{content:"";background:var(--muted);width:14px;height:14px;-webkit-mask:var(--p-chev) center / contain no-repeat;-webkit-mask:var(--p-chev) center / contain no-repeat;mask:var(--p-chev) center / contain no-repeat;flex:0 0 14px;margin-right:10px;transition:transform .15s;display:inline-block}details.p-more[open]>summary:before{transform:rotate(90deg)}details.p-more[open]>summary{margin-bottom:12px}details.p-more>summary h2{margin:0;font-size:1.05rem;display:inline}.p-newbar{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.p-newbar .p-field{flex:260px;margin:0}.dash-date:first-letter,.fh-hello p:first-letter{text-transform:uppercase}.dash-quick{flex-wrap:wrap;gap:10px;margin:0 0 20px;display:flex}.dash-quick .btn,.p-projactions .btn{padding:12px 18px;font-size:.95rem}.dash-cols{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}.dash-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:16px 18px}.dash-panel-hd{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;display:flex}.dash-panel-hd h2{margin:0;font-size:1.05rem}.dash-rows{margin:0;padding:0;list-style:none}.dash-rows li+li{border-top:1px solid var(--line)}.dash-row{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:10px 2px;display:flex}.dash-row:hover strong{color:var(--brand-dark)}.dash-row-main{flex:1;min-width:0;font-size:.95rem;line-height:1.4}.dash-row-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.84rem;display:block;overflow:hidden}.fh{flex-direction:column;gap:18px;max-width:640px;display:flex}.fh-hello h1{margin:0 0 2px}.fh-hello p{margin:0}.fh-today{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:16px 18px 12px}.fh-today h2{margin:0 0 10px;font-size:1.05rem}.fh-jobs{flex-direction:column;gap:8px;margin:0 0 12px;padding:0;list-style:none;display:flex}.fh-job{text-align:left;border:1.5px solid var(--line);width:100%;min-height:52px;font-family:var(--font-head);color:var(--ink);cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:1.02rem;font-weight:700;display:flex}.fh-job.is-sel{border-color:var(--ink)}.fh-job-tag{color:#fff;background:var(--ink);white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:.75rem}.fh-nojob{margin:0 0 10px;font-size:.95rem}.fh-pick{margin-bottom:6px}.fh-actions{flex-direction:column;gap:10px;display:flex}.fh-primary{background:var(--brand);color:#fff;min-height:76px;font-family:var(--font-head);cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:12px;font-size:1.25rem;font-weight:800;transition:background .15s,transform .1s;display:flex;box-shadow:0 6px 18px #cc1f2a40}.fh-primary:hover{background:var(--brand-dark)}.fh-primary:active{transform:translateY(1px)}.fh-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.fh-btn{border:1px solid var(--line);min-height:92px;color:var(--ink);font-family:var(--font-head);text-align:left;cursor:pointer;background:#fff;border-radius:14px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px;font-size:1rem;font-weight:700;line-height:1.2;display:flex}.fh-btn:hover,.fh-job:hover{border-color:var(--ink)}.fh-ic{width:26px;height:26px;display:inline-flex}.fh-ic svg{width:100%;height:100%}.fh-primary .fh-ic{width:30px;height:30px}.fh-btn .fh-ic{color:var(--brand)}.fh-recent h2{margin:6px 0 8px;font-size:1.05rem}.p-back{margin-bottom:14px;padding:10px 16px;font-size:.92rem}.app-topback{display:none}:root{--p-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}.hb-chap>summary{align-items:center;display:flex}button svg{pointer-events:none}.ql-del,.rp-chip-x,.p-thumb-del,.wd-thumb-del{justify-content:center;align-items:center;display:inline-flex}.ql-del{min-width:36px;min-height:36px}.ql-del svg,.rp-chip-x svg,.p-thumb-del svg,.wd-thumb-del svg{width:1em;height:1em}.rp-chip-x{width:18px;height:18px}.p-toast-x{justify-content:center;align-items:center;display:inline-flex}.p-toast-x svg{width:18px;height:18px}.pdf-modal-x{justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:inline-flex}.pdf-modal-x svg{width:20px;height:20px}.p-thumb-del:before,.wd-thumb-del:before{content:"";position:absolute;top:-6px;bottom:-6px;left:-6px;right:-6px}.p-go-txt{white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.p-go-txt svg{width:16px;height:16px}.p-photopick--wide .p-photo-btn{width:100%;min-height:52px}.fh-job-name{min-width:0}.fh-job-end{flex:none;align-items:center;gap:8px;display:inline-flex}.fh-job-go{width:20px;height:20px;color:var(--muted);display:inline-flex}.fh-job-go svg{width:100%;height:100%}.p-dangerzone{justify-content:flex-end;margin-top:14px;display:flex}.p-namerow{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}details.fh-other{margin-top:2px}details.fh-other>summary{cursor:pointer;color:var(--muted);align-items:center;min-height:44px;font-size:.95rem;font-weight:500;list-style:none;display:flex}details.fh-other>summary:before{content:"";width:14px;height:14px;-webkit-mask:var(--p-chev) center / contain no-repeat;-webkit-mask:var(--p-chev) center / contain no-repeat;mask:var(--p-chev) center / contain no-repeat;background:currentColor;flex:0 0 14px;margin-right:8px;transition:transform .15s;display:inline-block}details.fh-other[open]>summary:before{transform:rotate(90deg)}details.fh-other>summary::-webkit-details-marker{display:none}details.fh-other[open]>summary{margin-bottom:6px}.p-projhead h1{margin:0 0 4px}.p-projactions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.p-jump{z-index:15;background:var(--surface);scrollbar-width:none;gap:6px;margin-top:10px;padding:10px 0;display:flex;position:sticky;top:64px;overflow-x:auto}.p-jump::-webkit-scrollbar{display:none}.p-jump button{border:1px solid var(--line);color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border-radius:999px;flex:none;min-height:40px;padding:8px 14px;font-size:.88rem;font-weight:600}.p-jump button:hover{border-color:var(--ink)}.p-section[id]{scroll-margin-top:136px}.p-sechead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.p-sechead h2{margin:0}.p-projfoot{border-top:1px solid var(--line);padding-top:18px}.p-listhead{margin:18px 0 0;font-size:1rem}@media (max-width:860px){.app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app-topbar{z-index:40;background:var(--surface);border-bottom:1px solid var(--line);margin:0 -22px 14px;padding:8px 22px;position:sticky;top:0}.app-tabbar{z-index:50;border-top:1px solid var(--line);padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:#fff;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 18px #14171c0f}.app-tab{min-height:58px;color:var(--muted);font-family:var(--font-head);text-align:center;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:6px 2px;font-size:.72rem;font-weight:600;line-height:1.15;display:flex}.app-tab-ic{width:24px;height:24px;display:inline-flex}.app-tab-ic svg{width:100%;height:100%}.app-tab.is-active{color:var(--brand-dark)}.app-tab[data-tab=deviation-new] .app-tab-ic{color:var(--brand)}.p-toasts{bottom:calc(84px + env(safe-area-inset-bottom))}.p-actionbar{bottom:calc(66px + env(safe-area-inset-bottom));flex-wrap:nowrap;gap:8px}.p-actionbar>.btn--primary{flex:auto;justify-content:center;min-width:0;min-height:52px;padding-inline-start:14px;padding-inline-end:14px}.p-actionbar .p-pdfpick{flex-wrap:nowrap;flex:none}.p-actionbar .p-pdfpick .btn,.p-actionbar>.btn--ghost{min-height:52px;padding:12px 14px;font-size:.92rem}.p-actionbar .p-pdfpick select{min-height:52px;padding:0 8px}.p-actionbar [role=status]:not(:empty){background:var(--dark);color:#fff;padding:6px 14px;font-size:.85rem;position:absolute;bottom:100%;left:0;right:0}.p-jump{top:58px}.p-projactions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.p-projactions .btn{text-align:center;flex-direction:column;justify-content:center;gap:6px;min-height:76px;padding:10px 6px;font-size:.82rem;line-height:1.2}.p-projactions .btn .btn-ic{flex-basis:22px;width:22px;height:22px}.p-projactions .btn--primary{flex-direction:row;grid-column:1/-1;min-height:52px;font-size:.95rem}.p-projactions .btn--primary .btn-ic{flex-basis:18px;width:18px;height:18px}.app-burger{display:none}.app-topbar{min-height:60px}.app-topback:not([hidden]){border:1px solid var(--line);width:44px;height:44px;color:var(--ink);cursor:pointer;background:#fff;border-radius:10px;flex:0 0 44px;justify-content:center;align-items:center;display:inline-flex}.app-topback svg{width:22px;height:22px}.p-back{display:none}.p-viewh1{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.btn.p-sm{min-height:44px}.p-section[id]{scroll-margin-top:124px}}@media (max-width:380px){.wd-photo-btns .p-photo-btn{gap:5px;padding:10px 6px;font-size:.88rem}}
