/* Paffrath.ai customer portal — shared layout, controls and mobile navigation. */
@font-face{font-family:'Portal Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-400.woff2') format('woff2')}
@font-face{font-family:'Portal Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-500.woff2') format('woff2')}
@font-face{font-family:'Portal Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-600.woff2') format('woff2')}
body.brand-paffrath{--bg:#f5f6f8;--surface:#fff;--surface2:#f4f5f7;--ink:#232b35;--soft:#4d5968;--muted:#626d7c;--line:#dce1e8;--line2:#edf0f4;--navy:#232d3b;--navy2:#344256;--brass:#aa7b36;--brass2:#805a23;--brass3:#67471a;--brass-soft:#f6eddc;--on-navy:#e0e6ef;--on-navy-soft:#bdc7d5;--green-text:#196646;--green-bg:#eaf5ef;--sans:'Portal Inter',system-ui,sans-serif;--sb:240px;font-size:15px;line-height:1.6}
.brand-paffrath .sidebar{border-right-color:var(--line);height:100dvh}
.brand-paffrath .sb-top{padding:28px 22px 22px}
.brand-paffrath .brand{font-size:1.22rem;letter-spacing:-.025em;gap:9px}
.brand-paffrath .brand .mark{width:32px;height:32px}
.brand-paffrath .brand .acc{color:var(--brass2)}
.brand-paffrath .sb-nav{padding:0 12px 16px;gap:4px}
.brand-paffrath .sb-nav .sec{font-size:.65rem;letter-spacing:.075em;padding:18px 12px 8px}
.brand-paffrath .sb-nav a{font-size:.91rem;min-height:44px;border-radius:9px}
.brand-paffrath .sb-nav a.on{background:var(--brass-soft);color:var(--brass3)}
.brand-paffrath .sb-nav a.on::before{display:none}
.brand-paffrath .sb-acc.on{background:var(--surface2)}
.brand-paffrath .sb-foot{gap:10px;padding:14px 12px}
.brand-paffrath .sb-foot form,.brand-paffrath .sb-foot button{width:100%;margin:0}
.brand-paffrath .sb-acc .nm{max-width:152px;font-size:.82rem}
.brand-paffrath .trust{font-size:.69rem}
.brand-paffrath main{max-width:1180px;padding:30px 38px 72px}
.brand-paffrath h1{font-size:clamp(1.6rem,2.25vw,2rem);line-height:1.2;font-weight:700;letter-spacing:-.035em;overflow-wrap:anywhere}
.brand-paffrath h2{font-size:1.13rem;line-height:1.35;font-weight:700}
.brand-paffrath .lead{font-size:.94rem;line-height:1.65;margin:10px 0 26px;max-width:75ch}
.brand-paffrath .page-head{margin-bottom:26px}
.brand-paffrath .page-head .lead{margin-bottom:0}
.brand-paffrath .card{border-radius:14px;box-shadow:0 2px 6px rgba(35,43,53,.025);padding:26px;margin-bottom:20px;min-width:0}
.brand-paffrath .card>h2{margin-bottom:10px}
.brand-paffrath .card-h{gap:12px;align-items:flex-start}
.brand-paffrath .card-h>div{min-width:0}
.brand-paffrath .card-h .ic{background:var(--brass-soft);border-radius:10px;width:36px;height:36px}
.brand-paffrath .card-h .sub{font-size:.81rem;line-height:1.5}
.brand-paffrath .card-h .sub2{white-space:nowrap;margin-top:3px}
.brand-paffrath .grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
.brand-paffrath .stat{border-radius:13px;padding:20px 22px;box-shadow:none;min-width:0}
.brand-paffrath .stat .k{font-size:.68rem;letter-spacing:.04em;line-height:1.5}
.brand-paffrath .stat .v{font-size:2rem;line-height:1.2;font-variant-numeric:tabular-nums}
.brand-paffrath .stat .s{font-size:.77rem}
.brand-paffrath .meter{height:6px;background:var(--line2);margin-top:15px}
.brand-paffrath .location-switcher{box-shadow:none;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 20px;margin-bottom:30px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
.brand-paffrath .location-switcher label{font-size:.72rem;color:var(--muted);font-weight:600;max-width:70px;line-height:1.45}
.brand-paffrath .location-switcher select{width:100%;min-width:0;max-width:500px}
.brand-paffrath .hero{background:var(--navy);box-shadow:none}
.brand-paffrath .hero .num{font-size:clamp(1.35rem,3vw,2rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.brand-paffrath .hero .btn-primary{background:var(--brass-soft);color:var(--brass3);border-color:transparent}
.brand-paffrath a{text-underline-offset:3px}
.brand-paffrath .btn,.brand-paffrath .sb-logout{font-size:.88rem;border-radius:9px;min-height:44px;padding:10px 16px;line-height:1.4;box-shadow:none;max-width:100%;text-align:center;white-space:normal}
.brand-paffrath .btn-primary{background:var(--brass2);color:#fff;border-color:var(--brass2)}
.brand-paffrath .btn-primary:hover{background:var(--brass3);transform:none;box-shadow:none}
.brand-paffrath .btn-ghost:hover,.brand-paffrath .btn-danger:hover{transform:none}
.brand-paffrath .label{font-size:.87rem;line-height:1.5;margin-top:20px}
.brand-paffrath input:is([type=text],[type=search],[type=url],[type=tel],[type=email],[type=password],[type=number],[type=time]),.brand-paffrath textarea,.brand-paffrath select{font-family:var(--sans);font-size:1rem;line-height:1.45;min-height:46px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);max-width:100%;min-width:0;width:100%}
.brand-paffrath input[type=checkbox]{accent-color:var(--brass2);width:18px;height:18px;flex:none}
.brand-paffrath input:focus,.brand-paffrath textarea:focus,.brand-paffrath select:focus{border-color:var(--brass2);box-shadow:0 0 0 3px var(--brass-soft)}
.brand-paffrath :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--brass2);outline-offset:3px}
.brand-paffrath .ex{font-size:.79rem;line-height:1.65}
.brand-paffrath .toggle{padding:16px;border:1px solid var(--line);border-radius:10px;gap:12px}
.brand-paffrath .toggle .t-main{font-size:.86rem;line-height:1.5}
.brand-paffrath .toggle .t-desc{line-height:1.6}
.brand-paffrath .row2>*{min-width:0}
.brand-paffrath .badge{font-size:.69rem;line-height:1.5;padding:4px 9px;border-radius:6px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.brand-paffrath .badge.gray{background:var(--surface2);color:var(--soft)}
.brand-paffrath .badge.teal{background:var(--brass-soft)}
.brand-paffrath .chip{min-height:44px;background:var(--surface);border-radius:8px;font-size:.8rem}
.brand-paffrath .chip-on{background:var(--brass-soft);color:var(--brass3)}
.brand-paffrath table{font-size:.86rem}
.brand-paffrath th{font-size:.67rem;letter-spacing:.035em;padding:4px 10px 12px}
.brand-paffrath td{padding:16px 10px;overflow-wrap:anywhere}
.brand-paffrath td .done-btn{margin:6px 0 0!important}
.brand-paffrath .flash{font-size:.86rem;line-height:1.6;border-radius:10px;padding:14px 16px}
.brand-paffrath .empty{padding:36px 16px;max-width:54ch;margin:0 auto;font-size:.9rem}
.brand-paffrath .empty .big{font-size:1.65rem;margin-bottom:12px}
.brand-paffrath details.kn{border-radius:12px;margin:14px 0}
.brand-paffrath details.kn>summary{padding:18px;gap:10px;flex-wrap:wrap}
.brand-paffrath details.kn>summary>.ex{flex-basis:100%;margin:0!important;text-align:left}
.brand-paffrath details.kn>summary::after{content:'+';margin-left:auto;color:var(--muted);font-size:1.2rem;line-height:1}
.brand-paffrath details.kn[open]>summary::after{content:'−'}
.brand-paffrath details.kn .kn-body{padding:4px 20px 20px}
.brand-paffrath .tline .bubble{overflow-wrap:anywhere;min-width:0}
.brand-paffrath .tline.bot .bubble{background:var(--brass-soft)}
.brand-paffrath .portal-mobile-header{display:none}
.brand-paffrath .portal-footer{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;color:var(--muted);font-size:.73rem;margin:24px 0 0}
.brand-paffrath .portal-footer a{color:inherit}
.brand-paffrath.is-auth main{max-width:480px;padding:54px 24px 36px}
.brand-paffrath .auth-content{margin:0 auto!important;max-width:100%!important}
.brand-paffrath .auth-brand{justify-content:center;margin:0 auto 8px;font-size:1.5rem}
.brand-paffrath .auth-brand .mark{height:38px;width:38px}
.brand-paffrath .auth-caption{text-align:center;font-size:.83rem;color:var(--muted);margin:0 0 30px}
.brand-paffrath.is-auth .card{padding:30px;margin-bottom:20px}
.brand-paffrath.is-auth .card h1{font-size:1.5rem!important;text-align:left!important;line-height:1.25}
.brand-paffrath.is-auth .card .lead{text-align:left!important;font-size:.88rem;margin-top:10px}
.brand-paffrath.is-auth .auth-invite{margin:0 auto!important}
.brand-paffrath.is-auth .auth-invite .btn{width:100%}
.brand-paffrath .settings-day{padding:12px 0;gap:18px}
.brand-paffrath .settings-day-label{font-size:.86rem;max-width:130px}
.brand-paffrath .settings-day-times{gap:10px}
.brand-paffrath .settings-day-times input{width:128px}
.brand-paffrath main:has(#assistant-studio){max-width:1180px;padding-top:30px}
.brand-paffrath #assistant-studio{--studio-forest:var(--navy);--studio-radius:14px}
.brand-paffrath #assistant-studio .studio-heading{margin-bottom:24px}
.brand-paffrath #assistant-studio h1{font-size:clamp(1.6rem,2.25vw,2rem);font-weight:700;line-height:1.2}
.brand-paffrath #assistant-studio .studio-tabs{gap:24px}
.brand-paffrath #assistant-studio .studio-tabs button{min-height:48px;font-size:.87rem}
.brand-paffrath #assistant-studio .studio-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px}
.brand-paffrath #assistant-studio .studio-help{font-size:.79rem;line-height:1.65}
.brand-paffrath #assistant-studio .studio-sound{color:#fff}
.brand-paffrath #assistant-studio .studio-preview-heading{font-size:.8rem}
.brand-paffrath #assistant-studio .studio-preview-body .studio-help{font-size:.76rem}
.brand-paffrath #assistant-studio .studio-savebar{position:sticky;bottom:14px;z-index:10;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 18px;box-shadow:0 4px 18px rgba(35,43,53,.08)}
.brand-paffrath #assistant-studio .studio-savebar .btn-primary,.brand-paffrath #assistant-studio #studio-testcall{background:var(--brass2);border-color:var(--brass2);color:#fff}
.brand-paffrath #assistant-studio .studio-columns{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px}
.brand-paffrath #assistant-studio .studio-segments span{min-height:44px;font-size:.8rem}
.brand-paffrath #assistant-studio .studio-voice small{font-size:.76rem}
.brand-paffrath #assistant-studio .studio-check small{font-size:.78rem}
@media(max-width:1150px){.brand-paffrath main{padding-right:28px;padding-left:28px}.brand-paffrath #assistant-studio .studio-columns{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.brand-paffrath #assistant-studio .studio-panel{padding:20px}}
@media(max-width:1000px){.brand-paffrath #assistant-studio .studio-columns{grid-template-columns:1fr}.brand-paffrath #assistant-studio .studio-preview{position:static;max-width:none}.brand-paffrath #assistant-studio .studio-preview-body{display:grid;grid-template-columns:1fr;gap:0}}
@media(max-width:860px){
 .brand-paffrath .portal-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:0;z-index:30;min-height:68px;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--line)}
 .brand-paffrath .portal-menu>summary{display:flex;align-items:center;gap:9px;font-size:.83rem;font-weight:600;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;cursor:pointer;list-style:none}
 .brand-paffrath .portal-menu>summary::-webkit-details-marker{display:none}
 .brand-paffrath .portal-menu>summary svg{width:20px;height:20px}
 .brand-paffrath .portal-menu[open]>summary{background:var(--brass-soft);border-color:var(--brass)}
 .brand-paffrath .portal-mobile-nav{position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 80px);overflow-y:auto;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 12px 20px rgba(35,43,53,.1);padding:16px 20px 20px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .brand-paffrath .portal-mobile-nav>a{display:flex;align-items:center;gap:10px;font-size:.84rem;min-height:48px;padding:10px;border-radius:8px;color:var(--soft);text-decoration:none;line-height:1.4}
 .brand-paffrath .portal-mobile-nav a svg{width:18px;height:18px;flex:none}
 .brand-paffrath .portal-mobile-nav a.on{background:var(--brass-soft);color:var(--brass3);font-weight:600}
 .brand-paffrath .portal-mobile-nav form{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;margin:8px 0 0}
 .brand-paffrath .portal-mobile-nav button{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font:500 .85rem var(--sans);color:var(--soft)}
 .brand-paffrath main,.brand-paffrath main:has(#assistant-studio){padding:24px 22px 50px}
 .brand-paffrath .location-switcher{margin-bottom:24px;padding-bottom:20px}
 .brand-paffrath #assistant-studio .studio-day{align-items:start;flex-direction:column}
 .brand-paffrath .portal-menu a:focus-visible{outline-offset:-3px}
}
@media(max-width:600px){
 .brand-paffrath main,.brand-paffrath main:has(#assistant-studio){padding:22px 16px 40px}
 .brand-paffrath .portal-mobile-header{padding:10px 16px;min-height:66px}
 .brand-paffrath .portal-mobile-header .brand{font-size:1.15rem}
 .brand-paffrath h1{font-size:1.65rem}
 .brand-paffrath .lead{font-size:.88rem;margin-top:10px;margin-bottom:22px}
 .brand-paffrath .card{padding:20px;border-radius:12px}
 .brand-paffrath .location-switcher{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:0 0 18px;border-radius:0}
 .brand-paffrath .location-switcher label{grid-column:1/-1;max-width:none;font-size:.72rem}
 .brand-paffrath .location-switcher select{font-size:16px;padding-left:10px;min-height:46px}
 .brand-paffrath .location-switcher button{padding:10px 12px}
 .brand-paffrath .grid{grid-template-columns:1fr 1fr;gap:12px}
 .brand-paffrath .grid>.stat:last-child:nth-child(odd){grid-column:1/-1}
 .brand-paffrath .stat{padding:16px}
 .brand-paffrath .stat .k{font-size:.63rem;line-height:1.6}
 .brand-paffrath .stat .v{font-size:1.7rem}
 .brand-paffrath .card-h{flex-wrap:wrap;gap:10px}
 .brand-paffrath .card-h .sub2{margin-left:0;flex-basis:100%}
 .brand-paffrath .settings-day{align-items:stretch;gap:10px}
 .brand-paffrath .settings-day-label{max-width:none;width:auto}
 .brand-paffrath .settings-day-times{width:100%;gap:10px}
 .brand-paffrath .settings-day-times input{width:0;flex:1}
 .brand-paffrath .tbl-stack td{padding:8px 0;font-size:.85rem;align-items:flex-start;white-space:normal!important;min-width:0}
 .brand-paffrath .tbl-stack td>*{min-width:0;max-width:72%}
 .brand-paffrath .tbl-stack td::before{font-size:.74rem;min-width:54px;flex:none}
 .brand-paffrath .tbl-stack td.col-sum{display:block;text-align:left;border-top:1px solid var(--line2);margin-top:4px;padding-top:12px}
 .brand-paffrath .tbl-stack td.col-sum::before{display:none}
 .brand-paffrath .tbl-stack td.col-sum>*{max-width:100%}
 .brand-paffrath .tbl-stack tr{padding:10px 14px;border-radius:10px}
 .brand-paffrath .tbl-stack td .done-btn{display:block;margin-left:auto!important}
 .brand-paffrath .card input[type=search]{flex-basis:100%!important;min-width:0!important}
 .brand-paffrath .tline{flex-direction:column;gap:4px}
 .brand-paffrath .tline .who{width:auto}
 .brand-paffrath :is(input,select,textarea){scroll-margin-top:88px}
 .brand-paffrath input:not([type=checkbox]):not([type=radio]):not([type=range]),.brand-paffrath select,.brand-paffrath textarea{font-size:16px}
 .brand-paffrath.is-auth main{padding:34px 16px 28px}
 .brand-paffrath.is-auth .card{padding:24px 20px}
 .brand-paffrath .auth-caption{font-size:.8rem;margin-bottom:24px}
 .brand-paffrath #assistant-studio .studio-heading{gap:12px;margin-bottom:20px}
 .brand-paffrath #assistant-studio .studio-eyebrow{font-size:.7rem;line-height:1.6}
 .brand-paffrath #assistant-studio .studio-tabs{gap:8px;justify-content:space-between}
 .brand-paffrath #assistant-studio .studio-tabs button{font-size:.78rem;padding:10px 2px;white-space:normal}
 .brand-paffrath #assistant-studio .studio-panel{padding:20px 16px}
 .brand-paffrath #assistant-studio .studio-day>div{width:100%}
 .brand-paffrath #assistant-studio .studio-day input[type=time]{width:0;flex:1}
 .brand-paffrath #assistant-studio .studio-savebar{bottom:8px;gap:10px;padding:14px;flex-direction:column;align-items:stretch}
 .brand-paffrath #assistant-studio .studio-savebar button{width:100%}
 .brand-paffrath #assistant-studio .studio-text-link{white-space:normal}
}
@media(max-width:359px){.brand-paffrath .grid{grid-template-columns:1fr}.brand-paffrath .portal-mobile-nav{grid-template-columns:1fr}.brand-paffrath .portal-mobile-nav form{grid-column:auto}.brand-paffrath .kv-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.brand-paffrath *,.brand-paffrath *::before,.brand-paffrath *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Everyday tasks lead; optional connections stay out of the way. */
.brand-paffrath .portal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}
.brand-paffrath .portal-actions>a{display:grid;grid-template-columns:28px 1fr;column-gap:10px;row-gap:4px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .15s}
.brand-paffrath .portal-actions>a:hover{border-color:var(--brass)}
.brand-paffrath .portal-action-icon{grid-row:1/3;font-size:1.35rem;line-height:1.3;color:var(--brass2)}
.brand-paffrath .portal-actions strong{font:700 .91rem/1.4 var(--display)}
.brand-paffrath .portal-actions a>span:last-child{font-size:.76rem;color:var(--muted);line-height:1.6}
.brand-paffrath details.portal-section{padding:0;overflow:hidden}
.brand-paffrath .portal-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:20px 24px;font:700 1rem/1.5 var(--display)}
.brand-paffrath .portal-section>summary::-webkit-details-marker{display:none}
.brand-paffrath .portal-section>summary::after{content:'+';font-size:1.4rem;color:var(--muted);font-weight:400}
.brand-paffrath .portal-section[open]>summary::after{content:'−'}
.brand-paffrath .portal-section>summary small{display:block;font:400 .79rem/1.6 var(--sans);color:var(--muted);margin-top:3px}
.brand-paffrath .portal-section>form,.brand-paffrath .portal-section-body{padding:0 24px 24px}
.brand-paffrath .portal-section-body>.card-h{display:none}
.brand-paffrath .portal-section>summary:focus-visible{outline-offset:-4px}
.brand-paffrath #assistant-studio .studio-alternatives{grid-column:1/-1}
.brand-paffrath #assistant-studio .studio-alternatives>summary,.brand-paffrath #assistant-studio .studio-fine-tuning>summary{cursor:pointer;font-size:.85rem;font-weight:600;color:var(--brass2);padding:12px 0;min-height:44px}
.brand-paffrath #assistant-studio .studio-alternative-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}
.brand-paffrath #assistant-studio .studio-fine-tuning{margin-top:24px;border-top:1px solid var(--line)}
@media(max-width:1100px){.brand-paffrath .portal-actions{grid-template-columns:1fr}.brand-paffrath .portal-actions>a{padding:15px 18px}}
@media(max-width:600px){.brand-paffrath .portal-actions{gap:10px;margin-bottom:20px}.brand-paffrath .portal-section>summary{padding:18px 20px}.brand-paffrath .portal-section>form,.brand-paffrath .portal-section-body{padding:0 20px 20px}}
.brand-paffrath .billing-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.brand-paffrath .billing-heading h2{margin:4px 0 0}.brand-paffrath .billing-eyebrow{font-size:.72rem;color:var(--muted)}.brand-paffrath .billing-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);padding:24px 0;margin-bottom:20px}.brand-paffrath .billing-facts>div{display:grid;gap:7px}.brand-paffrath .billing-facts span{font-size:.76rem;color:var(--muted)}.brand-paffrath .billing-facts strong{font:700 1.65rem/1.2 var(--display);font-variant-numeric:tabular-nums}.brand-paffrath .billing-facts small{font-size:.75rem;color:var(--soft)}.brand-paffrath .billing-note{background:var(--surface2);border-radius:9px;padding:14px 16px;font-size:.85rem}.brand-paffrath .billing-usage{margin:24px 0}.brand-paffrath .billing-usage h3{font-size:.92rem;margin-bottom:6px}.brand-paffrath .billing-usage p{margin:6px 0}.brand-paffrath .invoice-list{margin-top:24px}
@media(max-width:600px){.brand-paffrath .billing-facts{grid-template-columns:1fr;gap:16px;padding:18px 0}.brand-paffrath .billing-facts>div{grid-template-columns:1fr auto;align-items:center;gap:4px 12px}.brand-paffrath .billing-facts strong{grid-column:2;grid-row:1/3;font-size:1.5rem}.brand-paffrath .billing-facts small{grid-column:1}}

.brand-paffrath .flash{animation:none}
.brand-paffrath .portal-notice{max-width:650px;margin:0 auto}.brand-paffrath .portal-notice h1{margin:16px 0 0}.brand-paffrath .portal-notice>.ex{margin-top:16px}

.brand-paffrath #assistant-studio .studio-field:has(#speech_rate:disabled){display:none}

/* Filled forms are documents: readable full text and one page scroll. */
.brand-paffrath textarea[data-grow]{min-height:140px;resize:vertical;line-height:1.65}
.brand-paffrath textarea[data-grow][name=title]{min-height:60px}
.brand-paffrath .knowledge-entry h2{font-size:1.1rem;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}
.brand-paffrath .knowledge-copy{font-size:1rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;max-width:80ch}
.brand-paffrath .knowledge-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
.brand-paffrath .knowledge-state{font-size:.78rem;color:var(--muted)}
.brand-paffrath .knowledge-edit{border-top:1px solid var(--line);padding-top:4px}
.brand-paffrath .knowledge-edit>summary{display:flex;justify-content:space-between;align-items:center;min-height:48px;cursor:pointer;color:var(--brass2);font-weight:600;list-style:none}
.brand-paffrath .knowledge-edit>summary::-webkit-details-marker{display:none}
.brand-paffrath .knowledge-edit[open]>summary span{transform:rotate(45deg)}
.brand-paffrath .knowledge-editor form+form{margin-top:16px;padding-top:16px;border-top:1px solid var(--line2)}
.brand-paffrath .knowledge-editor .toggle{margin:18px 0}
.brand-paffrath .knowledge-add{padding:0!important;overflow:visible}
.brand-paffrath .knowledge-add>summary{list-style:none;cursor:pointer;padding:20px 24px;font-weight:600;min-height:48px}
.brand-paffrath .knowledge-add .kn-body{padding:0 24px 24px}
.brand-paffrath .knowledge-tools{display:flex;align-items:end;gap:18px;margin:28px 0 20px}.brand-paffrath .knowledge-tools>div{flex:1}.brand-paffrath .knowledge-tools .label{margin-top:0}.brand-paffrath .knowledge-tools p{white-space:nowrap;margin:0 0 12px}
.brand-paffrath [hidden]{display:none!important}
.brand-paffrath .settings-index{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.brand-paffrath .settings-index a{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:.87rem;color:var(--soft);text-decoration:none;min-height:44px}
.brand-paffrath [id^=settings-]{scroll-margin-top:85px}
.brand-paffrath [data-settings-form] .ex{font-size:.9rem}
.brand-paffrath details.portal-section{overflow:visible}
.brand-paffrath .settings-savebar{position:sticky;bottom:10px;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 18px rgba(35,43,53,.08);margin-top:24px}
@media(max-width:600px){.brand-paffrath .knowledge-tools{align-items:stretch;flex-direction:column;gap:6px}.brand-paffrath .knowledge-tools p{margin:0}.brand-paffrath .knowledge-meta{align-items:flex-start;flex-direction:column;gap:6px}.brand-paffrath .knowledge-copy{font-size:16px;line-height:1.75}.brand-paffrath .settings-savebar{flex-direction:column;align-items:stretch;padding:12px;bottom:8px}.brand-paffrath .settings-savebar .btn{width:100%}.brand-paffrath .knowledge-add .kn-body{padding:0 18px 18px}}
.brand-paffrath .knowledge-entry:has(.knowledge-edit[open])>.knowledge-copy{display:none}
