/* UniApp Home's capture cards and photographed study materials, with the existing Sovi palette. */
html.sovi-business-shell[data-sovi-workspace="home"] #soviVisualCaptureRow { order:1; display:grid; grid-template-columns:1.15fr 1fr; gap:12px; margin:22px 0 0; }
html.sovi-business-shell #soviVisualCaptureRow button { position:relative; min-width:0; min-height:154px; margin:0; padding:16px; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; gap:8px; border:0; border-radius:24px; text-align:left; color:var(--on-primary,#fff); background:linear-gradient(150deg,color-mix(in srgb,var(--primary) 72%,#fff),var(--primary)); box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 14%,transparent); overflow:hidden; transition:transform .18s ease; }
html.sovi-business-shell #soviVisualCaptureRow #nativeHomePhotos { background:linear-gradient(150deg,color-mix(in srgb,var(--primary) 58%,#fff),color-mix(in srgb,var(--primary) 86%,#fff)); }
html.sovi-business-shell #soviVisualCaptureRow button::after { content:''; position:absolute; width:110px; height:110px; border:1px solid #ffffff35; border-radius:50%; right:-40px; top:-32px; pointer-events:none; }
html.sovi-business-shell #soviVisualCaptureRow button .svh-action-art { width:52px; height:48px; }
html.sovi-business-shell #soviVisualCaptureRow button .svh-action-art svg { width:100%; height:100%; }
html.sovi-business-shell #soviVisualCaptureRow button .svh-title { font-size:17px; font-weight:650; line-height:1.25; letter-spacing:-.02em; }
html.sovi-business-shell #soviVisualCaptureRow button .svh-subtitle { color:inherit; opacity:.86; font-size:11px; line-height:1.35; margin-top:5px; }
html.sovi-business-shell #soviVisualCaptureRow button .svh-arrow { display:none; }
html.sovi-business-shell #soviVisualCaptureRow button:active { transform:scale(.975); }
.svh-copy { display:flex; flex-direction:column; min-width:0; }
.svh-title { overflow-wrap:anywhere; }
.svh-subtitle { font-size:12px; line-height:1.45; font-weight:400; color:var(--ink-soft); margin-top:5px; overflow-wrap:anywhere; }
html.sovi-business-shell[data-sovi-workspace="home"] #nativeHomeActions { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px 10px; margin-top:16px; }
html.sovi-business-shell #nativeHomeActions button.svh-action { display:flex; align-items:center; justify-content:flex-start; gap:10px; min-width:0; min-height:74px; margin:0; border:0; border-radius:18px; padding:8px 2px; background:transparent; font:500 12px/1.35 -apple-system,BlinkMacSystemFont,sans-serif; text-align:center; flex-direction:column; }
html.sovi-business-shell #nativeHomeActions button.svh-action::after { content:none; }
html.sovi-business-shell #nativeHomeActions .svh-action-art { display:grid; place-items:center; width:46px; height:46px; flex:none; border-radius:16px; background:var(--card); color:var(--primary-strong); border:1px solid var(--line); }
html.sovi-business-shell #nativeHomeActions .svh-action-art svg { width:23px; height:23px; }
html.sovi-business-shell #nativeHomeActions .svh-arrow { display:none; color:var(--ink-faint); font:400 23px/1 sans-serif; flex:none; }
html.sovi-business-shell #nativeHomeActions button.svh-action--chat { grid-column:1/-1; flex-direction:row; min-height:74px; padding:13px 15px; text-align:left; background:var(--card); border:1px solid var(--line); }
html.sovi-business-shell #nativeHomeActions .svh-action--chat .svh-action-art { border:0; background:var(--primary-soft); }
html.sovi-business-shell #nativeHomeActions .svh-action--chat .svh-copy { flex:1; }
html.sovi-business-shell #nativeHomeActions .svh-action--chat .svh-title { font-size:17px; font-weight:650; }
html.sovi-business-shell #nativeHomeActions .svh-action--chat .svh-arrow { display:block; }
html.sovi-business-shell #nativeHomeActions button.svh-action--learn { grid-column:1/-1; position:relative; isolation:isolate; display:block; min-height:182px; padding:22px 18px 18px; text-align:left; overflow:hidden; background:var(--primary-soft); border:1px solid color-mix(in srgb,var(--primary) 16%,var(--line)); border-radius:24px; }
html.sovi-business-shell #nativeHomeActions .svh-learn-art { position:absolute; top:0; right:0; width:100%; height:115px; object-fit:cover; object-position:right top; z-index:-1; opacity:.9; pointer-events:none; }
html.sovi-business-shell #nativeHomeActions .svh-action--learn .svh-title { font-size:22px; line-height:1.2; font-weight:680; letter-spacing:-.03em; color:var(--ink); }
html.sovi-business-shell #nativeHomeActions .svh-action--learn .svh-subtitle { max-width:60%; min-height:32px; margin-top:8px; color:var(--ink-soft); }
html.sovi-business-shell #nativeHomeActions .svh-action--learn > .svh-arrow { display:block; position:absolute; top:24px; right:18px; padding:0 3px; color:var(--primary-strong); }
.svh-learn-options { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.svh-learn-chip { display:flex; align-items:center; gap:8px; min-height:38px; padding:5px 11px 5px 7px; border-radius:12px; color:var(--ink); background:color-mix(in srgb,var(--card) 92%,transparent); font-size:12px; font-weight:550; }
.svh-learn-chip img { width:28px; height:28px; flex:none; }
.svh-utility-title { grid-column:1/-1; color:var(--ink); font-size:15px; font-weight:600; margin:8px 0 -3px; }
html.sovi-business-shell #suggestions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:8px; }
html.sovi-business-shell #suggestions button { align-items:flex-start; flex-wrap:wrap; gap:10px; min-height:144px; padding:14px; border:1px solid var(--line); border-radius:18px; background:var(--card); }
html.sovi-business-shell #suggestions .sovi-home-icon { width:34px; height:34px; border-radius:11px; }
html.sovi-business-shell #suggestions .sovi-home-card-copy { flex:1 1 100%; order:2; }
html.sovi-business-shell #suggestions .sovi-home-card-title { font-size:12px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
html.sovi-business-shell #suggestions .sovi-home-arrow { margin-left:auto; }
html.night.sovi-business-shell #nativeHomeActions .svh-learn-art { opacity:.72; }
@media(min-width:700px) { html.sovi-business-shell[data-sovi-workspace="home"] #soviVisualCaptureRow { grid-template-columns:1.15fr 1fr; } html.sovi-business-shell #soviVisualCaptureRow button { min-height:170px; } html.sovi-business-shell #nativeHomeActions button.svh-action--learn { min-height:210px; } html.sovi-business-shell #nativeHomeActions .svh-learn-art { height:150px; width:70%; } html.sovi-business-shell #suggestions { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:350px) { html.sovi-business-shell #soviVisualCaptureRow button { min-height:151px; padding:13px; } html.sovi-business-shell #soviVisualCaptureRow button .svh-title { font-size:15px; } html.sovi-business-shell #nativeHomeActions button.svh-action { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { html.sovi-business-shell #soviVisualCaptureRow button { transition:none; } html.sovi-business-shell #soviVisualCaptureRow button:active { transform:none; } }

/* Override the earlier single-row camera style inside the new capture grid. */
html.sovi-business-shell[data-sovi-workspace="home"] #soviVisualCaptureRow #nativeHomeCamera{order:0;width:auto;margin:0;min-height:154px;border:0;border-radius:24px;align-items:flex-start;color:var(--on-primary,#fff);background:linear-gradient(150deg,color-mix(in srgb,var(--primary) 72%,#fff),var(--primary));}
html.sovi-business-shell #soviVisualCaptureRow #nativeHomeCamera>.svh-action-art{flex:none;}
html.sovi-business-shell #soviVisualCaptureRow #nativeHomePhotos{order:1;}
html.sovi-business-shell #soviNativePluginRow { display:none; }
html.sovi-business-shell[data-sovi-workspace="home"] #soviNativePluginRow { order:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0 0; }
html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill { display:flex; align-items:center; justify-content:center; gap:7px; min-width:0; min-height:calc(44.5px / var(--sovi-type-zoom, 1)); padding:8px 10px; border:1px solid var(--line); border-radius:16px; background:var(--card); color:var(--ink); font:550 12px/1.3 -apple-system,BlinkMacSystemFont,sans-serif; text-align:center; transition:transform .16s ease,background .16s ease; }
html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill svg { width:18px; height:18px; flex:none; color:var(--primary-strong); }
html.sovi-business-shell #soviNativePluginRow .svh-plugin-label { min-width:0; overflow-wrap:anywhere; }
html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill:active { transform:scale(.98); background:var(--paper-2); }
html.sovi-business-shell.sovi-type-narrow[data-sovi-workspace="home"] #soviNativePluginRow { grid-template-columns:minmax(0,1fr); }
@media(max-width:350px) { html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill { font-size:11px; padding:8px 6px; gap:5px; } }
@media(prefers-reduced-motion:reduce) { html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill { transition:none; } html.sovi-business-shell #soviNativePluginRow .svh-plugin-pill:active { transform:none; } }

