/* HERO Center R17. Shared UI, responsive server management and access preparation. */
.potter-ui{
  --p-surface:var(--commercial-surface,#111827);--p-canvas:var(--commercial-canvas,#0b1220);
  --p-text:var(--text,#f1f5f9);--p-muted:var(--muted,#94a3b8);--p-line:var(--border,#293548);
  --p-accent:#38bdf8;--p-soft:#0ea5e90a;--p-icon-bg:#0ea5e917;
  display:grid;gap:24px;min-width:0;color:var(--p-text);font-size:14px;line-height:1.55;
}
.potter-ui,.potter-ui *{box-sizing:border-box}
.potter-ui [hidden]{display:none!important}
.potter-ui :is(h2,h3,p,dl){margin:0}
.potter-ui :is(h2,h3){color:var(--p-text);font-weight:700;letter-spacing:-.02em;line-height:1.35;overflow-wrap:anywhere}
.potter-ui h2{font-size:19px}.potter-ui h3{font-size:16px}
.potter-ui .p-muted{color:var(--p-muted)}
.potter-ui small{font-size:12px;line-height:1.5}
.potter-ui .p-label{font-size:12px;font-weight:600;color:var(--p-muted);line-height:1.4}
.potter-ui .p-eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;color:var(--p-accent)}
.potter-ui .p-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.potter-ui .p-intro p{max-width:760px;flex:1 1 250px;font-size:14px}
.potter-ui .p-card{padding:22px;min-width:0;display:flex;flex-direction:column;gap:18px;background:var(--p-surface);border:1px solid var(--p-line);border-radius:16px;box-shadow:0 4px 14px #00000009}
.potter-ui .p-icon{display:block;width:20px;height:20px;flex:0 0 20px}
.potter-ui .p-platform-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--p-icon-bg);color:var(--p-accent)}
.potter-ui .p-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.potter-ui .p-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 15px;border:1px solid var(--p-line);border-radius:10px;background:transparent;color:var(--p-text);font:inherit;font-size:13px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.potter-ui .p-button>.p-icon{width:17px;height:17px;flex-basis:17px}
.potter-ui .p-button:hover{background:var(--p-soft);border-color:var(--p-accent)}
.potter-ui .p-primary{background:#0284c7;border-color:#0284c7;color:#fff}
.potter-ui .p-primary:hover{background:#0369a1;border-color:#0369a1;color:#fff}
.potter-ui .p-button:disabled{opacity:.5;cursor:not-allowed}
.potter-ui :is(a,button,input,select,summary,textarea):focus-visible{outline:3px solid var(--p-accent);outline-offset:3px}
.potter-ui .p-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.potter-ui .p-section-heading>div{min-width:0;display:grid;gap:5px}
.potter-ui .p-section-heading p{font-size:13px}
.potter-ui .p-section-heading>.p-button{flex-shrink:0}
.potter-ui .p-columns,.potter-ui .p-partners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.potter-ui .p-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;min-width:0}
.potter-ui .p-stat{display:grid;gap:9px;align-content:start;padding:18px;border:1px solid var(--p-line);border-radius:14px;background:var(--p-surface);min-width:0}
.potter-ui .p-stat strong{font-size:30px;font-weight:750;line-height:1.15;letter-spacing:-.03em;overflow-wrap:anywhere}
.potter-ui .p-stat-accent{border-color:#0ea5e94d;background:var(--p-soft)}
.potter-ui .p-stat-accent strong{color:var(--p-accent)}
.potter-ui .p-badge{display:inline-flex;width:fit-content;flex-shrink:0;align-items:center;padding:4px 9px;border:1px solid #0ea5e936;border-radius:7px;background:var(--p-icon-bg);color:var(--p-accent);font-size:11px;font-weight:650;line-height:1.4}
/* Home: useful actions first, compact truthful counters, recent server directory. */
.potter-ui .p-welcome{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(110deg,#0ea5e917,transparent),var(--p-surface);border-color:#0ea5e947}
.potter-ui .p-welcome-text{display:grid;gap:8px;min-width:0;max-width:610px}
.potter-ui .p-welcome h2{font-size:24px}
.potter-ui .p-welcome>.p-button{flex-shrink:0}
.potter-ui .p-home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.potter-ui .p-home-summary .p-summary-plan strong{font-size:22px;line-height:1.4}
.potter-ui .p-home-summary small{align-self:end}
.potter-ui .p-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.potter-ui .p-quick-card{display:flex;align-items:center;gap:14px;padding:18px;min-width:0;border:1px solid var(--p-line);border-radius:14px;background:var(--p-surface);color:var(--p-text);text-decoration:none;transition:border-color .15s,background .15s}
.potter-ui .p-quick-card:hover{border-color:var(--p-accent);background:var(--p-soft)}
.potter-ui .p-quick-text{display:grid;gap:4px;min-width:0}.potter-ui .p-quick-text strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.potter-ui .p-quick-card>.p-icon{margin-left:auto;width:17px;height:17px;flex-basis:17px;color:var(--p-muted)}
.potter-ui .p-home-servers{display:grid;gap:14px;min-width:0}
.potter-ui .p-recent-list{border:1px solid var(--p-line);border-radius:14px;overflow:hidden;background:var(--p-surface)}
.potter-ui .p-recent-list>p,.potter-ui .p-recent-list>.p-button{margin:16px}
.potter-ui .p-recent-server{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:15px 18px;border-top:1px solid var(--p-line)}
.potter-ui .p-recent-server:first-child{border-top:0}
.potter-ui .p-recent-identity{display:grid;gap:3px;min-width:0}.potter-ui .p-recent-identity>*{overflow-wrap:anywhere}
.potter-ui .p-code-chip{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--p-accent);background:var(--p-icon-bg);padding:5px 8px;border-radius:7px;font-size:12px;font-weight:700;overflow-wrap:anywhere;max-width:155px}
.potter-ui .p-recent-server>.p-button{font-size:12px;padding:8px 10px}
.potter-ui .p-home-account{display:flex;flex-direction:row;align-items:center;gap:14px}
.potter-ui .p-home-account>.p-icon{color:var(--p-accent)}
.potter-ui .p-home-account>div{flex:1;min-width:0;display:grid;gap:4px}.potter-ui .p-home-account h2{font-size:16px}.potter-ui .p-home-account p{font-size:13px}
/* Servers: no enclosing card around the entire card grid. */
.potter-ui .hero-group-panel{display:grid;gap:18px;min-width:0}
.potter-ui .p-server-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.potter-ui .p-server-search{flex:1;max-width:560px}
.potter-ui .p-server-count{padding-bottom:13px;color:var(--p-muted);font-size:12px;white-space:nowrap}
.potter-ui .hero-group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;align-items:start}
.potter-ui .hero-group-row{padding:20px;gap:16px;transition:border-color .15s}
.potter-ui .hero-group-row:hover{border-color:#0ea5e955}
.potter-ui .hero-group-heading{display:flex;align-items:center;gap:11px;min-width:0}
.potter-ui .p-server-identity{min-width:0;flex:1}.potter-ui .p-server-identity h3{font-size:17px}
.potter-ui .p-server-edit{border-color:transparent;font-size:12px;padding:8px;flex-shrink:0;color:var(--p-muted)}
.potter-ui .p-server-dns{display:grid;gap:4px;min-width:0}
.potter-ui .hero-group-origin{font-size:13px;overflow-wrap:anywhere;word-break:break-word;color:var(--p-text)}
.potter-ui .p-server-code-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #0ea5e928;border-radius:11px;background:var(--p-soft);min-width:0}
.potter-ui .p-server-code-row>div{display:grid;gap:5px;min-width:0}.potter-ui .p-server-code-row .p-label{font-size:9px;letter-spacing:.1em}
.potter-ui .hero-group-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:24px;line-height:1.25;letter-spacing:.02em;color:var(--p-accent);overflow-wrap:anywhere}
.potter-ui .p-server-code-row>.p-button{border:0;flex-shrink:0;padding:8px;font-size:12px;color:var(--p-accent)}
.potter-ui .p-server-share{width:100%}
.potter-ui .p-server-more{border-top:1px solid var(--p-line);margin-top:-3px;padding-top:3px}
.potter-ui .p-server-more>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;color:var(--p-muted);cursor:pointer;font-size:12px;list-style:none}
.potter-ui .p-server-more>summary::-webkit-details-marker{display:none}.potter-ui .p-server-more>summary .p-icon{width:15px;height:15px;flex-basis:15px}
.potter-ui .p-server-more>.p-button{width:100%;font-size:12px}
.potter-ui .p-empty-state{grid-column:1/-1;display:grid;justify-items:center;gap:12px;text-align:center;border:1px dashed var(--p-line);border-radius:14px;padding:38px 22px}
.potter-ui .p-empty-state>.p-icon{width:28px;height:28px;color:var(--p-muted)}
.potter-ui .p-empty-state p{max-width:420px}
.potter-ui .hero-group-feedback:empty,.potter-ui .p-form-status:empty{display:none}
.potter-ui .hero-group-feedback{padding:12px 14px;border-radius:10px;border:1px solid var(--p-line);background:var(--p-soft);overflow-wrap:anywhere}
.potter-ui .p-server-note{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid var(--p-line);color:var(--p-muted);font-size:12px}
.potter-ui .p-server-note p{flex:1}.potter-ui .p-server-note .p-button{font-size:12px}
/* Access composer and the five existing apps. */
.potter-ui .p-share-composer{border-color:#0ea5e94d;background:linear-gradient(110deg,#0ea5e90b,transparent),var(--p-surface)}
.potter-ui .p-composer-heading{display:flex;align-items:flex-start;gap:12px}.potter-ui .p-composer-heading>div{min-width:0;display:grid;gap:5px}
.potter-ui .p-composer-heading p{font-size:13px}
.potter-ui .p-share-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.potter-ui .p-share-fields>.p-field:has(select[name=partner]){grid-column:1/-1}
.potter-ui .p-selected-server{font-size:13px;color:var(--p-muted);padding:10px 12px;background:var(--p-canvas);border:1px solid var(--p-line);border-radius:9px;overflow-wrap:anywhere}
.potter-ui .p-selection-ready{color:var(--p-accent);border-color:#0ea5e94d}
.potter-ui .p-message-details>summary,.potter-ui .p-share-options>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--p-muted)}
.potter-ui :is(.p-message-details,.p-share-options)>summary::-webkit-details-marker{display:none}
.potter-ui :is(.p-message-details,.p-share-options)>summary>.p-icon{width:16px;height:16px;flex-basis:16px}
.potter-ui :is(.p-message-details,.p-share-options,.p-server-more)[open]>summary>.p-icon{transform:rotate(180deg)}
.potter-ui .p-message-details textarea{margin-top:8px;font-size:12px;line-height:1.65;resize:vertical;min-height:170px}
.potter-ui .p-share-composer>.p-actions>small{flex:1;min-width:150px}
.potter-ui .p-app-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.potter-ui .p-app-card{gap:16px}.potter-ui .p-app-card>.p-actions{margin-top:auto}
.potter-ui .p-app-heading{display:flex;align-items:center;gap:12px;min-width:0}.potter-ui .p-app-heading>div{display:grid;gap:4px;min-width:0}.potter-ui .p-app-heading h2{font-size:17px}.potter-ui .p-app-heading p{font-size:12px}
.potter-ui .p-app-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:18px 24px}
.potter-ui .p-app-featured>.p-downloader-row{grid-column:2;grid-row:1/3}
.potter-ui .p-downloader-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid var(--p-line);border-radius:11px;background:var(--p-soft);min-width:0}
.potter-ui .p-downloader-row>div{display:grid;gap:5px;min-width:0}.potter-ui .p-download-code{font-size:28px;line-height:1.2;letter-spacing:.05em;color:var(--p-accent);overflow-wrap:anywhere}
.potter-ui .p-downloader-row>.p-button{border:0;color:var(--p-accent);padding:8px;flex-shrink:0}
.potter-ui .p-share-options{border-top:1px solid var(--p-line)}.potter-ui .p-share-options>.p-actions{padding-top:8px}
.potter-ui .p-share-options p{font-size:12px}
/* Plan and contact belong to the reseller, never to an arbitrary DNS. */
.potter-ui .p-single-profile{grid-template-columns:minmax(0,1fr);max-width:950px}
.potter-ui .p-profile-heading{display:flex;align-items:center;gap:12px;min-width:0}.potter-ui .p-profile-heading>div{min-width:0;display:grid;gap:4px;flex:1}.potter-ui .p-profile-heading h2{font-size:18px}
.potter-ui .p-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.potter-ui .p-fact-tile{display:grid;align-content:start;gap:6px;padding:15px;border:1px solid var(--p-line);border-radius:11px;min-width:0}.potter-ui .p-fact-tile>strong{font-size:18px;overflow-wrap:anywhere}
.potter-ui .p-profile-usage{display:grid;gap:10px;padding:4px 0}
.potter-ui .p-usage{display:grid;gap:10px;min-width:0}
.potter-ui .p-usage-count{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}.potter-ui .p-usage-count strong{font-size:32px;font-weight:750;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere}.potter-ui .p-usage-count span{font-size:14px;overflow-wrap:anywhere}
.potter-ui meter{display:block;width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;background:var(--p-line)}
.potter-ui meter::-webkit-meter-bar{background:var(--p-line);border:0;border-radius:10px}.potter-ui meter::-webkit-meter-optimum-value{background:#0ea5e9;border-radius:10px}.potter-ui meter::-moz-meter-bar{background:#0ea5e9}
.potter-ui .p-profile-contact{display:flex;align-items:center;gap:12px;border-top:1px solid var(--p-line);padding-top:18px;min-width:0}.potter-ui .p-profile-contact>.p-icon{color:var(--p-accent)}
.potter-ui .p-profile-contact>div{flex:1;min-width:0;display:grid;gap:4px}.potter-ui .p-profile-contact strong{overflow-wrap:anywhere}.potter-ui .p-profile-contact>.p-button{flex-shrink:0}
/* Forms, messages and help. */
.potter-ui .p-field,.potter-ui .p-form{display:grid;gap:7px;min-width:0}.potter-ui .p-form{gap:18px}.potter-ui .p-field>span{font-size:13px;font-weight:600}
.potter-ui :is(input,select,textarea){width:100%;min-width:0;min-height:46px;padding:11px 12px;background:var(--p-canvas);color:var(--p-text);border:1px solid var(--p-line);border-radius:10px;font:inherit;color-scheme:dark}
.potter-ui input::placeholder{color:var(--p-muted);opacity:.8}.potter-ui :is(input,select):disabled{opacity:.6}
.potter-ui .p-search{max-width:560px}
.potter-ui .p-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:26px;overflow:auto;border:1px solid var(--p-line);border-radius:18px;background:var(--p-surface);color:var(--p-text);box-shadow:0 30px 100px #0008;margin:auto}
.potter-ui .p-dialog[open]{display:grid;gap:20px}.potter-ui .p-dialog::backdrop{background:#020617b3;backdrop-filter:blur(4px)}
.potter-ui .p-notice,.potter-ui .p-feedback{padding:13px 15px;border:1px solid #0ea5e947;border-radius:10px;background:var(--p-soft);overflow-wrap:anywhere}
.potter-ui .p-warning{color:#fbbf24}.potter-ui .p-loading{padding:22px;color:var(--p-muted)}
.potter-ui .p-steps{list-style:decimal;padding-left:24px;margin:0;display:grid;gap:10px}.potter-ui .p-steps li{padding-left:5px}.potter-ui .p-steps li::marker{color:var(--p-accent);font-weight:700}
.potter-ui .p-attention{list-style:disc;padding-left:22px;margin:0;display:grid;gap:8px;overflow-wrap:anywhere}
.potter-ui .p-faq{border-bottom:1px solid var(--p-line);padding-bottom:12px}.potter-ui .p-faq summary,.potter-ui .p-help-details>summary{min-height:44px;cursor:pointer;list-style-position:inside;padding:10px 0;font-weight:600;font-size:14px}
.potter-ui .p-faq p,.potter-ui .p-help-details>p{padding:6px 0 12px;max-width:800px;font-size:13px}
.potter-ui .p-origin{overflow-wrap:anywhere}
.potter-ui>.p-feedback{position:fixed;z-index:80;left:16px;right:16px;bottom:calc(82px + env(safe-area-inset-bottom,0px));width:fit-content;max-width:min(540px,calc(100vw - 32px));max-height:40dvh;overflow:auto;margin:0 auto;padding:11px 12px 11px 16px;border:1px solid #0ea5e96b;border-radius:12px;background:var(--p-surface);box-shadow:0 10px 34px #0005;white-space:pre-line;display:flex;align-items:center;gap:12px}
.potter-ui>.p-feedback>span{min-width:0;flex:1}.potter-ui .p-feedback-close{align-self:flex-start;border:0;min-width:44px;min-height:44px;padding:8px;color:var(--p-accent);font-size:12px;flex-shrink:0}
/* Preserve native registration and the existing account/security routes. */
.potter-ui .potter-trial{margin:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;max-width:none;color:var(--p-text)}
.potter-ui .potter-trial details{background:transparent;border:0}.potter-ui .potter-trial summary{color:var(--p-text);font-size:14px;padding:0 0 12px}
.potter-ui .potter-trial :is(label,p,small){color:var(--p-muted)}.potter-ui .potter-trial label{color:var(--p-text)}.potter-ui .potter-trial form{display:grid;gap:16px}
.potter-ui .potter-trial :is(button[type=submit],.potter-return){background:#0284c7;color:#fff;border:1px solid #0284c7;border-radius:10px;min-height:44px;font-weight:650;padding:10px 14px}
.potter-ui .potter-trial [data-trial-status]{border-color:var(--p-line);background:var(--p-soft);color:var(--p-text)}
.center-app.light .potter-ui{--p-accent:#0369a1;--p-soft:#0284c707;--p-icon-bg:#e0f2fe}
.center-app.light .potter-ui :is(input,select,textarea){color-scheme:light}.center-app.light .potter-ui .p-warning{color:#92400e}
/* Simplify the shell: flatter navigation and one clear page heading. */
.center-app .center-nav-block{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;margin:14px 0}
.center-app .center-nav-block-header{padding:8px 12px}.center-app .center-nav-block-title{font-size:10px;letter-spacing:.1em}
.center-app .center-nav-block-list{padding:0;gap:4px;background:transparent}
.center-app .center-nav-link{min-height:48px;border-color:transparent;background:transparent;box-shadow:none;border-radius:10px;padding:8px 12px;gap:12px}
.center-app .center-nav-link .center-nav-icon-box{width:30px;height:30px;min-width:30px;border:0;background:transparent;box-shadow:none;border-radius:8px}
.center-app .center-nav-link.is-active{background:#0ea5e914;border-color:#0ea5e938;box-shadow:none}
.center-app .center-nav-link.is-active .center-nav-icon-box{background:#0ea5e917;box-shadow:none}
.center-app .center-context-badge{box-shadow:none;border-radius:12px}
.center-app .center-top-actions{flex-wrap:nowrap}
.center-app .potter-top-context{font-size:11px;font-weight:650;letter-spacing:.08em;color:var(--muted)}
.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading{margin-bottom:16px;gap:12px;align-items:center}
.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading>div>p{display:none}
.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading h1{font-size:28px;letter-spacing:-.035em;line-height:1.25}
.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading>button{padding:8px 11px;min-height:44px;font-size:12px;background:transparent}
.center-app .center-main:has(>potter-section[data-design=r17])>.center-breadcrumbs{margin-bottom:18px;font-size:11px}
@media(min-width:1300px){.potter-ui .hero-group-list{grid-template-columns:repeat(3,minmax(0,1fr))}.potter-ui .p-partners{grid-template-columns:repeat(2,minmax(0,1fr))}.potter-ui .p-single-profile{grid-template-columns:minmax(0,1fr)}}
@media(min-width:769px){.potter-ui>.p-feedback{bottom:24px;right:24px}}
@media(min-width:901px){.center-app:not(.center-collapsed) .potter-ui>.p-feedback{left:260px}}
@media(max-width:900px){.potter-ui .p-columns,.potter-ui .p-partners{grid-template-columns:minmax(0,1fr)}.center-app .potter-top-context{display:none}.potter-ui .p-welcome{align-items:flex-start;flex-direction:column}.potter-ui .p-welcome>.p-button{align-self:flex-start}}
@media(max-width:600px){
  .potter-ui{gap:20px;font-size:13px}.potter-ui .p-intro p{font-size:13px}.potter-ui .p-card{padding:17px;gap:16px;border-radius:14px}
  .potter-ui h2{font-size:18px}.potter-ui .p-button{font-size:12px;padding:10px 12px}
  .potter-ui .p-section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.potter-ui .p-section-heading p{font-size:12px}
  .potter-ui .p-section-heading>.p-button{font-size:12px}
  .potter-ui .p-welcome{gap:16px;padding:20px}.potter-ui .p-welcome h2{font-size:23px}.potter-ui .p-welcome>.p-button{width:100%}
  .potter-ui .p-home-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.potter-ui .p-home-summary .p-summary-plan{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px}.potter-ui .p-summary-plan strong{grid-column:2;grid-row:1/3;font-size:18px!important;max-width:155px;text-align:right}.potter-ui .p-summary-plan small{grid-row:2}
  .potter-ui .p-stat{padding:15px;gap:7px}.potter-ui .p-stat strong{font-size:28px}.potter-ui .p-stat small{font-size:11px}
  .potter-ui .p-quick-grid{gap:10px}.potter-ui .p-quick-card{padding:14px;display:grid;grid-template-columns:1fr 17px;gap:10px}.potter-ui .p-quick-card .p-quick-text{grid-column:1/-1;grid-row:2}.potter-ui .p-quick-card>.p-icon{grid-column:2;grid-row:1}.potter-ui .p-quick-text strong{font-size:14px}.potter-ui .p-quick-text small{font-size:11px}
  .potter-ui .p-quick-card .p-platform-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}
  .potter-ui .p-recent-server{grid-template-columns:32px minmax(0,1fr) auto;gap:9px;padding:14px}.potter-ui .p-recent-server .p-platform-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px}.potter-ui .p-recent-server>.p-code-chip{font-size:11px;max-width:92px}.potter-ui .p-recent-server>.p-button{grid-column:2/-1;justify-self:start;min-height:44px;padding:7px 0;border:0;color:var(--p-accent)}.potter-ui .p-recent-identity strong{font-size:13px}.potter-ui .p-recent-identity small{font-size:11px}
  .potter-ui .p-home-account{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px}.potter-ui .p-home-account>.p-button{grid-column:2;justify-self:start}
  .potter-ui .p-server-toolbar{gap:10px;align-items:center}.potter-ui .p-server-count{padding-top:23px;padding-bottom:0;font-size:11px}
  .potter-ui .hero-group-list{grid-template-columns:minmax(0,1fr);gap:14px}.potter-ui .hero-group-panel{gap:16px}.potter-ui .p-server-identity h3{font-size:17px}.potter-ui .hero-group-row{padding:18px}.potter-ui .p-server-edit{font-size:11px;padding:8px}.potter-ui .p-server-edit>.p-icon{width:15px;height:15px;flex-basis:15px}
  .potter-ui .p-server-code-row{padding:12px;gap:8px}.potter-ui .p-server-code-row>.p-button{padding:7px;font-size:11px}.potter-ui .hero-group-code{font-size:24px}
  .potter-ui .p-server-note{flex-wrap:wrap}.potter-ui .p-server-note>.p-icon{display:none}.potter-ui .p-server-note p{flex-basis:190px}
  .potter-ui .p-share-fields{grid-template-columns:minmax(0,1fr);gap:14px}.potter-ui .p-share-composer>.p-actions{align-items:stretch}.potter-ui .p-share-composer>.p-actions>.p-button{width:100%}.potter-ui .p-share-composer>.p-actions>small{text-align:center}
  .potter-ui .p-composer-heading>.p-platform-icon{width:34px;height:34px;flex-basis:34px}.potter-ui .p-composer-heading h2{font-size:17px}
  .potter-ui .p-app-catalog{grid-template-columns:minmax(0,1fr);gap:14px}.potter-ui .p-app-featured{display:flex;grid-column:auto}.potter-ui .p-app-featured>.p-downloader-row{width:100%}
  .potter-ui .p-app-card>.p-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.potter-ui .p-app-heading h2{font-size:16px}.potter-ui .p-download-code{font-size:26px}
  .potter-ui .p-profile-heading{flex-wrap:wrap}.potter-ui .p-profile-heading h2{font-size:17px}.potter-ui .p-profile-heading>.p-badge{margin-left:52px}.potter-ui .p-profile-facts{gap:10px}.potter-ui .p-fact-tile{padding:12px}.potter-ui .p-fact-tile>strong{font-size:16px}.potter-ui .p-profile-contact{gap:10px}.potter-ui .p-profile-contact>.p-icon{display:none}
  .potter-ui .p-dialog{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.potter-ui .p-dialog .p-actions{display:grid;grid-template-columns:1fr 1fr}
  .potter-ui .p-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .center-app .center-topbar{min-height:64px;padding:10px 12px;gap:8px}.center-app .center-top-actions{gap:4px}.center-app .center-top-actions .center-icon-round,.center-app .center-mobile-menu{width:44px;height:44px;min-width:44px}.center-app .center-top-actions .center-session{display:none}.center-app .center-top-actions .center-quick-action-btn{display:none}
  .center-app .center-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}.center-app .center-mobile-tab{min-height:52px;border-radius:12px;gap:5px}.center-app .center-mobile-tab span{font-size:10px}
  .center-app .center-main:has(>potter-section[data-design=r17])>.center-breadcrumbs{display:none}.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading h1{font-size:25px}.center-app .center-main:has(>potter-section[data-design=r17])>.center-page-heading{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){.potter-ui .p-button,.potter-ui .p-quick-card,.potter-ui .hero-group-row{transition:none}}
