@font-face{font-family:Portal;src:local('Inter'),local('Segoe UI'),local('Arial')}*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:#f4f6f5;color:#20352e;font-family:Portal,Arial,sans-serif;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #72ab85;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #87b69b;outline-offset:1px}a{color:#24654c}button{border:0}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.2;font-weight:600;letter-spacing:-.045em}h2{font-size:1.2rem;font-weight:600;letter-spacing:-.02em}h3{font-size:1.05rem;font-weight:600}p{color:#6b7a73}small{font-size:.82rem}.boot{padding:20vh 2rem;text-align:center}button,.btn{transition:background .16s,color .16s,transform .16s}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.7rem 1rem;border-radius:8px;background:#20583f;color:#fff;font-weight:500;text-decoration:none;font-size:.9rem;white-space:nowrap}.btn:hover{background:#163e2c}.btn.secondary{background:#fff;color:#304c3d;border:1px solid #dce3de}.btn.secondary:hover{background:#edf2ee}.btn.ghost{background:transparent;color:#3c6750;padding:.4rem .1rem}.btn.ghost:hover{text-decoration:underline}.btn.danger{background:#fbecea;color:#a33f35}.btn.small{padding:.4rem .65rem;font-size:.85rem}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:transparent;border-radius:7px;color:#687c70}.icon-btn:hover{background:#eef3ee}.muted{color:#748178}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;font-weight:600;color:#81948a}.pill{display:inline-flex;align-items:center;gap:.35rem;padding:.23rem .65rem;border-radius:20px;background:#edf0ee;color:#68766f;font-size:.8rem;font-weight:500;white-space:nowrap}.pill.green{background:#e7f3e8;color:#38744d}.pill.orange{background:#fff1df;color:#966422}.pill.red{background:#fae8e6;color:#a34b43}.pill.blue{background:#e7eff9;color:#52709a}.avatar{display:grid;place-items:center;flex-shrink:0;background:#e1ece2;color:#356548;width:40px;height:40px;border-radius:12px;font-weight:600;font-size:.9rem}.avatar.large{width:58px;height:58px;font-size:1.3rem}.brand{display:flex;align-items:center;gap:.7rem;font-size:1.15rem;font-weight:600;letter-spacing:-.03em}.brand-mark{width:38px;height:38px;background:#e6efdf;display:grid;place-items:center;color:#284f36;border-radius:11px}.brand-mark svg{width:25px;height:25px}.brand small{display:block;letter-spacing:0;font-size:.7rem;font-weight:400;color:#899b90}.login{min-height:100vh;display:grid;grid-template-columns:56% 44%;background:#fff}.login-film{position:relative;overflow:hidden;min-height:100vh;background:#304f3c}.login-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}.login-film:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,31,23,.26) 0%,rgba(10,29,21,.05) 35%,rgba(9,32,22,.85) 100%)}.film-brand,.film-caption,.film-footer{position:absolute;z-index:1;color:#fff;left:9%;right:9%}.film-brand{top:48px}.film-brand small{color:#d5e2d8}.film-caption{bottom:120px}.film-caption h1{font-size:3.3rem;font-weight:500;letter-spacing:-.05em;max-width:500px;line-height:1.12}.film-caption p{color:#e3ebe5;font-size:1.05rem;margin-top:24px;max-width:390px}.film-footer{bottom:38px;display:flex;justify-content:space-between;font-size:.8rem;color:#d7e4db}.login-main{display:flex;align-items:center;justify-content:center;padding:50px}.login-box{width:100%;max-width:360px}.login-box h2{font-size:2rem;letter-spacing:-.04em;margin:16px 0 10px}.login-box>p{margin-bottom:30px}.login-box .btn{width:100%;margin-top:8px}.login-note{margin-top:28px;padding-top:24px;border-top:1px solid #e6ece7;font-size:.85rem}.login-note p+p{margin-top:12px}.input-icon{display:flex;gap:8px}.input-icon input{flex:1;min-width:0}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field>span,.field>label{font-size:.87rem;font-weight:500}.field small{color:#7e897f;font-weight:400}.field input,.field textarea,.field select,.search{width:100%;padding:.72rem .8rem;border:1px solid #dce3dd;border-radius:7px;background:#fff;color:#2a4034;min-height:45px}.field textarea{resize:vertical;min-height:115px;line-height:1.5}.field select{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23647768' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.field input[type=file]{font-size:.85rem;background:#f7f9f6;border-style:dashed}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.error{background:#fff0ed;color:#a03f35;padding:10px 13px;border-radius:6px;margin-bottom:15px;font-size:.9rem}.error:empty{display:none}.hint{padding:13px 16px;background:#f1f6f0;color:#607462;border-radius:8px;font-size:.87rem;margin:16px 0}.shell{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid #e5eae5;position:fixed;inset:0 auto 0 0;width:244px;z-index:20;display:flex;flex-direction:column;padding:30px 18px 18px}.sidebar .brand{margin:0 12px 42px}.nav-caption{margin:0 14px 12px;color:#95a098;letter-spacing:.1em;text-transform:uppercase;font-size:.69rem;font-weight:600}nav{display:flex;flex-direction:column;gap:5px}nav button{display:flex;align-items:center;gap:12px;background:transparent;padding:12px 14px;text-align:left;border-radius:8px;color:#778179;font-size:.9rem}nav button.active{background:#e9f0e7;color:#2b5b3d;font-weight:600}nav button:hover{background:#f0f4ee;color:#2b5b3d}.nav-count{font-size:.73rem;margin-left:auto;padding:1px 7px;border-radius:20px;background:#e9eee9;color:#59715f}.sidebar-bottom{margin-top:auto}.offline-note{padding:16px 13px;margin-bottom:15px;background:#f7f8f4;border:1px solid #edf0e7;border-radius:9px;font-size:.77rem;color:#819078}.offline-note strong{display:block;color:#607451;font-size:.81rem;margin-bottom:4px}.user-strip{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0eb;padding:18px 9px 2px}.user-strip .who{flex:1;min-width:0}.who strong{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.85rem}.who small{font-size:.72rem;color:#929c93}.workspace{grid-column:2;min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid #e6ebe5;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar p{font-size:.86rem;color:#879288}.topbar .building-chip{font-size:.81rem;display:flex;align-items:center;gap:8px;color:#607a62}.topbar .building-chip svg{width:17px;height:17px}.content{padding:34px 40px 50px;max-width:1600px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-title p{font-size:.9rem;margin-top:9px}.page-title .actions{display:flex;gap:8px;flex-wrap:wrap}.welcome{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.welcome .eyebrow{margin-bottom:10px}.welcome p{margin-top:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid #e1e8e0;border-radius:11px;padding:20px 22px}.stat-head{display:flex;justify-content:space-between;align-items:center;color:#748674;font-size:.84rem}.stat-head svg{width:19px;height:19px}.stat-value{font-size:2rem;letter-spacing:-.04em;font-weight:500;line-height:1.2;margin:16px 0 7px}.stat-foot{font-size:.78rem;color:#94a08f}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px}.panel{background:#fff;border:1px solid #e1e7df;border-radius:11px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:21px 24px;border-bottom:1px solid #edf0ea;gap:12px}.panel-body{padding:24px}.section-gap{margin-top:24px}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-link{border:1px solid #e4e9df;background:#fff;border-radius:8px;min-height:100px;text-align:left;padding:16px;color:#56704e;font-size:.86rem;display:flex;flex-direction:column;gap:14px}.quick-link:hover{background:#f3f7ef}.quick-link svg{width:23px;height:23px}.notice{padding:18px 22px;background:#edf3e8;border-radius:10px;display:flex;align-items:flex-start;gap:12px;margin-bottom:24px}.notice p{font-size:.88rem;color:#6a7c60}.notice strong{font-size:.9rem;display:block;margin-bottom:3px;font-weight:500}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:225px;padding:36px 24px;text-align:center}.empty-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#f1f5ee;color:#8da17e;margin-bottom:16px}.empty p{font-size:.88rem;max-width:410px;margin:8px 0 18px}.empty h3{font-size:1rem;color:#536b4b}.empty.compact{min-height:165px;padding:25px}.empty.compact p{margin-bottom:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.tabs{display:flex;gap:5px;align-items:center;border-bottom:1px solid #e0e6dc;padding-bottom:0;flex-wrap:wrap}.tabs button{background:transparent;padding:12px 16px 14px;color:#7b8777;font-size:.87rem;border-bottom:2px solid transparent}.tabs button.active{border-color:#376343;color:#345c3f;font-weight:600}.search-wrap{width:270px;position:relative}.search-wrap>svg{position:absolute;left:12px;top:13px;width:18px;height:18px;color:#97a18f}.search{font-size:.85rem;padding-left:38px;background:#fff}.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.record-card{background:#fff;border:1px solid #e1e7df;border-radius:11px;padding:23px;display:flex;flex-direction:column;align-items:stretch}.card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;align-items:flex-start}.card-top .pills{display:flex;flex-wrap:wrap;gap:6px}.record-card h3{margin-bottom:9px;line-height:1.4}.record-card .description{font-size:.9rem;color:#7a8574;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px;white-space:pre-wrap;overflow-wrap:anywhere}.record-meta{font-size:.81rem;display:flex;flex-wrap:wrap;gap:7px 16px;color:#88917f;margin-top:auto}.record-meta svg{width:15px;height:15px;margin-right:4px}.card-footer{margin-top:18px;padding-top:16px;border-top:1px solid #eef1e9;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-footer>small{color:#99a18f}.money{font-size:1.6rem;letter-spacing:-.035em;color:#305537;margin:4px 0 16px;font-weight:500}.calendar-tools{display:flex;align-items:center;gap:18px}.month-title{font-size:1.1rem;min-width:160px;text-align:center;font-weight:500}.calendar-head,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-head{padding:16px 0;background:#fcfdf9;color:#839178;text-align:center;font-size:.78rem;border-bottom:1px solid #e6ebdf}.day-cell{min-height:117px;border-right:1px solid #edf0e8;border-bottom:1px solid #edf0e8;padding:10px 7px;min-width:0}.day-cell:nth-child(7n){border-right:0}.day-cell.outside{background:#fafbf7;color:#bdc5b6}.day-num{display:inline-grid;place-items:center;font-size:.81rem;width:27px;height:27px;margin-bottom:6px}.day-num.today{background:#345d3e;color:#fff;border-radius:50%}.cal-event{width:100%;text-align:left;border-radius:5px;background:#edf4e8;color:#4c7147;margin:3px 0;padding:5px 7px;font-size:.73rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-event.meeting{background:#e8eef8;color:#597298}.cal-event:hover{filter:brightness(.95)}.legend{display:flex;gap:20px;align-items:center;font-size:.78rem;color:#8b957e;margin:18px 3px}.legend i{display:inline-block;width:8px;height:8px;border-radius:3px;background:#b6cfa9;margin-right:7px}.legend .meeting i{background:#a2b9db}.event-row{display:flex;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid #f0f2ec;text-align:left;width:100%;background:#fff;color:inherit}.event-row:last-child{border:0}.event-row:hover{background:#fcfdf9}.event-date{width:45px;text-align:center;flex-shrink:0}.event-date b{font-size:1.5rem;line-height:1.2;font-weight:500;display:block}.event-date small{font-size:.7rem;text-transform:uppercase;color:#a0a68e}.event-text{flex:1;min-width:0}.event-text strong{font-size:.9rem;font-weight:500;display:block}.event-text small{color:#939b86}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.data-table th{font-weight:500;font-size:.76rem;color:#8a967e;background:#fafcf7;padding:15px 22px;border-bottom:1px solid #e5ebdd}.data-table td{padding:19px 22px;border-bottom:1px solid #edf0e7;font-size:.86rem;color:#6f7e61}.data-table tr:last-child td{border:0}.data-table .person{display:flex;align-items:center;gap:10px}.person strong{display:block;color:#405739;font-size:.86rem;font-weight:500}.person small{font-size:.72rem;color:#97a08a}.priority-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.priority-row{display:flex;align-items:flex-start;gap:13px;padding:18px 22px;border-bottom:1px solid #edf1e6}.priority-rank{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:7px;background:#f0f4e9;color:#708261;font-size:.8rem}.priority-content{flex:1;min-width:0}.priority-content h3{font-size:.92rem}.priority-content p{font-size:.81rem;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.priority-score{font-size:.8rem;color:#7a8d64;white-space:nowrap}.priority-bar{height:4px;background:#eff3e8;border-radius:4px;margin-top:14px;overflow:hidden}.priority-bar span{height:100%;display:block;background:#82a374}.rank-controls{display:flex;gap:1px;flex-shrink:0}.rank-controls .icon-btn{width:28px;height:30px}.rank-controls svg{width:16px;height:16px}.panel-foot{padding:18px 22px;border-top:1px solid #e8eee0;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-foot small{color:#899878}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.settings-grid .panel-body p{font-size:.9rem;margin-bottom:20px}.settings-grid .panel-body .btn{margin-top:3px}.text-block{white-space:pre-wrap;overflow-wrap:anywhere;color:#607151;font-size:.95rem;line-height:1.7}.detail-meta{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 22px}.detail-section{margin-top:25px;padding-top:22px;border-top:1px solid #e8eddf}.detail-section h3{margin-bottom:14px;font-size:.96rem}.attachments{display:flex;gap:10px;flex-wrap:wrap}.attachment{display:flex;align-items:center;gap:8px;border:1px solid #e0e8d7;padding:11px 13px;border-radius:8px;background:#f9fbf5;color:#647a52;font-size:.84rem;max-width:100%;text-align:left}.attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.photo-grid button{padding:0;background:#f3f6ed;border-radius:7px;overflow:hidden;aspect-ratio:4/3}.photo-grid img{width:100%;height:100%;object-fit:cover}.question{border:1px solid #e4ebda;padding:18px;border-radius:8px;margin-top:14px;background:#fafcf7}.question h3{font-size:.94rem;margin-bottom:12px}.result-bar{height:7px;display:flex;border-radius:9px;overflow:hidden;background:#e9eddf;margin-top:15px}.result-bar span{height:100%}.result-numbers{display:flex;gap:20px;margin-top:12px;font-size:.8rem;color:#859477}.question-edit{position:relative;border:1px solid #e3ead9;background:#fbfcf8;padding:18px;border-radius:8px;margin:14px 0}.question-edit .remove-question{float:right;margin-top:-9px;margin-right:-7px}.result-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.result-fields .field{margin-bottom:12px}.checkbox{display:flex;align-items:center;gap:9px;font-size:.85rem;margin:9px 0;color:#788a66}.checkbox input{width:17px;height:17px;accent-color:#426b3b}.archived-banner{background:#eff1ea;padding:12px 15px;border-radius:7px;color:#8c967d;font-size:.86rem;margin-bottom:20px}dialog{border:1px solid #dfe6d7;border-radius:14px;padding:0;width:min(680px,calc(100vw - 30px));max-height:90vh;color:#31452c;box-shadow:0 25px 100px #16301626;background:#fff}dialog::backdrop{background:#122a24a8;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 27px;border-bottom:1px solid #e9eee3;position:sticky;top:0;background:#fff;z-index:1}.modal-header h2{font-size:1.25rem;line-height:1.4}.modal-body{padding:25px 27px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding:18px 27px;border-top:1px solid #e7eddf;background:#fafcf7;position:sticky;bottom:0}.modal-actions .left{margin-right:auto}.preview-frame{width:100%;height:60vh;border:1px solid #e1e8d7;border-radius:8px;background:#f5f7ef}.preview-image{width:100%;height:auto;max-height:65vh;object-fit:contain;border-radius:8px}.menu-toggle{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);opacity:0;transition:.2s;background:#244b37;color:#fff;border-radius:9px;box-shadow:0 8px 30px #132a2233;padding:13px 22px;max-width:90vw;font-size:.9rem;z-index:100}#toast.show{transform:translateX(-50%) translateY(0);opacity:1}.mobile-overlay{display:none}.list-note{font-size:.82rem;color:#90a07e;margin:16px 2px}.inline-error{color:#a24a3a;font-size:.85rem}.amount-total{font-size:.9rem;color:#718362}.amount-total strong{color:#315736;font-size:1.1rem;margin-left:7px}.hidden{display:none!important}.document-category{text-transform:uppercase;letter-spacing:.07em;color:#8da07a;font-size:.7rem;margin-bottom:8px}.profile-banner{display:flex;align-items:center;gap:18px;margin-bottom:24px}.profile-banner p{margin:3px 0 0!important;font-size:.85rem!important}.audit-list{max-height:280px;overflow:auto}.audit-row{padding:12px 0;border-bottom:1px solid #edf1e7;font-size:.83rem}.audit-row small{display:block;color:#9ba58c;margin-top:3px}.attachment-remove{margin:14px 0;padding:10px;background:#f9fbf5;border-radius:7px}.attachment-remove p{font-size:.8rem;color:#839577;margin-bottom:7px}.form-help{font-size:.83rem;color:#8d9c7b;margin:14px 0}.count-note{font-size:.82rem;color:#8e9e7b;margin-top:20px}.restore-danger{border:1px solid #efd5cd;background:#fff7f4;padding:17px;border-radius:8px;margin-bottom:20px;color:#a26350;font-size:.88rem}footer.page-footer{margin-top:32px;color:#a0aa95;font-size:.74rem;display:flex;justify-content:space-between;gap:15px}
@media(min-width:1550px){.content{padding-top:42px}.day-cell{min-height:135px}}
@media(max-width:1180px){.shell{grid-template-columns:214px minmax(0,1fr)}.sidebar{width:214px;padding-left:12px;padding-right:12px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats{gap:12px}.stat{padding:18px 15px}.dashboard-grid{grid-template-columns:1fr}.login-caption{font-size:2.7rem}.priority-grid{grid-template-columns:1fr}.day-cell{min-height:100px}.record-grid{gap:14px}}
@media(max-width:850px){.record-grid,.settings-grid{grid-template-columns:1fr}.login{grid-template-columns:45% 55%}.film-caption h1{font-size:2.5rem}.login-main{padding:35px}.stats{grid-template-columns:repeat(2,1fr)}.page-title{align-items:flex-start}.page-title h1{font-size:1.7rem}.calendar-head{font-size:.7rem}.cal-event{font-size:.65rem;padding:4px}.day-cell{min-height:90px;padding:6px 3px}.calendar-tools{gap:4px}.month-title{min-width:145px}.quick-links{gap:8px}}
@media(max-width:650px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px}.shell.menu-open .sidebar{transform:translateX(0)}.shell.menu-open .mobile-overlay{display:block;position:fixed;inset:0;background:#102a2566;z-index:19}.menu-toggle{display:inline-flex}.topbar{height:65px;padding:0 18px}.topbar>p{display:none}.topbar .building-chip{margin-left:auto}.content{padding:25px 16px}.page-title{gap:15px;margin-bottom:22px;flex-wrap:wrap}.page-title .actions{width:100%}.welcome{align-items:flex-start}.welcome h1{font-size:1.8rem}.welcome .pill{display:none}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:1.7rem;margin-top:12px}.stat-head{font-size:.76rem}.dashboard-grid{gap:18px}.panel-head{padding:18px}.quick-link{font-size:.8rem;padding:12px}.panel-body{padding:18px}.record-card{padding:19px}.tabs button{padding:10px 9px;font-size:.81rem}.search-wrap{width:100%}.toolbar{gap:12px}.calendar-grid{display:block}.calendar-head{display:none}.day-cell{display:none}.day-cell.has-events{display:block;min-height:70px;border-right:0;padding:10px 16px}.day-cell.has-events.outside{display:none}.day-cell.has-events .day-num{width:auto;display:block;text-align:left;font-size:.8rem;color:#81916f}.day-cell.has-events .day-num.today{display:inline-block;padding:2px 10px;color:white}.cal-event{font-size:.85rem;white-space:normal;padding:9px 12px}.calendar-tools{justify-content:center;flex:1}.legend{font-size:.7rem;gap:15px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-header{padding:18px 20px}.modal-body{padding:20px}.modal-actions{padding:16px 20px;flex-wrap:wrap}.result-fields{gap:8px}.result-numbers{gap:13px;font-size:.74rem}.login{display:block}.login-film{min-height:250px;height:32vh}.film-brand{top:24px}.film-caption{bottom:25px}.film-caption h1{font-size:1.7rem;max-width:300px}.film-caption p,.film-footer{display:none}.login-main{padding:32px 26px}.login-box h2{font-size:1.7rem}.login-note{margin-top:20px}.priority-row{padding:16px}.rank-controls{flex-direction:column}.record-meta{gap:6px 12px}.amount-total{font-size:.8rem}.photo-grid{grid-template-columns:repeat(2,1fr)}footer.page-footer{display:block}.document-category{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.record-card.voting-active{border-top:3px solid #74a86b;background:#fcfefb}.record-card.voting-ended{border-top:3px solid #c9d0c8;background:#fafbfa}.record-card.voting-ended .card-top>svg{color:#99a198}@media(max-width:650px){.day-cell .desktop-day{display:none}.day-cell .hidden{display:inline!important}}
/* Otrā versija */
.sidebar .brand{margin-bottom:28px}.sidebar nav button{font-size:.88rem;align-items:flex-start}.sidebar nav button svg{margin-top:1px}.sidebar nav button.active{background:#e9f0e7}.sidebar-bottom{padding-top:24px}.record-card.outcome-approved{border-top:3px solid #6ba36e;background:#f6fcf5}.record-card.outcome-rejected{border-top:3px solid #c97c70;background:#fff8f7}.archive-filters{display:grid;grid-template-columns:repeat(3,minmax(140px,210px));gap:16px;margin-bottom:22px}.archive-filters .field{margin:0}.plate-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.plate-row input{flex:1;min-width:0;padding:.72rem .8rem;border:1px solid #dce3dd;border-radius:7px;color:#2a4034}.plate-chips{display:flex;gap:6px;flex-wrap:wrap;min-width:120px;max-width:330px}.plate-chip{display:inline-block;padding:3px 8px;border:1px solid #dce3dd;border-radius:5px;background:#f8faf6;font-size:.8rem;white-space:nowrap}.day-add{display:flex;align-items:center;justify-content:space-between;width:100%;padding:3px 5px 6px;background:transparent;border-radius:5px;color:inherit;text-align:left;font-size:.8rem}.day-add:hover{background:#edf3e8}.day-add.today{color:#20583f;font-weight:700;background:#e4efde}.day-plus{color:#8b9c7e;font-size:1rem;opacity:0}.day-add:hover .day-plus,.day-add:focus-visible .day-plus{opacity:1}.mobile-day{display:none}.cal-event.grill{background:#fff1db;color:#926426}.legend .grill i{background:#d9b985}.project-active{background:#fffdf5;border-color:#e8dfbb;border-top:3px solid #d7bd67}.project-done{background:#f5fcf4;border-color:#cfe2cc;border-top:3px solid #6eaa71}.project-progress{height:7px;background:#e9ebdf;border-radius:8px;overflow:hidden;margin:20px 0 10px}.project-progress span{height:100%;background:#87a873;display:block}.project-steps{margin-top:24px}.project-step{display:flex;gap:16px;position:relative;padding:20px 0;border-top:1px solid #e7eddf}.step-number{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e9eef5;color:#60779a;font-size:.85rem}.project-step.done .step-number{background:#e6f3e4;color:#4c8043}.project-step.in-progress .step-number{background:#fff1d5;color:#a17c25}.step-main{flex:1;min-width:0}.step-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:10px}.step-header h3{font-size:1rem;overflow-wrap:anywhere}.project-step .text-block{font-size:.9rem}.step-actions{display:flex;gap:16px;margin-top:12px}.project-controls{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;padding-top:22px;border-top:1px solid #e6ebde}.project-controls p{width:100%;margin:0}.result-question summary{font-size:.83rem;color:#839173;cursor:pointer;margin-top:12px}.modal-body>.btn{margin-top:12px}.sidebar .brand small{font-size:.61rem;letter-spacing:.02em}
@media(max-width:650px){.archive-filters{grid-template-columns:1fr;gap:10px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-head{display:grid}.day-cell,.day-cell.has-events,.day-cell.outside,.day-cell.has-events.outside{display:block;padding:5px 2px;min-height:76px;border-right:1px solid #edf0e8}.day-cell .desktop-day{display:inline}.mobile-day{display:none}.day-add{padding:3px 4px;font-size:.75rem}.day-plus{display:none}.cal-event{font-size:.63rem;padding:3px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-title h1{font-size:1.6rem}.step-header{flex-direction:column;gap:8px}.step-actions{gap:8px;flex-wrap:wrap}.project-step{gap:10px}.record-meta{font-size:.78rem}.project-controls .btn{width:100%}.topbar .building-chip{margin-left:auto}}
/* Posmu dokumenti un kompakts kalendārs */
.brand-home{flex-shrink:0;padding:0;cursor:pointer}.brand-home:hover{background:#d5e6ca}.brand-home:focus-visible{outline:3px solid #72ab85;outline-offset:3px}.step-documents{margin-top:16px}.step-documents h4{font-size:.88rem;font-weight:500;margin:0 0 9px;color:#6b7f5b}.calendar-layout{max-width:980px}.calendar-month .calendar-head{padding:10px 0}.calendar-month .calendar-grid{grid-auto-rows:72px}.calendar-month .day-cell{min-height:0;display:flex;flex-direction:column;padding:4px 6px;overflow:hidden}.calendar-month .day-add{flex-shrink:0;padding:2px 4px}.calendar-day-events{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}.calendar-month .cal-event{padding:3px 5px;margin:1px 0;font-size:.8rem;line-height:1.35}.calendar-layout .legend{margin:12px 3px}.calendar-layout .section-gap{margin-top:18px}#upcoming-events .event-text strong{overflow-wrap:anywhere}#upcoming-events .event-text small{display:block;margin-top:4px}
@media(max-width:650px){.calendar-month .calendar-grid{grid-auto-rows:66px}.calendar-month .day-cell{min-height:0;padding:3px 2px}.calendar-month .cal-event{font-size:.75rem;padding:3px 2px}.calendar-month .calendar-head{padding:9px 0}#upcoming-events .event-row{padding:14px 12px;gap:10px}#upcoming-events .event-text strong{font-size:.85rem}#upcoming-events .pill{font-size:.72rem;padding:.2rem .5rem}#upcoming-events .event-text small{font-size:.75rem}.calendar-layout .legend{flex-wrap:wrap}}
.language-bar{position:fixed;right:30px;top:20px;display:flex;gap:3px;z-index:150;padding:4px;background:#fff;border:1px solid #dfe7dc;border-radius:9px;box-shadow:0 3px 16px #173e2810}.language-bar button{padding:6px 10px;font-size:.82rem;font-weight:600;letter-spacing:.02em;color:#72826a;background:transparent;border-radius:5px}.language-bar button.selected{background:#20583f;color:#fff}.language-bar button:hover:not(.selected){background:#edf3e8}.topbar{padding-right:200px}.user-content{display:contents}html[lang=ru] .sidebar nav button{font-size:.85rem}
@media(max-width:650px){.language-bar{right:12px;top:13px;gap:1px;padding:3px}.language-bar button{padding:5px 8px;font-size:.75rem}.topbar{padding-right:145px}.topbar .building-chip{font-size:.75rem}}
.file-picker{position:relative;min-height:50px;border:1px dashed #dce3dd;border-radius:7px;background:#f7f9f6;padding:10px}.file-picker input[type=file]{position:absolute;inset:0;opacity:0;z-index:1;cursor:pointer;width:100%;height:100%;margin:0}.file-picker-display{display:flex;align-items:center;gap:12px;font-size:.85rem;min-width:0}.file-picker-button{flex-shrink:0;padding:5px 9px;border:1px solid #d2ddcc;border-radius:5px;background:#fff;color:#46613c}.file-selection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#839177}.file-picker:focus-within{outline:2px solid #87b69b;outline-offset:1px}
