@font-face{font-family:Tajawal;src:url(/fonts/Tajawal-Regular.ttf) format("truetype");font-weight:400;font-display:swap}:root{font-family:Tajawal,Segoe UI,Tahoma,sans-serif;color:#233a35;background:#f4f6f3;font-synthesis:weight;--green: #174d40;--muted: #71817b;--line: #e3e9e4;--amber: #b47a2d}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe3dd;border-radius:9px;background:#fff;color:#314d43;padding:10px 15px;cursor:pointer;text-decoration:none;font-weight:600;transition:.15s}button:hover,.button:hover{background:#edf3ee;border-color:#abc0b1}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #abcbbb;outline-offset:3px}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#22644f;color:#fff}.primary.soft{background:#edf5ef;color:var(--green);border-color:#d7e7da}.icon{padding:7px;border:0;background:transparent;flex-shrink:0}input,select,textarea{width:100%;border:1px solid #d6dfd8;background:#fff;color:#253d34;border-radius:8px;padding:11px 12px;min-height:44px;outline:none}input:focus,select:focus,textarea:focus{border-color:#648e79;box-shadow:0 0 0 3px #dceadf}input[type=number],input[type=date],input[type=tel]{direction:ltr;text-align:right}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--green)}fieldset{border:0;margin:0;padding:0;min-width:0}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.5;margin-bottom:6px;font-weight:700;letter-spacing:-.5px}h2{font-size:19px;margin-bottom:10px;display:flex;align-items:center;gap:10px}p{line-height:1.8}small{font-size:12px;color:var(--muted)}.app-shell{display:flex;min-height:100vh}.contract-dates{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.contract-dates>div{display:flex;flex-direction:column;gap:5px;padding:12px 16px;background:#edf5f1;border:1px solid var(--line);border-radius:10px}.contract-dates span{font-size:13px;color:var(--green)}.contract-dates strong{font-size:20px;font-variant-numeric:tabular-nums}.sidebar{width:240px;position:fixed;inset-inline-start:0;top:0;bottom:0;background:#fff;border-inline-end:1px solid var(--line);display:flex;flex-direction:column;padding:32px 17px 18px;z-index:30}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--green);font-size:29px;font-weight:700;padding:0 13px 26px}.brand small{display:block;font-size:10px;letter-spacing:4px;color:#7c9085;margin-top:-2px}.brand-mark{height:49px;width:49px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;border-radius:14px;flex-shrink:0}.nav-label{font-size:11px;color:#99a59e;padding:8px 14px 0;letter-spacing:.5px;margin-bottom:8px}.sidebar nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#6c7b73;text-decoration:none;border-radius:8px;padding:11px 14px;font-size:14px;min-height:43px}.sidebar nav a span{flex:1}.sidebar nav a.nav-child{margin-inline-start:24px;padding-inline-start:12px;border-inline-start:2px solid var(--line, #dce5df);border-start-start-radius:0;border-end-start-radius:0;font-size:12px}.sidebar nav a:hover{background:#f5f7f3}.sidebar nav a.active{background:#eaf2eb;color:#174d40;font-weight:700}.sidebar-footer{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);margin-top:auto;padding:18px 8px 0;font-size:13px}.sidebar-footer small{display:block;margin-top:3px}.sidebar-footer .icon{margin-right:auto}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#f2eadb;color:#917447;border-radius:50%;font-size:18px}.workspace{margin-inline-start:240px;min-width:0;flex:1}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fafbf8;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.topbar>div{display:flex;align-items:center;gap:17px}.topbar>div>span{font-size:13px}.topbar-separator{color:#c3ccc4}.currency-chip{background:#fff;border:1px solid var(--line);padding:6px 10px;border-radius:6px}.today{color:#728277}.main{padding:32px 40px 48px;max-width:1550px;margin:auto;min-height:calc(100vh - 127px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{color:var(--muted);font-size:14px;margin:0}.toolbar{display:flex;align-items:center;gap:20px;margin-bottom:22px;flex-wrap:wrap}.toolbar>input{max-width:330px;background:#fff}.date-toolbar{justify-content:flex-start;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:10px}.date-toolbar label{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.date-toolbar input{padding:6px 10px;min-height:36px;max-width:160px}.date-toolbar a{margin-right:auto}.check{display:flex;align-items:center;gap:8px;font-size:13px;color:#5d7164;margin:10px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:23px;overflow:hidden}.padded{padding:25px}.section-heading{padding:24px 25px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading h2{margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:8px 0 0}.section-heading>svg{color:#9aaa9d}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:22px}.stat-icon{height:41px;width:41px;display:grid;place-items:center;border-radius:10px;margin-bottom:19px}.green{color:#397659;background:#e9f2eb}.amber{color:#b18a44;background:#fbf2e0}.blue{color:#5e83a2;background:#eef3f8}.purple{color:#8b7599;background:#f2edf6}.stat p{font-size:13px;color:var(--muted);margin-bottom:7px}.stat>strong{font-size:27px;font-weight:600;direction:ltr;display:block;text-align:right}.dashboard-columns{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:start}.count{font-size:12px;font-weight:400;background:#f0f3ed;border-radius:6px;padding:3px 7px;color:#7b8a7d}.attention-row{display:flex;align-items:center;width:100%;border:0;border-radius:0;padding:17px 25px;border-top:1px solid #eff2ec;gap:13px;text-align:right;font-weight:400}.attention-row strong{font-size:14px;display:block}.attention-row small{display:block;margin-top:7px}.attention-amount{margin-right:auto;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:600;white-space:nowrap}.attention-amount svg{color:#9baa9d}.attention-dot{width:8px;height:8px;border-radius:50%;background:#c4a466;flex-shrink:0}.attention-dot.overdue,.attention-dot.expired{background:#cf7968}.apartment-summary{padding:17px 25px;border-top:1px solid #eff2ec}.apartment-summary>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.apartment-summary strong{font-size:14px}.apartment-summary small{display:block;margin-top:9px}.progress{height:6px;background:#edf2ed;border-radius:4px;overflow:hidden}.progress i{display:block;height:100%;background:#72a18a;border-radius:4px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:14px;white-space:nowrap}th{background:#f9fbf7;font-size:12px;color:#7c8b80;font-weight:500;padding:15px 20px;border-bottom:1px solid var(--line)}td{padding:19px 20px;border-bottom:1px solid #eef2ec}td strong{font-weight:600}td small{display:block;margin-top:6px;max-width:270px;white-space:normal}tr:last-child td{border-bottom:0}td button{padding:7px 11px;font-size:12px}.row-actions{display:flex;gap:6px}.numeric{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}.positive{color:#388563}.text-danger{color:#b15b51}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;font-size:11px;white-space:nowrap;color:#658075;background:#eff3ed;line-height:1.5}.badge.paid{color:#368064;background:#eaf5ed}.badge.overdue{color:#b16a5d;background:#fff0eb}.badge.partial{color:#a58238;background:#fbf4e4}.badge.upcoming{color:#617c9c;background:#eef4fa}.badge.muted{color:#8e9890;background:#f0f1ed}.tenant-alerts{display:flex;flex-wrap:wrap;gap:5px}.empty{text-align:center;padding:48px 25px;color:#748578}.empty>span{display:block;font-size:17px;font-weight:600;margin-bottom:10px}.empty p{font-size:13px;margin:0;color:#94a096}.pager{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-top:1px solid var(--line);gap:10px}.pager>div{display:flex;gap:7px}.pager button{font-size:12px;padding:7px 12px}.footer{text-align:center;color:#9aaa9e;font-size:11px;padding:16px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#142d265e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:35px 15px;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto}.modal{background:#fff;border-radius:16px;padding:27px;width:600px;max-width:100%;box-shadow:0 20px 80px #11271d26}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:22px}.modal-head h2{margin:0;font-size:21px}.field{display:block;margin-bottom:17px;min-width:0}.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:#526858}.field small{display:block;margin-top:6px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:23px;display:flex;justify-content:flex-end}.form-actions .primary{min-width:130px}.error,.notice,.success{padding:14px 17px;margin:0 0 20px;border-radius:9px;font-size:13px;line-height:1.9;white-space:pre-wrap}.error{background:#fff0ed;border:1px solid #f1d5cf;color:#a34d43}.notice{background:#faf6e9;border:1px solid #eee5c7;color:#8e784b}.notice p{margin:5px 0 0}.success{background:#eaf5ee;color:#36734e}.hint{font-size:12px;color:#8a958b;line-height:1.8}.loading{display:flex;justify-content:center;align-items:center;gap:10px;padding:70px;color:#839084}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back{border:0;background:transparent;padding:0;margin-bottom:23px;color:#7a8e7c;font-size:13px}.contract-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{color:#89a08c;font-size:11px;letter-spacing:1px;margin-bottom:10px}.contract-hero p{color:#7a8c7e;font-size:13px;margin:7px 0 10px}.hero-actions{display:flex;gap:10px}.balance-card{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:27px;margin-bottom:24px}.balance-card>div>small{display:block;margin-bottom:11px}.balance-card strong{display:block;font-size:29px;font-weight:600;font-variant-numeric:tabular-nums}.balance-progress{grid-column:1/-1;padding-top:3px}.balance-progress small{margin-top:10px;margin-bottom:0!important}.details-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:0 25px;gap:15px;font-size:13px;color:#829181}.details-grid strong{display:block;color:#3d5645;margin-top:10px}.notes{padding:0 25px;white-space:pre-wrap;font-size:13px;color:#7f8a7e}.contract-notes{padding-top:18px}.contract-notes .notes{overflow-wrap:anywhere;line-height:1.8}.contract-note-text a{color:#245f55;text-decoration:underline;text-underline-offset:3px}.panel>details{padding:0 25px 23px}details summary{cursor:pointer;color:#65816b;font-size:13px;padding:10px 0}.history{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;padding:9px 0;margin:0}.payment-context{background:#edf5ee;border-radius:9px;padding:17px;display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:23px;color:#6b826f}.payment-context strong{font-size:26px;color:#2b674b}.amount-input{font-size:30px;text-align:center!important;padding:18px;font-weight:600}.installment-edit{padding-top:17px;border-bottom:1px solid var(--line)}.voided td{color:#a1aaa1}.voided td strong{text-decoration:line-through}.report-line{display:flex;justify-content:space-between;padding:17px 25px;border-top:1px solid var(--line)}.report-line.total{background:#eff6ef;color:#326a48;font-weight:600}.report-line~p,.report-line~.notice{margin:18px 25px}.filename{direction:ltr;text-align:right;font-size:12px}.message-preview{padding:20px;border-radius:10px;background:#eef6ed;white-space:pre-wrap}.mobile-menu{display:none}.login{min-height:100vh;display:flex;align-items:stretch;background:#fbfcf8}.login-story{background:#183f34;color:#fff;width:50%;padding:10vh 8vw;position:relative;overflow:hidden}.login-story .brand-mark{background:#305447;width:64px;height:64px;margin-bottom:28px}.login-story .eyebrow{color:#a9bfaa;margin-top:15px;letter-spacing:3px}.login-story h1{font-size:clamp(30px,3.5vw,52px);line-height:1.65;margin:23px 0}.login-story>p:last-of-type{font-size:15px;color:#acc2ae;max-width:330px;line-height:2}.login-form{width:50%;max-width:550px;margin:auto;padding:65px}.login-form>h2{font-size:29px;margin:13px 0}.login-form>p{color:#84937e;font-size:14px;margin-bottom:35px}.login-form .form-actions{border:0;padding-top:7px}.login-form .primary{width:100%;padding:14px}.login-lines{display:flex;gap:24px;position:absolute;bottom:-70px;left:-30px;transform:rotate(-20deg)}.login-lines i{display:block;width:80px;height:280px;border:1px solid #456454;border-radius:70px}.login-lines i:nth-child(2){height:380px;margin-top:-80px}.receipt{padding:25px;border:1px dashed #aab9a9;margin-bottom:25px}.receipt p{margin-bottom:15px}.nav-scrim{display:none}@media(min-width:1600px){.main{padding-top:45px}}@media(max-width:1150px){.sidebar{width:210px}.workspace{margin-inline-start:210px}.main{padding:28px 25px}.topbar{padding:0 25px}.stats-grid{gap:12px}.stat{padding:18px}.stat>strong{font-size:23px}.dashboard-columns{grid-template-columns:1.3fr 1fr}}@media(max-width:900px){.sidebar{transform:translate(100%);transition:.2s;width:240px}.sidebar.open{transform:translate(0)}.sidebar:dir(ltr):not(.open){transform:translate(-100%)}.workspace{margin-inline-start:0}.mobile-menu{display:inline-flex}.nav-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#12352260;z-index:25}.stats-grid{grid-template-columns:repeat(2,1fr)}.today{display:none}.login-story{padding:10vh 5vw}.login-form{padding:35px}.dashboard-columns{grid-template-columns:1fr}}@media(max-width:600px){.main{padding:24px 16px}.topbar{height:65px;padding:0 16px}.topbar>div{gap:9px}.topbar-separator,.topbar>div>small{display:none}h1{font-size:24px}.page-heading{align-items:flex-start;gap:12px}.page-heading>button{font-size:12px;padding:9px;flex-shrink:0}.page-heading p{font-size:12px}.stats-grid{gap:10px}.stat{padding:16px}.stat-icon{width:35px;height:35px;margin-bottom:12px}.stat p{font-size:11px}.stat>strong{font-size:23px}.date-toolbar{padding:11px;gap:10px}.date-toolbar label{gap:7px;font-size:11px}.date-toolbar input{font-size:12px;width:123px}.section-heading{padding:20px 17px}.section-heading h2{font-size:16px}.section-heading button{font-size:11px;padding:8px}.attention-row{padding:16px}.contract-hero{display:block}.hero-actions{margin-top:18px}.hero-actions>.primary{flex:1}.balance-card{padding:18px;gap:13px}.balance-card strong{font-size:22px}.balance-card small{font-size:10px}.form-grid{grid-template-columns:1fr}.installment-edit{grid-template-columns:1fr 1fr}.modal{padding:22px 18px}.overlay{padding:15px 10px}.details-grid{grid-template-columns:1fr}.table-wrap table{font-size:12px}th,td{padding:14px}.login{display:block}.login-story{width:100%;padding:30px 25px}.login-story h1{font-size:25px;margin:12px 0}.login-story h1 br{display:none}.login-story .brand-mark{margin:0;width:43px;height:43px}.login-story p:last-of-type{display:none}.login-form{width:100%;padding:35px 25px}.login-story .eyebrow{margin:15px 0}.login-lines{display:none}.pager small{font-size:10px}}@media print{body *{visibility:hidden}.receipt,.receipt *{visibility:visible}.receipt{position:fixed;top:0;right:0;bottom:0;left:0;margin:25px;padding:30px;border:1px solid #333;height:450px;background:#fff}.no-print{display:none}}.units-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;align-items:start}.unit-card{margin:0;min-width:0}.unit-card.all-vacant{background:#f7faff;border-color:#a5b4c5}.unit-card.has-debt{border-color:#e3aaaa}.unit-card.ending-soon{border-color:#e3bf76}.room-card{border:1px solid var(--border, #e1e7e3);border-radius:12px;padding:14px;margin:14px 0}.room-card.vacant{background:#f1f5f9;border-color:#a5b4c5;border-style:dashed}.contract-has-debt td,.room-card.has-debt{background:#fff0f0}.contract-paid-full td,.room-card.paid-full{background:#f0f8f2}.room-card.ending-soon{background:#fff7e8;border-color:#e3bf76}.room-card.has-debt{border-color:#e3aaaa}.contract-has-debt td:first-child{border-right:4px solid #ca5a5a}.contract-paid-full td:first-child{border-right:4px solid #6aa37b}.unit-alerts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.status-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.unit-alert{display:inline-block;border-radius:6px;padding:3px 7px;font-size:12px;font-weight:600}.unit-filters button{cursor:pointer;border:1px solid transparent}.unit-filters button[aria-pressed=true]{border-color:currentColor;box-shadow:0 0 0 1px currentColor}.unit-filters button:focus-visible{outline:2px solid #174d40;outline-offset:3px}.vacant-alert{color:#345779;background:#e9f1f9}.debt-alert,.debt-text{color:#9e3636}.debt-alert{background:#ffe6e6}.paid-alert{color:#236046;background:#e1f3e7}.soon-alert,.soon-text{color:#8d621d}.soon-alert{background:#fff0ce}.occupant-link .debt-text,.occupant-link .soon-text{font-weight:600}.occupant-link.has-debt{background:#ffe3e3}.occupant-link.ending-soon{background:#fff0ce}.occupant-link{display:block;text-align:start;width:100%;margin:8px 0;background:#edf5f0;border:0}.occupant-link small{display:block;color:#61736a;margin-top:5px}.timeline-wrap{overflow:auto;padding:0;max-width:100%}.occupancy-timeline{min-width:1500px;table-layout:fixed;border-collapse:separate;border-spacing:0}.occupancy-timeline th,.occupancy-timeline td{border-inline-end:1px solid #e3e9e5;border-bottom:1px solid #e3e9e5}.occupancy-timeline th:first-child{position:sticky;inset-inline-start:0;width:170px;background:#fff;z-index:2}.occupancy-timeline td{padding:12px 3px;vertical-align:top;height:72px}.occupancy-timeline .current-month{background:#f0f6f2}.stay-bar{display:block;min-width:8px;padding:7px 0;margin-block:4px;border:0;border-radius:5px;background:#26735b;color:#fff;text-align:start;overflow:hidden;height:35px}.stay-bar span{padding:0 6px;white-space:nowrap;font-size:12px}.stay-bar:hover,.stay-bar:focus-visible{background:#174b3a;outline:2px solid #a2cbb4}@media(max-width:600px){.units-grid{grid-template-columns:1fr}.occupancy-timeline th:first-child{width:120px}}.units-grid>.unit-card{padding:18px}.unit-card>.section-heading{padding:0}.toolbar>select{width:auto;min-width:180px}.occupancy-timeline th:first-child{white-space:normal;overflow:hidden;overflow-wrap:anywhere}.occupancy-timeline th:first-child strong,.occupancy-timeline th:first-child small{display:block}.occupancy-timeline th:first-child small{margin-top:6px;color:#61736a}.attention-bell{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:12px;color:#174f43;background:#e9f3ed;text-decoration:none}.attention-bell span{min-width:20px;text-align:center;border-radius:20px;background:#b43c3c;color:#fff;font-weight:700;font-size:12px;padding:2px 5px}.notice-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}.notice-actions label{display:flex;gap:8px;align-items:center}.notice-actions input[type=checkbox]{width:auto}.notice-card{margin-top:14px}.notice-unread{border-inline-start:4px solid #174d40}.panel.padded.notice-card{padding:14px 18px;margin-bottom:10px;min-height:0}.notice-card h2{font-size:1rem;margin:5px 0}.notice-card .notes{margin:6px 0;line-height:1.6}.notice-card .notice-actions{margin-top:8px;margin-bottom:0;gap:8px;flex-wrap:wrap}.panel.notice-unread{background:#e2f3eb;border:1px solid #72ad92;border-inline-start:5px solid #17694d}.notice-unread h2{color:#124d39;font-weight:800}.mobile-timeline{display:none}@media screen and (max-width:700px){.main,.panel,.table-wrap{min-width:0}.table-wrap:has(.responsive-table){overflow:visible}.table-wrap .responsive-table{font-size:14px}.responsive-table{display:block;width:100%;white-space:normal}.responsive-table>thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.responsive-table>tbody,.responsive-table>tfoot{display:block;width:100%}.responsive-table>tbody>tr,.responsive-table>tfoot>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px 12px;border-bottom:1px solid var(--line)}.responsive-table>tbody>tr:last-child{border-bottom:0}.responsive-table>tbody>tr>td,.responsive-table>tbody>tr>th{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere;text-align:start;direction:rtl;background:transparent}.responsive-table>tbody>tr>:first-child,.responsive-table [data-wide=true]{grid-column:1 / -1}.responsive-table>tbody>tr>:first-child{font-weight:600}.responsive-table>tbody>tr>[data-label]:before{content:attr(data-label);display:block;color:#637269;font-size:12px;font-weight:500;margin-bottom:4px}.responsive-table>tbody>tr>[data-label=""]:before{display:none}.responsive-table small,.responsive-table .filename{max-width:100%;white-space:normal;overflow-wrap:anywhere}.responsive-table .row-actions{display:flex;flex-wrap:wrap;gap:8px}.responsive-table button{min-height:40px;max-width:100%;white-space:normal}.responsive-table .badge{max-width:100%;white-space:normal}.filters,.toolbar,.section-heading,.notice-actions,.hero-actions{flex-wrap:wrap}.filters>*,.toolbar>*,.section-heading>*{min-width:0;max-width:100%}.filters input,.toolbar input{max-width:100%}.padded{padding:16px}.desktop-timeline{display:none}.mobile-timeline{display:grid;gap:12px}.mobile-timeline article{padding:16px;min-width:0}.mobile-timeline h2{font-size:16px;margin:0 0 8px}.mobile-timeline button{display:block;text-align:start;white-space:normal;width:100%;margin-top:8px;overflow-wrap:anywhere}.mobile-timeline button small{display:block;margin-top:4px}}@media screen and (max-width:700px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;gap:8px;padding-block:10px}.topbar>div{min-width:0;flex-wrap:wrap}}.future-contract-note{background:#eaf2fb;color:#275c85;border-radius:7px;padding:7px 9px;white-space:normal;margin:4px 0}.contract-future-balance{background:#f0f6fc}.contract-future-balance td:first-child{border-inline-start:4px solid #6899c4}.contract-filters{display:flex;flex-wrap:wrap;gap:8px;margin-block:16px}.contract-filters button{min-height:40px}.contract-filters button.active{background:var(--primary, #174f43);color:#fff;border-color:var(--primary, #174f43)}.column-sort{border:0;background:transparent;color:inherit;padding:4px;display:inline-flex;gap:6px;align-items:center}.mobile-sort{display:none}.toolbar .field{margin:0;min-width:0;max-width:100%}@media(max-width:700px){.mobile-sort{display:flex;flex-wrap:wrap}.mobile-sort label{flex:1;min-width:0}.mobile-sort select{width:100%}.contract-filters button{flex:1 1 140px}.filters>*,.toolbar>.field{max-width:100%;min-width:0}}.api-key-settings{min-width:0}.api-key-settings .table-wrap{margin-top:20px}.api-key-secret{padding:16px;border:1px solid #adc9bd;border-radius:12px;background:#eff8f3}.api-key-secret textarea{width:100%;min-height:90px;overflow-wrap:anywhere;word-break:break-all}.api-key-settings bdi{overflow-wrap:anywhere}.contract-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}.contract-image-grid figure{margin:0;min-width:0;border:1px solid #dce3e8;border-radius:12px;overflow:hidden}.contract-image-preview{display:block;width:100%;padding:0;border:0;border-radius:0;background:#f1f4f7;cursor:zoom-in}.contract-image-preview img{display:block;width:100%;height:180px;object-fit:contain}.contract-image-grid figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px}.contract-image-grid figcaption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.contract-image-viewer{overflow:auto;max-height:70vh;background:#f1f4f7;text-align:center}.contract-image-viewer img{display:block;width:100%;height:auto}.modal:has(.contract-image-viewer){width:min(1000px,95vw);max-width:95vw}.contract-image-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:12px}@media print{.contract-images{display:none!important}}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:20px 0}.permission-card{background:var(--surface, #fff);border:1px solid #dce3e8;padding:18px;border-radius:12px;min-width:0}.permission-card small{display:block;margin-top:10px;color:#60746d}.permission-card label{overflow-wrap:anywhere}.account-bulk-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px;margin:16px 0;background:#eef5ef;border-radius:12px}.account-bulk-toolbar>strong{flex:1 0 100%}.account-bulk-toolbar>button{flex:0 0 auto;white-space:nowrap;padding:8px 12px;font-size:13px}.account-bulk-toolbar>button.danger{color:#b15b51}.contract-quick-period{margin-top:8px;font-size:12px}.contract-quick-period>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.contract-quick-period button{padding:6px 10px;font-size:12px}.contract-quick-period button[aria-pressed=true]{background:#174f43;color:#fff}
