:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15332b;background:#f3f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}.app{min-height:100vh}header{height:68px;background:#fff;border-bottom:1px solid #dce6e1;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:5}.brand{border:0;background:none;display:flex;align-items:center;gap:10px;color:#123c31;padding:0}.brand-mark,.logo-large>span{display:grid;place-items:center;background:#087348;color:#fff;font-weight:900;border-radius:10px}.brand-mark{width:36px;height:36px;font-size:20px}.brand span:last-child{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.brand small{font-size:10px;letter-spacing:2px;color:#2478a8;margin-top:4px}.icon-btn{border:0;background:transparent;padding:8px;color:#46635a}.toast{position:fixed;top:78px;left:50%;transform:translate(-50%);z-index:20;background:#15332b;color:#fff;padding:10px 16px;border-radius:10px;box-shadow:0 8px 25px #0002}main{max-width:720px;margin:auto;padding:22px 16px 60px}.hero{padding:18px 4px 22px}.hero p{color:#087348;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:1.5px;margin:0}.hero h1{font-size:32px;line-height:1.1;margin:7px 0}.hero span,.lead{color:#60746e}.home-grid{display:grid;gap:12px}.big-card{position:relative;border:1px solid #d9e5df;background:#fff;border-radius:18px;text-align:left;padding:20px;display:grid;grid-template-columns:36px 1fr auto;grid-template-rows:auto auto;gap:2px 10px;color:#15332b;box-shadow:0 3px 14px #15332b0b}.big-card>svg:first-child{grid-row:1/3;color:#087348}.big-card b{font-size:18px}.big-card span{color:#6d7e78;font-size:13px}.big-card>svg:last-child{grid-column:3;grid-row:1/3;align-self:center}.big-card.muted{opacity:.62}.page-title{display:flex;align-items:center;gap:8px;margin-bottom:18px}.page-title h1{font-size:24px;margin:0}.list{display:grid;gap:9px}.list-row{width:100%;border:1px solid #dce6e1;background:#fff;border-radius:14px;padding:16px;display:flex;justify-content:space-between;align-items:center;text-align:left;color:#15332b}.list-row span:first-child{display:flex;flex-direction:column;gap:4px}.list-row small{color:#71817c}.badge{font-size:10px;font-weight:800;padding:5px 7px;border-radius:20px}.badge.draft{background:#fff1ce;color:#835f00}.badge.completed{background:#dff3e8;color:#087348}.primary,.secondary{width:100%;min-height:50px;border-radius:12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0}.primary{border:0;background:#087348;color:#fff}.primary:disabled{opacity:.4}.secondary{background:#fff;color:#087348;border:1px solid #9fc8b7}.section-title{font-size:17px;margin:25px 2px 10px}.panel{background:#fff;border:1px solid #dce6e1;border-radius:16px;padding:17px;margin:12px 0}.panel h2{font-size:18px;margin:0 0 15px}.field{display:grid;gap:6px;margin:13px 0}.field label,.yn>label{font-size:13px;font-weight:750;color:#3d574f}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd9d3;border-radius:10px;padding:12px;background:#fff;color:#15332b;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#087348;box-shadow:0 0 0 3px #08734812}.point-head{display:flex;justify-content:space-between;align-items:center}.danger-link{border:0;background:#fff0f0;color:#9a3333;padding:8px;border-radius:8px}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-button{border:1px dashed #75aa94;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:center;gap:8px;color:#087348;font-weight:800;background:#f4fbf7;cursor:pointer}.photo-button input{display:none}.yn{margin:17px 0}.yn>label{display:block;margin-bottom:7px}.yn>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.yn button{padding:11px;border:1px solid #cbd9d3;background:#fff;border-radius:9px}.yn button.active{background:#e3f4eb;border-color:#087348;color:#087348;font-weight:800}.statusline{font-size:12px;color:#61756e;margin:-8px 0 14px}.dot{width:8px;height:8px;background:#e4a828;border-radius:50%;display:inline-block;margin-right:5px}.review-row{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #edf1ef;padding:11px 0;font-size:14px}.review-row span{color:#687a74}.review-row b{text-align:right}.validation{background:#fff6dd;border:1px solid #ead28a;padding:14px;border-radius:12px;font-size:13px}.validation ul{margin-bottom:0}.success{text-align:center;padding:40px 10px}.success svg{color:#087348}.success h1{font-size:26px}.success p{color:#6b7b76}.pdf-note{display:flex;gap:12px;align-items:center;background:#eaf3f8;color:#1d607f;border-radius:12px;padding:14px;margin-top:22px}.pdf-note span{display:flex;flex-direction:column}.pdf-note small{margin-top:3px}.empty{text-align:center;color:#74837e;padding:25px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(160deg,#e9f4ee,#f7f9f8 50%,#e8f1f6)}.login-card{width:min(100%,410px);background:#fff;padding:30px 24px;border-radius:22px;box-shadow:0 20px 60px #123c3117}.login-card>p{text-align:center;color:#6b7b76;margin:15px 0 28px}.logo-large{display:flex;justify-content:center;align-items:center;gap:12px}.logo-large>span{width:52px;height:52px;font-size:29px}.logo-large div{display:flex;flex-direction:column;line-height:1}.logo-large strong{font-size:24px;letter-spacing:.5px}.logo-large small{color:#2478a8;letter-spacing:3px;margin-top:6px}.error{background:#fff0f0;color:#8b2e2e;padding:10px;border-radius:9px;font-size:13px}.splash{min-height:100vh;display:grid;place-items:center;font-size:25px;font-weight:900;color:#087348}@media(min-width:700px){.home-grid{grid-template-columns:1fr 1fr}main{padding-top:35px}}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.thumb{position:relative;aspect-ratio:1;border-radius:11px;overflow:hidden;background:#e8efeb;border:1px solid #d3e0da}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb-open,.thumb.simple{width:100%;height:100%;padding:0;border:0;background:transparent}.thumb-open span{position:absolute;left:6px;bottom:6px;background:#fff;color:#15332b;border-radius:20px;width:28px;height:28px;display:grid;place-items:center}.thumb-delete{position:absolute;right:6px;top:6px;border:0;background:#fff;color:#9a3333;border-radius:20px;width:30px;height:30px;display:grid;place-items:center;box-shadow:0 2px 8px #0002}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#07110edb;z-index:100;display:grid;place-items:center;padding:18px}.lightbox img{max-width:100%;max-height:88vh;border-radius:12px}.lightbox>button{position:absolute;right:18px;top:18px;border:0;background:#fff;border-radius:50%;width:42px;height:42px;display:grid;place-items:center}.locked{display:flex;gap:10px;align-items:center;background:#e3f4eb;color:#087348;border:1px solid #b8ddca;padding:13px;border-radius:12px;margin-bottom:12px}.locked span{display:flex;flex-direction:column}.locked small{color:#557068;margin-top:2px}.review-point>p{line-height:1.5;color:#40564f}.thumb.simple{display:block}.brand img{width:126px;height:34px;object-fit:contain;object-position:left center}.brand-kontroll{font-size:9px;letter-spacing:2px;color:#2478a8;font-weight:800;margin-left:1px}.logo-large{flex-direction:column;gap:8px}.logo-large img{width:min(100%,285px);height:auto}.logo-large small{font-size:11px;font-weight:800;color:#2478a8;letter-spacing:4px}.dot.saved{background:#087348}.dot.saving{background:#e4a828;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.35}}@media(max-width:390px){.brand img{width:108px}.brand-kontroll{display:none}}.admin-intro{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:4px 0 18px}.admin-intro>div{display:flex;flex-direction:column;gap:4px}.admin-intro span,.admin-help{color:#64766f;font-size:13px;margin:0}.primary.compact{width:auto;margin:0;padding:11px 14px;white-space:nowrap}.admin-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 0 2px}.admin-toggle>span{display:flex;flex-direction:column;gap:3px}.admin-toggle small{color:#71817b}.switch{width:48px;height:28px;border:0;border-radius:30px;background:#bdc9c4;padding:3px;transition:.2s}.switch span{display:block;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}.switch.on{background:#087348}.switch.on span{transform:translate(20px)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.count-pill{font-size:12px;background:#e7f3ed;color:#087348;border-radius:20px;padding:6px 9px;white-space:nowrap}.code-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}.code-row{display:grid;grid-template-columns:25px 1fr auto 32px;align-items:center;gap:7px;border:1px solid #d9e4df;border-radius:11px;padding:8px;background:#fff}.code-row.inactive{opacity:.58}.code-index{font-size:12px;color:#73837d;text-align:center}.code-fields{display:grid;grid-template-columns:minmax(70px,.45fr) 1fr;gap:7px}.code-fields input{width:100%;box-sizing:border-box;border:1px solid #d7e1dd;border-radius:8px;padding:9px;font:inherit}.mini-status{border:1px solid #cbd8d2;border-radius:20px;background:#f2f5f4;padding:7px 9px;font-size:11px}.mini-status.active{background:#e5f4ec;color:#087348;border-color:#b8ddca}.new-code{border-top:1px solid #e2e9e6;margin-top:14px;padding-top:15px}.new-code>b{display:block;margin-bottom:9px}.admin-note{display:flex;gap:8px;align-items:flex-start;color:#466158;background:#f0f6f3;border-radius:11px;padding:12px;font-size:13px;margin-bottom:20px}.admin-empty{margin:8px 0}.code-row .danger-link{padding:5px}@media(max-width:620px){.admin-intro{align-items:stretch;flex-direction:column}.primary.compact{width:100%}.two-col{grid-template-columns:1fr}.code-row{grid-template-columns:22px 1fr auto 30px}.code-fields{grid-template-columns:1fr}.code-fields input{min-width:0}}.history-tools{display:flex;flex-direction:column;gap:9px;margin:0 0 12px}.history-search{width:100%;box-sizing:border-box;border:1px solid #cfddd7;background:#fff;border-radius:11px;padding:12px 13px;font:inherit;color:#1f3931;outline:none}.history-search:focus{border-color:#087348;box-shadow:0 0 0 3px #08734814}.filter-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#edf2f0;border-radius:10px;padding:4px}.filter-tabs button{border:0;background:transparent;border-radius:8px;padding:8px;font:inherit;font-size:13px;color:#61746c}.filter-tabs button.active{background:#fff;color:#087348;font-weight:700;box-shadow:0 1px 5px #17382c14}.control-list-row{display:grid;grid-template-columns:1fr 46px;gap:7px;align-items:stretch}.control-list-row .control-open{width:100%}.control-delete{border:1px solid #ead1d1;background:#fff7f7;color:#a43c3c;border-radius:11px;display:flex;align-items:center;justify-content:center}.control-delete:hover{background:#fbeaea}.object-field-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}.object-field-row{display:grid;grid-template-columns:58px 1fr auto auto 32px;gap:8px;align-items:center;border:1px solid #d9e4df;border-radius:11px;padding:8px}.object-field-row.inactive{opacity:.58}.object-field-row>input{min-width:0;border:1px solid #d7e1dd;border-radius:8px;padding:9px;font:inherit}.object-order{display:flex;gap:3px}.object-order button{border:1px solid #d7e1dd;background:#fff;border-radius:7px;width:26px;height:30px}.checkline{display:flex;align-items:center;gap:6px;font-size:12px;color:#53675f;white-space:nowrap}@media(max-width:620px){.object-field-row{grid-template-columns:58px 1fr auto}.object-field-row .checkline{grid-column:2/4}.object-field-row .mini-status{grid-column:2}.object-field-row .danger-link{grid-column:3}}.revision-note{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;margin:0 0 14px;border:1px solid #dbe7df;border-radius:12px;background:#f5faf7}.revision-note span{font-size:14px;color:#52635a}.revision-actions{margin-top:14px;padding:16px;border:1px solid #dbe7df;border-radius:14px;background:#f8fbf9}.revision-actions h3{margin:0 0 6px}.revision-actions p{margin:0 0 12px;color:#5f6d65;font-size:14px;line-height:1.45}.revision-actions .secondary{margin-top:8px}.admin-users-card{width:100%;display:grid;grid-template-columns:34px 1fr 22px;align-items:center;gap:10px;text-align:left;border:1px solid #b9dacb;background:#edf8f2;color:#15332b;border-radius:14px;padding:15px;margin:0 0 22px}.admin-users-card>svg:first-child{color:#087348}.admin-users-card span{display:flex;flex-direction:column;gap:3px}.admin-users-card small{color:#60756c}.panel>h2{display:flex;align-items:center;gap:8px}.admin-user-list{display:flex;flex-direction:column;gap:10px}.admin-user{margin:0}.admin-user.inactive{opacity:.62}.admin-user-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.admin-user-head>div{display:flex;flex-direction:column;gap:3px}.admin-user-head small{color:#6a7b74}.admin-user .secondary{margin-bottom:0}.history-list{display:flex;flex-direction:column;gap:12px}.history-drafts>h3{margin:2px 0 8px;font-size:14px;color:#61746c;text-transform:uppercase;letter-spacing:.05em}.history-drafts{display:flex;flex-direction:column;gap:7px}.history-case{border:1px solid #d7e3dc;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 1px 4px #17382c0a}.history-case-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;background:#f7faf8;border-bottom:1px solid #e3ebe6}.history-case-head>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.history-case-head b{color:#1f3931}.history-case-head small{color:#687a71}.history-folder{border-bottom:1px solid #e7eee9}.history-folder:last-child{border-bottom:0}.history-folder summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-weight:700;color:#275044;background:#fff}.history-folder summary::-webkit-details-marker{display:none}.history-folder summary:before{content:"›";font-size:21px;line-height:1;margin-right:8px;transform:rotate(0);transition:transform .15s}.history-folder[open] summary:before{transform:rotate(90deg)}.history-folder summary span{flex:1}.history-folder summary small{font-weight:500;color:#74857d}.history-folder .history-control-row,.history-folder .folder-empty{margin:0 10px 10px}.folder-empty{padding:10px 12px;border-radius:10px;background:#f7faf8;color:#7a8a82;font-size:13px}.history-control-row .list-row{box-shadow:none}.object-field-config{grid-template-columns:58px minmax(0,1fr) minmax(0,1fr);align-items:start;padding:14px;gap:10px 12px}.object-field-config .object-order{grid-column:1;grid-row:1;align-self:center}.object-field-config .object-config-name{grid-column:2;grid-row:1;margin:0}.object-field-config .object-config-mode{grid-column:3;grid-row:1;margin:0}.object-field-config .object-config-options{grid-column:2/4;grid-row:2;margin:0}.object-field-config .object-config-required{grid-column:2;grid-row:3;align-self:center}.object-field-config .mini-status{grid-column:3;grid-row:3;justify-self:start}.object-field-config .danger-link{grid-column:1;grid-row:3;justify-self:start}.object-field-config .field input,.object-field-config .field select,.object-field-config .field textarea{min-width:0;width:100%}.object-field-config .object-config-options .secondary{margin:6px 0 0;min-height:42px}.object-save-feedback{color:#087348;font-weight:700}.searchable-object-wrap{position:relative}.searchable-object-wrap>input{padding-right:48px}.searchable-object-toggle{position:absolute;right:3px;top:3px;bottom:3px;width:42px;border:0;background:transparent;color:#28644d;font-size:24px;cursor:pointer}.searchable-object-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:240px;overflow:auto;background:#fff;border:1px solid #b9d1c4;border-radius:11px;box-shadow:0 8px 24px #15332b22;padding:4px}.searchable-object-menu button{display:block;width:100%;border:0;border-radius:7px;padding:11px 12px;text-align:left;background:#fff;color:#15332b;cursor:pointer;font:inherit;overflow-wrap:anywhere}.searchable-object-menu button:hover,.searchable-object-menu button.selected{background:#e7f4ed}.searchable-object-empty{padding:12px;color:#60746e;font-size:13px}@media(max-width:620px){.object-field-config{grid-template-columns:58px minmax(0,1fr)}.object-field-config .object-config-name{grid-column:2;grid-row:1}.object-field-config .object-config-mode{grid-column:1/3;grid-row:2}.object-field-config .object-config-options{grid-column:1/3;grid-row:3}.object-field-config .object-config-required{grid-column:1/3;grid-row:4}.object-field-config .mini-status{grid-column:2;grid-row:5}.object-field-config .danger-link{grid-column:1;grid-row:5}}
