
:root { --bg:#eef3f4; --panel:#ffffff; --line:#d8e1e5; --text:#15242b; --muted:#62747c; --accent:#28666e; --accent2:#c87531; --success:#2d7a4b; --warn:#a86122; --danger:#a63d40; --shadow:0 10px 26px rgba(21,36,43,.08); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; font-family:Arial, Helvetica, sans-serif; background:var(--bg); color:var(--text); font-size:14px; }
a { color:var(--accent); text-decoration:none; }
.inline-action { display:inline-flex; align-items:center; min-height:26px; padding:4px 8px; border:1px solid var(--line); border-radius:6px; background:#f8fafb; font-weight:700; }
.inline-action:hover { background:#eaf2f4; }
.field-action-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.field-action-row input { width:100%; }
.field-action-btn { white-space:nowrap; min-height:39px; display:inline-flex; align-items:center; justify-content:center; }
.disabled-action { opacity:.45; pointer-events:none; }
.shell { display:grid; grid-template-columns:270px 1fr; min-height:100vh; }
.sidebar { background:#122a30; color:white; padding:18px 14px; box-shadow:inset -1px 0 0 rgba(255,255,255,.06); }
.brand { font-size:22px; font-weight:700; margin:0 0 4px; padding:8px 10px 0; }
.subbrand { color:#b6c7cc; margin:0 0 18px; font-size:12px; }
.nav-section { border-top:1px solid rgba(255,255,255,.08); padding:6px 0; }
.nav-section summary { list-style:none; cursor:pointer; color:#b6c7cc; font-size:12px; font-weight:700; text-transform:uppercase; padding:7px 10px; border-radius:6px; }
.nav-section summary::-webkit-details-marker { display:none; }
.nav-section summary:after { content:"+"; float:right; color:#d6e0e3; }
.nav-section[open] summary:after { content:"-"; }
.nav-group-links { padding:2px 0 4px; }
.nav-direct { display:grid; gap:2px; padding-bottom:8px; margin-bottom:6px; border-bottom:1px solid rgba(255,255,255,.08); }
.nav a { display:block; color:#eef7f8; padding:9px 10px; border-radius:6px; margin:2px 0; border-left:3px solid transparent; }
.nav a:hover, .nav a.active { background:#203d45; border-left-color:#d9a35d; }
.content { padding:18px 24px 36px; overflow:auto; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; flex-wrap:wrap; background:white; border:1px solid var(--line); border-radius:8px; padding:12px; box-shadow:var(--shadow); }
.title-block { min-width:220px; flex:0 1 300px; }
.title-block h1 { margin:0 0 4px; font-size:26px; line-height:1.12; }
.global-search { display:flex; align-items:center; gap:6px; flex:1 1 260px; max-width:520px; }
.global-search input { min-width:180px; }
.global-search button { white-space:nowrap; }
.top-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:0 0 auto; }
.top-menu { position:relative; }
.top-menu summary { list-style:none; cursor:pointer; display:inline-block; border:1px solid var(--line); background:#f8fafb; color:var(--text); padding:9px 12px; border-radius:6px; font-weight:700; }
.top-menu summary::-webkit-details-marker { display:none; }
.top-menu summary b { display:inline-block; min-width:20px; padding:1px 6px; border-radius:999px; background:var(--danger); color:white; font-size:12px; text-align:center; }
.create-menu summary { background:var(--accent); border-color:var(--accent); color:white; }
.top-panel { position:absolute; right:0; top:42px; z-index:10; width:260px; background:white; border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 30px rgba(21,36,43,.16); padding:10px; }
.quick-list a, .quick-list span { display:block; padding:9px 10px; border-radius:6px; color:var(--text); }
.quick-list a:hover { background:#e9eef0; }
.quick-list small { color:var(--muted); float:right; }
.notice-list { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.notice-list li { display:flex; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); padding:7px 0; }
.notice-list li:last-child { border-bottom:0; }
h1 { font-size:25px; margin:0 0 14px; }
h2 { font-size:18px; margin:20px 0 10px; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:14px; margin-bottom:12px; box-shadow:var(--shadow); }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.section-head h2 { margin:0; }
.grid { display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); margin-bottom:12px; }
.unit-grid { display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); }
.unit-card { display:block; color:var(--text); text-decoration:none; border:1px solid var(--line); border-left:5px solid var(--accent2); border-radius:8px; padding:10px; background:#fbfcfc; transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.unit-card h3 { margin:4px 0 8px; font-size:16px; }
.unit-card p { margin:0 0 8px; color:var(--muted); line-height:1.35; }
.unit-code { display:inline-block; font-weight:700; color:var(--accent); font-size:12px; letter-spacing:0; }
.unit-metrics { list-style:none; padding:0; margin:10px 0; display:grid; gap:6px; }
.unit-metrics li { display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding-top:6px; }
.unit-metrics strong { white-space:nowrap; }
.metric { display:block; color:var(--text); text-decoration:none; background:white; border:1px solid var(--line); border-left:5px solid var(--accent); border-radius:8px; padding:10px 12px; box-shadow:var(--shadow); min-height:68px; transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.metric strong { display:block; font-size:24px; margin-top:4px; line-height:1; }
.metric:hover, .unit-card:hover { transform:translateY(-1px); border-color:#b9c9ce; box-shadow:0 12px 28px rgba(21,36,43,.13); }
.owner-hero { display:grid; grid-template-columns:1fr auto; align-items:center; gap:14px; background:#17343c; color:white; border-radius:8px; padding:15px 17px; margin:0 0 14px; box-shadow:var(--shadow); }
.owner-hero h2 { margin:4px 0 4px; font-size:24px; }
.owner-hero p { margin:0; color:#c7d8dc; }
.owner-critical { min-width:160px; color:white; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:8px; padding:12px; text-align:center; }
.owner-critical span { display:block; color:#dbe8ea; font-size:12px; font-weight:700; }
.owner-critical strong { display:block; font-size:32px; line-height:1; margin-top:5px; }
.owner-kpi-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:10px; margin-bottom:12px; }
.owner-kpi { display:block; background:white; border:1px solid var(--line); border-left:5px solid var(--accent); border-radius:8px; padding:12px; box-shadow:var(--shadow); color:var(--text); min-height:102px; }
.owner-kpi span { display:block; color:#31434a; font-weight:700; font-size:13px; }
.owner-kpi strong { display:block; font-size:28px; margin:5px 0 3px; }
.owner-kpi small { color:var(--muted); line-height:1.25; }
.owner-red { border-left-color:#a63d40; }
.owner-blue { border-left-color:#2e6f9e; }
.owner-orange { border-left-color:#c87531; }
.owner-purple { border-left-color:#6854a4; }
.owner-yellow { border-left-color:#d6a530; }
.owner-green { border-left-color:#2d7a4b; }
.owner-darkgreen { border-left-color:#1f5b43; }
.zver-os-entry { border-left:6px solid #1f5b43; }
.zver-os-entry p { margin:0; line-height:1.45; }
.zver-structure-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:12px; }
.zver-module-card { min-height:148px; border-left-width:6px; display:grid; align-content:start; gap:8px; }
.zver-module-card span { width:38px; height:38px; display:grid; place-items:center; border-radius:999px; background:#e9eef0; color:#17343c; font-weight:900; }
.zver-module-card h3 { margin:0; font-size:18px; color:#1c363e; }
.zver-module-card p { margin:0; color:var(--muted); line-height:1.38; }
.zver-role-grid { display:grid; gap:9px; }
.zver-role-card { display:grid; grid-template-columns:46px minmax(0,1fr); gap:10px; align-items:start; border:1px solid var(--line); border-left:5px solid #2e6f9e; border-radius:8px; background:#fbfcfc; padding:11px; }
.zver-role-card:nth-child(3n) { border-left-color:#2d7a4b; }
.zver-role-card:nth-child(4n) { border-left-color:#c87531; }
.zver-role-card span { width:34px; height:34px; display:grid; place-items:center; border-radius:999px; background:#e8f2ea; color:#1f5b43; font-weight:900; }
.zver-role-card h3 { margin:0 0 4px; font-size:15px; color:#1c363e; }
.zver-role-card p { margin:0; color:var(--muted); line-height:1.35; }
.zver-status-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:10px; }
.zver-status-card { border:1px solid var(--line); border-top:5px solid #2d7a4b; border-radius:8px; background:#fbfcfc; padding:12px; min-height:118px; }
.zver-status-card strong { display:block; color:#1c363e; font-size:18px; }
.zver-status-card span { display:block; color:#31434a; font-weight:800; margin:4px 0; }
.zver-status-card p { margin:0; color:var(--muted); line-height:1.35; }
.zver-status-green { border-top-color:#2d7a4b; }
.zver-status-orange { border-top-color:#c87531; }
.zver-status-red { border-top-color:#a63d40; }
.zver-status-blue { border-top-color:#2e6f9e; }
.zver-status-purple { border-top-color:#6854a4; }
.zver-flow { display:flex; gap:10px; overflow-x:auto; padding-bottom:4px; }
.zver-flow-step { flex:0 0 150px; display:grid; gap:8px; align-content:start; border:1px solid var(--line); border-left:5px solid #1f5b43; border-radius:8px; background:#fbfcfc; padding:12px; min-height:96px; }
.zver-flow-step:nth-child(3n) { border-left-color:#2e6f9e; }
.zver-flow-step:nth-child(4n) { border-left-color:#c87531; }
.zver-flow-step strong { color:#1f5b43; font-size:22px; line-height:1; }
.zver-flow-step span { color:#1c363e; font-weight:800; line-height:1.25; }
.zver-signal-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px; }
.zver-signal-grid article { border:1px solid var(--line); border-left:5px solid #c87531; border-radius:8px; background:#fbfcfc; padding:12px; }
.zver-signal-grid article:nth-child(2) { border-left-color:#a63d40; }
.zver-signal-grid article:nth-child(3) { border-left-color:#1f5b43; }
.zver-signal-grid strong { color:#1c363e; font-size:16px; }
.zver-signal-grid p { margin:6px 0 0; color:var(--muted); line-height:1.4; }
.owner-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.owner-main-grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:14px; align-items:start; }
.owner-panel h2 { margin:0; }
.owner-card-list { display:grid; gap:10px; }
.owner-record-card { display:grid; gap:8px; border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:8px; background:#fbfcfc; padding:12px; }
.owner-record-card > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.owner-record-card p { margin:0; color:#213137; font-weight:700; line-height:1.3; }
.owner-record-card dl { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:0; }
.owner-record-card dt { color:var(--muted); font-size:12px; font-weight:700; }
.owner-record-card dd { margin:2px 0 0; color:#213137; overflow-wrap:anywhere; }
.owner-blockers { display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:10px; }
.owner-blocker { display:block; color:var(--text); background:#fbfcfc; border:1px solid var(--line); border-left:5px solid var(--accent); border-radius:8px; padding:12px; min-height:112px; }
.owner-blocker span { display:block; font-weight:700; margin:4px 0; }
.owner-blocker strong { font-size:24px; }
.owner-blocker p { margin:0; color:var(--muted); line-height:1.3; font-size:13px; }
.admin-entry-panel { background:white; border:1px solid var(--line); border-radius:8px; padding:16px; margin-bottom:14px; box-shadow:var(--shadow); }
.admin-module-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px; }
.admin-module-card { min-height:168px; display:grid; align-content:space-between; border-left:6px solid var(--accent); }
.owner-module-card.admin-module-card h3 { font-size:22px; letter-spacing:0; }
.admin-module-card p { margin:0 0 10px; color:var(--muted); line-height:1.35; }
.admin-module-card:nth-child(2) { border-left-color:#2e6f9e; }
.admin-module-card:nth-child(3) { border-left-color:#2d7a4b; }
.admin-module-card:nth-child(4) { border-left-color:#c87531; }
.admin-module-card:nth-child(5) { border-left-color:#6854a4; }
.admin-module-card:nth-child(6) { border-left-color:#d6a530; }
.admin-module-card:nth-child(7) { border-left-color:#1f5b43; }
.admin-tool-card { min-height:94px; }
.admin-tool-card p { margin:0; color:var(--muted); }
.terrain-hero { background:#1f3d34; }
.terrain-stage-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:12px; }
.terrain-stage-card { display:grid; gap:8px; align-content:start; min-height:174px; color:var(--text); background:#fbfcfc; border:1px solid var(--line); border-left:6px solid #2d7a4b; border-radius:8px; padding:13px; }
.terrain-stage-card:nth-child(2n) { border-left-color:#2e6f9e; }
.terrain-stage-card:nth-child(3n) { border-left-color:#c87531; }
.terrain-stage-card > span { width:34px; height:34px; display:grid; place-items:center; border-radius:999px; background:#e8f2ea; color:#1f5b43; font-weight:800; }
.terrain-stage-card h3 { margin:0; font-size:17px; color:#1c363e; }
.terrain-stage-card strong { font-size:28px; color:#20363d; line-height:1; }
.terrain-stage-card p { margin:0; color:var(--muted); line-height:1.35; }
.terrain-work-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:12px; }
.terrain-work-card { display:grid; gap:10px; background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #2d7a4b; border-radius:8px; padding:13px; }
.terrain-work-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.terrain-work-card h3 { margin:0; color:#1c363e; font-size:18px; line-height:1.25; }
.terrain-work-card dl { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:0; }
.terrain-work-card dt { color:var(--muted); font-size:12px; font-weight:700; }
.terrain-work-card dd { margin:3px 0 0; color:#20363d; font-weight:700; overflow-wrap:anywhere; }
.terrain-work-card p { margin:0; color:#31434a; line-height:1.4; }
.terrain-work-actions { display:flex; flex-wrap:wrap; gap:8px; }
.terrain-doc-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.terrain-doc-card { background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #c87531; border-radius:8px; padding:13px; }
.terrain-doc-card h3 { margin:0 0 8px; color:#1c363e; }
.terrain-doc-card p { margin:0; color:var(--muted); line-height:1.4; }
.terrain-template-form { display:grid; gap:16px; }
.terrain-template-panel { overflow:hidden; }
.terrain-package-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:10px; }
.terrain-package-option { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:flex-start; min-height:76px; border:1px solid var(--line); border-radius:8px; padding:11px; background:#fbfcfc; cursor:pointer; }
.terrain-package-option input { width:18px; height:18px; margin-top:3px; }
.terrain-package-option strong { display:block; color:#1c363e; margin-bottom:4px; }
.terrain-package-option small { display:block; color:var(--muted); line-height:1.35; font-size:13px; }
.terrain-package-option:has(input:checked) { border-color:#2d7a4b; box-shadow:inset 0 0 0 1px #2d7a4b; background:#eef8f1; }
.terrain-package-details { display:grid; gap:12px; }
.terrain-package-detail { border:1px solid var(--line); border-left:5px solid #c87531; border-radius:8px; padding:14px; background:#fff; }
.terrain-package-detail h3 { margin:0 0 12px; color:#1c363e; }
.terrain-detail-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.terrain-detail-grid .wide, .terrain-detail-grid .field-wide, .terrain-detail-grid .conditional-note, .terrain-detail-grid .choice-box, .terrain-detail-grid .matrix, .terrain-detail-grid .mini-grid { grid-column:1 / -1; }
.mini-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.conditional-note { border:1px dashed #c9d8dd; border-radius:8px; padding:10px 12px; background:#f7fbfc; color:var(--muted); font-size:13px; line-height:1.4; }
.conditional-note.warn { border-color:#e3bf86; background:#fff8ec; color:#6f481a; }
.hidden { display:none !important; }
.matrix { border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#fff; }
.matrix-row { display:grid; grid-template-columns:minmax(0,1fr) 130px; gap:10px; align-items:center; padding:9px 10px; border-top:1px solid var(--line); }
.matrix-row:first-child { border-top:0; }
.matrix-row input[type="checkbox"] { width:18px; height:18px; margin-right:8px; vertical-align:middle; }
.matrix-row input[type="number"] { padding:8px 9px; }
.choice-box { border:1px solid var(--line); border-radius:8px; padding:10px; background:#fff; }
.choice-box strong { display:block; margin-bottom:8px; }
.choice-list { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:7px; }
.choice-list label { display:flex; gap:8px; align-items:center; font-weight:600; color:#40545c; }
.choice-list input { width:18px; height:18px; }
.office-hero { background:#203d45; }
.office-entry-panel { border-top:4px solid #2e6f9e; }
.office-quick-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:12px; }
.office-quick-card { display:grid; gap:7px; min-height:94px; align-content:start; color:var(--text); background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #2e6f9e; border-radius:8px; padding:13px; }
.office-quick-card:nth-child(2) { border-left-color:#2d7a4b; }
.office-quick-card:nth-child(3) { border-left-color:#6f8f3d; }
.office-quick-card:nth-child(4) { border-left-color:#c87531; }
.office-quick-card strong { font-size:19px; color:#1c363e; }
.office-quick-card span { color:var(--muted); line-height:1.35; }
.office-module-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px; }
.office-module-card { min-height:158px; display:grid; align-content:space-between; border-left:5px solid #2e6f9e; }
.office-module-card:nth-child(2n) { border-left-color:#1f5b43; }
.office-module-card:nth-child(3n) { border-left-color:#6854a4; }
.office-module-card p { margin:0 0 10px; color:var(--muted); line-height:1.35; }
.office-archive-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.office-archive-card { background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #2e6f9e; border-radius:8px; padding:13px; }
.office-archive-card h3 { margin:0 0 8px; color:#1c363e; }
.office-archive-card p { margin:0; color:var(--muted); line-height:1.4; }
.green-hero { background:linear-gradient(135deg, #143a34, #476331); }
.public-green { max-width:1180px; margin:0 auto; }
.green-site { padding:22px; }
.green-site-hero { min-height:430px; background:linear-gradient(135deg, rgba(20,58,52,.94), rgba(71,99,49,.92)), url("https://zver.bg/wp-content/uploads/2024/04/20221014_092703.jpg") center/cover; color:white; padding:44px; display:grid; grid-template-columns:minmax(0, 1fr); gap:28px; align-items:end; box-shadow:var(--shadow); }
.green-site-hero h1 { margin:10px 0; max-width:820px; font-size:clamp(36px, 6vw, 72px); line-height:1.02; letter-spacing:0; }
.green-site-hero p { max-width:760px; color:#edf7ef; font-size:18px; line-height:1.55; }
.green-main-cta { background:#1f8f55; border-color:#1f8f55; color:white; font-weight:900; }
.green-main-cta:hover { background:#187844; border-color:#187844; color:white; }
.green-signal-menu { position:relative; }
.green-signal-menu summary { list-style:none; cursor:pointer; }
.green-signal-menu summary::-webkit-details-marker { display:none; }
.green-signal-button { background:#c85f2f; border-color:#c85f2f; color:white; font-weight:900; }
.green-signal-button:hover { background:#a94e25; border-color:#a94e25; color:white; }
.green-signal-panel { position:absolute; z-index:30; top:calc(100% + 9px); left:0; width:min(760px, 92vw); background:white; color:#20363d; border:1px solid var(--line); border-top:5px solid #c85f2f; box-shadow:0 18px 38px rgba(23,42,51,.26); padding:16px; display:grid; gap:14px; }
.green-signal-head { display:grid; gap:5px; }
.green-signal-head strong { font-size:20px; color:#1c363e; }
.green-signal-head span { color:#42565f; line-height:1.4; }
.green-signal-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:12px; }
.green-signal-grid article { border:1px solid var(--line); border-left:5px solid #2d7a4b; padding:12px; background:#fbfcfc; display:grid; gap:8px; align-content:start; }
.green-signal-grid article:nth-child(2n) { border-left-color:#2e6f9e; }
.green-signal-grid article:nth-child(3n) { border-left-color:#c87531; }
.green-signal-grid h3 { margin:0; color:#1c363e; font-size:17px; line-height:1.2; }
.green-signal-grid p { margin:0; color:#42565f; font-size:13px; line-height:1.35; }
.green-signal-call { justify-self:start; }
.green-districts-menu { border:1px solid var(--line); background:#f7faf8; padding:12px; }
.green-districts-menu summary { cursor:pointer; font-weight:900; color:#1c363e; }
.green-districts-menu p { margin:8px 0 10px; color:#42565f; line-height:1.4; }
.green-district-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(118px, 1fr)); gap:8px; margin-bottom:10px; }
.green-district-button { display:block; border:1px solid #cfdce0; background:white; color:#20363d; padding:9px 10px; font-weight:800; text-align:center; border-radius:6px; }
.green-district-button:hover { background:#eaf3ee; color:#143a34; border-color:#9fc5ae; }
.green-pwa-install { position:fixed; right:18px; bottom:18px; z-index:80; background:#1f8f55; color:white; border:0; border-radius:999px; padding:12px 16px; font-weight:900; box-shadow:0 14px 30px rgba(21,36,43,.25); }
.green-pwa-install[hidden] { display:none !important; }
.green-mobile-field-row { grid-template-columns:minmax(0,1fr) auto auto; }
.green-mobile-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.green-mobile-actions .btn, .green-mobile-action { min-height:40px; }
.green-offline-card { max-width:680px; margin:40px auto; background:white; border:1px solid var(--line); border-left:6px solid #1f8f55; box-shadow:var(--shadow); padding:24px; }
.green-offline-card h1 { font-size:36px; margin:8px 0; }
.green-site-panel { background:rgba(255,255,255,.94); color:#20363d; border-left:5px solid #61b15a; padding:18px; display:grid; gap:8px; align-self:end; }
.green-site-panel strong { font-size:20px; line-height:1.25; }
.green-site-panel span { color:#42565f; line-height:1.45; }
.green-site-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:14px; margin:18px 0; }
.green-site-grid article { background:white; border:1px solid var(--line); border-left:5px solid #2d7a4b; padding:16px; box-shadow:var(--shadow); }
.green-site-grid article:nth-child(2n) { border-left-color:#2e6f9e; }
.green-site-grid article:nth-child(3n) { border-left-color:#c87531; }
.green-site-buttons { grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); }
.green-site-card { min-height:132px; background:white; border:1px solid var(--line); border-left:6px solid #2d7a4b; color:#20363d; padding:17px; box-shadow:var(--shadow); display:grid; align-content:start; gap:9px; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.green-site-card:nth-child(2n) { border-left-color:#2e6f9e; }
.green-site-card:nth-child(3n) { border-left-color:#c87531; }
.green-site-card:hover { color:#20363d; transform:translateY(-2px); box-shadow:0 14px 30px rgba(23,42,51,.16); border-color:#b9cbd2; }
.green-site-card strong { font-size:22px; line-height:1.15; color:#1c363e; }
.green-site-card span { color:#42565f; line-height:1.42; }
.green-site-grid h2, .green-site-band h2 { margin:0 0 8px; color:#1c363e; font-size:20px; line-height:1.25; }
.green-site-grid p, .green-site-band p { margin:0; color:#42565f; line-height:1.5; }
.green-site-band { background:#f7faf8; border:1px solid var(--line); border-left:5px solid #2d7a4b; padding:18px; display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:12px; }
.green-site-band > div { max-width:760px; }
.green-trust-band { background:#f8fbff; border-left-color:#2e6f9e; }
.green-hold-hero { background:linear-gradient(135deg, rgba(20,58,52,.96), rgba(61,83,48,.92)), url("https://zver.bg/wp-content/uploads/2024/04/20221014_092703.jpg") center/cover; }
.green-control-panel { border-top-color:#c87531; }
.green-control-stop { border:1px solid #e4d2c2; border-left:6px solid #c87531; background:#fff8f1; padding:14px; margin-bottom:14px; }
.green-control-stop strong { display:block; color:#7a3f18; font-size:18px; margin-bottom:5px; }
.green-control-stop p { margin:0; color:#4e3f35; line-height:1.45; }
.green-control-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.green-control-card { background:white; border:1px solid var(--line); border-left:5px solid #2d7a4b; padding:13px; display:grid; grid-template-columns:34px minmax(0, 1fr); gap:4px 10px; align-items:start; }
.green-control-card:nth-child(2n) { border-left-color:#2e6f9e; }
.green-control-card:nth-child(3n) { border-left-color:#c87531; }
.green-control-card span { grid-row:1 / span 2; width:30px; height:30px; border-radius:50%; background:#214033; color:white; display:grid; place-items:center; font-weight:900; }
.green-control-card strong { color:#1c363e; font-size:17px; line-height:1.2; }
.green-control-card p { grid-column:2; margin:0; color:#42565f; line-height:1.4; }
.green-info-page h1 { margin:6px 0 8px; color:#1c363e; font-size:clamp(32px, 5vw, 54px); line-height:1.05; letter-spacing:0; }
.green-info-head { margin-top:0; align-items:flex-end; }
.green-law-primary { background:white; border:1px solid var(--line); border-left:6px solid #2d7a4b; padding:18px; box-shadow:var(--shadow); display:grid; gap:8px; margin-bottom:18px; }
.green-law-primary h2 { margin:0; color:#1c363e; font-size:23px; }
.green-law-primary p { margin:0; color:#42565f; line-height:1.5; }
.public-form-step { display:flex; align-items:flex-start; gap:12px; padding:8px 0 2px; border-top:1px solid var(--line); margin-top:4px; }
.public-form-step:first-child { border-top:0; margin-top:0; padding-top:0; }
.public-form-step span { width:30px; height:30px; border-radius:50%; background:#214033; color:white; display:grid; place-items:center; font-weight:800; flex:0 0 30px; }
.public-form-step h2 { margin:0 0 3px; font-size:18px; line-height:1.2; }
.public-form-step p { margin:0; color:var(--muted); line-height:1.35; }
.responsibility-note { grid-column:1 / -1; margin:-4px 0 4px; padding:10px 12px; border:1px solid #cfdce0; border-radius:6px; background:#f7fbfc; color:#50636c; line-height:1.4; }
.green-result-panel { border-top:4px solid #2d7a4b; }
.green-result-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px; margin-bottom:14px; }
.green-result-grid article { border:1px solid var(--line); border-radius:8px; background:#fbfcfc; padding:13px; display:grid; gap:6px; }
.green-result-grid span { color:var(--muted); font-size:12px; font-weight:800; text-transform:uppercase; }
.green-result-grid strong { color:#1c363e; font-size:18px; line-height:1.25; }
.green-result-grid p { margin:0; color:var(--muted); line-height:1.4; }
.green-result-details { display:grid; gap:8px; margin:0 0 12px; }
.green-result-details div { border-top:1px solid var(--line); padding-top:8px; }
.green-result-details dt { color:var(--muted); font-size:12px; font-weight:800; }
.green-result-details dd { margin:3px 0 0; color:#20363d; line-height:1.4; overflow-wrap:anywhere; }
.green-case-detail { margin-top:0; }
.green-case-detail-card { border:1px solid #cfdce0; border-left:5px solid #2d7a4b; border-radius:8px; background:#fbfcfc; padding:14px; display:grid; gap:12px; }
.green-case-detail-card h3 { margin:0; color:#1c363e; font-size:20px; line-height:1.25; }
.green-case-detail-card h4 { margin:0 0 6px; color:#20363d; font-size:14px; }
.green-case-detail-card p { margin:0; color:#42565f; line-height:1.45; }
.green-case-focus { font-weight:700; color:#20363d !important; }
.green-case-detail-card section { border-top:1px solid var(--line); padding-top:10px; }
.green-case-detail-card ul, .green-case-detail-card ol { margin:0; padding-left:20px; color:#42565f; line-height:1.45; }
.green-case-detail-card li { margin:4px 0; }
.green-law-list li { margin-bottom:10px; background:#fff; border:1px solid #dbe7e2; border-radius:8px; padding:10px 12px; }
.green-law-list strong { display:block; color:#1f3f35; line-height:1.25; }
.green-law-list em { display:block; color:#2d7a4b; font-style:normal; font-weight:800; margin-top:3px; }
.green-law-list p { margin:5px 0 0; color:#42565f; line-height:1.42; }
.green-law-list span { display:block; color:var(--muted); margin-top:3px; }
.green-law-list small { display:inline-block; margin-top:6px; color:#607179; font-weight:800; font-size:12px; }
.green-law-source-link { display:inline-flex; margin:6px 0 0 8px; color:#245a3d; font-weight:900; font-size:12px; text-decoration:none; }
.green-law-source-link:hover { text-decoration:underline; }
.green-panel { border-top:4px solid #2d7a4b; }
.green-form-section { grid-column:1 / -1; }
.green-procedure-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:12px; margin-bottom:16px; }
.green-procedure-card { background:white; border:1px solid var(--line); border-left:5px solid #2d7a4b; border-radius:8px; padding:14px; box-shadow:var(--shadow); display:grid; gap:10px; }
.green-procedure-card:nth-child(2n) { border-left-color:#2e6f9e; }
.green-procedure-card:nth-child(3n) { border-left-color:#c87531; }
.green-procedure-card > div:first-child { display:flex; justify-content:space-between; gap:10px; align-items:center; flex-wrap:wrap; }
.green-procedure-card h3 { margin:0; font-size:18px; color:#1c363e; line-height:1.25; }
.green-procedure-card p, .green-procedure-card small { margin:0; color:var(--muted); line-height:1.4; }
.green-procedure-card dl { display:grid; gap:8px; margin:0; }
.green-procedure-card dl div { border-top:1px solid var(--line); padding-top:8px; }
.green-procedure-card dt { color:var(--muted); font-size:12px; font-weight:800; }
.green-procedure-card dd { margin:3px 0 0; color:#20363d; overflow-wrap:anywhere; }
.green-event-list { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.green-event-list li { background:#fbfcfc; border:1px solid var(--line); border-left:4px solid #2d7a4b; border-radius:8px; padding:10px; line-height:1.35; }
.document-preview { max-width:860px; margin:0 auto 18px; padding:28px; background:#fff; }
.document-preview p { margin:0; color:#17272d; line-height:1.55; font-size:15px; }
.resource-hero { background:linear-gradient(135deg, #17343c, #28523e); }
.resource-type-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px; }
.resource-type-card { border:1px solid var(--line); border-radius:8px; padding:14px; background:#fbfcfc; display:grid; gap:10px; }
.resource-type-card > div:first-child { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.resource-type-card h3 { margin:0; font-size:16px; }
.resource-type-card p { margin:0; color:var(--muted); line-height:1.42; }
.resource-type-card strong { font-size:28px; color:#1c363e; }
.resource-type-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:2px; }
.resource-doc-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
.resource-doc-card { display:block; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--text); padding:13px; }
.resource-doc-card > div { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.resource-doc-card h3 { margin:10px 0; font-size:16px; }
.resource-doc-card dl { display:grid; gap:6px; margin:0 0 10px; }
.resource-doc-card dl div { display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding-top:6px; }
.resource-doc-card dt { color:var(--muted); font-weight:700; }
.resource-doc-card dd { margin:0; color:#1c363e; font-weight:800; }
.resource-doc-card small { color:var(--muted); }
.resource-rule-card p { margin-bottom:0; }
.service-hero { background:linear-gradient(135deg, #172f36, #623a25); }
.service-stage-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:12px; }
.service-stage-card { display:block; color:var(--text); background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #c87531; border-radius:8px; padding:13px; }
.service-stage-card:nth-child(2n) { border-left-color:#2e6f9e; }
.service-stage-card:nth-child(3n) { border-left-color:#a7433f; }
.service-stage-card span { display:block; color:var(--muted); font-weight:800; font-size:12px; }
.service-stage-card strong { display:block; font-size:31px; color:#1c363e; margin:6px 0; }
.service-stage-card p { margin:0; color:var(--muted); line-height:1.35; }
.service-machine-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:12px; }
.service-machine-card { background:#fff; border:1px solid var(--line); border-radius:8px; padding:13px; box-shadow:var(--shadow); }
.service-machine-card > div:first-child { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.service-machine-card h3 { margin:10px 0; font-size:17px; color:#1c363e; }
.service-machine-card dl { display:grid; gap:6px; margin:0 0 12px; }
.service-machine-card dl div { display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding-top:6px; }
.service-machine-card dt { color:var(--muted); font-weight:800; }
.service-machine-card dd { margin:0; color:#1c363e; font-weight:800; text-align:right; }
.service-card-actions { display:flex; gap:8px; flex-wrap:wrap; }
.service-stock-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:12px; }
.service-stock-card { background:#fbfcfc; border:1px solid var(--line); border-radius:8px; padding:12px; }
.service-stock-card.stock-low { border-left:5px solid #a7433f; }
.service-stock-card.service-stock-low { border-left:5px solid #c87531; }
.service-stock-card.service-stock-empty { border-left:5px solid #a7433f; background:#fff7f6; }
.service-stock-card.service-stock-ok { border-left:5px solid #2d7a4b; }
.service-stock-card div { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.service-stock-card span { color:var(--muted); font-weight:800; font-size:12px; }
.service-stock-card strong { color:#1c363e; white-space:nowrap; }
.service-stock-card h3 { margin:9px 0 6px; font-size:15px; }
.service-stock-card p { margin:0; color:var(--muted); }
.service-group-grid, .service-flow-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.service-group-card, .service-flow-card { background:#fbfcfc; border:1px solid var(--line); border-radius:8px; padding:13px; }
.service-group-card h3, .service-flow-card strong { display:block; margin:0 0 8px; color:#1c363e; font-size:16px; }
.service-group-card p, .service-flow-card p { margin:0; color:var(--muted); line-height:1.4; }
.employee-hero { background:linear-gradient(135deg, #143238, #244b37); }
.employee-shell .sidebar .nav-direct a[href="/terrain"], .employee-shell .create-menu, .employee-shell .global-search { display:none !important; }
.employee-topbar { align-items:center; }
.employee-kpis .owner-kpi { min-height:96px; }
.employee-focus-row { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-bottom:12px; }
.employee-focus-row article { background:white; border:1px solid var(--line); border-left:5px solid #1f5b43; border-radius:8px; padding:12px; box-shadow:var(--shadow); }
.employee-focus-row article:nth-child(2) { border-left-color:#2e6f9e; }
.employee-focus-row article:nth-child(3) { border-left-color:#6854a4; }
.employee-focus-row article:nth-child(4) { border-left-color:#c87531; }
.employee-focus-row span { display:block; color:#31434a; font-weight:800; font-size:13px; }
.employee-focus-row strong { display:block; color:#0f1f25; font-size:29px; margin-top:4px; }
.employee-panel { border-top:4px solid #1f5b43; }
.employee-day-list { display:grid; gap:14px; }
.employee-day-section { display:grid; gap:10px; border:1px solid var(--line); border-radius:8px; padding:12px; background:#fff; }
.employee-day-head { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid var(--line); padding-bottom:10px; }
.employee-day-head h3 { margin:0; color:#1c363e; font-size:19px; }
.employee-day-head span { color:var(--muted); line-height:1.3; }
.employee-day-head strong { min-width:38px; height:38px; border-radius:999px; display:grid; place-items:center; background:#e8f2ea; color:#1f5b43; font-size:20px; }
.employee-empty { margin:0; }
.employee-task-list { display:grid; gap:12px; }
.employee-task-card { display:grid; gap:12px; background:#fbfcfc; border:1px solid var(--line); border-left:6px solid #1f5b43; border-radius:8px; padding:14px; box-shadow:var(--shadow); }
.employee-task-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.employee-task-head strong { color:#1c363e; }
.employee-task-card h3 { margin:0; color:#1c363e; font-size:20px; line-height:1.25; }
.employee-instruction { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.employee-instruction div { border:1px solid var(--line); border-radius:8px; background:white; padding:10px; }
.employee-instruction span { display:block; color:var(--muted); font-size:12px; font-weight:800; margin-bottom:5px; }
.employee-instruction p { margin:0; color:#213137; line-height:1.35; }
.employee-task-card dl { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; margin:0; }
.employee-task-card dt { color:var(--muted); font-size:12px; font-weight:800; }
.employee-task-card dd { margin:3px 0 0; color:#1c363e; font-weight:800; overflow-wrap:anywhere; }
.employee-action-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(120px, 1fr)); gap:8px; }
.employee-action-grid .btn { text-align:center; padding:12px 10px; }
.employee-action-main { background:#1f5b43; }
.employee-side-list { display:grid; gap:10px; }
.employee-mini-card { display:grid; gap:7px; background:#fbfcfc; border:1px solid var(--line); border-left:5px solid #2e6f9e; border-radius:8px; padding:12px; }
.employee-mini-card strong { color:#1c363e; font-size:17px; }
.employee-mini-card span { color:var(--muted); font-weight:800; }
.employee-mini-card p { margin:0; color:#31434a; line-height:1.35; }
.employee-mini-card small { color:var(--muted); }
.employee-mini-actions { display:flex; gap:8px; flex-wrap:wrap; }
.employee-bottom-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.employee-bottom-card { display:block; min-height:138px; color:white; border-radius:8px; padding:16px; box-shadow:var(--shadow); }
.employee-bottom-card span { display:block; color:#dbe8ea; font-weight:800; font-size:13px; margin-bottom:8px; }
.employee-bottom-card strong { display:block; font-size:25px; line-height:1.15; margin-bottom:9px; }
.employee-bottom-card small { color:#e9f1f2; line-height:1.35; }
.employee-resource-card { background:linear-gradient(135deg, #17343c, #28523e); }
.employee-service-card { background:linear-gradient(135deg, #172f36, #623a25); }
.task-generator-hero { background:linear-gradient(135deg, #17343c, #3d4f7a); }
.form-wide { grid-column:1 / -1; }
.owner-module-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:12px; }
.owner-module-card { display:block; color:var(--text); border:1px solid var(--line); border-radius:8px; background:#fbfcfc; padding:13px; }
.owner-module-card h3 { margin:0 0 8px; font-size:16px; }
.owner-module-card ul { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.owner-module-card li { display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding-top:6px; color:var(--muted); }
.owner-module-card li:first-child { border-top:0; padding-top:0; }
.owner-module-card strong { color:#1c363e; white-space:nowrap; }
.module-hero { display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center; background:#17343c; color:white; border-radius:8px; padding:18px; margin:2px 0 14px; box-shadow:var(--shadow); }
.module-hero h2 { margin:4px 0 6px; font-size:24px; }
.module-hero p { margin:0; color:#c7d8dc; line-height:1.4; }
.module-eyebrow { display:inline-block; color:#f0b56f; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:0; }
.module-count { display:block; min-width:150px; text-align:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:8px; padding:14px; color:white; text-decoration:none; }
.module-count strong { display:block; font-size:34px; line-height:1; }
.module-count span { display:block; color:#c7d8dc; margin-top:5px; }
.module-kpis { display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); margin-bottom:16px; }
.kpi-card { display:block; background:white; border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:8px; padding:13px; box-shadow:var(--shadow); min-height:104px; color:inherit; text-decoration:none; }
.kpi-card:nth-child(2n) { border-top-color:var(--accent2); }
.kpi-card:nth-child(3n) { border-top-color:var(--success); }
.kpi-card span { display:block; color:var(--muted); font-weight:700; font-size:12px; }
.kpi-card strong { display:block; font-size:26px; margin:7px 0 4px; }
.kpi-card small { color:var(--muted); line-height:1.25; }
.module-count:hover, .kpi-card:hover { transform:translateY(-1px); box-shadow:0 12px 28px rgba(21,36,43,.13); }
.command-panel { padding-top:14px; }
.records-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin:6px 0 10px; }
.records-head h2 { margin:0; }
.toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 12px; }
input, select, textarea { width:100%; padding:9px 10px; border:1px solid #bac6cc; border-radius:6px; font:inherit; background:white; }
input.check { width:auto; }
textarea { min-height:84px; }
label { display:block; font-weight:700; margin:0 0 5px; }
.form-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
.field-wide { grid-column:1 / -1; }
.btn, button { display:inline-block; border:0; background:var(--accent); color:white; padding:9px 12px; border-radius:6px; cursor:pointer; font-weight:700; }
.btn.secondary { background:#637780; }
.btn.light { background:#e9eef0; color:#213137; }
.btn.green-main-cta { background:#1f8f55; border-color:#1f8f55; color:white; font-weight:900; }
.btn.green-main-cta:hover { background:#187844; border-color:#187844; color:white; }
.btn.active-filter { background:#214033; color:white; }
.btn.disabled { opacity:.45; cursor:not-allowed; pointer-events:none; }
.pagination-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:12px 0 18px; padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:8px; color:var(--muted); font-weight:700; }
.pagination-bar div { display:flex; gap:8px; flex-wrap:wrap; }
.table-shell { overflow:auto; background:white; border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); }
table { width:100%; border-collapse:collapse; background:white; }
th, td { padding:10px 11px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { background:#e9eef0; font-size:12px; color:#31434a; position:sticky; top:0; z-index:1; }
.records-table tr:nth-child(even) td { background:#fbfcfc; }
.records-table tr:hover td { background:#f2f7f7; }
.records-table td:first-child { font-weight:700; color:#1c363e; }
.records-table tr:last-child td { border-bottom:0; }
pre { margin:0; white-space:pre-wrap; max-width:360px; font-family:Consolas, monospace; font-size:12px; }
.table-scroll { overflow:auto; }
.permission-table th, .permission-table td { min-width:92px; }
.permission-table th:first-child, .permission-table td:first-child { min-width:190px; position:sticky; left:0; background:white; }
.permission-table th:first-child { background:#e9eef0; }
.center { text-align:center; }
.login { max-width:420px; margin:70px auto; background:white; border:1px solid var(--line); border-radius:8px; padding:24px; }
.error { background:#fff0f0; border:1px solid #e3a1a1; color:#8d2528; padding:10px; border-radius:6px; margin-bottom:12px; }
.notice { background:#edf7ef; border:1px solid #accfac; color:#24512b; padding:10px; border-radius:6px; margin-bottom:12px; }
.muted { color:var(--muted); }
.pill { display:inline-block; padding:5px 9px; border-radius:999px; background:#eef3f4; color:#31434a; border:1px solid var(--line); margin:2px; font-weight:700; font-size:12px; }
.status-pill { display:inline-block; padding:4px 8px; border-radius:999px; background:#edf7ef; color:#24512b; white-space:nowrap; }
.actions { min-width:190px; white-space:nowrap; }
.actions a { display:inline-block; margin:0 5px 5px 0; padding:5px 8px; border-radius:999px; background:#eef3f4; border:1px solid var(--line); color:#213137; font-size:12px; font-weight:700; }
.actions a:hover { background:#dfe9eb; }
.empty-state { text-align:center; color:var(--muted); padding:28px; }
.search-results { display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); }
.search-card { background:white; border:1px solid var(--line); border-radius:8px; padding:14px; display:grid; gap:10px; align-content:start; }
.search-card h2 { margin:0 0 4px; }
.search-card ul { margin:0; padding-left:18px; color:var(--muted); }
.mu-hero { background:#214033; }
.mu-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
.mu-card-list { display:none; gap:12px; }
.mu-card-list-visible { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); }
.mu-card { background:white; border:1px solid var(--line); border-left:5px solid #6f8f3d; border-radius:8px; padding:13px; box-shadow:var(--shadow); }
.mu-card h3 { margin:8px 0; font-size:17px; }
.mu-card p { margin:6px 0; color:#31434a; }
.mu-card-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.mu-card-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
.mu-card-actions a { display:inline-block; padding:8px 10px; border-radius:6px; background:#eef3f4; border:1px solid var(--line); color:#213137; font-weight:700; }
.mu-detail-panel { border-left:5px solid #6f8f3d; }
.mu-detail-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:10px; }
.mu-detail-item { background:#f7faf8; border:1px solid #e2e9e3; border-radius:8px; padding:10px; }
.mu-detail-item span, .mu-detail-note span { display:block; color:var(--muted); font-size:12px; font-weight:700; margin-bottom:4px; }
.mu-detail-item strong { display:block; color:#20363d; overflow-wrap:anywhere; }
.mu-detail-note { margin-top:10px; background:#fff; border:1px solid var(--line); border-radius:8px; padding:10px; }
.mu-detail-note p { margin:0; color:#31434a; }
.mu-payload { margin-top:10px; background:#f7faf8; border:1px solid #e2e9e3; border-radius:8px; padding:10px; }
.mu-payload summary { cursor:pointer; font-weight:700; color:#20363d; }
.mu-payload pre { max-width:none; margin-top:10px; }
.production-card-list { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:12px; margin-bottom:16px; }
.production-card { background:white; border:1px solid var(--line); border-left:5px solid var(--accent); border-radius:8px; padding:14px; box-shadow:var(--shadow); }
.production-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; margin-bottom:8px; }
.production-head strong { display:block; color:#1c363e; font-size:16px; }
.production-head span:not(.stock-state) { display:block; color:var(--muted); font-size:12px; margin-top:2px; }
.production-card h3 { margin:0 0 12px; font-size:18px; }
.production-quality-grid, .production-quality-inputs { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.production-quality-grid div { background:#f7faf8; border:1px solid #e2e9e3; border-radius:8px; padding:10px; }
.production-quality-grid span, .production-quality-grid small { display:block; color:var(--muted); font-size:12px; font-weight:700; }
.production-quality-grid strong { display:block; font-size:24px; color:#20363d; margin:4px 0 2px; }
.production-meta { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin:12px 0 0; }
.production-meta div { background:#fbfcfc; border:1px solid var(--line); border-radius:8px; padding:9px; }
.production-meta dt { color:var(--muted); font-size:12px; font-weight:700; }
.production-meta dd { margin:3px 0 0; color:#20363d; font-weight:700; }
.mobile-production-form { display:grid; gap:12px; }
.production-section { background:white; border:1px solid var(--line); border-radius:8px; padding:15px; box-shadow:var(--shadow); }
.production-section h2 { margin:0 0 12px; font-size:18px; }
.production-quality-inputs label { margin:0; background:#f7faf8; border:1px solid #e2e9e3; border-radius:8px; padding:10px; }
.production-quality-inputs span { display:block; color:#20363d; font-weight:700; margin-bottom:6px; }
.production-quality-inputs input { font-size:22px; font-weight:700; text-align:center; }
.production-savebar { position:sticky; bottom:0; z-index:20; display:flex; gap:8px; align-items:center; background:rgba(245,247,248,.95); border:1px solid var(--line); border-radius:8px; padding:10px; box-shadow:var(--shadow); }
.production-savebar button { flex:1; padding:13px 14px; }
.mu-stock-cards { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-bottom:16px; }
.mu-stock-card { background:white; border:1px solid var(--line); border-left:5px solid #6f8f3d; border-radius:8px; padding:15px; box-shadow:var(--shadow); }
.mu-stock-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:12px; }
.mu-stock-head h3 { margin:0; color:#1c363e; font-size:18px; line-height:1.2; }
.mu-stock-head span { color:#66777d; font-weight:700; font-size:12px; white-space:nowrap; }
.stock-metrics { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.stock-metrics div { background:#f7faf8; border:1px solid #e2e9e3; border-radius:8px; padding:10px; }
.stock-metrics strong { display:block; font-size:22px; color:#20363d; }
.stock-metrics span { display:block; color:#62747a; font-size:12px; margin-top:3px; }
.mu-stock-table .row-actions { min-width:240px; }
.stock-state { display:inline-block; padding:4px 8px; border-radius:999px; font-weight:700; font-size:12px; background:#eef3f4; color:#31434a; white-space:nowrap; }
.stock-state.ok { background:#edf7ef; color:#24512b; }
.stock-state.reserved { background:#e7f0fb; color:#214f7a; }
.stock-state.low { background:#fff6db; color:#775915; }
.stock-state.empty { background:#fff0f0; color:#8d2528; }
.stock-settings-row { background:white; border:1px solid var(--line); border-radius:8px; padding:14px; margin:0 0 12px; box-shadow:var(--shadow); }
.stock-settings-row legend { padding:0 6px; font-weight:700; color:#1c363e; }
.stock-settings-row legend span { margin-left:8px; }
.checkline { display:flex; align-items:center; gap:8px; margin-top:23px; }
.status-new { background:#eef1f2; color:#33464d; }
.status-info { background:#e7f0fb; color:#214f7a; }
.status-warn { background:#fff6db; color:#775915; }
.status-orange { background:#fff0df; color:#905312; }
.status-ok { background:#edf7ef; color:#24512b; }
.status-bad { background:#fff0f0; color:#8d2528; }
.mu-bottom-nav { display:none; }
@media (max-width: 980px) { .mu-stock-cards { grid-template-columns:1fr; } .mu-stock-table { display:none; } }
@media (max-width: 820px) { .shell { grid-template-columns:1fr; } .sidebar { padding-bottom:10px; } .content { padding:14px; } .topbar { align-items:stretch; flex-direction:column; gap:10px; margin-bottom:12px; padding:12px; } .title-block, .global-search, .top-actions { width:100%; max-width:none; min-width:0; flex:0 0 auto; } .title-block h1 { font-size:23px; } .global-search { height:auto; } .top-actions { justify-content:flex-start; flex-wrap:wrap; } .top-menu summary { padding:8px 10px; } .top-panel { left:0; right:auto; width:min(92vw, 300px); } .module-hero, .owner-hero, .owner-main-grid, .green-site-hero { grid-template-columns:1fr; } .module-count, .owner-critical { text-align:left; } .records-head { align-items:flex-start; flex-direction:column; } .green-site { padding:12px; } .green-site-hero { min-height:0; padding:28px 18px; } .green-site-hero h1 { font-size:40px; } .green-site-band { align-items:stretch; flex-direction:column; } .green-site-band .btn, .green-site-hero .btn { width:100%; text-align:center; } .green-signal-menu { width:100%; } .green-signal-panel { position:static; width:100%; margin-top:8px; } .green-signal-grid { grid-template-columns:1fr; } .green-mobile-field-row { grid-template-columns:1fr; } .green-mobile-actions .btn { flex:1 1 calc(50% - 8px); text-align:center; } .green-pwa-install { left:16px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); border-radius:8px; } }
@media (max-width: 680px) { body { padding-bottom:70px; } .owner-kpi-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } .owner-kpi { min-height:112px; padding:11px; } .owner-record-card dl, .terrain-work-card dl, .employee-task-card dl, .employee-instruction { grid-template-columns:1fr; } .employee-focus-row, .employee-bottom-actions { grid-template-columns:1fr 1fr; } .employee-day-head { align-items:flex-start; } .owner-actions .btn, .owner-record-card .btn, .terrain-work-actions .btn { width:100%; text-align:center; padding:12px 10px; } .employee-action-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } .employee-action-grid .btn { min-height:44px; display:grid; place-items:center; } .employee-mini-actions .btn { flex:1 1 calc(50% - 8px); text-align:center; } .owner-blockers, .owner-module-grid, .terrain-stage-grid, .terrain-work-grid, .terrain-doc-grid, .office-quick-grid, .office-module-grid, .office-archive-grid, .resource-type-grid, .resource-doc-grid, .service-stage-grid, .service-machine-grid, .service-stock-grid, .service-group-grid, .service-flow-grid { grid-template-columns:1fr; } .mu-desktop-table { display:none; } .mu-card-list { display:grid; } .stock-metrics { grid-template-columns:1fr; } .production-card-list { grid-template-columns:1fr; } .production-quality-grid, .production-quality-inputs { grid-template-columns:1fr; } .production-meta { grid-template-columns:1fr; } .production-savebar { left:0; right:0; border-radius:0; margin:0 -18px; } .mu-actions .btn { flex:1 1 calc(50% - 8px); text-align:center; padding:12px 10px; } .mu-bottom-nav { position:fixed; left:0; right:0; bottom:0; z-index:50; display:grid; grid-template-columns:repeat(5, 1fr); background:#122a30; border-top:1px solid rgba(255,255,255,.12); } .mu-bottom-nav a { color:white; text-align:center; padding:10px 4px; font-size:12px; font-weight:700; } .form-grid { grid-template-columns:1fr; } .table-shell:not(.mu-desktop-table):not(.mu-stock-table) { overflow:auto; } }
@media (max-width: 420px) { .owner-kpi-grid { grid-template-columns:1fr; } }
