@font-face{font-family:MyestInter;font-weight:400;src:url(/static/fonts/Inter-400.woff)}
@font-face{font-family:MyestInter;font-weight:500;src:url(/static/fonts/Inter-500.woff)}
@font-face{font-family:MyestInter;font-weight:700;src:url(/static/fonts/Inter-700.woff)}




body{color-scheme:only light;font-family:MyestInter,Arial,sans-serif;color:#1a1a1a;font-size:14px;line-height:1.5;background:#f5f6fa;border:1px solid #e4e5ee;border-radius:16px;overflow:hidden}
body *{box-sizing:border-box}
body [hidden]{display:none!important}
body button,body input,body select{font:inherit}
body button{cursor:default}
body .shell{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:690px}
body .sidebar{background:#fff;border-right:1px solid #e8e9f0;padding:24px 14px;display:flex;flex-direction:column}
body .brand{padding:0 12px 24px;display:flex;align-items:center;gap:10px;color:#101058;font-weight:700;letter-spacing:2px;font-size:22px}
body .brand img{width:65px;height:65px;object-fit:contain}
body .brand small{font-size:11px;letter-spacing:1.3px;color:#797a8b;display:block;font-weight:500}
body .nav-item{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#656579;text-align:left;width:100%;padding:11px 13px;border-radius:8px;margin:3px 0;font-size:13px;font-weight:500}
body .nav-item.active{color:#702880;background:#f3edf6;font-weight:700}
body .nav-item i{width:17px;height:17px}
body .side-bottom{margin-top:auto;padding:26px 12px 0;font-size:11px;color:#818195}
body .profile{border-top:1px solid #ededf3;padding:17px 10px 0;margin-top:15px;display:flex;align-items:center;gap:9px;font-size:12px;color:#44445f}
body .avatar{width:31px;height:31px;border-radius:50%;background:#eeeff7;display:grid;place-items:center;color:#101058;font-size:11px;font-weight:700}
body .main{min-width:0}
body .topbar{background:#fff;border-bottom:1px solid #e8e9f0;padding:19px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6c6c81;font-size:12px}
body .crumb{color:#101058;font-weight:600}
body .preview-tag{border:1px solid #e6dfeb;border-radius:5px;padding:3px 8px;color:#775481;font-size:11px;white-space:nowrap}
body .content{padding:27px 28px 30px}
body h1{margin:0;color:#101058;font-size:27px;font-weight:650;letter-spacing:-.8px;line-height:1.25}
body h2{font-size:15px;font-weight:650;color:#101058;margin:0}
body p{margin:7px 0 0;color:#76768a;font-size:12px}
body .page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}
body .action{background:#702880;color:#fff;border:1px solid #702880;border-radius:7px;padding:10px 14px;font-size:12px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px}
body .action.secondary{background:#fff;border-color:#dfe0eb;color:#41415d}
body .action.subtle{background:transparent;border-color:transparent;color:#702880;padding:5px 0}
body .action i{width:15px;height:15px}
body .month-card{background:linear-gradient(110deg,#101058,#272466);padding:23px 24px;border-radius:11px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
body .eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#c4c3df;margin-bottom:6px}
body .month-card h2{font-size:22px;color:#fff;font-weight:600;letter-spacing:-.4px}
body .month-card p{color:#cdcee3;font-size:12px;margin-top:6px}
body .month-state{text-align:right;font-size:11px;color:#cdcee3;white-space:nowrap}
body .month-state strong{display:block;font-size:28px;font-weight:500;color:#fff;line-height:1.1}
body .section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:12px}
body .panel{background:#fff;border:1px solid #e5e6ef;border-radius:10px;padding:19px 20px;margin-bottom:20px}
body .property-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
body .property-icon{height:43px;width:43px;border-radius:9px;background:#f0f0f8;color:#101058;display:grid;place-items:center;flex-shrink:0}
body .property-icon i{width:21px;height:21px}
body .property-copy{flex:1;min-width:140px}
body .property-name{font-size:14px;font-weight:600;color:#26264c}
body .muted{font-size:11px;color:#7d7d90}
body .badge{font-size:10px;border-radius:5px;padding:4px 7px;background:#f8f2e8;color:#8a6424;white-space:nowrap}
body .badge.ready{background:#ecf5f0;color:#3c7158}
body .row-meta{display:flex;gap:24px;border-top:1px solid #efeff5;margin-top:17px;padding-top:14px;flex-wrap:wrap}
body .row-meta span{font-size:11px;color:#7d7d90}
body .row-meta b{display:block;font-size:12px;color:#4a4a63;font-weight:500;margin-top:2px}
body .history-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid #ededf4;gap:14px}
body .history-row:first-child{border:0}
body .history-title{font-size:12px;color:#393954;font-weight:500}
body .money{font-variant-numeric:tabular-nums;color:#101058;font-weight:600;white-space:nowrap}
body .history-end{display:flex;align-items:center;gap:18px}
body .form-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;align-items:start}
body .form-panel{padding:18px;background:#fff;border:1px solid #e5e6ef;border-radius:10px;margin-bottom:16px}
body .form-panel h2{margin-bottom:16px}
body .fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
body label{display:block;font-size:11px;font-weight:600;color:#5b5b73;min-width:0}
body input,body select{display:block;width:100%;min-width:0;border:1px solid #dedfea;border-radius:6px;background:#fff;color:#2c2c47;padding:8px 9px;margin-top:5px;font-size:12px;min-height:35px}
body input:focus,body select:focus{outline:2px solid #ad8ab8;outline-offset:1px}
body .full{grid-column:1/-1}
body .context{padding:10px 12px;background:#f7f7fb;border-radius:6px;font-size:11px;color:#717187;margin-top:14px}
body .context b{color:#444460;font-weight:600}
body .line-item{padding:14px 0;border-top:1px solid #eeeef4}
body .line-item:first-of-type{border:0;padding-top:0}
body .line-fields{display:grid;grid-template-columns:1fr 85px 65px;gap:10px;margin-top:10px}
body .summary{background:#fff;border:1px solid #dedfeb;border-radius:10px;overflow:hidden}
body .summary-body{padding:18px}
body .summary h2{font-size:14px;margin-bottom:18px}
body .sum-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#75758a;margin:11px 0}
body .sum-line strong{font-weight:500;color:#33334f;white-space:nowrap}
body .payable{background:#f2f1f8;padding:17px 18px;border-top:1px solid #e4e2ee}
body .payable span{font-size:11px;color:#64647c;display:block}
body .payable strong{display:block;font-size:26px;letter-spacing:-.7px;color:#101058;font-weight:650;margin-top:3px}
body .summary-actions{padding:16px 18px}
body .summary-actions button{width:100%;white-space:normal}
body .document-pair{display:flex;gap:7px;padding-top:12px;font-size:10px;color:#75758a;justify-content:center}
body .save-status{margin-top:12px;font-size:11px;color:#702880}
body .settings-note{margin-bottom:18px}
body .settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
body .settings-grid .panel{margin-bottom:0}
body .settings-grid h2{margin-bottom:15px}
body .settings-grid label+label{margin-top:12px}
body .setting-line{padding:13px 0;border-top:1px solid #ededf4;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#595970}
body .setting-line b{font-weight:500;color:#101058}
body .bottom-actions{display:flex;justify-content:flex-end;margin-top:20px}
body .section-caption{font-size:11px;color:#8a8a9a}
@media(max-width:850px){body .shell{grid-template-columns:155px minmax(0,1fr)}body .content{padding:23px 20px}body .form-layout{grid-template-columns:1fr}body .summary{max-width:none}body .brand{padding-left:4px}body .brand small{font-size:9px}body .sidebar{padding:20px 10px}}
@media(max-width:600px){body .shell{display:block;min-height:0}body .sidebar{padding:10px 12px;border-right:0;border-bottom:1px solid #e8e9f0}body .brand{padding:0 0 8px;font-size:18px}body .brand img{width:43px;height:43px}body .nav-group{display:flex;flex-wrap:wrap;gap:3px}body .nav-item{width:auto;font-size:11px;padding:8px;gap:5px}body .nav-item i{width:14px;height:14px}body .side-bottom,body .profile{display:none}body .content{padding:19px 14px}body .topbar{padding:12px 15px}body .page-heading{flex-wrap:wrap}body h1{font-size:24px}body .settings-grid{grid-template-columns:1fr}body .panel{padding:16px}body .line-fields{grid-template-columns:1fr 1fr}body .line-fields label:first-child{grid-column:1/-1}body .month-card{padding:19px 17px}body .history-end{gap:10px}body .fields{grid-template-columns:1fr}body .full{grid-column:auto}body .action{min-height:40px}body input,body select{font-size:16px}}

body .record-tabs{display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid #e2e3ed;padding-bottom:12px;margin-bottom:20px}
body .record-tab{background:transparent;color:#76768a;border:0;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:500}
body .record-tab[aria-pressed="true"]{background:#eeeaf4;color:#702880;font-weight:700}
body .record-actions{display:flex;flex-wrap:wrap;gap:8px}
body .detail-list{margin:8px 0 17px}
body .detail-list>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:15px;padding:12px 0;border-bottom:1px solid #eeeef5}
body dt{font-size:12px;color:#7b7b8e}
body dd{font-size:13px;margin:0;color:#373750;overflow-wrap:anywhere}
body .suggestion-row{padding:14px 0;border-bottom:1px solid #e5e6ef}
body .preview-tag{white-space:normal;text-align:right}
@media(max-width:600px){body .detail-list>div{grid-template-columns:100px minmax(0,1fr)}body .record-tab{min-height:40px}body .setting-line{flex-wrap:wrap}}

body{margin:0;border:0;border-radius:0;min-height:100vh;overflow:visible}a{color:#702880}button,a{cursor:pointer}.shell{min-height:100vh!important}.sidebar{position:sticky;top:0;height:100vh}.sidebar nav a{display:block;margin:4px 0;padding:11px 13px;border-radius:8px;text-decoration:none;color:#656579;font-size:13px}.sidebar nav a.active{color:#702880;background:#f3edf6;font-weight:700}.brand{text-decoration:none}.brand span{font-size:10px;letter-spacing:1px;color:#797a8b}.profile{flex-wrap:wrap}.profile form{margin:0}.link-button{border:0;background:none;color:#702880;padding:0;font-size:11px}.version{font-size:11px}.error{padding:13px 16px;background:#fff0f1;border:1px solid #edc5cc;color:#9a293d;border-radius:8px;margin-bottom:16px;font-size:13px}.notice{padding:12px 15px;background:#edf5f1;color:#3c7158;border-radius:8px;margin-bottom:16px}.auth-page{display:grid;place-items:center;min-height:100vh}.auth-box{width:min(420px,calc(100% - 32px));padding:32px;background:#fff;border:1px solid #e4e5ee;border-radius:14px}.auth-box label{margin-top:16px}.auth-box .action{width:100%;margin-top:22px}.check{display:flex;align-items:center;gap:9px}.check input{width:16px;min-height:16px;margin:0}textarea{display:block;width:100%;font:inherit;font-size:12px;border:1px solid #dedfea;border-radius:6px;padding:8px 9px;margin-top:5px;min-height:70px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{padding:12px 8px;text-align:left;border-bottom:1px solid #ededf4;vertical-align:top}.data-table th{color:#75758a;font-size:11px;font-weight:600}.data-table a{text-decoration:none}.data-table td:last-child{text-align:right}.data-table .description input{min-width:220px}.data-table input{min-width:85px}.data-table input[type=checkbox]{min-width:16px;width:16px}.data-table input[type=date]{min-width:135px}.compact-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-panel details{margin-top:16px}.form-panel summary{color:#702880;font-size:12px;cursor:pointer}.action:disabled{opacity:.5;cursor:wait}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.metric{border:1px solid #e5e6ef;border-radius:10px;padding:18px;background:#fff}.metric span{font-size:11px;color:#7d7d90}.metric strong{display:block;color:#101058;font-size:22px;margin-top:7px}.document-view{width:100%;height:700px;border:1px solid #e5e6ef;border-radius:10px;background:#fff;margin-top:18px}.field-help{font-size:11px;color:#7d7d90;margin-top:5px}.danger{color:#a52d43}.panel h2+form{margin-top:14px}summary{cursor:pointer}dl{margin:0}.detail-list dd{white-space:pre-line}.record-tabs button{cursor:pointer}.bottom-actions{gap:8px}.suggestion-row{border-bottom:1px solid #ededf4;padding:12px 0}.doc-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.doc-links a{font-size:12px}.badge{display:inline-block}.muted{line-height:1.6}.empty{padding:32px;text-align:center}.full{grid-column:1/-1}.archive{color:#7d7d90}.form-panel .line-fields label{font-size:11px}@media(max-width:600px){.sidebar{position:static;height:auto}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav a{font-size:11px;padding:8px}.compact-fields,.metrics{grid-template-columns:1fr}.form-panel{padding:14px}.document-view{height:550px}.topbar{gap:8px}.sidebar .brand{display:flex}.auth-box{padding:24px}.field-help{font-size:12px}}
.record-tab[aria-current=page]{background:#eeeaf4;color:#702880;font-weight:700}

/* Development 0.2: shared form controls and portfolio hierarchy. */
body .action,body .action:hover,body .action:focus,body .link-button{text-decoration:none}
body input,body select,body textarea{font-family:MyestInter,Arial,sans-serif;font-weight:400;font-size:13px;line-height:1.5;color:#1a1a1a;border:1px solid #dfe0eb;border-radius:8px;background-color:#fff;padding:10px 12px;min-height:42px}
body label,body .field-label{font-weight:500;font-size:12px;color:#565a70}
body select{appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m4 5 3 3 3-3' fill='none' stroke='%23676b80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
body input:focus,body select:focus,body textarea:focus{outline:2px solid #b395c0;outline-offset:1px;border-color:#9063a0}
body .topbar .profile{border:0;margin:0;padding:0;display:flex;gap:9px;flex-wrap:wrap}
body .topbar .profile .avatar{flex-shrink:0}
body .side-bottom{padding-bottom:14px;border-bottom:1px solid #e4e5ee;margin-bottom:0}
body .topbar{min-height:71px;flex-wrap:wrap}
body .bottom-actions{gap:9px;flex-wrap:wrap}
body .page-heading,body .section-title{flex-wrap:wrap}
body .panel>h2{margin-bottom:14px}
body .panel>label{margin:10px 0}
body .conditional-fields{min-width:0}
body .conditional-fields>.fields{margin:12px 0}
body .fields .conditional-fields>.fields,body .compact-fields .conditional-fields>.fields{margin:0;grid-template-columns:1fr}
body .tenant-name-row{display:flex;align-items:flex-end;gap:12px;margin:12px 0}
body .tenant-name-row>label{flex:1}
body .field-error{display:block;font-weight:400;color:#a02c42;font-size:12px;margin-top:6px}
body .field-invalid{border-color:#b34558!important}
body .range-fields{display:flex;gap:12px;flex-wrap:wrap;min-width:0}
body .range-fields>label{color:#e4e5f3;width:151px;max-width:100%}
body .month-card{flex-wrap:wrap;padding:20px 22px}
body .month-card h2{font-size:17px}
body .metrics{margin-bottom:26px}
body .metric{min-height:116px;padding:18px}
body .metric strong{font-size:29px;font-weight:700;color:#101058;letter-spacing:-.7px;font-variant-numeric:tabular-nums}
body .date-control{display:flex;position:relative;min-width:0;margin-top:5px}
body .date-control>input:not([type=hidden]){margin:0;padding-right:40px;width:100%;font-weight:400}
body .date-control>.date-open{position:absolute;right:2px;top:2px;bottom:2px;width:35px;border:0;border-radius:7px;background:transparent;color:#702880;font-size:20px;display:grid;place-items:center;padding:0}
body .date-open:hover{background:#f3edf6}
body .date-control .field-error{position:relative}
body .data-table .date-control{min-width:145px}
body .data-table .date-control input{min-width:0}
body .portfolio-landlord{border:1px solid #e4e6ee;border-radius:12px;background:#fff;margin:12px 0;overflow:hidden}
body .portfolio-landlord summary{list-style:none;display:flex;align-items:center;gap:11px;cursor:pointer;padding:16px;min-width:0}
body .portfolio-landlord summary::-webkit-details-marker{display:none}
body .portfolio-landlord summary>div{min-width:0}
body .portfolio-landlord summary strong{display:block;color:#101058;font-size:13px;font-weight:500;overflow-wrap:anywhere}
body .portfolio-landlord summary .muted{display:block;margin-top:2px}
body .tree-chevron{font-size:23px;color:#77798c;display:block;flex:0 0 12px;transition:transform .15s}
body .portfolio-landlord details[open]>summary>.tree-chevron,body details.portfolio-landlord[open]>summary>.tree-chevron{transform:rotate(90deg)}
body .tree-person{width:33px;height:33px;background:#f2edf5;color:#702880;border-radius:9px;display:grid;place-items:center;font-weight:500;flex-shrink:0}
body .tree-count{margin-left:auto;color:#747789;font-size:11px}
body .portfolio-properties{border-left:1px solid #e4e6ee;margin:0 17px 15px 39px;padding-left:15px}
body .portfolio-property+ .portfolio-property{border-top:1px solid #ececf3}
body .portfolio-property>summary{padding:13px 0}
body .portfolio-property>summary>.badge{margin-left:auto}
body .portfolio-tenancies{margin-left:15px;padding-left:14px;border-left:1px solid #e4e6ee}
body .portfolio-tenancy>summary{padding:10px 0}
body .portfolio-documents{padding:0 0 12px 24px}
body .tree-property-actions{padding:4px 0 9px;display:flex;gap:7px;flex-wrap:wrap}
body .tree-property-actions .action,body .tree-document .action{padding:6px 10px;font-size:11px}
body .tree-document{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f6f7fb;border-radius:8px;padding:10px 12px;margin:7px 0}
body .tree-document>div{flex:1;min-width:130px}
body .tree-document strong,body .tree-document .muted{display:block;font-size:12px;font-weight:400}
body .tree-document strong{color:#101058;font-weight:500}
body .tree-document .muted{font-size:11px}
body .tree-empty{padding:8px 0}
body .calendar-dialog{width:min(334px,calc(100vw - 24px));border:1px solid #e1dce9;border-radius:15px;padding:17px;background:#fff;color:#1a1a1a;box-shadow:0 20px 70px #10105826;max-height:calc(100dvh - 32px);overflow:auto}
body .calendar-dialog::backdrop{background:#10103338}
body .calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
body .calendar-heading h2{font-size:15px;color:#101058}
body .calendar-dialog button{border:0;border-radius:7px;background:transparent;color:#101058;font:inherit;min-width:32px;min-height:35px;padding:5px;cursor:pointer}
body .calendar-dialog button:hover{background:#f3edf6;color:#702880}
body .calendar-jump{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin:13px 0}
body .calendar-jump input,body .calendar-jump select{font-size:12px;min-height:36px;padding:7px 9px}
body .calendar-jump select{padding-right:30px}
body .calendar-weekdays,body .calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
body .calendar-weekdays{font-size:11px;color:#6f7084;padding:3px 0 8px}
body .calendar-days button{font-size:13px;font-weight:400;aspect-ratio:1;min-width:0;padding:4px}
body .calendar-days [aria-selected=true]{background:#702880;color:#fff}
body .calendar-days [aria-current=date]{box-shadow:inset 0 0 0 1px #702880}
body .calendar-bottom{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e4e6ee;margin-top:12px;padding-top:9px}
body .calendar-bottom button{font-size:12px}
@media(max-width:850px){body .compact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body .topbar .profile{display:flex}body .sidebar .side-bottom{display:block;padding:8px 4px;font-size:11px}body .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body .metric:first-child{grid-column:1/-1}body .metric-empty{min-height:80px}body .compact-fields{grid-template-columns:1fr}body input,body select,body textarea{font-size:16px}body .range-fields{width:100%}body .range-fields>label{flex:1;width:auto}body .portfolio-properties{margin-left:24px;padding-left:10px}body .portfolio-tenancies{margin-left:8px;padding-left:9px}body .portfolio-documents{padding-left:9px}body .tree-count{display:none}body .tenant-name-row{gap:8px}body .calendar-dialog{padding:13px}body .calendar-jump input,body .calendar-jump select{font-size:16px}}
@media(prefers-reduced-motion:reduce){body .tree-chevron{transition:none}}
body button{cursor:pointer}
body .date-control{flex-wrap:wrap}
body .date-control>.date-open{height:38px;bottom:auto}
body .date-control>.field-error{flex-basis:100%}

/* 0.3: fixed notes, read-only Settings, and grouped form actions. */
body .notifications{position:fixed;right:20px;bottom:20px;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1200;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;pointer-events:none}
body .notification{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid;border-radius:10px;box-shadow:0 6px 24px #10105820;font-size:13px;line-height:1.6;pointer-events:auto;overflow-wrap:anywhere}
body .notification[hidden]{display:none}
body .notification-message{margin:0;flex:1;min-width:0}
body .notification-message a{display:inline-block;color:inherit;font-weight:700;text-decoration:underline}
body .notification-error{background:#fff0f1;border-color:#edc5cc;color:#9a293d}
body .notification-success{background:#edf5f1;border-color:#bdd9ca;color:#315f48}
body .notification-warning{background:#fff8e6;border-color:#e6d198;color:#795610}
body .notification-close{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:inherit;font:400 24px/1 MyestInter,Arial,sans-serif;cursor:pointer}
body .notification-close:hover{background:#1010580d}
body .notification-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}
body #settings-form textarea[name=address]{height:87.5px;min-height:87.5px;resize:none}
body .bottom-actions.actions-left{justify-content:flex-start}
body .settings-details dt{font-weight:500;font-size:12px;color:#565a70;margin-bottom:5px}
body .settings-details dd{margin:0 0 18px;font-size:13px;white-space:pre-line;overflow-wrap:anywhere}
body .settings-details dd:last-child{margin-bottom:0}
body .settings-logo{display:block;max-width:160px;max-height:120px;object-fit:contain;margin:6px 0 18px}
body .bottom-actions .action{margin:0}
@media(max-width:600px){body .notifications{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 32px)}body .notification{padding:13px}body .bottom-actions{justify-content:flex-start}}

/* Annual mode and reporting-year controls share equal-width columns. */
body .annual-range-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
body .annual-range-controls>label,body .annual-range-controls>.conditional-fields{min-width:0;width:100%}
body .annual-range-controls select{width:100%;max-width:100%}
body .annual-custom-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:600px){body .annual-range-controls,body .annual-custom-dates{grid-template-columns:1fr}}

/* Simple monthly entry uses saved tenancy/fee data and computed amounts. */
body .monthly-context{display:grid;grid-template-columns:2fr 1fr 2fr;gap:12px;margin:18px 0 4px}
body .monthly-context dt{font-size:12px;color:#565a70;margin-bottom:5px}
body .monthly-context dd{margin:0;font-size:13px;overflow-wrap:anywhere}
body .monthly-exception{margin-top:14px}
body .monthly-exception>summary{font-size:12px;color:#702880}
body .monthly-exception .fields{margin-top:12px}
body .fee-preview{display:flex;flex-wrap:wrap;gap:24px;margin:16px 0;color:#565a70}
body .fee-preview strong{display:block;font-size:18px;color:#101058;margin-top:4px}
body [data-row-total]{display:block;white-space:nowrap;font-size:13px;margin-top:10px}
body [data-row-vat]{display:block;margin-top:7px;font-size:11px;color:#656474}
body [data-supplier-vat-amount]{margin-top:8px}
body [data-supplier-vat][hidden],body [data-supplier-vat-amount][hidden]{display:none}
body .row-actions{white-space:nowrap}
body .file-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
body .file-buttons .action{padding:6px 10px;font-size:11px}
body .document-reference{overflow-wrap:anywhere}
@media(max-width:600px){body .monthly-context{grid-template-columns:1fr}body .fee-preview{gap:16px}}

body .documents-table td:last-child{text-align:left}
body .documents-table .file-buttons{margin-top:0}
body .document-period{white-space:nowrap}

/* 0.4.9.1: compact account stack and divider above the version. */
body .side-bottom{border-bottom:0;border-top:1px solid #e4e5ee;padding:14px 12px 0;margin-top:auto;color:#656474}
body .topbar .profile{flex-wrap:nowrap;gap:10px;color:#44445f}
body .topbar .profile .avatar{width:44px;height:44px;font-size:14px}
body .profile-details{display:flex;flex-direction:column;justify-content:center;max-width:210px;min-width:0;height:44px}
body .profile-name{font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .topbar .profile .link-button{font-size:13px;line-height:20px;min-height:24px;text-align:left;color:#702880}
body .topbar .profile .link-button:focus-visible{outline:2px solid #702880;outline-offset:2px;border-radius:2px}
body .custom-items-table .description{width:100%}
body .custom-items-table .description input{min-width:260px}
@media(max-width:600px){body .profile-details{max-width:140px}body .sidebar .side-bottom{border-bottom:0;border-top:1px solid #e4e5ee}}

/* 0.4.9.2: compact annual controls and reserved space for custom VAT. */
body .annual-range-controls{max-width:680px}
body .annual-report-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
body .annual-report-row .file-buttons{margin-top:0;flex-shrink:0}
body .custom-items-table{table-layout:fixed;min-width:1080px}
body .custom-items-table .description{width:auto}
body .custom-items-table .description input{min-width:0}
body .custom-items-table input,body .custom-items-table select{width:100%;min-width:0;box-sizing:border-box}
body .custom-items-table [data-supplier-vat]{min-width:170px}
body .custom-items-table .row-actions .action{padding:8px 10px}
@media(max-width:600px){body .annual-report-row{align-items:flex-start;flex-wrap:wrap}}

body .sidebar .brand{justify-content:center;width:100%}

/* Annual generation sits beside the selected range; stack on narrow screens. */
body .annual-generation-row{display:grid;grid-template-columns:minmax(0,680px) max-content;align-items:end;gap:12px}
body .annual-generation-row>button{margin:0;min-height:40px}
@media(max-width:800px){body .annual-generation-row{grid-template-columns:minmax(0,1fr);justify-items:start}body .annual-generation-row>.annual-range-controls{width:100%}}
