@charset "UTF-8";:root{--bg:#070c18;--surface:#0d1528;--raised:#111b31;--soft:#0a1122;--border:#1d2a49;--border-hover:#34518b;--ink:#eef2fb;--muted:#93a1bd;--primary:#3b82f6;--success:#34d399;--danger:#fb7185;--container:1440px;color-scheme:dark}*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{min-height:100vh;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:radial-gradient(circle at 78% -10%,rgba(37,99,235,.1490196078),transparent 34rem),radial-gradient(circle at -10% 70%,rgba(59,130,246,.0705882353),transparent 32rem),var(--bg)}button,input,select{font:inherit}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:20;height:72px;border-bottom:1px solid rgba(39,53,84,.7490196078);background:#070c18d1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar-inner{max-width:var(--container);height:100%;margin:auto;padding:0 32px;display:flex;align-items:center;gap:44px}.brand{display:inline-flex;align-items:center;gap:11px;color:#fff;font-size:1.08rem;font-weight:800;letter-spacing:.08em}.main-nav{display:flex;align-items:center;gap:6px;height:100%}.main-nav a{position:relative;padding:10px 14px;border-radius:8px;color:var(--muted);font-size:.86rem;font-weight:600;transition:.2s}.main-nav a:hover,.main-nav a.active{color:#fff;background:#3b82f617}.main-nav a.active:after{content:"";position:absolute;left:14px;right:14px;bottom:-17px;height:2px;border-radius:2px;background:var(--primary);box-shadow:0 0 10px var(--primary)}app-account-menu{margin-left:auto}.account{position:relative}.account-trigger{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 8px 4px 5px;border:1px solid transparent;border-radius:12px;color:var(--ink);background:transparent;cursor:pointer}.account-trigger:hover,.account-trigger[aria-expanded=true]{border-color:var(--border);background:var(--surface)}.account-trigger app-icon{width:16px;color:var(--muted)}.avatar{width:34px;height:34px;display:grid;place-items:center;border:1px solid #3a5392;border-radius:10px;background:linear-gradient(145deg,#213b72,#17284b);color:#cfe0ff;font-size:.72rem;font-weight:800}.account-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:650}.account-popover{position:absolute;top:calc(100% + 12px);right:0;width:290px;padding:10px;border:1px solid var(--border);border-radius:15px;background:#0d1528fa;box-shadow:0 22px 60px #00000073;animation:pop-in .16s ease-out}.account-summary{display:flex;align-items:center;gap:12px;padding:10px}.account-summary div,.menu-item span{min-width:0;display:flex;flex-direction:column}.account-summary strong,.menu-item strong{font-size:.82rem}.account-summary small,.menu-item small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:.7rem;text-overflow:ellipsis}.avatar-large{width:42px;height:42px;flex:none}.menu-divider{height:1px;margin:6px 4px;background:var(--border)}.menu-item{width:100%;display:flex;align-items:center;gap:12px;padding:10px;border:0;border-radius:9px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.menu-item:hover{background:#3b82f617}.menu-item app-icon{flex:none;color:#79a9ff}.menu-logout{margin-top:2px}.content{position:relative;max-width:var(--container);margin:auto;padding:48px 32px 80px}.eyebrow,.card-kicker{display:block;margin-bottom:9px;color:#6ea1ff;font-size:.68rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:10px;font-size:clamp(2rem,4vw,3rem);line-height:1.08;letter-spacing:-.045em}h2{font-size:1.05rem}.muted,.page-heading p{color:var(--muted)}.dashboard-intro{position:relative;min-height:188px;display:flex;align-items:center;padding:36px 40px;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:linear-gradient(125deg,#111b31f2,#0a1122d1)}.dashboard-intro:after{content:"";position:absolute;inset:auto -100px -170px auto;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.1882352941),transparent 66%)}.dashboard-intro h1{margin-bottom:8px}.dashboard-intro p{margin:0;color:var(--muted)}.intro-orbit{position:absolute;right:7%;width:180px;height:180px;border:1px solid rgba(59,130,246,.1803921569);border-radius:50%;transform:rotate(-18deg)}.intro-orbit:before,.intro-orbit:after{content:"";position:absolute;border:1px solid rgba(59,130,246,.1294117647);border-radius:50%}.intro-orbit:before{inset:28px}.intro-orbit:after{inset:59px}.intro-orbit span{position:absolute;width:7px;height:7px;border-radius:50%;background:#5793ff;box-shadow:0 0 15px #3b82f6}.intro-orbit span:nth-child(1){top:20px;left:37px}.intro-orbit span:nth-child(2){right:-3px;top:85px}.intro-orbit span:nth-child(3){bottom:19px;left:36px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.module-card{position:relative;min-height:286px;display:flex;flex-direction:column;overflow:hidden;padding:25px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(145deg,var(--raised),var(--soft));box-shadow:0 14px 40px #00000029;transition:.22s}.module-card:hover{transform:translateY(-4px);border-color:var(--border-hover);box-shadow:0 22px 54px #0000004d}.module-card-top{display:flex;align-items:center;justify-content:space-between}.module-icon{width:50px;height:50px;display:grid;place-items:center;border:1px solid #31508d;border-radius:14px;color:#a8c8ff;background:linear-gradient(145deg,#1b3973,#13254a);box-shadow:inset 0 1px #ffffff14,0 10px 24px #2563eb26}.module-icon app-icon{width:25px;height:25px}.module-label{padding:6px 9px;border:1px solid #283858;border-radius:999px;color:#8394b4;font-size:.63rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.module-copy{margin-top:35px;max-width:330px}.module-copy h2{margin-bottom:10px;font-size:1.5rem;letter-spacing:-.025em}.module-copy p{color:var(--muted);font-size:.84rem;line-height:1.65}.module-action{display:flex;align-items:center;gap:8px;margin-top:auto;color:#78a8ff;font-size:.77rem;font-weight:700}.module-action app-icon{transition:.2s}.module-card:hover .module-action app-icon{transform:translate(4px)}.module-glow{position:absolute;right:-100px;bottom:-130px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.1607843137),transparent 67%);pointer-events:none}.module-skeleton{animation:pulse 1.5s infinite}.empty-state{grid-column:1/-1;padding:60px 24px;border:1px dashed var(--border);border-radius:16px;color:var(--muted);text-align:center}.empty-state h2{margin:14px 0 8px;color:var(--ink)}.back-link{display:inline-flex;gap:8px;margin-bottom:28px;color:var(--muted);font-size:.78rem;font-weight:600;transition:.2s}.back-link:hover{color:#fff}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading h1{margin-bottom:7px}.page-heading p{margin:0;font-size:.85rem}button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:10px 15px;border:1px solid #3978ec;border-radius:9px;color:#fff;background:linear-gradient(180deg,#3d83f6,#2764da);box-shadow:0 8px 22px #2563eb2b;cursor:pointer;font-size:.76rem;font-weight:700;transition:.15s}button:hover{filter:brightness(1.09);transform:translateY(-1px)}button:disabled{opacity:.55;cursor:default;transform:none}button app-icon{width:16px}.secondary-button{border-color:var(--border);color:#c9d4e9;background:#121d33;box-shadow:none}.card{padding:25px;border:1px solid var(--border);border-radius:15px;background:#0d1528e0;box-shadow:0 15px 45px #00000024}.table-card{padding:0;overflow:hidden}.table-title{padding:20px 22px;border-bottom:1px solid var(--border)}.table-title h2{margin-bottom:4px}.table-title p{margin:0;color:var(--muted);font-size:.7rem}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain}table{width:100%;min-width:800px;border-collapse:collapse}th,td{padding:15px 20px;border-bottom:1px solid rgba(29,42,73,.7490196078);text-align:left;font-size:.78rem}tbody tr:last-child td{border-bottom:0}th{color:#7887a4;background:#080e1c80;font-size:.63rem;letter-spacing:.09em;text-transform:uppercase}tbody tr{transition:.18s}tbody tr:hover{background:#3b82f609}td{color:#b8c3d7}td strong{color:var(--ink)}td small{display:block;margin-top:3px;color:#71809d;font-size:.65rem}.number{text-align:right}.order-link{display:inline-flex;align-items:center;gap:5px;color:#78a8ff;font-weight:700;white-space:nowrap}.order-link app-icon{width:14px}.badge{display:inline-block;padding:5px 8px;border:1px solid #294b86;border-radius:999px;color:#8eb7ff;background:#2563eb1a;font-size:.63rem;font-weight:700}.empty{padding:48px;color:var(--muted);text-align:center}.notice{padding:11px 14px;border:1px solid;border-radius:9px;font-size:.76rem}.notice.success{border-color:#34d39940;color:#8aebc7;background:#34d39912}.notice.error{border-color:#fb718540;color:#fda4af;background:#fb718512}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.detail-grid .card{min-height:225px}.detail-grid h2{margin-bottom:24px;font-size:1.15rem}.detail-grid p{color:#b6c1d5;font-size:.8rem;line-height:1.75}.detail-grid a{color:#78a8ff}.address{margin-top:24px;color:var(--muted)!important}.inline-form,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.inline-form select{flex:1;min-width:180px;max-width:430px}input:not([type=checkbox]):not([type=radio]),select{min-height:41px;padding:8px 12px;border:1px solid var(--border);border-radius:9px;color:var(--ink);background:#0a1223;outline:0;font-size:.78rem;transition:border-color .15s,box-shadow .15s}select{appearance:none;padding-right:36px;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2393a1bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:12px}option{color:var(--ink);background:#0d1528}input:not([type=checkbox]):not([type=radio]):hover,select:hover{border-color:var(--border-hover)}input:not([type=checkbox]):not([type=radio]):focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f624}.order-total{min-width:170px;padding:15px 18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);text-align:right}.order-total small{display:block;margin-bottom:4px;color:var(--muted);font-size:.65rem}.order-total strong{font-size:1.15rem}.loading-state{padding:60px;color:var(--muted);text-align:center}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px 16px;margin-bottom:20px}.form-grid label{min-width:0;display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:.68rem;font-weight:600}.form-grid select,.form-grid input{width:100%;min-width:0}.check-row{display:flex;align-items:center;gap:8px;margin-top:15px;color:var(--muted);font-size:.72rem}.check-row input{accent-color:var(--primary)}.source-info{color:var(--muted)!important}.toast-region{position:fixed;z-index:1100;top:20px;right:20px;width:min(390px,100vw - 32px);display:flex;flex-direction:column;gap:10px;pointer-events:none}.toast{display:grid;grid-template-columns:26px 1fr 30px;align-items:start;gap:10px;padding:14px;border:1px solid rgba(52,211,153,.4);border-radius:12px;color:#d8fff0;background:#102a28f5;box-shadow:0 18px 55px #0009;animation:toast-in .2s ease-out;pointer-events:auto}.toast-error{border-color:#fb718573;color:#ffe0e5;background:#301823f5}.toast-symbol{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#071712;background:var(--success);font-size:.78rem;font-weight:900}.toast-error .toast-symbol{color:#24060d;background:var(--danger)}.toast p{margin:2px 0 0;font-size:.78rem;line-height:1.5}.toast-close{width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:7px;color:inherit;background:transparent;box-shadow:none;font-size:1.25rem;line-height:1}.toast-close:hover{background:#ffffff12;transform:none}.loading-overlay{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#030712b8;-webkit-backdrop-filter:grayscale(.7) blur(1px);backdrop-filter:grayscale(.7) blur(1px);cursor:wait}.loading-panel{display:flex;align-items:center;gap:14px;padding:18px 22px;border:1px solid #36578d;border-radius:14px;background:#0d172bed;box-shadow:0 22px 70px #000b;color:#dce8ff;font-size:.82rem}.spinner{width:30px;height:30px;border:3px solid #315080;border-top-color:#72a5ff;border-radius:50%;animation:spin .75s linear infinite}@keyframes pop-in{0%{opacity:0;transform:translateY(-5px) scale(.98)}}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px) scale(.98)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.55}}@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-orbit{right:-35px;opacity:.65}.account-name{display:none}}@media(max-width:680px){th,td{padding:13px 14px}.table-title{padding:18px}.topbar{height:64px}.topbar-inner{padding:0 16px;gap:18px}.main-nav{display:none}.content{padding:28px 16px 60px}.dashboard-intro{min-height:168px;padding:28px 24px}.dashboard-intro p{max-width:220px}.intro-orbit{right:-80px}.module-grid{grid-template-columns:1fr}.module-card{min-height:250px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading button{width:100%}.detail-grid{grid-template-columns:1fr}.detail-grid .card{min-height:0}.inline-form{flex-direction:column;align-items:stretch}.inline-form select{max-width:none}.inline-form button{width:100%}.order-heading{flex-direction:row;align-items:flex-end}.order-total{min-width:auto}.account-popover{position:fixed;top:70px;right:12px;left:12px;width:auto}.toast-region{top:12px;right:16px}}@media(max-width:420px){.order-heading{flex-direction:column;align-items:stretch}.order-total{text-align:left}}.module-tabs{display:flex;gap:5px;width:max-content;margin:-10px 0 30px;padding:5px;border:1px solid var(--border);border-radius:11px;background:#0a1122}.module-tabs a{padding:9px 15px;border-radius:7px;color:var(--muted);font-size:.75rem;font-weight:700;transition:.15s}.module-tabs a:hover,.module-tabs a.active{color:#fff;background:#2563eb24}.module-tabs a.active{box-shadow:inset 0 0 0 1px #3b82f64d}textarea{min-height:41px;padding:8px 12px;border:1px solid var(--border);border-radius:9px;color:var(--ink);background:#0a1223;outline:0;font:inherit;font-size:.78rem;line-height:1.55;resize:vertical;transition:border-color .15s,box-shadow .15s}textarea:hover{border-color:var(--border-hover)}textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f624}input:disabled,select:disabled,textarea:disabled{opacity:.72;cursor:not-allowed}app-construction-diary .search-results button.photo-result{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:11px}app-construction-diary .search-thumbnail{display:grid;width:74px;height:58px;place-items:center;overflow:hidden;border:1px solid var(--border);border-radius:8px;color:var(--muted);background:#111b31;font-size:.62rem}app-construction-diary .search-thumbnail img{width:100%;height:100%;object-fit:cover}app-construction-diary .search-result-copy{display:grid;min-width:0;gap:3px}app-construction-diary .report-builder{margin-top:18px;padding:18px}app-construction-diary .report-fields{display:grid;grid-template-columns:minmax(0,1fr) 160px 160px;align-items:end;gap:12px;margin-top:16px}app-construction-diary .report-fields label{display:grid;gap:7px;color:var(--muted);font-size:.67rem;font-weight:700}app-construction-diary .report-fields textarea{width:100%;resize:vertical}app-construction-diary .report-prompt{position:relative}app-construction-diary .prompt-microphone{width:max-content;min-height:34px;padding:7px 10px;border-color:#315084;background:#101d35;box-shadow:none;font-size:.64rem}app-construction-diary .prompt-microphone.recording{border-color:#fb7185;color:#fecdd3;background:#88133766}app-construction-diary .query-actions{display:flex;align-items:center;gap:12px;margin-top:12px}app-construction-diary .query-actions>span{color:var(--muted);font-size:.62rem;line-height:1.45}app-construction-diary .data-query-result{margin-top:16px;padding:16px;border:1px solid #3262a6;border-radius:12px;background:linear-gradient(145deg,#0c1d3b,#091326)}app-construction-diary .data-query-result>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}app-construction-diary .data-query-result h3{margin:0;font-size:1rem}app-construction-diary .data-query-result header p{margin:5px 0 0;color:var(--muted);font-size:.66rem}app-construction-diary .query-grand-total{padding:10px 12px;border-radius:9px;color:#dbeafe;background:#2563eb2b;font-size:1rem;white-space:nowrap}app-construction-diary .query-total-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}app-construction-diary .query-total-grid article{display:grid;gap:4px;padding:10px;border:1px solid #263b60;border-radius:9px;background:#070e1d}app-construction-diary .query-total-grid span{color:#7f8da8;font-size:.58rem;font-weight:800;text-transform:uppercase}app-construction-diary .query-total-grid strong{font-size:.78rem}app-construction-diary .query-table-wrap{margin-top:12px;overflow-x:auto}app-construction-diary .query-table{min-width:680px}app-construction-diary .query-table th,app-construction-diary .query-table td{padding:10px 12px;font-size:.65rem}app-construction-diary .query-table tbody th{color:#cbd5e1;background:transparent;font-size:.66rem;letter-spacing:0;text-transform:none}app-construction-diary .query-warnings{display:grid;gap:4px;margin-top:10px;padding:10px;border:1px solid #92400e;border-radius:8px;color:#fde68a;background:#78350f24;font-size:.62rem}app-construction-diary .rate-proposal{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px;border:1px solid #3f6f58;border-radius:10px;background:#052e283d}app-construction-diary .rate-proposal h4{margin:8px 0 4px;font-size:.76rem}app-construction-diary .rate-proposal p{margin:0;color:#a9b8cc;font-size:.63rem;line-height:1.5}app-construction-diary .rate-proposal button{flex:none}app-construction-diary .report-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}app-construction-diary .report-actions>span{margin-right:auto;color:var(--muted);font-size:.62rem}app-construction-diary .document-reconciliation{margin-top:18px;padding:16px;border:1px solid #29456f;border-radius:12px;background:#091326}app-construction-diary .document-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}app-construction-diary .document-heading h3,app-construction-diary .document-review h3{margin:0;font-size:.94rem}app-construction-diary .document-heading p,app-construction-diary .document-review p{margin:5px 0 0;color:var(--muted);font-size:.68rem;line-height:1.5}app-construction-diary .document-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;margin-top:14px}app-construction-diary .document-picker{display:grid;gap:3px;padding:12px 14px;border:1px dashed #4b6eaa;border-radius:9px;color:#dbeafe;cursor:pointer}app-construction-diary .document-picker input{display:none}app-construction-diary .document-picker strong{overflow:hidden;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .document-picker span{color:#7f8da8;font-size:.61rem}app-construction-diary .document-history{display:grid;gap:7px;margin-top:14px}app-construction-diary .document-history>span{color:var(--muted);font-size:.62rem;font-weight:750}app-construction-diary .document-history>div{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px}app-construction-diary .document-chip{min-width:150px;display:grid;justify-items:start;gap:3px;padding:8px 10px;border-color:#2b3d5f;background:#0c172a;box-shadow:none}app-construction-diary .document-chip:hover{transform:none}app-construction-diary .document-chip strong{max-width:180px;overflow:hidden;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .document-chip small{color:#fbbf24;font-size:.56rem}app-construction-diary .document-chip.applied small{color:#86efac}app-construction-diary .document-review{margin-top:16px;padding-top:16px;border-top:1px solid #263b60}app-construction-diary .document-review>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}app-construction-diary .document-total{padding:8px 10px;border-radius:8px;color:#dbeafe;background:#1d4ed833;font-size:.8rem;white-space:nowrap}app-construction-diary .document-warnings{display:grid;gap:4px;margin-top:10px;padding:10px;border:1px solid #92400e;border-radius:8px;color:#fde68a;background:#78350f24;font-size:.62rem}app-construction-diary .document-matches{display:grid;gap:7px;margin-top:12px}app-construction-diary .document-matches article{display:grid;grid-template-columns:28px minmax(150px,1fr) 24px minmax(150px,1fr) 132px;align-items:center;gap:9px;padding:10px;border:1px solid #263b60;border-radius:9px;background:#070e1d}app-construction-diary .document-matches article.unmatched{opacity:.68}app-construction-diary .match-check{display:grid;place-items:center}app-construction-diary .match-check input{width:17px;height:17px;accent-color:#3b82f6}app-construction-diary .source-material,app-construction-diary .target-material{min-width:0;display:grid;gap:3px}app-construction-diary .source-material small,app-construction-diary .target-material small,app-construction-diary .confirmed-price span{color:#6f819f;font-size:.55rem;font-weight:800;text-transform:uppercase}app-construction-diary .source-material strong,app-construction-diary .target-material strong{overflow:hidden;color:#dce8fb;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .source-material span,app-construction-diary .target-material span{color:#9dadc7;font-size:.61rem}app-construction-diary .source-material em,app-construction-diary .target-material em{color:#6f819f;font-size:.56rem;font-style:normal}app-construction-diary .match-arrow{color:#60a5fa;text-align:center}app-construction-diary .confirmed-price{display:grid;gap:5px}app-construction-diary .confirmed-price input{width:100%;min-width:0}app-construction-diary .document-review>footer{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin-top:12px}app-construction-diary .document-review>footer span{color:var(--muted);font-size:.64rem}app-construction-diary .evening-intake{margin:18px 20px;padding:18px;border:1px solid #315084;border-radius:14px;background:linear-gradient(145deg,#102348,#0b1428);box-shadow:0 14px 36px #02061742}app-construction-diary .intake-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}app-construction-diary .intake-heading h3{margin:3px 0 0;font-size:1.05rem}app-construction-diary .intake-heading p{max-width:580px;margin:6px 0 0;color:#9aa9c3;font-size:.72rem;line-height:1.5}app-construction-diary .safe-draft{flex:0 0 auto;padding:6px 9px;border:1px solid #2e684f;border-radius:999px;color:#a7f3d0;background:#064e3b38;font-size:.61rem;font-weight:800}app-construction-diary .workflow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:17px 0}app-construction-diary .workflow-steps span{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #243552;border-radius:9px;color:#65738e;background:#070d1a66;font-size:.65rem;font-weight:750}app-construction-diary .workflow-steps b{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#1e293b;font-size:.61rem}app-construction-diary .workflow-steps span.active{border-color:#315d9f;color:#cfe0ff;background:#2563eb12}app-construction-diary .workflow-steps span.active b{color:#fff;background:#2563eb}app-construction-diary .intake-grid{display:grid;grid-template-columns:minmax(220px,.82fr) minmax(300px,1.18fr);gap:14px}app-construction-diary .photo-intake,app-construction-diary .dictation-intake{min-width:0;padding:13px;border:1px solid #243552;border-radius:11px;background:#080f1eaa}app-construction-diary .photo-drop{min-height:154px;display:grid;place-content:center;gap:6px;padding:18px;border:1px dashed #4b6eaa;border-radius:10px;color:#dbeafe;text-align:center;cursor:pointer;transition:.16s}app-construction-diary .photo-drop:hover,app-construction-diary .photo-drop.has-files{border-color:#60a5fa;background:#2563eb12}app-construction-diary .photo-drop span,app-construction-diary .photo-drop small{color:#8292ad;font-size:.64rem;font-weight:600}app-construction-diary .photo-drop input{display:none}app-construction-diary .pending-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}app-construction-diary .pending-photos article{position:relative;min-width:0;overflow:hidden;border:1px solid #263754;border-radius:8px;background:#080e1b}app-construction-diary .pending-photos img{width:100%;height:68px;display:block;object-fit:cover}app-construction-diary .pending-photos button{position:absolute;top:4px;right:4px;width:24px;min-height:24px;padding:0;border-color:#7f1d1d;border-radius:50%;color:#fff;background:#7f1d1dcc;box-shadow:none}app-construction-diary .pending-photos span,app-construction-diary .pending-photos small{display:block;overflow:hidden;padding:5px 6px 0;color:#bac7dc;font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .pending-photos small{padding:2px 6px 6px;color:#64748b}app-construction-diary .stored-photo-count{margin:9px 0 0;color:#86efac;font-size:.62rem;line-height:1.4}app-construction-diary .dictation-intake{display:flex;flex-direction:column}app-construction-diary .dictation-label{display:grid;gap:4px;margin-bottom:9px}app-construction-diary .dictation-label strong{color:#dbeafe;font-size:.76rem}app-construction-diary .dictation-label span{color:#8292ad;font-size:.63rem}app-construction-diary .dictation-intake textarea{width:100%;flex:1;min-height:154px;resize:vertical}app-construction-diary .intake-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}app-construction-diary .intake-actions button{min-height:36px;padding:8px 11px;font-size:.67rem}app-construction-diary .prepare-button{flex:1}app-construction-diary .review-ready{display:grid;gap:4px;margin-top:12px;padding:11px 13px;border:1px solid #2f7a58;border-radius:9px;color:#bbf7d0;background:#065f462b;font-size:.68rem}app-construction-diary .review-ready span{color:#8ec8ad}app-construction-diary .review-summary{padding:14px;border:1px solid #263754;border-radius:11px;background:#091120}app-construction-diary .day-overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.72fr);gap:18px;margin:18px 20px}app-construction-diary .day-overview-grid .field{min-width:0}app-construction-diary .review-summary textarea{min-height:250px;line-height:1.6;resize:vertical}app-construction-diary .day-context-panel{align-self:start;display:grid;gap:14px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#0a1122}app-construction-diary .day-context-panel input,app-construction-diary .day-context-panel textarea{width:100%}app-construction-diary .temperature-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}app-construction-diary .temperature-fields .field>span{display:flex;align-items:center;gap:7px;color:#cfe0ff}app-construction-diary .temperature-fields input{min-width:0}app-construction-diary .derived-value{display:block;color:#8fa7ca;font-size:.62rem;font-weight:600;line-height:1.45}app-construction-diary .confirm-day-button{border-color:#2f7a58;background:linear-gradient(135deg,#047857,#059669)}@media(max-width:850px){app-construction-diary .intake-grid,app-construction-diary .day-overview-grid{grid-template-columns:1fr}}@media(max-width:680px){app-construction-diary .report-fields{grid-template-columns:1fr 1fr}app-construction-diary .report-prompt{grid-column:1/-1}app-construction-diary .prompt-microphone{width:100%;min-height:44px}app-construction-diary .query-actions{align-items:stretch;flex-direction:column}app-construction-diary .query-actions button{width:100%;min-height:48px}app-construction-diary .data-query-result>header,app-construction-diary .rate-proposal{align-items:stretch;flex-direction:column}app-construction-diary .query-grand-total{white-space:normal}app-construction-diary .query-total-grid{grid-template-columns:1fr 1fr}app-construction-diary .rate-proposal button{width:100%;min-height:46px}app-construction-diary .report-actions{align-items:stretch;flex-direction:column}app-construction-diary .report-actions button{width:100%}app-construction-diary .search-results button.photo-result{grid-template-columns:64px minmax(0,1fr)}app-construction-diary .search-thumbnail{width:64px;height:54px}app-construction-diary .document-heading,app-construction-diary .document-review>header{flex-direction:column}app-construction-diary .document-upload-row{grid-template-columns:1fr}app-construction-diary .document-upload-row button{min-height:46px}app-construction-diary .document-matches article{grid-template-columns:28px minmax(0,1fr);align-items:start}app-construction-diary .source-material,app-construction-diary .target-material,app-construction-diary .confirmed-price{grid-column:2}app-construction-diary .match-arrow{display:none}app-construction-diary .document-review>footer{align-items:stretch;flex-direction:column}app-construction-diary .document-review>footer button{width:100%;min-height:46px}app-construction-diary .document-total{white-space:normal}app-construction-diary .day-editor>.field,app-construction-diary .dictation-block,app-construction-diary .entry-section{margin:14px}app-construction-diary .editor-header{padding:16px 14px}app-construction-diary .editor-header .icon-button{width:44px;min-height:44px}app-construction-diary .evening-intake{margin:14px;padding:13px}app-construction-diary .day-overview-grid{gap:12px;margin:14px}app-construction-diary .day-context-panel{padding:13px}app-construction-diary .review-summary textarea{min-height:220px}app-construction-diary .intake-heading{flex-direction:column;gap:10px}app-construction-diary .workflow-steps{grid-template-columns:1fr;margin:13px 0}app-construction-diary .photo-intake,app-construction-diary .dictation-intake{padding:10px}app-construction-diary .photo-drop{min-height:124px;padding:14px}app-construction-diary .dictation-intake textarea,app-construction-diary .review-summary textarea{font-size:16px}app-construction-diary .intake-actions{flex-direction:column}app-construction-diary .intake-actions button{width:100%;min-height:48px;font-size:.75rem}app-construction-diary .pending-photos{grid-template-columns:repeat(2,minmax(0,1fr))}app-construction-diary .pending-photos img{height:92px}app-construction-diary .pending-photos button{width:36px;min-height:36px}app-construction-diary .confirm-day-button{min-height:50px;font-size:.78rem}app-construction-diary .entry-row,app-construction-diary .cost-row,app-construction-diary .labor-row,app-construction-diary .material-row{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;overflow:visible;padding:12px 42px 12px 12px}app-construction-diary .labor-row .worker-name,app-construction-diary .labor-row .attendance-select,app-construction-diary .labor-row .absence-note,app-construction-diary .labor-row .advance-amount,app-construction-diary .labor-row .compact-advance,app-construction-diary .material-note{width:100%;min-width:0}app-construction-diary .shift-times{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}app-construction-diary .shift-times input{width:100%}app-construction-diary .hours-pill,app-construction-diary .pay-pill,app-construction-diary .price-state,app-construction-diary .material-total,app-construction-diary .row-total{width:fit-content;grid-column:auto;padding:5px 0}app-construction-diary .entry-row input,app-construction-diary .entry-row select,app-construction-diary .entry-row .advance-check{min-height:44px;font-size:16px}app-construction-diary .remove-button{width:38px;min-height:38px;font-size:1.35rem}app-construction-diary .editor-footer{padding:14px 14px calc(14px + env(safe-area-inset-bottom))}app-construction-diary .photo-card img,app-construction-diary .photo-loading{height:min(62vw,280px)}app-construction-diary .calendar-actions button{min-height:44px}app-construction-diary .calendar-card{overflow:visible}app-construction-diary .month-footer{padding:14px}}@media(max-width:420px){app-construction-diary .metric-grid{grid-template-columns:1fr}app-construction-diary .calendar-header{flex-direction:column}app-construction-diary .calendar-actions{width:100%}app-construction-diary .calendar-actions button{flex:1}app-construction-diary .calendar-weekdays span{padding:8px 2px;font-size:.6rem;text-align:center}app-construction-diary .calendar-day{min-height:58px}app-construction-diary .day-number{font-size:.68rem}}app-construction-diary .pending-file-icon{height:68px;display:grid;place-items:center;color:#93a4c2;background:#111b31;font-size:.58rem;font-weight:850;letter-spacing:.08em}app-construction-diary .attachment-list{display:grid;gap:8px;margin-top:12px}app-construction-diary .attachment-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #263754;border-radius:9px;background:#080f1e}app-construction-diary .attachment-list article>div:first-child{min-width:0;display:grid;gap:4px}app-construction-diary .attachment-list strong{overflow:hidden;color:#dbeafe;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .attachment-list span{color:#7f8da8;font-size:.58rem}app-construction-diary .attachment-actions{display:flex;gap:7px}app-construction-diary .attachment-actions button{min-height:34px;padding:6px 9px;font-size:.61rem}app-construction-diary .material-source-intake{margin-top:14px;padding:14px;border:1px solid #2f6a64;border-radius:11px;background:#06282538}app-construction-diary .material-source-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}app-construction-diary .material-source-heading h4{margin:3px 0 0;color:#d5fff5;font-size:.86rem}app-construction-diary .material-source-heading p{max-width:700px;margin:5px 0 0;color:#8dafaa;font-size:.64rem;line-height:1.5}app-construction-diary .material-source-kicker{color:#5eead4;font-size:.55rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}app-construction-diary .material-review-badge{flex:none;padding:5px 8px;border:1px solid #2f6a64;border-radius:999px;color:#99f6e4;background:#0f766e2b;font-size:.57rem;font-weight:800}app-construction-diary .material-source-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:12px}app-construction-diary .material-source-drop{display:grid;gap:3px;padding:11px 13px;border:1px dashed #3f8179;border-radius:9px;color:#ccfbf1;cursor:pointer}app-construction-diary .material-source-drop:hover,app-construction-diary .material-source-drop.has-files{border-color:#5eead4;background:#0f766e1f}app-construction-diary .material-source-drop input{display:none}app-construction-diary .material-source-drop strong{font-size:.7rem}app-construction-diary .material-source-drop span,app-construction-diary .material-source-drop small{color:#7fa49f;font-size:.58rem}app-construction-diary .material-import-button{min-width:220px;border-color:#0d9488;background:linear-gradient(135deg,#0f766e,#0d9488)}app-construction-diary .material-source-queue{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;margin-top:9px}app-construction-diary .material-source-queue article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px;border:1px solid #26554f;border-radius:8px;background:#061a1a}app-construction-diary .material-source-queue article>div{min-width:0;display:grid;gap:3px}app-construction-diary .material-source-queue strong{overflow:hidden;color:#d5fff5;font-size:.64rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .material-source-queue small{color:#6f918d;font-size:.55rem}app-construction-diary .material-file-icon{padding:6px;border-radius:6px;color:#99f6e4;background:#0f766e42;font-size:.5rem;font-weight:850}app-construction-diary .material-source-queue button{width:30px;min-height:30px;padding:0;border-color:#7f1d1d;color:#fecaca;background:#7f1d1d33;box-shadow:none}app-construction-diary .material-source-history{display:grid;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid #26554f}app-construction-diary .material-source-history>span{color:#8dafaa;font-size:.58rem;font-weight:800}app-construction-diary .material-source-history article{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #26554f;border-radius:8px;background:#061a1a}app-construction-diary .material-source-file{min-width:0;display:grid;gap:3px}app-construction-diary .material-source-file strong{overflow:hidden;color:#d5fff5;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}app-construction-diary .material-source-file small{color:#6f918d;font-size:.55rem}app-construction-diary .material-source-status{padding:5px 7px;border-radius:999px;color:#fde68a;background:#92400e47;font-size:.54rem;font-weight:800}app-construction-diary .material-source-status.analyzed{color:#a7f3d0;background:#04785747}app-construction-diary .material-source-actions{display:flex;gap:6px}app-construction-diary .material-source-actions button{min-height:32px;padding:6px 8px;font-size:.58rem}@media(max-width:680px){app-construction-diary .attachment-list article{align-items:stretch;flex-direction:column}app-construction-diary .attachment-actions button{flex:1;min-height:44px}app-construction-diary .material-source-heading{flex-direction:column;gap:9px}app-construction-diary .material-source-controls{grid-template-columns:1fr}app-construction-diary .material-source-drop{padding:13px}app-construction-diary .material-import-button{width:100%;min-width:0;min-height:48px}app-construction-diary .material-source-queue{grid-template-columns:1fr}app-construction-diary .material-source-queue button{width:40px;min-height:40px}app-construction-diary .material-source-history article{grid-template-columns:1fr}app-construction-diary .material-source-status{width:fit-content}app-construction-diary .material-source-actions{display:grid;grid-template-columns:1fr 1fr}app-construction-diary .material-source-actions button{min-height:44px}app-construction-diary .material-source-actions .remove-photo{grid-column:1/-1}}.construction-diary-page{position:relative;isolation:isolate;--project-accent: #3b82f6;--project-soft: #3b82f629;--project-glow: #3b82f61a;--project-surface: #13264a}.construction-diary-page:before{content:"";position:absolute;z-index:-1;inset:-30px -32px -80px;border-radius:28px;background:radial-gradient(circle at 100% 0,var(--project-glow),transparent 36rem),linear-gradient(180deg,var(--project-glow),transparent 26rem);pointer-events:none;transition:background .22s ease}.construction-diary-page .eyebrow,.construction-diary-page .card-kicker{color:var(--project-accent)}.construction-diary-page .card{box-shadow:0 15px 45px #00000024,0 0 0 1px var(--project-glow)}.construction-diary-page .project-picker{min-width:0;flex:1;display:grid;gap:8px}.construction-diary-page .project-picker-label{color:var(--muted);font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.construction-diary-page .project-options{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px}.construction-diary-page .project-choice{min-width:150px;min-height:48px;display:grid;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:10px;padding:8px 12px 8px 9px;border-color:color-mix(in srgb,var(--choice-accent) 54%,var(--border));color:#dce5f4;background:color-mix(in srgb,var(--choice-surface) 72%,#0a1122);box-shadow:none;text-align:left}.construction-diary-page .project-choice:hover{border-color:var(--choice-accent);background:color-mix(in srgb,var(--choice-surface) 88%,#0a1122)}.construction-diary-page .project-choice.selected{border-color:var(--choice-accent);color:#fff;background:linear-gradient(135deg,var(--choice-soft),var(--choice-surface));box-shadow:0 0 0 2px var(--choice-soft),0 8px 22px var(--choice-soft)}.construction-diary-page .project-swatch{width:8px;height:28px;border-radius:999px;background:var(--choice-accent);box-shadow:0 0 12px var(--choice-accent)}.construction-diary-page .project-choice-copy{min-width:0;display:grid;gap:2px}.construction-diary-page .project-choice-copy strong,.construction-diary-page .project-choice-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.construction-diary-page .project-choice-copy strong{font-size:.72rem}.construction-diary-page .project-choice-copy small{color:#9eabc1;font-size:.58rem;font-weight:600}.construction-diary-page .project-choice.selected .project-choice-copy small{color:#d1d8e5}@media(max-width:680px){.construction-diary-page:before{inset:-18px -16px -60px;border-radius:0}.construction-diary-page .project-options{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,72vw);justify-content:start;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity}.construction-diary-page .project-choice{width:100%;min-width:0;scroll-snap-align:start}}
