/* Reuses the existing account-panel and administrator surface hierarchy. */
.poly-demo{box-sizing:border-box;min-width:0;color:var(--text);margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-subtle,var(--soft));font-size:13px;line-height:1.5}
.topbar-launch-heading:has(>.poly-demo){flex-wrap:wrap}.topbar-launch-heading>.poly-demo{flex:0 0 100%}
.poly-demo h2{margin:0 0 8px;font-size:15px}.poly-demo-note{margin:6px 0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.poly-demo-controls{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.poly-demo-field{display:flex;flex:1 1 120px;flex-direction:column;gap:6px;min-width:0}.poly-demo-field>span:first-child{color:var(--muted);font-size:12px}
.poly-demo select,.poly-demo input{box-sizing:border-box;width:100%;min-width:0;color:var(--text);background:var(--surface,var(--soft));border:1px solid var(--line);border-radius:7px;padding:7px;font:inherit}.poly-demo select:focus-visible,.poly-demo input:focus-visible,.poly-demo summary:focus-visible{outline:2px solid var(--accent,var(--blue));outline-offset:2px}
.poly-demo-card{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface,var(--soft))}.poly-demo-balance{display:flex;gap:8px 16px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin:8px 0 16px}.poly-demo-balance>strong{font-size:30px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.poly-demo-balance>span{color:var(--muted)}
.poly-demo-bar{display:flex;height:6px;overflow:hidden;border-radius:6px;background:var(--line);margin-bottom:12px}.poly-demo-remaining{background:var(--accent,var(--blue))}.poly-demo-reserved{background:var(--muted);opacity:.55}.poly-demo-footer{margin-top:14px;color:var(--muted);font-size:12px}.poly-demo details{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.poly-demo summary{cursor:pointer;color:var(--accent,var(--blue))}.poly-demo-history dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.poly-demo-history dt{color:var(--muted)}.poly-demo-history dd{margin:0;font-variant-numeric:tabular-nums}.poly-demo-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.poly-demo-manager>p{grid-column:1/-1}
@media(max-width:600px){.poly-demo{padding:12px}.poly-demo-manager{grid-template-columns:1fr}.poly-demo-balance>span{flex-basis:100%}}
.plan-settings form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan-settings form>p{grid-column:1/-1}.plan-settings select{min-width:0;width:100%;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}.plan-settings form input{width:100%}.plan-reference{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.plan-reference small{display:block;color:var(--muted);margin-top:4px}.plan-settings-rows{margin-bottom:20px}
@media(max-width:600px){.plan-settings form{grid-template-columns:1fr}}
.topbar-launch-heading:has(>.poly-overview-slot){flex-wrap:wrap}.poly-overview-slot{flex:0 0 100%;min-width:0}.poly-overview-slot[hidden]{display:none}.poly-overview .poly-demo-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.poly-overview button,.poly-overview select{font:inherit;color:var(--text);background:var(--surface,var(--soft));border:1px solid var(--line);border-radius:7px;padding:7px 10px}.poly-overview select{width:100%;min-width:0;margin-bottom:10px}.poly-overview button:focus-visible,.poly-overview summary:focus-visible,.poly-overview select:focus-visible{outline:2px solid var(--accent,var(--blue));outline-offset:2px}.poly-history-list{list-style:none;padding:0;margin:12px 0}.poly-history-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;border-top:1px solid var(--line);padding:10px 0;font-size:12px;overflow-wrap:anywhere}.poly-history-list small{grid-column:1/-1;color:var(--muted)}
