:root{font-family:Inter,'Segoe UI',sans-serif;color:#243934;background:#f3f6f5;font-size:16px;font-synthesis:none;--ink:#173d36;--muted:#718079;--line:#e2e8e5;--green:#27644d;--lime:#cdf49a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:#245f4b}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.055rem;margin-bottom:8px;font-weight:650}h2{font-size:1.15rem;font-weight:650}h3{font-size:1rem}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#123b35;color:#dce8e1;padding:30px 20px;display:flex;flex-direction:column;gap:35px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-size:1.25rem;font-weight:700;letter-spacing:-.04em;color:inherit}.brand img{width:38px;height:38px}.brand small{font-size:.65rem;letter-spacing:.12em;font-weight:500;display:block;color:#a9c3b7;margin-top:3px}.tenant-label{background:#ffffff0b;border:1px solid #ffffff19;border-radius:10px;padding:13px;font-size:.875rem;line-height:1.5}.tenant-label span{display:block;color:#9db9ae;font-size:.75rem}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-label{font-size:.7rem;letter-spacing:.13em;color:#a5bcb2;margin:0 12px 8px}.sidebar button{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:8px;background:none;color:#ccddd4;padding:12px;font-size:.9rem}.sidebar button.active{background:var(--lime);color:#193a28;font-weight:650}.sidebar button:hover:not(.active){background:#ffffff10}.sidebar-footer{margin-top:auto;border-top:1px solid #ffffff20;padding-top:20px;font-size:.85rem;display:flex;gap:10px;align-items:center}.avatar{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;font-size:.8rem;font-weight:650;background:#eaf1eb;color:#37634b}.sidebar .avatar{background:#ffffff18;color:#d0f29e}.sidebar-footer small{display:block;color:#a7c0b4;margin-top:4px}.main{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:white;font-size:.875rem;color:var(--muted)}.topbar strong{color:var(--ink);font-weight:500}.topbar-right{display:flex;gap:18px;align-items:center}.workspace{max-width:1460px;margin:auto;padding:38px 40px 60px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{margin:0;color:var(--muted);font-size:.95rem}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{padding:10px 16px;border-radius:7px;border:1px solid #d6e0da;background:white;color:var(--ink);font-weight:600;font-size:.875rem;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;min-height:42px}.btn.primary{background:var(--ink);border-color:var(--ink);color:white}.btn.danger{color:#993a3a}.btn.ghost{border-color:transparent;background:transparent}.btn:hover{filter:brightness(.96)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 22px}.stat-title{font-size:.875rem;color:var(--muted);display:flex;justify-content:space-between}.stat strong{display:block;font-size:2rem;line-height:1.4;font-weight:600;margin:9px 0 0;letter-spacing:-.06em}.stat small{font-size:.8rem;color:var(--muted)}.stat:last-child{background:#e9f2e5;border-color:#d9e6d3}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-header{padding:22px 24px;display:flex;gap:15px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.panel-header h2{margin:0}.toolbar{padding:18px 24px;display:flex;gap:12px;align-items:center;justify-content:space-between}.search{max-width:340px;width:100%;position:relative}.search input{padding-left:36px!important;background:#f8faf9}.search .icon{position:absolute;left:12px;top:12px;color:var(--muted)}input,select,textarea{border:1px solid #d8e1dc;border-radius:7px;padding:10px 12px;width:100%;background:white;color:var(--ink);min-height:42px}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--green)}textarea{resize:vertical;min-height:120px}label{display:block;font-size:.875rem;font-weight:550;margin:0 0 7px}label.check{display:flex;align-items:center;gap:10px;font-weight:400;margin:10px 0}.field{margin-bottom:18px}.toolbar select{width:auto;min-width:170px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{background:#f8faf9;color:#728078;font-weight:500;font-size:.75rem;padding:13px 24px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:18px 24px;border-bottom:1px solid #edf1ee;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.person{display:flex;align-items:center;gap:12px}.person strong{display:block;font-weight:600;margin-bottom:4px}.person small{color:var(--muted);font-size:.8rem}.link-button{background:none;border:0;padding:0;text-align:left;color:var(--ink);font:inherit;cursor:pointer}.link-button:hover strong{text-decoration:underline}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:.75rem;font-weight:550;background:#edf1ee;color:#66766b;white-space:nowrap}.badge.green{background:#eaf4e6;color:#356143}.badge.orange{background:#fff2df;color:#946018}.badge.blue{background:#eaf1fa;color:#466588}.badge.red{background:#fceaea;color:#983f3f}.unit-tag{display:inline-block;margin:2px 4px 2px 0;padding:4px 7px;background:#f1f4f2;border:1px solid #e5ebe7;border-radius:4px;color:#4c6255;font-size:.75rem}.panel-footer{border-top:1px solid var(--line);padding:15px 24px;display:flex;justify-content:space-between;color:var(--muted);font-size:.8rem}.note{padding:15px 18px;border-radius:8px;border:1px solid #dae7d6;background:#eff6eb;line-height:1.55;font-size:.875rem;margin:22px 0;color:#476149}.note.warning{background:#fff8ec;border-color:#f0e1c1;color:#866528}.note a{font-weight:600}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.empty{padding:55px 25px;text-align:center;color:var(--muted)}.empty h2{color:var(--ink)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:24px}.card p{font-size:.9rem;color:var(--muted)}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.module-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.module-icon{background:#eaf2e7;color:var(--green);padding:11px;border-radius:8px;display:inline-flex}.module-card{display:flex;flex-direction:column}.module-card .check{margin-top:auto}.divider{height:1px;background:var(--line);margin:22px 0}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1.15fr}.auth-intro{background:#123b35;color:white;padding:50px 10%;display:flex;flex-direction:column;justify-content:space-between}.auth-intro h1{font-size:3.3rem;line-height:1.13;max-width:460px;color:#f4f9ef;margin-top:70px}.auth-intro h1 em{font-style:normal;color:#cbef9f}.auth-intro p{max-width:370px;color:#aac6b8}.auth-intro footer{color:#acc4b8;font-size:.8rem;margin-top:50px}.auth-main{padding:60px 9%;display:flex;flex-direction:column;justify-content:center}.auth-main form{width:100%;max-width:470px;margin:auto}.auth-main h2{font-size:1.6rem;letter-spacing:-.03em;margin-bottom:10px}.auth-main .btn{width:100%;margin-bottom:10px}.auth-main p{font-size:.9rem;color:var(--muted)}.auth-main .small{margin-top:10px}.or{text-align:center;color:var(--muted);font-size:.8rem;margin:10px 0 20px}.error{color:#963d3d;background:#fff0ed;border:1px solid #f2d7d1;border-radius:7px;padding:12px;font-size:.875rem;margin-bottom:16px}.error:empty{display:none}dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:560px;max-width:calc(100vw - 32px);max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #183b3425}dialog::backdrop{background:#14352b66;backdrop-filter:blur(2px)}dialog.wide{width:860px}.dialog-head{padding:24px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-head h2{margin:0}.dialog-body{padding:24px 26px}.dialog-foot{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.detail-top{display:flex;gap:15px;align-items:center;margin-bottom:25px}.detail-top .avatar{width:56px;height:56px;font-size:1.1rem}.detail-top h2{margin:0 0 6px}.detail-unit{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:.875rem}.roles{display:flex;gap:6px;flex-wrap:wrap}.role-options{display:grid;grid-template-columns:1fr 1fr}.activity{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);font-size:.875rem}.activity:last-child{border:0}.activity p{margin:0 0 5px}.activity small{color:var(--muted)}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.6;background:#f6f8f5;padding:18px;border-radius:7px}.mail-row{padding:20px 24px;border-bottom:1px solid var(--line)}.mail-row:last-child{border:0}.mail-row p{margin:4px 0;font-size:.85rem;color:var(--muted)}.page-note{font-size:.8rem;color:var(--muted);margin-top:20px}#toast{position:fixed;bottom:24px;right:24px;z-index:10;padding:15px 20px;background:#153e35;color:white;border-radius:9px;box-shadow:0 8px 35px #123b3525;max-width:420px;display:none}#toast.visible{display:block}#toast.error-toast{background:#913f38}.loading{padding:50px;text-align:center}.inline-hint{font-size:.8rem;color:var(--muted);margin:7px 0 0}.status-strip{background:#eaf1fa;color:#466588;padding:10px 20px;text-align:center;font-size:.8rem}.grow{flex:1}.hide{display:none}
@media(min-width:1500px){.workspace{padding-top:48px}.stats{margin-bottom:32px}}
@media(max-width:1050px){.layout{grid-template-columns:205px 1fr}.workspace{padding:25px 24px}.topbar{padding:0 24px}.sidebar{padding:26px 13px}.stats{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start;flex-direction:column}td,th{padding:15px}.auth-intro h1{font-size:2.6rem}}
@media(max-width:700px){.layout{display:block}.sidebar{height:auto;position:static;padding:16px;gap:16px}.sidebar .tenant-label,.sidebar-footer,.nav-label{display:none}.sidebar nav{flex-direction:row;overflow:auto;gap:4px}.sidebar nav button{white-space:nowrap;padding:9px;font-size:.8rem}.brand{font-size:1.1rem}.sidebar .brand small{display:none}.sidebar .brand img{width:30px;height:30px}.topbar{height:54px;padding:0 16px;font-size:.75rem}.workspace{padding:25px 16px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:1.7rem}.grid-two,.module-grid{grid-template-columns:1fr}.toolbar{padding:15px;flex-wrap:wrap}.toolbar select,.search{max-width:none;width:100%}.panel-header{padding:18px}.panel-footer{padding:15px;gap:10px}h1{font-size:1.6rem}.auth-shell{display:block}.auth-intro{padding:24px}.auth-intro h1{font-size:2rem;margin:30px 0 15px}.auth-intro footer,.auth-intro>p{display:none}.auth-main{padding:30px 22px}.topbar-right{gap:6px}.dialog-head,.dialog-body{padding:20px}.page-heading{gap:18px}.actions{width:100%}.actions .btn{flex:1}.person{min-width:200px}.roles{max-width:200px}#toast{right:16px;left:16px;bottom:16px;max-width:none}}

.onboarding{min-height:100vh;background:#f3f6f5}.onboarding-top{display:flex;justify-content:space-between;align-items:center;padding:22px 5%;background:white;border-bottom:1px solid var(--line)}.onboarding-user{display:flex;gap:20px;align-items:center;font-size:.875rem}.onboarding-main{max-width:1130px;margin:0 auto;padding:42px 28px 70px}.onboarding-main>h1{font-size:2.2rem}.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:32px 0}.steps li{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.9rem;border-bottom:2px solid #dfe7e0;padding-bottom:18px}.steps li>span{width:30px;height:30px;border-radius:50%;background:#e3eae5;display:flex;align-items:center;justify-content:center;font-weight:650}.steps li.current{color:var(--ink);border-color:var(--green);font-weight:650}.steps li.current>span{background:var(--ink);color:white}.steps li.done>span{background:var(--lime);color:var(--ink)}.onboarding-grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr);gap:30px;align-items:start}.onboarding-card{padding:30px}.onboarding-aside{padding:24px 0;font-size:.9rem}.onboarding-aside p{color:var(--muted);overflow-wrap:anywhere}.segmented{display:flex;gap:20px;margin:24px 0}.segmented label{display:flex;align-items:center;gap:8px;cursor:pointer}.segmented input{width:18px;min-height:18px;accent-color:var(--green)}.lookup-row{display:flex;align-items:end;gap:12px}.lookup-row .field{margin:0;flex:1}.lookup-row button{margin-bottom:0;min-height:42px}.onboarding textarea{min-height:80px}.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px;border-top:1px solid var(--line);padding-top:24px}.organ-preview{border:1px solid var(--line);padding:18px;border-radius:8px;margin-top:14px}.organ-preview>p:last-child{margin-bottom:0}.summary{display:grid;grid-template-columns:150px 1fr;gap:18px;font-size:.9rem;line-height:1.5}.summary dt{color:var(--muted)}.summary dd{margin:0;overflow-wrap:anywhere}.organs-grid{display:grid;gap:22px}.organ-preview .actions{align-items:center}.organs-grid h2{margin-bottom:8px}.organs-grid .detail-unit{align-items:center}.onboarding [hidden]{display:none}.onboarding input:read-only{background:#f4f6f4}.onboarding-aside .badge{white-space:normal}
.vote-summary{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:end;margin:0 0 22px;padding:17px 18px;border-radius:9px;background:#eff6eb;color:#476149}.vote-summary strong{font-size:1.4rem}.vote-summary small{grid-column:1/-1;color:var(--muted)}.detail-unit-button{width:100%;background:transparent;border:0;color:inherit;text-align:left;align-items:center}.detail-unit-button:hover{background:#f8faf9}.detail-unit-button>span:first-child{display:flex;flex-direction:column}.import-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.import-summary>div{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.import-summary strong{font-size:1.15rem}.import-summary span{font-size:.75rem;color:var(--muted)}
.party-role-list{display:grid;gap:14px;margin-top:16px}.party-role-card{padding:18px;border:1px solid var(--line);border-radius:9px;background:#f8faf9}.party-role-card>div:first-child{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.party-role-card .role-options{padding:4px 0 10px}.party-role-card .btn{margin-top:2px}
.party-role-summary{display:grid;gap:8px}.party-role-summary>div{display:grid;gap:3px}.party-role-summary strong{font-size:12px}.party-role-summary .roles{display:flex;flex-wrap:wrap;gap:4px}
.owner-toolbar{flex-wrap:wrap}.column-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:6px 0}.column-options label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:.85rem;color:var(--ink);cursor:pointer}.column-options input{accent-color:var(--green)}
@media(max-width:800px){.onboarding-grid{grid-template-columns:1fr}.onboarding-aside{padding:0}.onboarding-main{padding:28px 18px}.onboarding-card{padding:22px}.steps{gap:10px}.steps li{font-size:.8rem;align-items:flex-start}.steps li>span{flex-shrink:0}.onboarding-main>h1{font-size:1.8rem}.onboarding-user>span{display:none}.lookup-row{flex-direction:column;align-items:stretch}.summary{grid-template-columns:1fr;gap:5px}.summary dd{margin-bottom:13px}.segmented{gap:12px;flex-wrap:wrap}.wizard-footer{flex-wrap:wrap}.organ-preview .detail-unit,.organs-grid .detail-unit{flex-direction:column;align-items:flex-start}.steps li{flex-direction:column}.onboarding-top{padding:15px 18px}}

.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:auto}.organization-nav{border-top:1px solid #ffffff20;padding:16px 0}.sidebar-bottom .sidebar-footer{margin-top:0}fieldset{border:0;padding:0;margin:0;min-width:0}fieldset:disabled input,fieldset:disabled textarea{background:#f8faf9;color:var(--ink)}
.sidebar .settings-toggle.section-active{background:#ffffff12;color:#fff}.settings-chevron{margin-left:auto;transition:transform .15s ease}.settings-toggle[aria-expanded="true"] .settings-chevron{transform:rotate(180deg)}.settings-submenu{display:flex;flex-direction:column;gap:3px;margin-left:18px;padding-left:10px;border-left:1px solid #ffffff30}.settings-submenu[hidden]{display:none}.sidebar .settings-submenu button{font-size:.84rem;padding:9px 10px}
.sidebar #role-preview-toggle{margin-top:10px;border-top:1px solid #ffffff20;border-radius:0;padding-top:17px}.sidebar #role-preview-toggle.preview-active{color:var(--lime);font-weight:650}.preview-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 40px;background:#fff1d8;border-bottom:1px solid #e8d4a8;color:#705421;font-size:.85rem}.preview-banner button{border:1px solid #d4ba81;border-radius:6px;padding:6px 10px;background:#fffaf0;color:#705421;font-weight:600;white-space:nowrap}
@media(max-width:700px){.preview-banner{padding:10px 16px;align-items:flex-start;flex-direction:column}.preview-banner button{width:100%}}

.import-table table{min-width:700px}.import-table th,.import-table td{padding:10px}.import-table input{min-width:95px}.import-table th:nth-child(5){min-width:145px}
.sort-heading{display:inline-flex;align-items:center;gap:7px;padding:2px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left;white-space:nowrap}.sort-heading span{font-size:.75rem;opacity:.55}.sort-heading:hover,.sort-heading.active{color:var(--green)}.sort-heading.active span{opacity:1}
.garage-owner-list{display:grid;gap:5px;max-height:240px;min-width:220px;overflow-y:auto;line-height:1.4}.garage-owner-list>div{padding:2px 0;border-bottom:1px solid var(--line)}.parking-edit-actions{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 8px}.parking-edit-actions .btn{font-size:.75rem;padding:5px 8px}
.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.overview-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;min-height:205px;padding:23px;text-align:left;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 6px 24px #183b3408;text-decoration:none}.overview-card:not(.overview-placeholder){cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.overview-card:not(.overview-placeholder):hover{transform:translateY(-2px);border-color:#b8d2c2;box-shadow:0 12px 28px #183b3414}.overview-card-head{display:flex;align-items:start;justify-content:space-between;color:var(--green)}.overview-card-head>.icon{margin-top:4px}.overview-card-title{font-weight:650;font-size:1rem}.overview-number{font-size:2.6rem;line-height:1;letter-spacing:-.06em;font-weight:650;margin-top:auto}.overview-caption{color:var(--muted);font-size:.84rem}.overview-vote-split{display:flex;gap:12px;flex-wrap:wrap;margin-top:2px;color:var(--muted);font-size:.83rem}.overview-vote-split span{display:inline-flex;gap:6px;align-items:baseline}.overview-vote-split strong{color:var(--ink)}.overview-wide{grid-column:span 2;min-height:260px}.overview-wide .overview-number{margin-top:4px}.overview-issues{display:grid;gap:0;margin-top:4px}.overview-issue{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:.84rem}.overview-issue>span:first-child{display:grid;gap:2px;min-width:0}.overview-issue strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-issue small,.overview-empty{color:var(--muted)}.overview-placeholder{background:#eef1ef;border-color:#e3e8e4;color:#839089;box-shadow:none}.overview-placeholder .module-icon{background:#e3e8e4;color:#8d9a91}.overview-placeholder-text{margin-top:auto;font-size:.84rem;color:#8b978f}
.overview-breakdown{display:grid;gap:6px;margin-top:6px;padding-top:11px;border-top:1px solid var(--line);font-size:.8rem}.overview-breakdown>span{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.overview-breakdown>span>span{color:var(--muted)}.overview-breakdown strong{text-align:right;font-weight:650;font-variant-numeric:tabular-nums}
.sidebar .sidebar-account{width:100%;border-radius:0;border-top:1px solid #ffffff20;padding:20px 0 0;color:#dce8e1}.sidebar .sidebar-account:hover,.sidebar .sidebar-account:focus-visible{color:#cdf49a}.account-card{max-width:620px}
.sidebar-account-row{display:flex;align-items:center;gap:6px;border-top:1px solid #ffffff20}.sidebar-account-row .sidebar-account{flex:1;min-width:0;border-top:0;padding-top:14px}.sidebar-account-row .sidebar-account>div{min-width:0;overflow:hidden;text-overflow:ellipsis}.sidebar .work-mode-toggle{flex:0 0 38px;width:38px;height:38px;justify-content:center;padding:8px;border:1px solid #ffffff35;border-radius:8px;color:#cdf49a}.sidebar .work-mode-toggle:hover,.sidebar .work-mode-toggle:focus-visible{background:#ffffff18;border-color:#cdf49a}.sidebar .work-mode-toggle .icon{width:20px;height:20px}
.organ-card{min-width:0}.organ-card h2{margin-bottom:4px}.organ-table{min-width:850px}.organ-table th,.organ-table td{padding:12px 10px}.organ-table th:first-child,.organ-table td:first-child{padding-left:14px}.organ-table th:last-child,.organ-table td:last-child{padding-right:14px}.organ-table .btn{min-height:34px;padding:5px 10px}
.contact-section{margin:0 0 18px}.contact-section .panel-header h2{margin:0}.contact-table th,.contact-table td{padding:10px 12px}.contact-handle{width:32px;color:var(--muted);cursor:grab}.contact-table tr[draggable=true]:hover{background:#f1f7f1}.print-title{display:none}.communication-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.communication-item{padding:17px 20px;border-top:1px solid var(--line)}.communication-item p{margin:6px 0;white-space:pre-wrap}.communication-item small,.communication-thread span,.communication-thread small{color:var(--muted)}.communication-item .actions{margin-top:10px}.communication-item .btn{min-height:32px;padding:5px 9px;font-size:.76rem}.communication-thread{display:grid;gap:5px;width:100%;padding:17px 20px;border:0;border-top:1px solid var(--line);background:white;text-align:left;color:var(--ink)}.communication-thread:hover{background:#f4f8f4}.communication-thread small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-panel{margin-top:18px}.todo-row{display:flex;gap:12px;align-items:center;padding:12px 20px;border-top:1px solid var(--line)}.todo-row input{flex:0 0 auto}.thread-message{padding:12px 0;border-bottom:1px solid var(--line)}.thread-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 5px}.thread-message small{color:var(--muted)}
.nav-alert{width:9px;height:9px;margin-left:auto;flex-shrink:0;border-radius:50%;background:#f56565;box-shadow:0 0 0 3px #f5656538,0 0 10px #f56565}.communication-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.communication-item.is-read,.communication-thread.is-read{background:#f4f6f5;color:#66756e}.communication-thread{cursor:default}.communication-thread .actions{margin-top:7px}.communication-thread .btn{width:auto}.recipient-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.communication-grid.messages-only{grid-template-columns:minmax(0,1fr)}.communication-grid.messages-only>.panel{width:100%}.message-archive-toggle{margin:0;white-space:nowrap;font-size:.8rem}.message-archive-toggle input{flex:0 0 auto}.communication-grid .panel-header{flex-wrap:wrap}.communication-thread[hidden]{display:none}
.communication-grid .actions{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:2px}.communication-grid .actions .btn{flex:0 0 auto;width:auto;min-height:30px;padding:4px 8px;font-size:.76rem;white-space:nowrap}.communication-item,.communication-thread{border-top:0;border-bottom:1px solid var(--line)}.communication-grid .panel>.communication-item:last-of-type,.communication-grid .panel>.communication-thread:last-of-type{border-bottom:0}
.communication-grid .communication-list-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}.communication-list-header>h2{grid-column:1}.communication-list-header>.badge{grid-column:2;justify-self:center}.communication-list-header>.message-archive-toggle{grid-column:3;justify-self:end}
.party-contact-list{display:grid;gap:12px;margin:14px 0 20px}.party-contact-card{padding:16px;border:1px solid var(--line);border-radius:9px;background:#f8faf8}.party-contact-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.party-contact-card .field{margin-bottom:10px}.party-contact-card .actions{justify-content:flex-end}
.overview-communication-card .overview-number{margin-top:0}.overview-communication-list{display:grid;gap:0;margin-top:auto;min-width:0;font-size:.82rem;color:var(--muted)}.overview-communication-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;padding:7px 0;border-top:1px solid var(--line)}.overview-communication-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.overview-communication-row time{flex:0 0 auto;font-size:.75rem;color:var(--muted)}.overview-communication-empty{padding-top:8px;border-top:1px solid var(--line)}
.overview-my-units{display:grid;gap:0;min-width:0}.overview-my-unit{display:grid;gap:4px;padding:9px 0;border-top:1px solid var(--line)}.overview-my-unit strong{font-size:.88rem}.overview-my-unit small{font-size:.78rem;color:var(--muted);line-height:1.35}.overview-my-votes{display:grid;gap:3px;margin-top:auto;padding-top:11px;border-top:1px solid var(--line)}.overview-my-votes strong{font-size:1.1rem}.overview-my-votes small{font-size:.78rem;color:var(--muted)}
.owner-parking{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 0 13px;border-bottom:1px solid var(--line)}.owner-parking-actions{display:flex;gap:6px;flex-wrap:wrap}.owner-parking-actions .btn{min-height:32px;padding:5px 9px;font-size:.78rem}
.overview-issues-news-row,.overview-updates-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.overview-communication-row .is-unread{font-weight:700;color:var(--ink)}
@media(max-width:1050px){.overview-issues-news-row,.overview-updates-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.overview-issues-news-row,.overview-updates-row{grid-template-columns:1fr;gap:12px}}
@media(max-width:1400px){.communication-list-header>.message-archive-toggle{grid-column:1/-1;justify-self:end}}
@media(max-width:800px){.communication-grid{grid-template-columns:1fr}.contact-table{min-width:650px}}
@page{size:A4 portrait;margin:10mm}
@media print{body{background:white;color:#000}body *{visibility:hidden!important}.workspace,#content,#contact-print,#contact-print *{visibility:visible!important}#contact-print{position:absolute;left:0;top:0;width:190mm}.print-title{display:block;font-size:15pt;margin:0 0 5mm}.contact-section{box-shadow:none;border:0;margin:0 0 4mm;break-inside:avoid}.contact-section .panel-header{padding:0 0 2mm;border:0}.contact-section h2{font-size:10pt}.contact-section .table-wrap{overflow:visible}.contact-table{width:100%;min-width:0;font-size:8pt}.contact-table th,.contact-table td{padding:1.5mm 2mm;border-bottom:1px solid #aaa;white-space:normal;overflow-wrap:anywhere}.no-print,.no-print *{display:none!important}.contact-section:last-child .contact-table th:first-child,.contact-section:last-child .contact-table td:first-child{display:none}}
@media(max-width:1050px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.overview-grid{grid-template-columns:1fr;gap:12px}.overview-wide{grid-column:auto}.overview-card{min-height:175px}.overview-wide{min-height:240px}}
@media(min-width:701px){.sidebar{gap:24px}.sidebar>.brand,.sidebar>.tenant-label,.sidebar-bottom{flex-shrink:0}.sidebar>nav{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar-bottom{margin-top:auto}.sidebar-footer{padding-top:14px}.organization-nav{padding:12px 0}}
@media(min-width:701px) and (max-height:850px){.sidebar{gap:18px;padding-top:20px;padding-bottom:20px}.sidebar button{padding:9px 12px}.sidebar .nav-label{margin-bottom:4px}}
.issue-stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.issue-stats span{padding:12px 17px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:.85rem}.issue-stats strong{font-size:1.25rem;color:var(--green);margin-right:5px}.issue-section{margin-top:22px}.issue-table-wrap table{min-width:960px}.issue-table-wrap th,.issue-table-wrap td{padding:14px 16px}.issue-table-row{cursor:pointer}.issue-table-row:hover{background:#f7faf8}.issue-table-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.issue-table-row td:first-child{white-space:nowrap}.issue-table-row td:last-child{text-align:center}.issue-description-cell{max-width:260px}.issue-description-cell span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.issue-table-row td:nth-child(5) small{display:block;margin-top:5px;color:var(--muted);font-size:.75rem}.issue-row-priority{margin-top:7px}.issue-private-badge{margin-left:8px}.issue-row-flags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;flex-shrink:0}.issue-archive-toggle{margin:22px 0}.issue-detail-head{display:flex;justify-content:space-between;gap:18px}.issue-detail-head p{white-space:pre-wrap}.issue-actions,.issue-reactions,.issue-attachments{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.issue-attachment{padding:9px 12px;border:1px solid var(--line);border-radius:7px;text-decoration:none;color:var(--green)}.issue-comment{padding:13px 0;border-bottom:1px solid var(--line)}.issue-comment p,.issue-events p{white-space:pre-wrap;margin:6px 0}.issue-replies{margin-left:24px;padding-left:16px;border-left:2px solid var(--line)}.issue-events>div{padding:10px 0;border-bottom:1px solid var(--line);font-size:.88rem}.issue-stars button{border:0;background:none;color:#df9b25;font-size:2rem;cursor:pointer;padding:0 3px}.issue-stars button:hover{transform:scale(1.12)}
.overview-issues-card:not(.overview-placeholder){cursor:default}.overview-issues-card:not(.overview-placeholder):hover{transform:none;border-color:var(--line);box-shadow:0 6px 24px #183b3408}.overview-issues-card .overview-card-head{align-items:center}.overview-issues-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-weight:650;text-align:left;cursor:pointer}.overview-issues-link:hover{color:var(--green)}.overview-issues-link .icon{width:16px;height:16px}.overview-issues-count{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.overview-issues-count .overview-number{margin:0}.overview-issues-scroll{overflow-x:auto}.overview-issues-table{width:100%;min-width:510px;border-collapse:collapse;font-size:.82rem}.overview-issues-table th{text-align:left;color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;padding:8px 12px 9px 0}.overview-issues-table td{padding:10px 12px 10px 0;border-top:1px solid var(--line);vertical-align:middle}.overview-issues-table td:nth-child(2){max-width:220px}.overview-issues-table td:nth-child(2) strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-issues-table td:nth-child(2) small{display:block;color:var(--muted)}.overview-issues-table td:last-child{white-space:nowrap}.overview-issue-row{cursor:pointer}.overview-issue-row:hover{background:#f7faf8}.overview-issue-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.overview-issues-card .overview-empty{padding:10px 0}
@media(max-width:700px){.issue-detail-head{flex-direction:column}.issue-row-flags{justify-content:flex-start}.issue-replies{margin-left:10px;padding-left:10px}}
.overview-all-link{align-self:flex-start;padding:6px 0;border:0;background:none;color:var(--green);font:inherit;font-size:.84rem;font-weight:650;cursor:pointer}.overview-all-link:hover{text-decoration:underline}.overview-all-link:focus-visible,.overview-issues-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:700px){.overview-issues-card{padding:18px}.overview-issues-scroll{overflow:visible}.overview-issues-table{display:block;min-width:0}.overview-issues-table thead{display:none}.overview-issues-table tbody{display:block}.overview-issues-table tr{display:grid;grid-template-columns:64px minmax(0,1fr);gap:5px 8px;padding:11px 0;border-top:1px solid var(--line)}.overview-issues-table td{padding:0;border:0}.overview-issues-table td:nth-child(1){grid-column:1;grid-row:1;font-weight:650}.overview-issues-table td:nth-child(2){grid-column:2;grid-row:1;min-width:0;max-width:none}.overview-issues-table td:nth-child(3){grid-column:2;grid-row:2}.overview-issues-table td:nth-child(4){grid-column:2;grid-row:3;color:var(--muted);white-space:normal}.overview-issues-table td:nth-child(5){grid-column:2;grid-row:4;color:var(--muted);white-space:normal}.overview-issues-table .overview-issue-date:not(.has-date){display:none}.overview-issues-table .overview-issue-date:not(.has-date)+td{grid-row:3}}
.issue-comment-count{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;color:var(--muted);font-size:.78rem;white-space:normal}.issue-comment-count .icon{width:15px;height:15px}.issue-comment-count strong{color:var(--ink)}.issue-comment-count span{white-space:nowrap}.issue-table-wrap table{min-width:980px}.overview-issues-table{min-width:620px}
@media(max-width:700px){.overview-issues-table{min-width:0}}
.history-toolbar{justify-content:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--line)}.history-toolbar .search{flex:1 1 260px;max-width:none}.history-toolbar label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.84rem}.history-toolbar label select{min-width:150px}.history-toolbar+#history-list .activity{padding:17px 24px}.history-toolbar+#history-list .activity:last-child{border-bottom:0}
@media(max-width:700px){.history-toolbar{align-items:stretch}.history-toolbar .search{flex-basis:100%}.history-toolbar label{flex:1 1 140px;align-items:stretch;flex-direction:column;gap:4px}.history-toolbar label select{min-width:0;width:100%}.history-toolbar+#history-list .activity{padding:15px}}
.mobile-menu-toggle,.mobile-menu-backdrop{display:none}.sidebar .mobile-menu-close{display:none}.mobile-sidebar-head{display:contents}
@media(max-width:700px){.layout{display:block}.mobile-sidebar-head{display:flex;align-items:center;justify-content:space-between}.sidebar{position:fixed;top:0;left:0;z-index:31;width:min(320px,calc(100vw - 48px));height:100dvh;padding:20px 16px;gap:15px;overflow-y:auto;transform:translateX(-105%);visibility:hidden;transition:transform .2s ease,visibility .2s ease;box-shadow:18px 0 40px #123b3533}.layout.menu-open .sidebar{transform:translateX(0);visibility:visible}.sidebar .tenant-label,.sidebar-footer,.nav-label{display:block}.sidebar nav{flex-direction:column;overflow:visible;gap:4px}.sidebar nav button{white-space:normal;width:100%;font-size:.9rem;padding:11px 12px}.sidebar .brand small{display:block}.sidebar .brand img{width:35px;height:35px}.sidebar-bottom{margin-top:auto}.sidebar-footer{display:flex}.sidebar .mobile-menu-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px!important;height:40px;padding:0!important;font-size:1.5rem!important}.mobile-menu-toggle{display:inline-flex;flex:0 0 40px;width:40px;height:40px;padding:10px 8px;border:0;border-radius:7px;background:none;flex-direction:column;justify-content:center;gap:4px}.mobile-menu-toggle span{display:block;height:2px;width:24px;border-radius:2px;background:var(--ink)}.mobile-menu-toggle:hover{background:#eef3ef}.mobile-menu-backdrop{display:none;position:fixed;inset:0;z-index:30;border:0;background:#102c27aa}.layout.menu-open .mobile-menu-backdrop{display:block}.topbar{position:sticky;top:0;z-index:20;justify-content:flex-start;gap:8px;padding:0 12px}.topbar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{margin-left:auto}.topbar-right .badge{display:none}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
.overview-completed{margin-top:7px;padding-top:15px;border-top:1px solid var(--line)}.overview-completed h3{margin:0 0 5px;font-size:.83rem;color:var(--muted);font-weight:650}.overview-completed-list{display:grid}.overview-completed-row{display:grid;grid-template-columns:68px minmax(0,1fr) auto auto minmax(170px,1.5fr);align-items:center;gap:9px;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font-size:.81rem;text-align:left}.overview-completed-row:last-child{border-bottom:0}.overview-completed-row:hover{background:#f7faf8}.overview-completed-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.overview-completed-row>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-completed-row time{color:var(--muted);white-space:nowrap}.overview-completion-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
@media(max-width:700px){.overview-completed-row{grid-template-columns:70px minmax(0,1fr);gap:4px 8px}.overview-completed-row strong{grid-column:1;grid-row:1}.overview-completed-row>span:first-of-type{grid-column:2;grid-row:1}.overview-completed-row .issue-status{grid-column:1;grid-row:2;justify-self:start}.overview-completed-row time{grid-column:2;grid-row:2}.overview-completed-row .overview-completion-note{grid-column:1/-1;grid-row:3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}}
.issue-status{font-weight:650}.issue-status-open{background:#edf1ee;color:#526158}.issue-status-ikon{background:#e6f2ff;color:#235d8d}.issue-status-confirmed{background:#efe4d8;color:#775026}.issue-status-done{background:#e5f5e5;color:#28613a}.issue-status-complaint{background:#fff0dc;color:#965b16}.issue-status-cancelled{background:#fce7e6;color:#963737}.issue-completion-note{margin:12px 0}.issue-completion-note p{margin:5px 0 0;white-space:pre-wrap}
.issue-event-main{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px}.issue-event-main time{color:var(--muted);white-space:nowrap}.issue-event-main small{color:var(--muted)}.issue-event>p{margin-top:8px}
.issue-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px}.issue-title-row h2{margin:0}.issue-priority-chip{border:1px solid #b7d0bd;cursor:pointer;transition:background .15s ease,border-color .15s ease}.issue-priority-chip:hover,.issue-priority-chip:focus-visible{background:#e2f0df;border-color:var(--green)}.issue-detail-head>div:first-child{min-width:0}.issue-row-flags{align-items:flex-start}
.issue-description{margin:0 0 10px}.issue-description p{margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.issue-description .btn{min-height:30px;padding:4px 8px;font-size:.78rem}
.issue-attachments{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.issue-attachment-card{margin:0;min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f8faf9}.issue-attachment-card>a,.issue-attachment-card video{display:block;width:100%;height:155px;background:#e9efeb}.issue-attachment-card img{display:block;width:100%;height:155px;object-fit:cover}.issue-attachment-card video{object-fit:contain}.issue-attachment-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;font-size:.75rem}.issue-attachment-card figcaption span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.issue-attachment-card .btn{min-height:30px;padding:4px 7px;font-size:.72rem}
.issue-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:190px;margin:18px 0 0;padding:22px;border:2px dashed #8bb69c;border-radius:11px;background:#f4faf4;color:var(--ink);text-align:center;cursor:pointer}.issue-dropzone:hover,.issue-dropzone.drag-over{background:#e8f4e7;border-color:var(--green)}.issue-dropzone span,.issue-dropzone small{color:var(--muted);font-weight:400}.issue-dropzone input{width:auto;max-width:100%;min-height:0;padding:6px;border:0;background:transparent;font-size:.8rem}
.issue-comment{padding:16px 0;border-bottom:0}.dialog-body>.issue-comment{padding:18px 0 20px;border-bottom:1px solid #cbdcd2}.issue-comment>p{margin:0 0 8px;overflow-wrap:anywhere}.issue-comment-foot{display:flex;align-items:center;justify-content:space-between;gap:8px 14px;color:var(--muted);font-size:.78rem}.issue-comment-foot .btn{min-height:30px;padding:4px 8px;color:var(--green)}.issue-replies{margin-top:12px}.issue-replies .issue-comment{padding:12px 0 0}.issue-replies .issue-comment+.issue-comment{margin-top:12px;border-top:1px solid #e6eee8}
#close-dialog.btn{width:38px;height:38px;min-height:38px;padding:0;border:1px solid #a7c7ad;border-radius:8px;background:#e7f3e6;color:#236447;font-size:1.05rem;font-weight:700}#close-dialog.btn:hover,#close-dialog.btn:focus-visible{background:#d3ead2;border-color:#27644d}
.issue-table-wrap .issue-closed-table{min-width:820px}.issue-final-message{min-width:240px;max-width:520px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.issue-choice-group{min-width:0;margin:0 0 20px;padding:0;border:0}.issue-choice-group legend{margin-bottom:9px;font-size:.875rem;font-weight:600}.issue-choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.issue-priority-options{grid-template-columns:repeat(3,minmax(0,1fr))}.issue-choice{position:relative;display:block;margin:0;cursor:pointer}.issue-choice input{position:absolute;width:1px;height:1px;min-height:1px;padding:0;opacity:0}.issue-choice span{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:72px;padding:13px 16px;border:1px solid #cddfd2;border-radius:9px;background:#f8fbf8;color:var(--ink);transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.issue-choice small{color:var(--muted);font-size:.76rem;font-weight:400}.issue-choice:hover span{border-color:var(--green);background:#f0f8ee}.issue-choice input:checked+span{border-color:var(--green);background:#e3f2df;box-shadow:inset 0 0 0 1px var(--green)}.issue-choice input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}.issue-selected-files{list-style:none;margin:8px 0 0;padding:0}.issue-selected-files:empty{display:none}.issue-selected-files li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px solid var(--line);font-size:.8rem}.issue-selected-files li span{overflow-wrap:anywhere}.issue-selected-files .btn{min-height:30px;padding:4px 8px;font-size:.76rem}
@media(max-width:700px){.issue-choice-options,.issue-priority-options{grid-template-columns:1fr}.issue-choice span{min-height:60px}}
.issue-status-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.issue-status-options .issue-choice span{align-items:center;min-height:64px;padding:9px 6px;text-align:center;font-size:.8rem}.issue-choice input:disabled+span{opacity:.5;cursor:not-allowed;background:#f1f3f1}.issue-editable-badge{border:1px solid #b7d0bd;cursor:pointer}.issue-editable-badge:hover,.issue-editable-badge:focus-visible{background:#e2f0df;border-color:var(--green)}#planned-at-field[hidden]{display:none}
@media(max-width:700px){.issue-status-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.svj-settings-page>.card+.card{margin-top:32px}.svj-history-card .actions{margin-bottom:0}.svj-history-card #rule-history{margin-top:22px;border-top:1px solid var(--line)}.svj-history-card #rule-history[hidden]{display:none}.svj-history-entry{padding:20px 0;border-bottom:1px solid var(--line)}.svj-history-entry:last-child{border-bottom:0;padding-bottom:0}.svj-history-entry h3{margin-bottom:10px}.svj-history-entry p{margin:5px 0;overflow-wrap:anywhere}.svj-history-entry p strong{color:var(--ink)}
.svj-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.svj-module-tile{min-width:0;min-height:155px;display:flex;flex-direction:column;padding:16px;border:1px solid var(--line);border-radius:10px;background:#f9fbf9}.svj-module-tile.is-off{background:#f7f8f7}.svj-module-tile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.svj-module-tile h3{margin:3px 0 8px;line-height:1.3}.svj-module-tile p{font-size:.8rem;color:var(--muted);line-height:1.4;margin:0 0 12px}.svj-module-tile .check{margin:auto 0 0;font-size:.8rem}.svj-module-tile .badge{flex-shrink:0}.svj-module-tile.is-off h3{color:#66766b}@media(max-width:1150px){.svj-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.svj-module-grid{grid-template-columns:1fr}.svj-module-tile{min-height:130px}}
.sidebar .nav-label-secondary{margin-top:20px;padding-top:18px;border-top:1px solid #ffffff20}
.working-group-card{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:28px;align-items:start}.working-group-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:14px}.working-group-title h2{margin:0}.working-group-detail-table{table-layout:fixed}.working-group-detail-table th{width:185px;white-space:normal;vertical-align:top;color:var(--ink);font-weight:600}.working-group-detail-table td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.working-group-table-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}.working-group-table-item:first-child{padding-top:0}.working-group-table-item:last-child{border-bottom:0;padding-bottom:0}.working-group-table-item small{color:var(--muted)}.working-group-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;border-left:1px solid var(--line);padding-left:22px}.working-group-actions .btn{width:100%}.working-group-actions small{line-height:1.4}.working-group-actions .working-group-delete{margin-top:12px}@media(max-width:700px){.working-group-card{grid-template-columns:1fr;gap:16px}.working-group-actions{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.working-group-detail-table th{width:115px}.working-group-table-item{align-items:flex-start;flex-wrap:wrap}}

.svj-expense-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;padding:8px 0 14px}.svj-expense-options .check{margin:4px 0}@media(max-width:700px){.svj-expense-options{grid-template-columns:1fr}}

.svj-finance-table{min-width:940px;table-layout:fixed}.svj-finance-table th:nth-child(1){width:23%}.svj-finance-table th:nth-child(2){width:19%}.svj-finance-table th:nth-child(3){width:28%}.svj-finance-table th:nth-child(4){width:30%}.svj-finance-table td{vertical-align:top;padding:20px 18px;white-space:normal;overflow-wrap:anywhere}.svj-finance-table td>strong{display:block;margin-bottom:9px}.svj-policy-list{margin:8px 0 0;padding-left:18px;line-height:1.6}.svj-policy-step{display:flex;flex-direction:column;gap:3px;padding:0 0 11px;margin-bottom:11px;border-bottom:1px solid var(--line)}.svj-policy-step:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.svj-policy-step span,.svj-policy-values small{color:var(--muted)}.svj-policy-values{display:grid;gap:11px}.svj-policy-values small{display:block;margin-top:3px}.svj-policy-values .btn{justify-self:start;margin-top:4px}
.owner-admin-actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;min-width:12rem}
.owner-admin-actions .btn{font-size:.7rem;line-height:1.15;padding:.25rem .45rem;min-height:28px;white-space:nowrap}
.unit-ownership-history{margin-top:1.5rem}
.unit-ownership-history td{vertical-align:top;min-width:6rem}
.overview-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.overview-member-grid>.overview-issues-card{grid-column:1/-1}
.member-owner-panel{max-width:920px}
.member-owner-body{padding:28px 32px}
@media(max-width:700px){.overview-member-grid{grid-template-columns:1fr}.member-owner-body{padding:20px}}
.task-view-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--line)}
.task-view-tabs .btn{min-height:32px;padding:6px 10px;font-size:.78rem}
.task-view-tabs .task-view-mine.btn{background:#eaf1fa;border-color:#bfd3eb;color:#365c83}.task-view-tabs .task-view-mine.btn.primary{background:#dceafa;border-color:#7faad5;color:#244c76;box-shadow:inset 0 0 0 1px #7faad5}.task-view-tabs .task-view-mine.btn:hover{background:#dceafa}
.environment-badge.badge{border:1px solid currentColor;font-weight:650}.environment-badge.blue{border-color:#b9d0eb}.environment-badge.green{border-color:#b9dcba}.environment-badge.red{border-color:#efb7b7}
.topbar-status{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.version-button{border:0;background:none;padding:0 2px;color:#51685c;font-size:.7rem;line-height:1.2;text-decoration:underline;text-underline-offset:2px}.version-button:hover{color:var(--green)}dialog.health-dialog{width:390px}.health-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.88rem}.health-overall{margin:18px 0 10px;padding:12px 14px;border-radius:8px;font-weight:650}.health-overall.is-ok{background:#eaf4e6;color:#356143}.health-overall.is-error{background:#fceaea;color:#983f3f}
.topbar-right .logout-button{flex-direction:column;gap:2px;padding:5px 8px;min-height:48px;font-size:.7rem;line-height:1.1}
.health-scope{margin:12px 0 0;line-height:1.4}
@media(max-width:700px){.topbar-right .environment-badge.badge{display:inline-flex;font-size:.65rem;padding:4px 6px}.topbar>span{flex:1}.topbar-right{flex-shrink:0}}
.task-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(4,minmax(125px,1fr));gap:9px;padding:16px 22px}
.task-filters input,.task-filters select{min-width:0}
.task-table{min-width:1120px}.task-table th,.task-table td{padding:12px 14px}.task-row{cursor:pointer}.task-row:hover{background:#f3f8f4}.task-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.task-status-open{background:#eaf1fa;color:#466588}.task-status-deferred{background:#fff2df;color:#946018}.task-status-done{background:#eaf4e6;color:#356143}.task-status-archive{background:#edf1ee;color:#66766b}.task-status-cancelled{background:#fceaea;color:#983f3f}
.task-quick-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.task-quick-btn.btn{min-height:27px;padding:3px 7px;font-size:.7rem;line-height:1.1;font-weight:600}
.task-detail-layout{display:grid;grid-template-columns:1fr;gap:24px}.task-detail-layout.has-source{grid-template-columns:minmax(0,1fr) minmax(250px,.82fr)}
.task-main-panel,.task-source-panel{min-width:0}.task-source-panel{padding:20px;background:#f4f8f5;border:1px solid var(--line);border-radius:10px;align-self:start;position:sticky;top:0}
.task-source-panel p,.task-description,.task-note p{white-space:pre-wrap;overflow-wrap:anywhere}.task-source-panel small{display:block;color:var(--muted);margin-bottom:14px}
.task-source-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0;font-size:.8rem}.task-source-status>span:first-child{color:var(--muted)}.task-source-date{margin:0 0 10px;font-size:.82rem}.task-source-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.task-source-actions .btn{min-height:34px;padding:7px 10px;font-size:.76rem}
.task-source-attachments{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.task-source-attachments a{display:grid;gap:5px;font-size:.78rem;max-width:140px;overflow-wrap:anywhere}.task-source-attachments img{max-width:130px;max-height:100px;border-radius:6px}
.task-note{padding:12px 0;border-bottom:1px solid var(--line)}.task-note p{margin:0 0 4px}.task-note small{color:var(--muted)}.task-detail-tabs{display:none}
.task-history-wrap{overflow-x:auto}.task-history-table{width:100%;min-width:480px;border-collapse:collapse;font-size:.84rem}.task-history-table th,.task-history-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.task-history-table th{background:#f4f8f5;white-space:nowrap}.task-history-table td:first-child{white-space:nowrap}.task-history-table td:last-child{overflow-wrap:anywhere}.task-history-table .sort-heading{width:100%;text-align:left}
.task-organ-permissions{padding:18px 0;border-top:1px solid var(--line)}.task-rights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 15px;margin:12px 0}.task-rights .check{margin:5px 0}
@media(max-width:900px){.task-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.task-detail-layout.has-source{grid-template-columns:1fr}.task-detail-tabs{display:flex;gap:8px;margin-bottom:16px}.task-detail-layout.has-source .task-source-panel{display:none}.task-detail-layout.has-source.show-source .task-main-panel{display:none}.task-detail-layout.has-source.show-source .task-source-panel{display:block;position:static}.task-rights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.task-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.task-filters input{grid-column:1/-1}.task-view-tabs{padding:14px}.task-rights{grid-template-columns:1fr}}
