@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.block{display:block}.grid{display:grid}.table{display:table}}:root{--ink:#202a2c;--muted:#667071;--paper:#f7f8f8;--line:#dce1e1;--accent:#9a6945;--copper:#c69d7b;--white:#fff;--danger:#a23131}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.04em;font-weight:400}h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.1}h2{font-size:2rem;line-height:1.2}h3{font-size:1.1rem;font-weight:500}p{line-height:1.65}button:focus-visible,a:focus-visible{outline:3px solid var(--copper);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}label{gap:8px;font-size:.875rem;font-weight:500;display:grid}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #bac3c3;border-radius:3px;padding:12px 14px;font-size:1rem}textarea{resize:vertical;min-height:100px}form{gap:22px;display:grid}small{font-size:.8rem}button{border:1px solid var(--line);background:#fff;border-radius:3px;min-height:44px;padding:10px 16px;transition:background .15s}button:hover{background:#edf0f0}.primary{background:var(--ink);color:#fff;border-color:var(--ink);justify-content:center;align-items:center;gap:20px;display:flex}.primary:hover{background:#374547}.primary span{margin-left:auto}.wide{width:100%}.muted{color:var(--muted)}.eyebrow{letter-spacing:.2em;margin-bottom:20px;font-size:.75rem;font-weight:600}.text-button{text-underline-offset:4px;text-align:center;background:0 0;border:0;min-height:44px;padding:4px 0;font-size:.875rem;text-decoration:underline}.brand{width:max-content;color:inherit;flex-direction:column;display:inline-flex}.brand>span{letter-spacing:.08em;align-items:center;gap:12px;font-size:1.8rem;font-weight:400;display:flex}.brand-line{background:var(--copper);width:1px;height:30px}.brand small{letter-spacing:.34em;text-align:center;font-size:.625rem}.login-layout{grid-template-columns:1fr 1fr;min-height:100svh;display:grid}.login-intro{background:var(--ink);color:#fff;flex-direction:column;justify-content:space-between;padding:56px 9% 40px;display:flex;position:relative;overflow:hidden}.login-intro:after{content:"";pointer-events:none;border-left:1px solid #ffffff0d;border-right:1px solid #ffffff0d;width:340px;height:100%;position:absolute;top:0;right:-150px;transform:skew(-18deg)}.login-intro .eyebrow{color:var(--copper)}.login-intro h1{margin-bottom:28px;font-size:clamp(3rem,5vw,5.5rem);line-height:1.08}.login-intro h1 em{color:var(--copper);font-family:Georgia,serif;font-weight:400}.login-intro p:not(.eyebrow){color:#c4cccc;font-size:1rem}.intro-footer{letter-spacing:.1em;gap:25px;font-size:.75rem;display:flex}.intro-footer>span{color:#aebbbb}.login-panel{background:#fff;flex-direction:column;justify-content:center;align-items:center;padding:60px 10% 24px;display:flex}.login-form{width:100%;max-width:420px;margin:auto}.login-form>.muted{margin-bottom:38px}.login-form h2{font-size:2.4rem}.login-form .primary{margin-top:4px}.login-help{border-top:1px solid var(--line);color:var(--muted);gap:14px;margin-top:42px;padding-top:24px;font-size:.8rem;display:flex}.login-help>span{font-size:1.7rem}.login-panel footer{width:100%;color:var(--muted);justify-content:space-between;padding-top:40px;font-size:.75rem;display:flex}.setup-state{border-left:2px solid var(--accent);background:var(--paper);padding:24px}.setup-state p{color:var(--muted);margin-bottom:0;font-size:.875rem}.status-symbol{letter-spacing:.15em;color:var(--accent);margin-bottom:14px;font-size:.8rem;display:block}.error,.notice{border-radius:3px;margin:0;padding:12px 16px;font-size:.875rem}.error{color:#8b2525;background:#fbeeee}.notice{color:#2a5a45;background:#eef4f1}.app-shell{grid-template-columns:245px minmax(0,1fr);min-height:100svh;display:grid}.sidebar{background:var(--ink);color:#fff;flex-direction:column;gap:44px;height:100svh;padding:32px 25px;display:flex;position:sticky;top:0}.sidebar .brand{margin:0 auto}.sidebar nav{gap:8px;display:grid}.sidebar nav button{color:#c5cecf;text-align:left;background:0 0;border:0;align-items:center;gap:12px;display:flex}.sidebar nav button.active{color:#fff;border-left:2px solid var(--copper);background:#ffffff13;border-radius:0}.sidebar .eyebrow{color:#9eadae;margin:0 14px 10px}.sidebar .bottom{gap:8px;margin-top:auto;display:grid}.sidebar .bottom a,.sidebar .bottom button{color:#c5cecf;text-align:left;background:0 0;border:0;padding:10px 14px;font-size:.875rem}.sidebar .bottom strong{color:#fff;font-weight:400;display:block}.main-column{min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:90px;padding:20px 48px;display:flex}.topbar span{color:var(--muted);font-size:.875rem}.avatar{background:#e9eded;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;color:var(--ink)!important}.workspace{max-width:1600px;margin:auto;padding:42px 48px 64px}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px;display:flex}.page-heading h1{margin:6px 0 10px}.page-heading .eyebrow{color:var(--accent);margin-bottom:12px}.page-heading p{margin-bottom:0}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:24px;display:grid}.project-card{text-align:left;border:1px solid var(--line);background:#fff;padding:0;display:block;overflow:hidden}.project-cover{aspect-ratio:16/10;background:var(--ink);position:relative;overflow:hidden}.project-cover>img{object-fit:cover;width:100%;height:100%}.cover-empty{color:#c69d7b;letter-spacing:.08em;background:linear-gradient(120deg,#202a2c,#364748);justify-content:center;align-items:center;height:100%;font-family:Georgia,serif;font-size:4rem;display:flex}.project-card .card-body{padding:24px}.project-card h3{margin:0 0 8px;font-size:1.4rem}.project-card .meta{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:10px;margin-top:20px;padding-top:16px;font-size:.8rem;display:flex}.badge{color:#365448;letter-spacing:.04em;white-space:nowrap;background:#f0f5f2;border:1px solid #cad5d0;padding:4px 9px;font-size:.75rem;display:inline-block}.badge.private{color:#626969;background:#f1f1f1;border-color:#d6dada}.badge.current{color:#fff;background:var(--ink);border-color:var(--ink)}.empty{text-align:center;background:#fff;border:1px dashed #bac6c6;padding:50px 24px}.empty>span{color:var(--accent);margin-bottom:16px;font-size:2rem;display:block}.empty p{color:var(--muted);max-width:500px;margin:0 auto 20px}.empty button{margin:auto}.tabs{border-bottom:1px solid var(--line);gap:28px;margin-bottom:32px;display:flex;overflow-x:auto}.tabs button{white-space:nowrap;color:var(--muted);background:0 0;border:0;border-radius:0;padding:14px 0;font-size:.875rem}.tabs button.active{border-bottom:2px solid var(--accent);color:var(--ink)}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.toolbar select{width:auto;max-width:100%}.material-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:24px;display:grid}.material-card{border:1px solid var(--line);background:#fff;min-width:0}.material-preview{aspect-ratio:4/3;background:#e5eaea;border:0;border-radius:0;justify-content:center;align-items:center;width:100%;padding:0;display:flex;overflow:hidden}.material-preview img{object-fit:cover;width:100%;height:100%;transition:transform .3s}.material-preview:hover img{transform:scale(1.03)}.pdf-symbol{color:#4b6164;flex-direction:column;align-items:center;gap:12px;font-size:.875rem;display:flex}.pdf-symbol svg{stroke-width:1px;width:56px;height:56px}.card-body{padding:20px}.card-body h3{overflow-wrap:anywhere;margin:12px 0 8px}.card-body p{color:var(--muted);margin:8px 0;font-size:.875rem}.card-body .actions{margin-top:16px}.card-body button{font-size:.875rem}.card-body .badges{flex-wrap:wrap;gap:8px;display:flex}.section-title{justify-content:space-between;align-items:center;gap:16px;margin:36px 0 22px;display:flex}.section-title h2{margin:0;font-size:1.6rem}.overview-stats{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.stat{border:1px solid var(--line);background:#fff;padding:24px}.stat strong{font-size:2.4rem;font-weight:400;display:block}.stat span{color:var(--muted);font-size:.875rem}.list{gap:14px;display:grid}.list-row{border:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;display:flex}.list-row h3{margin:0 0 6px}.list-row p{color:var(--muted);margin:0;font-size:.875rem}.list-main{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:24px;padding:0;display:flex}.date-block{text-align:center;width:56px;color:var(--accent);flex-shrink:0;font-size:.8rem}.date-block strong{font-size:1.8rem;font-weight:400;display:block}.split-grid{grid-template-columns:1fr 1fr;gap:28px;display:grid}.panel{border:1px solid var(--line);background:#fff;padding:28px}.panel p:last-child{margin-bottom:0}.project-hero{aspect-ratio:21/7;background:var(--ink);max-height:390px;margin:0 0 30px;position:relative;overflow:hidden}.project-hero img{object-fit:cover;width:100%;height:100%}.project-hero .cover-empty{font-size:5rem}.project-home-link{color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.project-home-link:hover{text-decoration:underline;-webkit-text-decoration-color:var(--accent);-webkit-text-decoration-color:var(--accent);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:.12em}.project-home-link:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.history{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}.history summary{cursor:pointer;min-height:44px;font-size:1.1rem}.history .material-grid{margin-top:18px}.modal{color:var(--ink);background:#fff;border:0;border-radius:6px;width:min(660px,100% - 32px);max-height:90svh;padding:0;box-shadow:0 20px 100px #0003}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#101b1de0}.modal-header{z-index:2;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:22px 28px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:1.5rem}.modal-header button{border:0;width:44px;padding:0;font-size:1.5rem}.modal-body{padding:28px}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.span-2{grid-column:1/-1}.check-label{cursor:pointer;align-items:center;gap:12px;font-weight:400;display:flex}.check-label input{width:20px;height:20px;accent-color:var(--ink)}.form-footer{justify-content:flex-end;gap:12px;padding-top:8px;display:flex}.upload-area{background:var(--paper);text-align:center;border:1px dashed #9babab;padding:20px}.upload-area input{background:0 0;border:0;padding:10px 0;font-size:.875rem}.progress{width:100%;accent-color:var(--accent);height:10px}.viewer{color:#fff;background:#121a1c;border-radius:0;width:100vw;max-width:100vw;height:100svh;max-height:100svh}.viewer .modal-header{color:#fff;background:#202a2c;border-color:#ffffff20}.viewer .modal-header button{color:#fff;background:0 0}.viewer .modal-body{flex-direction:column;height:calc(100% - 89px);padding:0;display:flex}.viewer-content{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:auto}.viewer-content img{object-fit:contain;max-width:100%;max-height:100%}.viewer-content img.zoomed{align-self:flex-start;width:180%;max-width:none;max-height:none}.viewer-content iframe{background:#fff;border:0;width:100%;height:100%}.viewer-footer{background:#202a2c;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;display:flex}.viewer-footer p{color:#c7d2d3;margin:0;font-size:.875rem}.viewer-footer button{color:#fff;background:0 0;border-color:#758181}.viewer-footer .badge{margin-left:12px}.loading{text-align:center;color:var(--muted);padding:60px}.global-message{justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px;display:flex}.global-message button{background:0 0;border:0;padding:4px}.mobile-brand{display:none}.back{color:var(--muted);background:0 0;border:0;margin-bottom:24px;padding:0;font-size:.875rem}.pending-banner{margin-bottom:24px}.danger{color:var(--danger)}.counts{color:var(--muted);font-size:.875rem}.settings-label{border-bottom:1px solid var(--line);padding-bottom:18px}@media (max-width:1050px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:30px 14px}.workspace{padding:30px 28px}.topbar{padding:20px 28px}.login-intro{padding:40px 8%}.login-panel{padding:45px 8% 24px}.intro-footer{flex-direction:column;gap:5px}}@media (max-width:740px){.login-layout{grid-template-columns:1fr}.login-intro{gap:36px;min-height:300px;padding:28px}.login-intro .brand>span{font-size:1.4rem}.login-intro h1{margin-bottom:0;font-size:2.8rem}.login-intro p:not(.eyebrow),.intro-footer{display:none}.login-intro .eyebrow{margin-bottom:12px}.login-panel{padding:36px 28px 24px}.login-form h2{font-size:2rem}.login-help{margin-top:30px}.app-shell{display:block}.sidebar{gap:18px;height:auto;padding:18px 20px;position:static}.sidebar .brand{margin:0}.sidebar .brand>span{font-size:1.35rem}.sidebar .brand small{font-size:.55rem}.sidebar nav{gap:12px;display:flex;overflow:auto}.sidebar nav .eyebrow{display:none}.sidebar nav button{white-space:nowrap;padding:8px 12px}.sidebar .bottom{flex-wrap:wrap;gap:0;margin:0;display:flex}.sidebar .bottom>div{display:none}.sidebar .bottom a,.sidebar .bottom button{min-height:32px;padding:0 12px;font-size:.8rem}.topbar{min-height:60px;padding:12px 22px}.workspace{padding:28px 20px 50px}.page-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:26px}.page-heading h1{font-size:2rem}.tabs{gap:22px;margin-bottom:25px}.overview-stats{gap:10px}.stat{padding:16px}.stat strong{font-size:1.9rem}.stat span{font-size:.8rem}.split-grid,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.modal-body{padding:22px}.modal-header{padding:18px 22px}.list-row{flex-wrap:wrap;gap:12px;padding:18px}.list-main{gap:16px}.project-hero{aspect-ratio:16/10}.viewer-footer{padding:12px 16px}.viewer-footer .actions{gap:6px}.viewer-footer button{padding:8px 12px}.login-panel footer{padding-top:30px}.project-grid,.material-grid{gap:18px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.pdf-viewer{flex-direction:column;width:100%;height:100%;display:flex}.pdf-controls{background:#202a2c;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;padding:10px 20px;display:flex}.pdf-controls button{color:#fff;background:0 0;border-color:#758181}.pdf-canvas{text-align:center;flex:1;padding:20px;overflow:auto}.pdf-canvas canvas{background:#fff;max-width:none;display:inline-block}.viewer-content:has(.zoomed){display:block}.viewer-content .zoomed{height:auto}.viewer-content>p{padding:24px}.category-field{align-content:start;gap:8px;display:grid}.category-field>label{font-size:.875rem;font-weight:500}.category-add{text-align:left;justify-self:start;min-height:36px}.category-create{border:1px solid var(--line);background:var(--paper);gap:10px;padding:16px;display:grid}.category-create button{justify-self:start}.budget-category-create{margin:20px 0 28px}.budget-category-create h3{margin:0 0 14px}.budget-category-create .actions{align-items:end}.budget-category-create label{min-width:min(100%,320px)}.budget-section .toolbar{margin-bottom:12px}.budget-section .toolbar h3{margin:0}.budget-section .list{margin-top:18px}.budget-upload-form{border:1px solid var(--line);background:var(--paper);margin:16px 0 22px;padding:20px}.budget-upload-form h4{margin:0 0 16px}.budget-upload-form .primary{margin-top:16px}.budget-upload-form input[type=file]{max-width:100%}.visit-form{margin-bottom:24px}.visit-form .actions{margin-top:16px}.visit-list,.budget-groups{gap:22px;display:grid}.visit-list .panel h3{margin:0 0 10px}.visit-list .eyebrow{margin-bottom:8px}.extra-photo-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:18px;margin:18px 0;display:grid}.extra-photo{border:1px solid var(--line);background:var(--paper);min-width:0}.extra-photo-open{aspect-ratio:4/3;background:#e6eaea;border:0;border-radius:0;width:100%;padding:0;overflow:hidden}.extra-photo-open img{object-fit:cover;width:100%;height:100%}.extra-photo p{margin:8px 12px}.photo-caption-edit{padding:10px}.photo-caption-edit input{width:100%}.photo-caption-edit .actions{margin-top:8px}.photo-caption-edit button{padding:7px 9px;font-size:.75rem}.extra-image-placeholder{width:100%;height:100%;color:var(--muted);place-items:center;font-size:.8rem;display:grid}.upload-inline{margin-top:16px;display:block}.upload-inline input{max-width:100%;display:block}.minutes-panel{margin:0 0 26px}.minutes-panel .toolbar{margin-bottom:14px}.minutes-panel textarea{min-height:160px}.minutes-panel .check-label{margin:18px 0}.minutes-text{white-space:pre-wrap;overflow-wrap:anywhere}.attachment-list{margin-top:24px}.attachment-list h4{margin-bottom:12px}.attachment-list .list-row button:first-child{text-align:left;align-items:center;gap:12px;display:flex}.attachment-list .pdf-symbol svg{width:28px;height:28px}.attachment-list .pdf-symbol{font-size:.6rem}.budget-admin{grid-template-columns:minmax(220px,.8fr) minmax(320px,1.4fr);gap:20px;margin:22px 0 30px;display:grid}.budget-admin .panel{align-content:start;gap:16px;display:grid}.budget-admin h3,.budget-groups h3{margin:0}.budget-admin .form-grid{gap:14px}.budget-admin button{justify-self:start}.budget-groups .list{margin-top:16px}.budget-groups h4{margin:0 0 6px}.budget-groups .badge{margin-top:8px}.segmented{gap:4px;margin:0 0 20px;display:flex}.segmented button{background:#fff;border-radius:0}.segmented button.active{background:var(--ink);color:#fff}.table-scroll{border:1px solid var(--line);background:#fff;width:100%;overflow-x:auto}.selection-table{border-collapse:collapse;width:100%;min-width:970px;font-size:.875rem}.selection-table th{color:var(--ink);letter-spacing:.05em;text-transform:uppercase;background:#e8eae9;font-size:.75rem}.selection-table th,.selection-table td{border:1px solid var(--line);vertical-align:top;text-align:left;padding:12px}.selection-table th:first-child,.selection-table td:first-child{width:128px}.selection-table th:nth-child(2),.selection-table td:nth-child(2){min-width:220px}.selection-table .item-image{aspect-ratio:1;background:#eef0f0;border:0;width:100%;padding:0;display:block;overflow:hidden}.selection-table .item-image img{object-fit:contain;width:100%;height:100%}.selection-table .item-description{white-space:pre-wrap}.selection-table .item-editor input:not([type=checkbox]),.selection-table .item-editor textarea{width:100%;min-width:70px;padding:8px;font-size:.8rem}.selection-table .item-editor input[type=file]{white-space:normal;max-width:110px;padding:8px 0}.selection-table .item-editor .check-label{white-space:nowrap;font-size:.75rem}.selection-table .item-editor .actions{margin-top:10px}.selection-table .item-editor button{padding:8px 10px;font-size:.75rem}.selection-table .error{margin-top:10px}@media (max-width:850px){.budget-admin{grid-template-columns:1fr}.table-scroll{background:0 0;border:0;overflow:visible}.selection-table{min-width:0}.selection-table thead{display:none}.selection-table tbody{gap:16px;display:grid}.selection-table tr{border:1px solid var(--line);background:#fff;padding:10px;display:grid}.selection-table td{border:0;border-bottom:1px solid var(--line);align-items:flex-start;gap:12px;padding:10px 4px;display:flex;width:auto!important;min-width:0!important}.selection-table td:last-child{border-bottom:0}.selection-table td:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;flex:0 0 100px;font-size:.75rem}.selection-table td>input,.selection-table td>textarea{flex:1}.selection-table td:first-child .item-image{flex:0 0 120px;width:120px}.selection-table .item-editor td:last-child{display:block}.selection-table .item-editor td:last-child:before{margin-bottom:10px;display:block}}.selection-table .item-saved .badge{white-space:normal;margin-bottom:10px}.selection-table .item-saved .actions{gap:6px}.selection-table .item-saved .actions button{padding:7px 10px;font-size:.75rem}.construction-gallery{touch-action:pan-y;flex-direction:column;height:100%;min-height:0;display:flex}.construction-gallery-image{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.construction-gallery-image img{object-fit:contain;max-width:100%;max-height:100%;display:block}.construction-gallery-controls{color:#fff;background:#202a2c;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.construction-gallery-controls button{color:#fff;background:0 0;border-color:#758181}.construction-gallery-controls p{text-align:center;overflow-wrap:anywhere;margin:0;font-size:.875rem;line-height:1.4}@media (max-width:740px){.construction-gallery-controls{gap:6px;padding:10px}.construction-gallery-controls button{padding:6px 8px;font-size:.8rem}.construction-gallery-controls p{font-size:.75rem}}.project-topic .toolbar h3{margin:0}.project-topic .list{margin-top:18px}.project-pdf-title{align-items:center;gap:18px;min-width:0;display:flex}.project-pdf-title h4{margin:0 0 5px}.project-pdf-title p{color:var(--muted);margin:0;font-size:.875rem}.project-pdf-title .badge{margin-top:8px}.project-pdf-title .pdf-symbol{flex:0 0 48px;font-size:.65rem}.project-topic{padding:18px 22px}.project-topic .toolbar{margin-bottom:8px}.project-topic .toolbar h3{font-weight:700}.project-topic .list{gap:0;margin-top:8px}.project-topic .list-row{border:0;border-top:1px solid var(--line);gap:12px;min-height:58px;padding:8px 0}.project-topic .list-row:last-child{border-bottom:1px solid var(--line)}.project-topic .list-row .actions button{min-height:34px;padding:5px 10px;font-size:.8rem}.project-pdf-title{flex:1;gap:10px}.project-pdf-title h4{overflow-wrap:anywhere;margin:0 0 2px;font-size:.9rem;line-height:1.3}.project-pdf-title p{font-size:.75rem;line-height:1.35}.project-pdf-title .pdf-symbol{flex:0 0 28px;gap:0;font-size:0}.project-pdf-title .pdf-symbol svg{width:24px;height:29px}@media (max-width:740px){.project-topic{padding:16px}.project-topic .list-row .actions{margin-left:38px}.project-pdf-title{width:100%}}.admin-access-grid{align-items:start;margin-bottom:28px}.admin-access-grid .panel{align-content:start}.admin-access-grid .panel h2{margin:0;font-size:1.35rem}.admin-access-grid .panel p{margin:0;font-size:.875rem}.photo-upload-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.photo-upload-button{border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer;justify-content:center;align-items:center;padding:11px 16px;display:inline-flex;position:relative}.photo-upload-button:hover{border-color:var(--ink)}.photo-upload-button:focus-within{outline:2px solid var(--ink);outline-offset:2px}.photo-upload-button input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.photo-upload-button:has(input:disabled){opacity:.55;cursor:wait}
:root{--paper:#f6f7f8;--line:#e4e7e9;--radius-control:12px;--radius-card:20px}body{-webkit-font-smoothing:antialiased;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{border-radius:var(--radius-control)}button{transition:background .18s,border-color .18s,box-shadow .18s}button:hover{background:#f0f2f3}.primary:hover{background:#374547}.brand-main{gap:10px!important}.brand-wordmark{align-items:center;gap:8px;display:flex}.brand-signature{object-fit:contain;flex:none;width:48px;height:44px;display:block;transform:translateY(-3px)}.login-intro .brand-signature,.sidebar .brand-signature{filter:brightness(0)invert()}.login-intro .brand-signature{width:48px;height:36px}.brand small{margin-left:54px}.login-intro:before{content:"";filter:brightness(0)invert();opacity:.075;pointer-events:none;background:url(/office-mark.png) 50%/contain no-repeat;width:70%;height:58%;position:absolute;top:26%;left:2%}.login-intro>*{z-index:1;position:relative}.app-shell{background:var(--ink);gap:0}.main-column{background:var(--paper);border-radius:26px 0 0 26px;min-height:100svh}.topbar{background:0 0;border-bottom:0;border-radius:26px 0 0}.sidebar{padding:30px 18px}.sidebar nav button,.sidebar nav button.active{border:0;border-radius:12px;padding:12px 16px}.sidebar nav button.active{background:#ffffff18;box-shadow:inset 0 0 0 1px #ffffff0c}.sidebar .bottom a,.sidebar .bottom button{border-radius:10px}.panel,.project-card,.material-card,.list-row,.empty,.stat,.setup-state{border-radius:var(--radius-card);border-color:var(--line)}.panel,.project-card,.material-card,.stat{box-shadow:0 3px 16px #202a2c04}.project-card,.material-card{overflow:hidden}.project-cover,.project-hero{border-radius:18px;overflow:hidden}.project-card .project-cover{margin:10px 10px 0}.material-preview{border-radius:14px;width:calc(100% - 20px);margin:10px}.tabs{background:#eceff0;border:0;border-radius:16px;gap:6px;width:fit-content;max-width:100%;padding:5px}.tabs button,.tabs button.active{border:0;border-radius:12px;min-height:42px;padding:10px 16px}.tabs button.active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #202a2c12}.tabs button:hover{background:#fffa}.badge{border-radius:8px}.segmented{gap:5px}.segmented button{border-radius:12px}.table-scroll{border-radius:16px}.selection-table .item-image{border-radius:10px;overflow:hidden}.upload-area,.photo-upload-button,.error,.notice{border-radius:12px}.modal{border-radius:22px}.modal-header{border-radius:22px 22px 0 0}.viewer,.viewer .modal-header{border-radius:0}.construction-gallery-image{border-radius:16px;overflow:hidden}.project-home-link,.back,.text-button,.project-home-link:hover{background:0 0}.visit-list{gap:20px}.visit-list>.panel{padding:24px}.visit-list .toolbar{margin-bottom:18px}.extra-photo-grid{grid-template-columns:repeat(auto-fill,minmax(150px,170px));align-items:start;gap:14px;margin:16px 0 0}.extra-photo{background:0 0;border:0;border-radius:16px;overflow:hidden}.extra-photo-open{aspect-ratio:4/3;isolation:isolate;border-radius:16px;min-height:0;display:block;position:relative}.extra-photo-open img{transition:transform .2s}.extra-photo-open:hover img{transform:scale(1.035)}.photo-overlay-caption{z-index:1;color:#fff;text-align:left;overflow-wrap:anywhere;pointer-events:none;text-shadow:0 1px 3px #0008;background:linear-gradient(#000b,#0000);padding:11px 12px 25px;font-size:.75rem;line-height:1.4;position:absolute;inset:0 0 auto}.photo-caption-edit{background:0 0;padding:10px 0}.photo-caption-edit input{padding:8px 10px;font-size:.8rem}.photo-caption-edit .actions{gap:6px}.photo-caption-edit button{min-height:36px;font-size:.7rem}.mobile-album{display:none}.photo-upload-actions .photo-hd{color:var(--muted);flex-basis:100%;padding:4px 0;font-size:.8rem}@media (max-width:740px){.app-shell{background:var(--paper)}.main-column,.topbar{border-radius:0}.sidebar{border-radius:0 0 22px 22px;padding:20px}.sidebar .brand-signature,.login-intro .brand-signature{width:38px;height:30px}.brand small{margin-left:48px}.login-intro:before{opacity:.07;width:92%;height:72%;top:28%;left:3%}.workspace{padding:24px 18px 40px}.panel,.list-row,.empty,.stat{border-radius:18px}.tabs{border-radius:14px;gap:3px;width:100%}.tabs button{padding:9px 13px}.visit-list>.panel{padding:20px}.visit-list .toolbar{margin-bottom:12px}.extra-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-album .extra-photo-grid{display:none}.mobile-album{text-align:left;background:0 0;border:0;width:100%;max-width:250px;margin:0 auto;padding:14px 12px 0;display:block}.mobile-album:hover{background:0 0}.album-stack{height:155px;margin:8px 12px 18px;display:block;position:relative}.album-sheet{pointer-events:none;background:#e6eaea;border:3px solid #fff;border-radius:16px;position:absolute;inset:0;overflow:hidden;box-shadow:0 4px 15px #202a2c24}.album-sheet img{object-fit:cover;width:100%;height:100%}.album-sheet-0{z-index:3;transform:rotate(-3deg)}.album-sheet-1{z-index:2;transform:translate(6px,-5px)rotate(4deg)}.album-sheet-2{z-index:1;transform:translate(-5px,-8px)rotate(-7deg)}.album-summary{color:var(--muted);justify-content:space-between;gap:10px;padding:0 10px 6px;font-size:.8rem;display:flex}.album-summary strong{color:var(--ink);font-weight:500}.photo-upload-actions{gap:8px}.photo-upload-button{flex:1;padding:10px;font-size:.8rem}.project-topic .list-row{border-radius:0;grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0;display:grid}.project-topic .project-pdf-title{align-items:flex-start;width:100%;min-width:0}.project-topic .project-pdf-title>div{flex:1;min-width:0}.project-topic .list-row .actions{justify-content:flex-end;gap:6px;margin-left:38px}}@media (prefers-reduced-motion:reduce){button,.extra-photo-open img{transition:none}}
