/* ELKA object workspace V1. Scoped patterns; existing modules retain their layout. */
body:has(.eo-detail) #bell{display:none}
.eo-detail{--ou-border:#dfe7e2;--ou-muted:#617068;--ou-ink:#23382d;--ou-green:#286347;max-width:1440px}
.eo-detail .ou-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px;box-shadow:none;border-radius:14px}
.ou-header .eo-object-title{min-width:0}.ou-header .eo-object-title h1{font-size:clamp(24px,2.5vw,34px);line-height:1.2;letter-spacing:-.035em;margin:10px 0 12px;overflow-wrap:anywhere}
.ou-header .eo-object-meta{margin:0;gap:10px}.ou-header .eo-status{position:static;font-size:12px}
.ou-address{display:flex;flex-wrap:wrap;gap:6px 20px}.ou-header .eo-location,.ou-header .eo-direction{margin:0;min-height:0;color:var(--ou-muted);font-size:14px;line-height:1.5;letter-spacing:normal;text-transform:none}.ou-header .eo-direction:empty{display:none}
.ou-header>.er-btn{flex-shrink:0}.eo-detail .ou-navigation{display:flex;gap:4px;margin:18px 0;padding:5px;background:#eef3ef;border-radius:12px;grid-template-columns:none;overflow-x:auto}
.eo-detail .ou-navigation>button{flex:1 0 auto;min-height:46px;padding:12px 14px;font-size:13px;color:#506357}.eo-detail .ou-navigation>button>svg{color:inherit}.eo-detail .ou-navigation>button[aria-selected=true]{color:#205638;border-color:#d6e1d8;box-shadow:none}
.eo-detail .eo-tab-panel{padding:24px;border-radius:14px;box-shadow:none;min-width:0}.eo-tab-panel[data-section=overview]{background:transparent;padding:0;border:0}
.ou-section-heading,.ou-attention-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ou-section-heading h2{font-size:22px;margin:0;letter-spacing:-.025em}.ou-section-heading>span{font-size:13px;color:var(--ou-muted)}
.ou-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.ou-metric{display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px;background:#fff;border:1px solid var(--ou-border);border-radius:14px;min-width:0;gap:12px}.ou-metric h3{font-size:16px;font-weight:600;margin:0;color:#415d4d}.ou-metric-value{font-size:clamp(22px,2.3vw,30px);line-height:1.25;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere}.ou-metric p{font-size:13px;line-height:1.55;color:var(--ou-muted);margin:0}.ou-metric>.ou-source{margin-top:auto;padding-top:10px}
.ou-metric-rows{margin:0;width:100%;display:grid;gap:12px}.ou-metric-rows>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.ou-metric-rows dt{font-size:13px;color:var(--ou-muted)}.ou-metric-rows dd{font-size:18px;font-weight:600;margin:0;text-align:right}.ou-metric-rows .ou-source{font-size:13px;font-weight:500}.ou-metric-rows dd{overflow-wrap:anywhere}
.ou-source{color:var(--ou-green);font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;gap:8px;align-items:center;line-height:1.5}.ou-source:hover{text-decoration:underline}.ou-source:focus-visible,.ou-text-button:focus-visible{outline:2px solid #467b57;outline-offset:4px}
.ou-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;background:#edf2ef;color:#52675a;font-size:12px;font-weight:600;line-height:1.4}.ou-status.ou-warning{background:#fff0d1;color:#80550d}
.ou-status.ou-success{background:#e8f1e6;color:#376743}.ou-work-status{display:flex;gap:6px;flex-wrap:wrap}.ou-work-sources{width:100%;font-size:13px;line-height:1.5}.ou-work-sources summary{color:var(--ou-green);cursor:pointer}.ou-work-sources p{margin-top:8px}.ou-work-sources ul{list-style:none;padding:0;margin:10px 0 0}.ou-work-sources li+li{margin-top:10px}.ou-work-sources li>span{display:block;color:var(--ou-muted)}
.ou-attention{padding:22px 24px;border:1px solid var(--ou-border);border-radius:14px;background:#fff}.ou-attention.has-attention{border-left:4px solid #bb8730}.ou-attention h3{font-size:17px;margin:0}.ou-attention ul{list-style:none;margin:0;padding:0}.ou-attention-item{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:15px 0;border-top:1px solid #edf0ed}.ou-attention-item strong{font-size:14px}.ou-attention-item p{font-size:13px;line-height:1.5;color:var(--ou-muted);margin:5px 0 0}.ou-attention-item>.ou-source{flex-shrink:0}
.ou-empty{padding:22px 0;line-height:1.5}.ou-empty strong{display:block;font-size:16px;font-weight:600}.ou-empty p{font-size:14px;color:var(--ou-muted);margin:6px 0 0;max-width:65ch}.ou-empty>.ou-source{margin-top:12px}.ou-empty.ou-success strong{color:var(--ou-green)}.ou-empty.ou-error strong{color:#9a3838}.ou-metric .ou-empty{padding:0}.ou-data-note{font-size:13px;line-height:1.5;color:var(--ou-muted);margin:12px 0 0}.ou-text-button{color:var(--ou-green);background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}
.eo-detail .eo-module-kicker,.eo-detail .eo-module-caption{display:none}.eo-detail .eo-module-heading{padding-bottom:16px}.eo-detail .eo-module-heading h2,.eo-detail .eo-tab-panel>h2{font-size:22px;margin-top:0}.eo-detail .eo-demo-note{display:none}
.eo-card.ou-list-card{padding:22px;box-shadow:none}.ou-list-card .eo-card-body{padding:0}.ou-list-card h2{margin:14px 0 10px}.ou-list-card h2 button{font-size:22px}.ou-list-card .eo-status{position:static;display:inline-flex}.ou-list-card .eo-card-footer{padding:15px 0 0;min-height:0}.ou-list-card .eo-direction{margin-top:10px}.ou-list-card .eo-location{min-height:0}.eo-view-meta{justify-content:flex-end}
.eo-card.ou-cover-card{position:relative;padding:20px;min-width:0}.ou-card-content{display:flex;align-items:flex-start;gap:16px;min-height:112px}.ou-card-content .eo-card-body{min-width:0;flex:1}.ou-cover-card h2{margin:10px 0 8px;padding-right:4px;line-height:1.2}.ou-cover-card h2 button{font-size:20px;text-align:left;overflow-wrap:anywhere}.ou-cover-card .eo-status{margin-right:24px}.ou-cover-card .eo-location,.ou-cover-card .eo-direction{font-size:12px;line-height:1.45;overflow-wrap:anywhere}.ou-cover-card .eo-direction{margin:5px 0 0}.ou-cover-card .eo-direction:empty{display:none}.ou-cover-card .eo-card-footer{margin-top:10px;padding-top:12px}
.ou-thumbnail{position:relative;display:block;flex:0 0 96px;width:96px;height:100px;overflow:hidden;border:0;border-radius:10px;padding:0;background:#edf2ef;cursor:pointer}.ou-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.ou-thumbnail>span{position:absolute;bottom:5px;right:5px;display:grid;place-items:center;background:#fffdf7e8;border-radius:5px;padding:4px;color:#315d48}.ou-thumbnail svg{width:13px;height:13px}.ou-thumbnail:focus-visible,.ou-delete-icon:focus-visible{outline:2px solid #467b57;outline-offset:3px}
.ou-delete-icon{position:absolute;right:12px;top:12px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#85928b;cursor:pointer}.ou-delete-icon svg{width:16px;height:16px}.ou-delete-icon:hover{background:#fff0ed;color:#a33b32}.ou-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.ou-photo-preview{width:180px;height:130px;object-fit:cover;border-radius:10px}.ou-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}.ou-delete-dialog{max-width:600px}.ou-delete-dialog p,.ou-delete-dialog li{font-size:14px;line-height:1.55}.ou-delete-dialog ul{margin:0;padding-left:22px}.ou-delete-warning{padding:12px 14px;background:#fff4ef;border-radius:8px;color:#8a4132}.er-btn.ou-danger{background:#a03f35;border-color:#a03f35;color:white}.er-btn.ou-danger:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:620px){.ou-card-content{gap:12px}.ou-header-actions{justify-content:flex-start}.eo-detail .ou-header{flex-wrap:wrap}}
@media(max-width:1100px){.ou-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eo-detail .ou-navigation>button{padding-inline:12px;flex:0 0 auto}}
@media(max-width:620px){.eo-detail .ou-header{padding:18px;gap:12px}.ou-header .eo-object-title h1{font-size:25px}.ou-address{display:block}.ou-header .eo-direction{margin-top:5px}.ou-metrics{grid-template-columns:1fr}.ou-metric,.ou-attention{padding:18px}.ou-section-heading{flex-wrap:wrap}.ou-attention-item{align-items:flex-start;flex-direction:column;gap:8px}.eo-detail .eo-tab-panel{padding:18px}.eo-tab-panel[data-section=overview]{padding:0}.ou-header>.er-btn{padding:9px 12px}.ou-metric-rows dd{font-size:17px}}
