:root { --ink:#18251e; --muted:#68766d; --line:#dce5de; --bg:#f5f7f4; --surface:#fff; --green:#176b3a; --green-soft:#e6f2e9; --amber:#a75b09; --amber-soft:#fff1dc; --blue:#276792; --blue-soft:#e6f1f8; }
* { box-sizing:border-box; } body { margin:0; font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--ink); background:var(--bg); } button, input, select, textarea { font:inherit; } button { cursor:pointer; } .app-shell { min-height:100vh; display:grid; grid-template-columns:254px 1fr; } .sidebar { background:#173a27; color:#eef8f0; padding:28px 18px; display:flex; flex-direction:column; min-height:100vh; } .brand { color:inherit; text-decoration:none; display:flex; gap:10px; align-items:center; font-weight:700; font-size:20px; padding:0 10px 34px; } .brand-mark { width:30px; height:30px; display:grid; place-items:center; background:#9bd7a8; color:#173a27; border-radius:9px; } nav { display:grid; gap:5px; } .nav-link { color:#c1d7c7; text-decoration:none; padding:12px 12px; border-radius:9px; font-size:14px; } .nav-link:hover,.nav-link.active { background:#28513a; color:#fff; } .sidebar-footer { margin-top:auto; display:flex; align-items:center; gap:10px; padding:16px 10px 4px; border-top:1px solid #3f674f; font-size:13px; } .sidebar-footer small { display:block; color:#b8cfbd; margin-top:2px; } .avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#bcd7c3; color:#173a27; font-weight:700; font-size:11px; }
main { min-width:0; } .topbar { height:76px; display:flex; align-items:center; justify-content:space-between; padding:0 44px; background:var(--surface); border-bottom:1px solid var(--line); } .property-picker { display:flex; gap:10px; align-items:center; } .property-picker small { color:var(--muted); display:block; font-size:11px; } .property-picker strong { font-size:14px; } .house-icon { color:var(--green); font-size:27px; } .role-switch { border:1px solid var(--line); background:#f7f9f7; border-radius:8px; padding:3px; display:flex; } .role { border:0; color:var(--muted); background:transparent; padding:7px 11px; border-radius:5px; font-size:13px; } .role.active { background:var(--surface); color:var(--ink); box-shadow:0 1px 3px #cbd4cd; } .menu-button { display:none; }
.view { display:none; max-width:1220px; margin:auto; padding:44px; } .view.active { display:block; } .page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:29px; } .eyebrow { color:var(--green); font-weight:700; font-size:11px; letter-spacing:.09em; margin:0 0 8px; } h1 { font-size:32px; letter-spacing:-.035em; margin:0; } h2 { font-size:18px; letter-spacing:-.02em; margin:0; } .subtle,.panel-heading p { color:var(--muted); font-size:14px; margin:7px 0 0; }.primary,.secondary { border:0; border-radius:8px; padding:11px 15px; font-size:14px; font-weight:650; } .primary { color:#fff; background:var(--green); box-shadow:0 2px 3px #b9c8bd; }.primary:hover { background:#0c5a2d; }.secondary { color:var(--ink); background:#fff; border:1px solid var(--line); }.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-bottom:25px; }.stat-card,.panel,.share-card { background:var(--surface); border:1px solid var(--line); border-radius:12px; }.stat-card { padding:20px; display:flex; gap:13px; align-items:center; }.stat-card strong { font-size:25px; display:block; letter-spacing:-.04em; }.stat-card span:not(.stat-icon) { color:var(--muted); font-size:13px; }.stat-icon { width:35px; height:35px; border-radius:50%; display:grid; place-items:center; font-weight:700; }.amber { color:var(--amber); background:var(--amber-soft); }.green { color:var(--green); background:var(--green-soft); }.blue { color:var(--blue); background:var(--blue-soft); }.content-grid { display:grid; grid-template-columns:1.16fr .84fr; gap:20px; }.panel { padding:23px; }.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:18px; }.panel-heading a { color:var(--green); font-size:13px; font-weight:650; text-decoration:none; }.maintenance-item,.recent-item { padding:15px 0; border-top:1px solid var(--line); }.maintenance-item:first-child,.recent-item:first-child { border-top:0; padding-top:0; }.maintenance-top,.recent-top { display:flex; justify-content:space-between; gap:14px; align-items:center; }.maintenance-item strong,.recent-item strong { font-size:14px; }.maintenance-item small,.recent-item small { color:var(--muted); display:block; margin-top:4px; font-size:12px; }.date-pill,.status { padding:5px 8px; border-radius:999px; font-size:11px; white-space:nowrap; font-weight:650; }.date-pill.soon { background:var(--amber-soft); color:var(--amber); }.date-pill.ok,.status.approved { background:var(--green-soft); color:var(--green); }.status.pending { background:var(--blue-soft); color:var(--blue); }.recent-item { display:flex; gap:10px; }.recent-dot { width:9px; height:9px; background:#79ae86; border-radius:50%; margin-top:4px; flex:none; }.filter-row { display:flex; gap:8px; margin-bottom:20px; }.filter { padding:8px 12px; background:transparent; border:1px solid var(--line); border-radius:7px; color:var(--muted); font-size:13px; }.filter.active { border-color:#9bc5a5; background:var(--green-soft); color:var(--green); font-weight:650; }.work-table-wrap { overflow:auto; background:#fff; border:1px solid var(--line); border-radius:12px; } table { width:100%; border-collapse:collapse; text-align:left; min-width:690px; } th { color:var(--muted); background:#fafcf9; font-size:11px; text-transform:uppercase; letter-spacing:.04em; } th,td { padding:15px 17px; border-bottom:1px solid var(--line); font-size:13px; } tr:last-child td { border-bottom:0; } td small { color:var(--muted); display:block; margin-top:3px; }.document-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.document { padding:18px; background:#fff; border:1px solid var(--line); border-radius:12px; }.document-icon { display:grid; place-items:center; height:39px; width:39px; border-radius:8px; background:var(--green-soft); color:var(--green); font-size:18px; margin-bottom:16px; }.document strong { font-size:14px; }.document p { margin:5px 0 0; color:var(--muted); font-size:12px; }.share-card { padding:36px; max-width:720px; }.share-card h1 { font-size:28px; }.share-card > p:not(.eyebrow) { color:var(--muted); line-height:1.6; max-width:600px; }.share-options { display:grid; gap:12px; margin:28px 0; padding:19px; border-radius:9px; background:#f7faf7; }.share-options label { font-size:14px; }.share-options input { accent-color:var(--green); margin-right:8px; }.share-actions { display:flex; gap:10px; }.share-result { color:var(--green); font-weight:600; font-size:13px; }
dialog { width:min(680px,calc(100% - 28px)); border:0; padding:0; border-radius:14px; box-shadow:0 24px 70px #17251e55; } dialog::backdrop { background:#14211788; } #workForm { padding:25px; }.modal-header { display:flex; justify-content:space-between; margin-bottom:22px; }.close { border:0; background:transparent; font-size:28px; line-height:1; color:var(--muted); }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }.form-grid label { display:grid; gap:7px; color:#405046; font-size:13px; font-weight:650; }.form-grid input,.form-grid select,.form-grid textarea { width:100%; border:1px solid #cfdad1; border-radius:7px; padding:10px; color:var(--ink); font-size:14px; font-weight:400; }.form-grid textarea { min-height:84px; resize:vertical; }.full { grid-column:1/-1; }.modal-note { color:var(--muted); background:#f3f7f3; padding:12px; font-size:12px; margin-top:17px; border-radius:7px; }.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }.toast { position:fixed; bottom:22px; right:22px; background:#173a27; color:#fff; padding:13px 17px; border-radius:8px; font-size:14px; transform:translateY(100px); opacity:0; transition:.25s; }.toast.show { transform:translateY(0); opacity:1; }
@media (max-width:850px) { .app-shell { grid-template-columns:1fr; }.sidebar { position:fixed; z-index:5; width:254px; transform:translateX(-100%); transition:.2s; }.sidebar.open { transform:translateX(0); }.topbar { padding:0 20px; }.menu-button { display:block; border:0; background:transparent; color:var(--green); font-size:24px; }.view { padding:28px 20px; }.content-grid { grid-template-columns:1fr; }.document-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px) { .property-picker strong { font-size:12px; }.property-type,.role-switch { display:none; }.page-heading { flex-direction:column; }.summary-grid { grid-template-columns:1fr; }.document-grid { grid-template-columns:1fr; }.form-grid { grid-template-columns:1fr; }.full { grid-column:auto; }.share-card { padding:23px; }.share-actions { flex-direction:column; } }
.property-type { display:grid; gap:3px; color:var(--muted); font-size:10px; margin-left:auto; }.property-type select { border:1px solid var(--line); background:#fff; border-radius:6px; padding:5px 24px 5px 8px; color:var(--ink); font-size:13px; }.date-pill.required { background:var(--amber-soft); color:var(--amber); }.date-pill.recommended { background:var(--green-soft); color:var(--green); }.legal-note { margin:16px 0 0; padding-top:13px; border-top:1px solid var(--line); color:var(--muted); line-height:1.45; font-size:11px; }
.building-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }.text-button { border:0; background:transparent; color:var(--green); font-size:13px; font-weight:650; padding:0; }.profile-list { margin:0; }.profile-list div { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line); font-size:13px; }.profile-list div:first-child { border-top:0; padding-top:0; }.profile-list dt { color:var(--muted); }.profile-list dd { margin:0; font-weight:650; text-align:right; }.building-documents { margin-top:20px; }.source-documents { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.source-document { padding:14px; border:1px solid var(--line); border-radius:9px; background:#f9fbf9; }.source-document strong { display:block; font-size:13px; }.source-document small { display:block; margin-top:5px; color:var(--muted); font-size:12px; }.source-document .source-type { color:var(--green); font-weight:650; }.forecast-year { color:var(--amber); font-weight:650; font-size:12px; white-space:nowrap; }
@media (max-width:700px) { .building-grid { grid-template-columns:1fr; }.source-documents { grid-template-columns:1fr; } }
