/* Owner dashboard only. Existing Study controls and data remain unchanged. */
#view-owner{--od-ink:#203947;--od-muted:#607580;--od-line:#e1eaed;color:var(--od-ink);padding:18px 0 26px}
#view-owner>.sec-head{display:none}#owner-body{min-width:0}.od-header{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:19px 22px;background:linear-gradient(115deg,#e9f5f8,#fff4e4);border:1px solid #e0ebed;border-radius:20px}.od-header img{width:58px;height:58px;object-fit:contain;border-radius:14px}.od-heading{flex:1;min-width:0}.od-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#3f7487}.od-header h1{font-size:25px;line-height:1.2;margin:5px 0;color:#183e50;letter-spacing:-.5px}.od-header p{margin:0;color:var(--od-muted);font-size:13px}.od-lang{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:var(--od-muted)}.od-lang select{font:inherit;font-size:13px;min-height:40px;border:1px solid #d5e2e8;background:white;border-radius:10px;color:var(--od-ink);padding:7px 10px;max-width:140px}.od-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.od-panel{min-width:0;background:#fff;border:1px solid var(--od-line);border-radius:18px;box-shadow:0 4px 18px #183e5007;overflow:hidden}.od-panel-head{display:flex;gap:12px;align-items:center;padding:19px 20px 16px;border-bottom:1px solid #eaf0f2}.od-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e6f3f7;color:#28758c;flex-shrink:0}.od-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}.od-test-icon{background:#fff1d9;color:#af791c}.od-panel h2{font-size:16px;line-height:1.3;margin:0 0 3px;color:var(--od-ink)}.od-panel-head p{font-size:12px;line-height:1.4;margin:0;color:var(--od-muted)}#view-owner #owner-users{color:var(--od-ink);padding:0 16px 16px}.od-users-summary{display:flex;align-items:center;justify-content:space-between;padding:15px 3px;font-size:12px}.od-users-summary strong{font-size:13px}.od-live{display:inline-flex;align-items:center;gap:5px;color:#297a65;background:#eaf8f1;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:800}.od-live:before{content:'';height:5px;width:5px;border-radius:50%;background:#2c9679}#view-owner .ou-row{border:1px solid #e4ecef;border-radius:13px;background:#f8fbfc;margin-bottom:10px;padding:15px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px}#view-owner .ou-row:last-child{margin-bottom:0}.od-avatar{height:40px;width:40px;border-radius:12px;background:#dfedf4;color:#25647d;display:grid;place-items:center;font-size:14px;font-weight:800}.ou-row:nth-child(3n) .od-avatar{background:#fff0d7;color:#9a6821}.ou-row:nth-child(3n+1) .od-avatar{background:#e2f3ed;color:#307b66}.od-user-info{min-width:0}.od-user-name{font-size:14px;font-weight:800;line-height:1.45;color:var(--od-ink);overflow-wrap:anywhere}.od-user-email{font-size:12px;line-height:1.5;color:var(--od-muted);overflow-wrap:anywhere;margin-top:1px}.od-profile{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.od-tag{font-size:10px;line-height:1.5;font-weight:700;border-radius:6px;padding:3px 7px;color:#3b6577;background:#eaf1f5}.od-tag-city{background:#eef3ed;color:#587059}.od-tag-owner{background:#fff0d1;color:#8c6325}.od-user-stats{display:flex;flex-wrap:wrap;gap:14px;font-size:11px;color:var(--od-muted);padding-top:1px}.od-user-stats b{font-size:12px;color:#294a5b;margin-right:3px}.od-login{font-size:10px;color:var(--od-muted);margin-top:8px;line-height:1.5}.od-test-form{padding:18px 20px 20px}.od-field{display:block;margin-bottom:13px}.od-label{display:block;font-size:11px;font-weight:800;margin-bottom:6px;color:#465f6c}.od-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}#view-owner .oinput{box-sizing:border-box;background:#fafcfd;border:1px solid #dce6eb;border-radius:10px;color:#263e4b;font-size:12px;min-height:43px;padding:11px 12px;margin:0;width:100%}#view-owner .oinput:focus{outline:2px solid #a8cddc;outline-offset:1px}#view-owner .ot-q{padding:15px 13px;margin:4px 0 14px;background:#f7fafb;border:1px solid #e4ecef;border-radius:13px}#view-owner .ot-opt{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;margin:8px 0}#view-owner .ot-opt input[type=radio]{width:16px;height:16px;margin:0;accent-color:#28758c}#view-owner .ot-q .muted{color:var(--od-muted)}.od-q-title{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:12px;margin-bottom:10px;color:#2b5465}.od-q-title span{font-weight:500;font-size:10px;color:var(--od-muted)}.od-form-hint{font-size:10px;line-height:1.5;color:var(--od-muted);margin:10px 0 0}.od-actions{display:grid;gap:9px}#view-owner .od-actions .btn{width:100%;min-height:43px;font-size:12px;border-radius:10px}#view-owner #ot-addq{background:#eaf3f7;border:1px solid #d6e6ed;color:#2e667c}#view-owner #ot-save{background:#183e50;border:1px solid #183e50;color:white}.od-credit{text-align:center;margin:22px 0 0;font-size:10px;font-weight:700;color:#577786}.od-credit span{display:inline-block;border-bottom:2px solid #d9b578;padding:0 11px 7px}.od-empty{font-size:12px;padding:15px 4px;line-height:1.6;color:var(--od-muted)}
@media(min-width:1100px){#view-owner{max-width:1180px;margin:auto}.od-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}}
@media(max-width:760px){.od-layout{grid-template-columns:minmax(0,1fr);gap:16px}#view-owner{padding-top:10px}.od-header{padding:15px;gap:10px;flex-wrap:wrap;margin-bottom:15px;border-radius:16px}.od-header img{width:45px;height:45px}.od-header h1{font-size:21px}.od-header p{font-size:11px}.od-lang{flex-direction:row;align-items:center;margin-left:55px}.od-lang select{min-height:36px;font-size:11px}.od-panel-head{padding:16px}.od-test-form{padding:16px}.od-fields{grid-template-columns:minmax(0,1fr) 86px}.od-panel h2{font-size:15px}#view-owner .ou-row{padding:13px;gap:9px;grid-template-columns:34px minmax(0,1fr)}.od-avatar{width:34px;height:34px;font-size:12px}.od-user-name{font-size:13px}}
body.theme-dark #view-owner{--od-ink:#e2edf2;--od-muted:#a6bbc5;--od-line:#34525f}body.theme-dark .od-header{background:linear-gradient(115deg,#203f4c,#3a382c);border-color:#3d5760}body.theme-dark .od-header h1{color:#eff7fb}body.theme-dark .od-eyebrow{color:#b0d6e7}body.theme-dark .od-panel{background:#203844}body.theme-dark .od-panel-head{border-color:#36505c}body.theme-dark #view-owner .ou-row,body.theme-dark #view-owner .ot-q{background:#263f4b;border-color:#3a5561}body.theme-dark .od-user-stats b,body.theme-dark .od-q-title,body.theme-dark .od-label{color:#c9e0eb}body.theme-dark #view-owner .oinput{background:#1b323e;border-color:#41606e;color:#e3eef4}body.theme-dark .od-tag{background:#355765;color:#d8ebf2}body.theme-dark .od-tag-city{background:#36564b;color:#d0e6da}body.theme-dark .od-tag-owner{background:#5b4d2d;color:#ffe4a4}body.theme-dark .od-credit{color:#b4ced9}
@media(max-width:760px){#view-owner .od-header{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center}#view-owner .od-heading{width:100%}#view-owner .od-lang{grid-column:2;margin-left:0;justify-self:start}#view-owner .od-header p{line-height:1.5}#view-owner .od-header h1{margin:4px 0}}
body.theme-dark #view-owner .od-lang select{background:#1b323e;color:#e3eef4;border-color:#41606e}

/* Study-only reversible access controls */
.od-access-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;grid-column:2;margin-top:10px}.od-access-badge{font-size:12px;font-weight:700;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:20px;padding:5px 9px}.od-access-badge.is-suspended{color:#993b16;background:#fff1e8}.od-access-toggle{min-height:44px;padding:8px 14px}.od-access-confirm{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.od-suspend-confirm{background:#993b16;color:#fff}.od-access-confirm .btn{min-height:44px}.ou-row>.od-access-badge{grid-column:2;justify-self:start;margin-top:10px}
