:root{--bg:#f5f6f8;--ink:#202b2c;--muted:#7b8588;--line:#e8ecec;--green:#244d43;--green-light:#edf4ef;--red:#b24a43;--amber:#b07d30;--white:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{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:var(--green)}.layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:31px 19px 19px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:238px;z-index:10}.brand{display:flex;gap:10px;align-items:center;margin:0 12px 39px;font-weight:800;font-size:23px;letter-spacing:-1.1px}.brand-mark{background:var(--green);color:white;width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.brand span:last-child{color:#8b9f97}.sidebar-label{font-size:10px;letter-spacing:1.4px;color:#9bA2a4;margin:20px 15px 12px;font-weight:700}.nav{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:7px;color:#798184;margin:3px 0;font-weight:500;font-size:13px}.nav:hover{background:#f6f8f7}.nav.active{background:#edf3ef;color:#244d43;font-weight:650}.nav .count{margin-left:auto;background:#dce8df;border-radius:4px;font-size:10px;padding:2px 6px}.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto}.workspace{padding:13px 11px;background:#fafbfa;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:15px}.workspace small{display:block;color:var(--muted);margin-top:3px;font-size:10px}.avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f0e7dc;color:#8b7152;font-size:11px;font-weight:700}.profile{display:flex;align-items:center;gap:10px;padding:10px 7px;border-top:1px solid var(--line);font-size:12px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.main{grid-column:2;min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);padding:0 37px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:12px;color:#91999b;display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:#3f4b4a}.top-actions{display:flex;align-items:center;gap:17px;color:#85908d}.live-dot{font-size:10px;padding:6px 10px;background:#f4f6f4;border-radius:20px;color:#6b7c72;display:flex;align-items:center;gap:5px}.dot{width:5px;height:5px;border-radius:50%;background:#6c9b7a}.icon-btn{background:none;border:0;color:#6d7774;padding:5px;display:grid;place-items:center}.content{padding:35px 37px 50px;max-width:1620px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{color:#84928b;font-size:10px;letter-spacing:1.7px;font-weight:650;margin-bottom:9px}h1{font-size:28px;font-weight:600;letter-spacing:-1px;margin:0 0 9px}h2{font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0}h3{font-size:14px;font-weight:600;margin:0}p{line-height:1.65}.sub{font-size:12px;color:var(--muted);margin:0}.head-actions{display:flex;gap:10px;align-items:center}.btn{border:1px solid #dfe5e2;background:#fff;color:#4c5c55;border-radius:6px;padding:10px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:550;text-decoration:none;line-height:1.25}.btn .icon{width:14px;height:14px}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.primary:hover{background:#183d33}.btn:hover{filter:brightness(.98)}.btn.soft{background:#f5f8f5;border-color:#e5ece6}.btn.danger{color:var(--red)}.demo-banner{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;background:#f5f0e8;border:1px solid #e9dfd1;padding:10px 14px;border-radius:7px;margin-bottom:23px;color:#8a775b}.demo-banner .btn{padding:6px 10px;background:transparent;color:#7f6c50;border-color:#d9ccb7}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px 19px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7a8582;font-size:11px;margin-bottom:12px}.stat-symbol{width:30px;height:30px;border-radius:7px;background:#f2f5f3;display:grid;place-items:center;color:#6f897c}.stat-symbol.red{background:#fbefed;color:#b56c61}.stat-symbol.amber{background:#fbf5e9;color:#b49459}.stat-number{font-size:29px;font-weight:550;letter-spacing:-1px;margin-bottom:8px}.stat-bottom{color:#949d99;font-size:10px;display:flex;align-items:center;gap:5px}.stat-bottom strong{color:#678874;font-weight:500}.stat-bottom.warn{color:#b5814b}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.panel-head .sub{margin-top:6px;font-size:11px}.tabs{display:flex;gap:20px;padding:0 22px;border-bottom:1px solid var(--line)}.tab{padding:16px 0;border:0;border-bottom:2px solid transparent;background:none;font-size:11px;color:#8a9390;display:flex;align-items:center;gap:7px}.tab.active{color:#2f5545;border-bottom-color:#2f5545;font-weight:650}.tab b{font-size:9px;background:#f1f3f2;color:#7f8b83;border-radius:4px;padding:2px 5px;font-weight:500}.filters{padding:17px 22px;display:flex;align-items:center;gap:10px}.search{position:relative;flex:1;max-width:340px}.search .icon{position:absolute;left:11px;top:10px;width:15px;height:15px;color:#98a09d}.search input{padding-left:34px;width:100%}input,select,textarea{border:1px solid #e2e7e4;border-radius:5px;background:#fff;color:#34443b;padding:9px 10px;font-size:11px}input::placeholder,textarea::placeholder{color:#a4aba7}select{padding-right:25px;max-width:220px}.filters .right{margin-left:auto}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#919b96;background:#fafbfa;padding:13px 21px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 21px;border-bottom:1px solid #eff2f0;font-size:11px;color:#737f77}tr:last-child td{border-bottom:0}.data-row{cursor:pointer}.data-row:hover td{background:#fbfcfb}.property-cell{display:flex;align-items:center;gap:12px}.building-icon{background:#f3f5f3;border:1px solid #eaf0eb;border-radius:6px;color:#8a9a8c;display:grid;place-items:center;width:32px;height:34px}.property-name{color:#33423a;font-weight:600;font-size:11px}.property-code{font-size:9px;color:#9ba49e;margin-top:4px}.type{color:#506054;font-size:11px}.type small{display:block;margin-top:5px;font-size:9px;color:#9ca59f}.badge{padding:5px 8px;border-radius:4px;font-size:9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#edf4ee;color:#63826e;font-weight:500}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.overdue{background:#fbefec;color:#b56b5b}.badge.soon,.badge.partial{background:#fcf5e8;color:#ad874b}.badge.awaiting_protocol,.badge.unknown{background:#f1edf8;color:#8c76aa}.badge.scheduled{background:#edf3f9;color:#6c8dab}.badge.not_applicable{background:#f1f2f2;color:#969e9a}.date-main{font-size:11px;color:#57675b}.date-main.overdue{color:#af6a5c}.date-sub{font-size:9px;color:#a1a8a3;margin-top:5px}.admin-cell{display:flex;align-items:center;gap:7px}.avatar.small{width:23px;height:23px;background:#edf1eb;color:#7a8d75;font-size:8px}.table-footer{padding:15px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#99a29c;font-size:10px;align-items:center}.bottom-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin-top:24px}.mini-content{padding:6px 21px 17px}.activity{display:flex;gap:12px;align-items:start;padding:15px 0;border-bottom:1px solid #f0f2f0;font-size:11px;line-height:1.5}.activity:last-child{border-bottom:0}.activity-symbol{width:29px;height:29px;display:grid;place-items:center;background:#f4f6f3;border-radius:6px;color:#889e88;flex-shrink:0}.activity p{margin:0}.activity small{color:#a0a79f;display:block;font-size:9px;margin-top:5px}.activity .badge{margin-left:auto}.text-link{border:0;background:none;padding:0;color:#5c7d65;font-size:10px;text-decoration:none}.empty{padding:50px 25px;text-align:center;color:#909b93;font-size:12px;line-height:1.8}.grid-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.property-card{padding:24px}.property-card .building-icon{margin-bottom:20px}.property-card h3{font-size:15px}.property-card .sub{margin:7px 0 20px}.meta-line{display:flex;justify-content:space-between;margin:12px 0;font-size:11px;color:#8c978e}.meta-line strong{font-weight:500;color:#4e6355}.progress{height:5px;background:#edf1ec;border-radius:4px;overflow:hidden;margin:15px 0}.progress div{height:100%;background:#7f9f84}.card-actions{display:flex;gap:7px;margin-top:20px}.modal-overlay{position:fixed;inset:0;background:#142a2270;backdrop-filter:blur(2px);z-index:50;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:#fff;border-radius:12px;width:min(720px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #11251e30}.modal.wide{width:min(1000px,100%)}.modal-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:start}.modal-head h2{font-size:19px}.modal-head .sub{margin-top:7px}.modal-body{padding:25px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7d8b80}.field input,.field select,.field textarea{font-size:12px;max-width:none;width:100%;padding:11px}.field.full{grid-column:1/-1}.field textarea{min-height:110px;resize:vertical}.modal-footer{padding:18px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fcfdfb}.detail-head{display:flex;gap:15px;align-items:center;margin-bottom:24px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 22px}.detail-meta div{background:#f7f9f6;padding:13px;border-radius:6px;font-size:11px;color:#8c998c}.detail-meta strong{display:block;color:#526b56;margin-top:7px;font-weight:500}.detail-section{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.detail-section h3{margin-bottom:13px}.note{background:#f6f5ed;color:#8b805d;font-size:11px;line-height:1.7;padding:12px 15px;border-radius:6px;margin:16px 0}.success-note{background:#eef5ed;color:#64835e}.draft-body{width:100%;min-height:260px;white-space:pre-wrap;line-height:1.65;font-size:12px}.row-actions{display:flex;gap:9px;flex-wrap:wrap}.integration-card{padding:24px}.integration-logo{font-size:19px;font-weight:700;margin-bottom:20px;color:#49634e}.integration-card p{font-size:12px;color:#8d978c;min-height:58px}.integration-card .badge{margin-bottom:15px}.roadmap{display:grid;grid-template-columns:1fr;gap:17px}.stage{display:flex;gap:20px;padding:24px}.stage-number{width:36px;height:36px;border-radius:50%;background:#eef4eb;color:#6f9168;display:grid;place-items:center;font-weight:650;flex-shrink:0}.stage .sub{margin-top:8px;max-width:750px;line-height:1.8}.stage .badge{margin-left:auto;align-self:start}.footnote{font-size:10px;color:#9aa49a;margin-top:20px}.connection-state{font-size:10px;color:#9dA598;display:flex;gap:6px;align-items:center}.print-sheet{padding:50px;line-height:1.9}.print-sheet h1{font-size:26px}.loading{padding:70px;color:#78917c;text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#244d43;color:#fff;padding:13px 20px;border-radius:8px;box-shadow:0 5px 20px #1232;font-size:12px;z-index:100;opacity:0;transition:.2s;pointer-events:none;max-width:90%;line-height:1.6}#toast.visible{opacity:1;transform:translate(-50%,0)}.mobile-menu{display:none}.invoice-line{padding:15px 0;border-bottom:1px solid var(--line)}.invoice-line p{font-size:12px;color:#5f705e;margin:0 0 10px}.invoice-line .badge{margin-right:6px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden}.calendar-day{background:#fff;min-height:95px;padding:9px;font-size:10px;color:#95a08f}.calendar-day strong{color:#53684c;font-weight:500}.calendar-event{background:#edf3e9;border:0;color:#6a825e;font-size:9px;padding:4px;border-radius:3px;margin-top:6px;display:block;text-align:left;width:100%;line-height:1.45}.calendar-day.today{background:#f4f8f1}.field-error{color:#b24a43;font-size:11px;line-height:1.7}.mono{font-family:ui-monospace,SFMono-Regular,monospace}.save-state{font-size:10px;color:#8b9a87}.unit-list{display:grid;gap:8px}.unit-row{display:flex;gap:12px;align-items:center;padding:12px;background:#f7f9f5;border-radius:6px;font-size:11px}.unit-row .btn{margin-left:auto}.unit-row small{display:block;color:#99a291;margin-top:4px}.budget{color:#697e5b;font-size:18px;font-weight:550}.wide .table-wrap td{padding:14px}.year-switch{display:flex;gap:12px;align-items:center}.nowrap{white-space:nowrap}
@media(min-width:1500px){.content{padding-top:42px}.stat{padding:23px}.panel-head{padding:23px}.data-row td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1150px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding-left:12px;padding-right:12px}.content{padding:26px 23px}.topbar{padding:0 23px}.grid-cards{grid-template-columns:repeat(2,1fr)}.stats{gap:12px}.stat{padding:15px}.bottom-grid{gap:16px}.filters{flex-wrap:wrap}.filters .right{margin-left:0}}
@media(max-width:800px){.layout{display:block}.sidebar{display:none}.sidebar.open{display:flex;box-shadow:10px 0 40px #183e3540}.main{width:100%}.mobile-menu{display:grid}.topbar{height:64px;padding:0 18px}.content{padding:25px 17px}.top-actions{gap:9px}.top-actions .live-dot{display:none}.page-head{align-items:start}.page-head h1{font-size:24px}.head-actions{flex-wrap:wrap;justify-content:flex-end}.stats{grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr}.grid-cards{grid-template-columns:1fr}.filters{padding:14px}.search{max-width:none;min-width:100%;}.filters select{flex:1;max-width:none}.panel-head{padding:17px}.tabs{padding:0 15px;gap:14px}.tab{font-size:10px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-overlay{padding:10px}.modal-head,.modal-body{padding:20px}.detail-meta{grid-template-columns:1fr 1fr}.stage{padding:20px;gap:12px}.stage .badge{display:none}.calendar-day{min-height:70px;padding:4px}.calendar-event{font-size:7px}.head-actions .btn{font-size:10px}.breadcrumb{font-size:10px}}
@media print{body>*{display:none!important}body>.print-target{display:block!important;color:#000;background:#fff;padding:30px;white-space:pre-wrap;font-size:14px;line-height:1.8}.print-target h1{margin-bottom:25px}}
.brand-home{padding:0;border:0;background:transparent;color:var(--ink);text-align:left;flex-shrink:0;margin-bottom:24px}.brand-home>span:last-child{color:var(--ink)}.brand-home>span:last-child>span{color:#8b9f97}.sidebar{overflow-y:auto}.module-switcher{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;border:1px solid #e1e9e3;border-radius:8px;background:#fafcf9;text-align:left;color:#425b4b;margin-bottom:10px;flex-shrink:0}.module-switcher>span:nth-child(2){flex:1}.module-switcher small{display:block;font-size:8px;font-weight:600;letter-spacing:1px;color:#99a394;margin-bottom:5px}.module-switcher strong{font-size:12px;font-weight:600}.module-switcher>.icon{width:14px;color:#95a58f}.switch-icon{width:32px;height:32px;border-radius:7px;background:#e7f0e7;color:#5b7d5a;display:grid;place-items:center;flex-shrink:0}.switch-icon.leave{background:#e9edf8;color:#7584ae}.global-nav{font-size:11px;margin-bottom:9px;border-bottom:1px solid var(--line);border-radius:5px;padding-top:10px;padding-bottom:13px}.global-nav>.icon:last-child{margin-left:auto;width:12px}.breadcrumb-home{background:none;border:0;padding:0;color:#819184;font-size:inherit;letter-spacing:.25px}.module-aside-note{margin:24px 14px;color:#a2aba1;font-size:10px;line-height:1.8}.system-intro{background:#eaf0e9;border:1px solid #dce6da;border-radius:10px;padding:32px 35px;display:flex;gap:30px;align-items:center;justify-content:space-between;overflow:hidden;margin-bottom:31px}.system-label{font-size:9px;color:#6f8c6a;letter-spacing:2px;font-weight:650;display:block;margin-bottom:14px}.system-intro h2{font-size:24px;font-weight:500;letter-spacing:-.7px;color:#3d5e3b}.system-intro p{font-size:12px;color:#80907a;line-height:1.85;margin:12px 0 0;max-width:530px}.system-illustration{display:flex;position:relative;align-items:center;width:200px;height:115px;flex-shrink:0}.system-illustration:before{content:'';position:absolute;height:1px;width:170px;background:#c6d5c2;top:57px}.system-node{position:absolute;left:0;top:18px;border:1px solid #d3dfcf;border-radius:13px;background:#f5f8f2;display:grid;place-items:center;width:56px;height:56px;color:#87a17e;box-shadow:0 6px 15px #50693d08}.system-node:nth-child(2){left:0;top:80px;width:42px;height:42px;border-radius:10px;color:#8398b0;background:#f4f6fb}.system-node.main-node{left:100px;top:26px;width:76px;height:76px;font-size:20px;font-weight:700;letter-spacing:-1px;background:#2c5141;color:#fff;border-color:#2c5141;box-shadow:0 10px 28px #2b51331a}.module-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.module-section-title .sub{font-size:10px}.module-cards{display:grid;grid-template-columns:1fr 1fr;gap:23px}.module-card{padding:25px 27px 0;display:flex;flex-direction:column;min-width:0}.module-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.module-large-icon{height:49px;width:49px;display:grid;place-items:center;background:#edf3e9;border:1px solid #e1ebdc;border-radius:11px;color:#66835c}.module-large-icon .icon{width:25px;height:25px}.module-card .eyebrow{font-size:8px;margin-bottom:8px;text-transform:uppercase;letter-spacing:1.3px}.module-card h2{font-size:22px;font-weight:550;letter-spacing:-.5px}.module-card>p{font-size:12px;color:#8b9886;line-height:1.8;margin:12px 0 22px;min-height:45px;max-width:390px}.module-features{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 25px}.module-features span{border:1px solid #e9eee5;border-radius:4px;padding:5px 7px;font-size:9px;color:#8b9884;background:#fcfdfb}.module-card-footer{border-top:1px solid var(--line);margin:auto -27px 0;padding:18px 27px;display:flex;gap:10px;align-items:center;justify-content:space-between}.module-card-footer>span{color:#9ba594;font-size:9px}.leave-card .module-large-icon{background:#edf0f9;color:#7d8cb0;border-color:#e1e6f3}.leave-card .eyebrow{color:#8a96af}.module-foundation{display:flex;gap:14px;padding:25px 4px;margin-top:13px}.module-foundation h3{font-size:12px;color:#6e8067;font-weight:550}.module-foundation p{font-size:11px;color:#97a08f;margin:6px 0 0;line-height:1.8;max-width:650px}.module-foundation .activity-symbol{background:#eaf0e6}.module-picker{display:grid;gap:10px}.module-pick{display:flex;align-items:center;gap:13px;padding:17px;border-radius:8px;border:1px solid #e5ebe2;background:#fff;text-align:left;color:#52684d;width:100%}.module-pick:hover{background:#f7faf4}.module-pick>span:nth-child(2){flex:1}.module-pick strong{font-size:13px;font-weight:550;display:block}.module-pick small{font-size:10px;color:#a0a993;display:block;margin-top:6px}.leave-process{display:flex;align-items:center;gap:20px;padding:24px 26px;background:#eef1f8;border:1px solid #e1e6f2;border-radius:9px;margin-bottom:30px}.leave-process-icon{color:#7c8ead;background:#f8faff;border:1px solid #dfe6f1;border-radius:10px;display:grid;place-items:center;min-width:49px;height:49px}.leave-process-icon .icon{height:24px;width:24px}.leave-process h2{font-size:15px;color:#617596}.leave-process p{font-size:11px;color:#8b98ae;margin:8px 0 0;line-height:1.8}.leave-process>.badge{margin-left:auto;flex-shrink:0}.leave-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.leave-plan-card{padding:23px}.leave-plan-card .activity-symbol{color:#8c99b4;background:#f0f3fa;margin-bottom:20px}.leave-plan-card h3{font-size:14px;font-weight:550;color:#5e708d}.leave-plan-card p{font-size:11px;color:#94a0b0;line-height:1.9;min-height:65px;margin:10px 0 19px}.module-next-step{padding:25px;display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:23px}.module-next-step h2{font-size:14px}.module-next-step p{font-size:11px;color:#94a18b;line-height:1.9;margin:9px 0 0;max-width:710px}.module-next-step>.btn{flex-shrink:0}
@media(max-width:1150px){.module-card-footer{padding:17px;flex-wrap:wrap}.module-card{padding:23px 17px 0}.module-card-footer{margin-left:-17px;margin-right:-17px}.leave-plan-grid{gap:13px}.leave-process{gap:14px}.leave-process>.badge{display:none}}
@media(max-width:800px){.system-intro{padding:25px}.system-intro h2{font-size:21px}.system-illustration{display:none}.module-cards,.leave-plan-grid{grid-template-columns:1fr}.module-card-footer{flex-wrap:nowrap}.module-card>p{min-height:0}.leave-plan-card p{min-height:0}.module-next-step{align-items:start;flex-direction:column;gap:16px}.leave-process{padding:21px 17px;align-items:start}.leave-process h2{line-height:1.5}.module-section-title{align-items:start;gap:10px}.module-section-title .sub{max-width:120px;text-align:right}.breadcrumb{gap:7px}.breadcrumb>.icon{width:11px}.module-switcher{margin-bottom:10px}}
.workflow-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:23px}.workflow-choices>section{padding:17px;background:#f7f9f5;border:1px solid #e8eee2;border-radius:8px}.workflow-choices h3{font-size:13px}.workflow-choices p{margin:9px 0 15px;line-height:1.8}.order-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#eef4e9;border-radius:7px;margin-bottom:15px;color:#63825b;font-size:12px}.order-stage small{font-size:10px;color:#92a088}.visit-row{display:grid;grid-template-columns:1.3fr .8fr .8fr 1.5fr 24px;align-items:end;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.visit-row input{min-width:0;width:100%;padding:9px 5px}.visit-row .field{font-size:9px}.visit-row .icon-btn{margin-bottom:5px;padding:3px}.unit-choices{display:flex;flex-wrap:wrap;gap:9px}.unit-choices>label{display:flex;align-items:center;gap:8px;padding:11px;border-radius:7px;border:1px solid #e2eadb;background:#f9fbf6}.unit-choices input{accent-color:var(--green)}.unit-choices strong{font-size:12px;font-weight:550}.unit-choices small{font-size:9px;color:#97a18d}.template-editor{min-height:420px;width:100%;font-size:12px!important;line-height:1.9!important;font-family:inherit;resize:vertical}.template-fields{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.template-fields>span{font-size:10px;font-family:ui-monospace,monospace;background:#eef3e9;color:#7c936d;padding:5px 7px;border-radius:4px}.recipient-list{min-height:65px;width:100%;font-size:11px!important}.checkbox-field{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;line-height:1.8}.checkbox-field input{width:auto!important;accent-color:var(--green)}.reply-options{display:grid;gap:9px;margin:14px 0 20px}.reply-options>label{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e4ebdf;border-radius:7px;background:#f8faf6}.reply-options input{accent-color:var(--green)}.reply-options strong{font-size:12px;font-weight:550;color:#5f7c54}.reply-options small{display:block;font-size:10px;color:#99a48f;margin-top:7px}.card-actions{flex-wrap:wrap}.modal-footer{flex-wrap:wrap}
@media(max-width:800px){.workflow-choices{grid-template-columns:1fr}.visit-row{grid-template-columns:1.2fr .8fr .8fr 24px}.visit-row>.field:nth-child(4){grid-column:1/4}.visit-row>.icon-btn{grid-column:4;grid-row:1/3;align-self:center}.order-stage{align-items:start;flex-direction:column;gap:6px}.template-editor{min-height:480px}.unit-choices>label{flex:1;min-width:140px}}

.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65;max-height:55vh;overflow:auto;background:#f7f9fc;border:1px solid #e5eaf1;border-radius:12px;padding:18px;margin:18px 0}.field textarea.recipient-list{min-height:70px}

.scope-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;flex-wrap:wrap}.scope-switch{display:flex;gap:6px;padding:4px;background:#edf1f6;border-radius:11px}.scope-switch .btn{border:0;box-shadow:none}.compact-filters{margin-bottom:20px;padding:0;background:transparent;border:0}.compact-filters select:disabled{opacity:1;color:#53627a;background:#eef2f7}.compact-filters .search{max-width:none;flex:1}.property-table td{padding-top:17px;padding-bottom:17px}.property-table th:first-child,.property-table td:first-child{width:38px;text-align:center}.property-number{font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap;color:#243957}.address-line{display:block;font-size:12px;line-height:1.5;color:#738095;margin-top:3px}.dashboard-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.stat-link{text-align:left;cursor:pointer;font:inherit;color:inherit}.stat-link .stat-top,.stat-link .stat-number,.stat-link .stat-bottom{display:block}.stat-link:hover{border-color:#9cafc9}.tabs .btn{background:transparent;border:0;border-radius:0;border-bottom:2px solid transparent}.tabs .btn.active{border-bottom-color:#315dd0;color:#315dd0}.settings-section{margin-top:22px}.settings-section .field{min-width:230px;flex:1}.badge.in_progress,.badge.ordered{color:#315c9b;background:#eaf1fd}.order-stage span{max-width:90%;line-height:1.5}details.detail-section>summary{font-size:14px;font-weight:600;cursor:pointer;padding:6px 0;color:#334660}details[open].detail-section>summary{margin-bottom:14px}.property-table .btn{white-space:nowrap}@media(max-width:1000px){.dashboard-columns{grid-template-columns:1fr}.scope-toolbar{align-items:flex-start;flex-direction:column}.compact-filters{flex-wrap:wrap}}@media(max-width:650px){.compact-filters .search,.compact-filters select{width:100%;flex-basis:100%}.scope-switch{width:100%}.scope-switch .btn{flex:1;font-size:12px}.property-table{min-width:620px}}

.company-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}

.company-section-list{padding:0 24px}.company-section-list .activity{justify-content:space-between;gap:20px}.company-section-list h2{margin:0 0 6px;font-size:16px}.company-section-list p{margin:0}.integration-mail-settings{margin-bottom:22px}.company-tabs .btn{font-size:12px}

.letterhead-files{padding:18px 24px;border-top:1px solid var(--line)}.letterhead-files summary{cursor:pointer;font-weight:600}.letterhead-file{display:flex;flex-direction:column;gap:12px;padding:20px 0;border-bottom:1px solid var(--line)}.letterhead-file img{width:100%;max-width:760px;height:auto;background:#fff}.letterhead-file small{display:block;color:var(--muted);margin:5px 0}.modal-footer>.field{margin-right:auto;min-width:170px}.letterhead-files select{max-width:100%}
.mail-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.mail-setup-card { border: 1px solid #dce3df; border-radius: 12px; padding: 22px; min-width: 0; }
.mail-setup-card h3 { margin: 0 0 8px; }
.mail-setup-address { overflow-wrap: anywhere; font-weight: 600; }
.mail-setup-card .row-actions { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 800px) { .mail-setup-grid { grid-template-columns: 1fr; } }

.auth-page { max-width: 720px; margin: 7vh auto; padding: 24px; }
.auth-page .panel { margin-top:24px; }
.auth-page .field { margin-bottom:18px; }
.user-property-choice { display:block; padding:8px 0; }

.company-user-list { padding: 0 22px; }
.company-user { display:grid; grid-template-columns: minmax(0,1fr) minmax(120px,.65fr); gap:16px; padding:22px 0; border-top:1px solid var(--border,#e5e7eb); }
.company-user h3 { margin:0 0 8px; }
.company-user-actions { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }
.company-user .address-line { margin-top:8px; }
@media(max-width:650px) { .company-user { grid-template-columns:1fr; } }
