/* One header row on desktop; controls stay grouped on small screens. */
/* Give the English Python quick start a readable four-step layout. */
.textcad-community .tc-python-start-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}
.textcad-community .tc-python-start-steps>div{min-width:0;padding:20px;border:1px solid currentColor;border-radius:12px}
.textcad-community .tc-python-start-steps>div>span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-bottom:12px;border:1px solid currentColor;border-radius:50%;font-weight:800}
.textcad-community .tc-python-start-steps h3{margin:0 0 10px;font-size:22px;line-height:1.3}
.textcad-community .tc-python-start-steps p{margin:0;font-size:16px;overflow-wrap:anywhere}
@media(max-width:600px){.textcad-community .tc-python-start-steps{grid-template-columns:1fr}.textcad-community .tc-python-start-steps>div{padding:16px}}
.textcad-community .site-header .site-header-inner{max-width:1920px;padding:18px 28px;column-gap:18px;row-gap:12px;flex-wrap:nowrap}
.textcad-community .site-header .header-html-1:empty,.textcad-community .site-header .header-html-2:empty{display:none}
.textcad-community .tc-community-tools{display:flex;order:70;width:auto;border:0;padding:0;gap:10px;margin-left:0;flex:0 0 auto}
.textcad-community .tc-header-apps{display:flex;order:60;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap}
.textcad-community .tc-app-link{display:inline-flex;align-items:center;gap:6px;border:2px solid #130d0c;border-radius:10px;padding:8px 10px;background:#ffc2b0;color:#130d0c!important;font:800 11px/1.2 Manrope,sans-serif;text-decoration:none}
.textcad-community .tc-app-link svg{width:16px;height:16px;flex-shrink:0}.textcad-community .tc-app-link:hover{background:#fff8f4;transform:translateY(-1px)}
.textcad-community .tc-theme-switch{display:flex;align-items:center;padding:3px;gap:1px;border:2px solid #130d0c;border-radius:30px;background:#fff8f4;flex:0 0 auto}
.textcad-community .tc-theme-switch .tc-theme-button{display:flex!important;align-items:center;justify-content:center;width:30px;height:30px;padding:5px!important;margin:0;min-height:0;min-width:0;border:0!important;border-radius:50%!important;background:transparent!important;color:#130d0c!important;box-shadow:none!important;font:inherit!important;cursor:pointer}
.textcad-community .tc-theme-switch .tc-theme-button[aria-pressed=true]{background:#130d0c!important;color:#fff8f4!important}.textcad-community .tc-theme-switch .tc-theme-button:hover{outline:1px solid #130d0c;outline-offset:-1px}.tc-theme-button svg{width:19px;height:19px}
.textcad-community .site-header .main-navigation{margin-left:auto}.textcad-community .site-header .main-navigation ul{gap:14px}.textcad-community .site-header .main-navigation a{font-size:12px;white-space:nowrap}
.textcad-community .tc-account-link{font-size:11px;padding:10px 12px}.textcad-community .tc-language-switch{padding:3px}.textcad-community .tc-language-switch a{min-width:29px;min-height:30px;font-size:11px}
@media(min-width:1201px) and (max-width:1500px){.textcad-community .site-header .site-header-inner{padding-inline:22px;gap:12px}.tc-community-brand .tc-logo b{font-size:22px}.tc-community-brand .tc-logo img{width:48px;height:48px}.tc-community-brand .tc-logo small{font-size:6.5px}.textcad-community .site-header .main-navigation ul{gap:10px}.textcad-community .site-header .main-navigation a{font-size:11px}.textcad-community .tc-community-tools{gap:7px}.textcad-community .tc-app-link{padding:7px 8px;font-size:10px}.textcad-community .tc-theme-switch .tc-theme-button{width:27px;height:27px}}
@media(max-width:1200px){.textcad-community .site-header .site-header-inner{flex-wrap:wrap;padding:14px 22px}.textcad-community .tc-community-tools{margin-left:auto}.textcad-community .tc-header-apps{order:55}.textcad-community .main-navigation--hamburger{order:80;margin-left:0}.textcad-community .site-header .main-navigation{display:none!important}}
@media(max-width:760px){.textcad-community .site-header .site-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 16px}.textcad-community .site-branding{grid-column:1;grid-row:1}.tc-community-brand .tc-logo b{font-size:20px}.tc-community-brand .tc-logo img{width:42px;height:42px}.textcad-community .tc-community-tools{display:contents}.textcad-community .tc-theme-switch{grid-column:2;grid-row:1;margin-right:50px}.textcad-community .main-navigation--hamburger{grid-column:2;grid-row:1;justify-self:end;margin:0}.textcad-community .tc-header-apps{grid-column:1;grid-row:2;gap:6px}.textcad-community .tc-language-switch{grid-column:2;grid-row:2;justify-self:end;margin-right:78px}.textcad-community .tc-account-link{grid-column:2;grid-row:2;justify-self:end;padding:9px 10px}.textcad-community .tc-app-link{font-size:10px;padding:7px 9px}.textcad-community .tc-theme-switch .tc-theme-button{width:27px;height:27px}.tc-theme-button svg{width:18px;height:18px}}
@media(max-width:420px){.textcad-community .site-header .site-header-inner{padding:12px;gap:11px 7px}.tc-community-brand .tc-logo b{font-size:17px;letter-spacing:-.04em}.tc-community-brand .tc-logo img{width:34px;height:34px}.tc-community-brand .tc-logo small{font-size:5.5px;padding:4px}.tc-community-brand .tc-logo{gap:7px}.textcad-community .tc-theme-switch{padding:2px;margin-right:40px}.textcad-community .tc-theme-switch .tc-theme-button{width:24px;height:26px}.textcad-community .hamburger{width:34px;height:34px;padding:7px}.textcad-community .tc-app-link{gap:4px;font-size:9px;padding:7px 6px}.textcad-community .tc-app-link svg{width:13px;height:13px}.textcad-community .tc-language-switch a{min-width:24px;font-size:10px}.textcad-community .tc-language-switch{padding:2px;margin-right:63px}.textcad-community .tc-account-link{font-size:9px;padding:9px 7px}}
/* Dark colours apply to editorial pages as well as native community templates. */
html[theme=dark] body.textcad-community{background:#130d0c;color:#fff8f4;--wpsc-text-color:#fff8f4;--wpsc-text-light-color:#d8c9c2;--wpsc-link-color:#ffc2b0;--wpsc-white-bg:#211b18;--wpsc-body-bg:#130d0c;--wpsc-light-bg:#332721}
html[theme=dark] .textcad-community .site-header{background:#064d2b;color:#fff8f4;border-color:#10b742}html[theme=dark] .textcad-community .site-branding b,html[theme=dark] .textcad-community .site-header .main-navigation a{color:#fff8f4}
html[theme=dark] .textcad-community .tc-hero,html[theme=dark] .textcad-community .tc-page-hero,html[theme=dark] .textcad-community .tc-section-green,html[theme=dark] .textcad-community .tc-cta{background-color:#064d2b;color:#fff8f4}
html[theme=dark] .textcad-community .tc-hero-grid>div:first-child{background-color:#064d2b}html[theme=dark] .textcad-community .tc-hero h1,html[theme=dark] .textcad-community .tc-page-hero h1{color:#fff8f4}
html[theme=dark] .textcad-community .tc-section-paper,html[theme=dark] .textcad-community .tc-reference-layout{background-color:#211b18;color:#fff8f4}
html[theme=dark] .textcad-community .tc-section-peach{background-color:#33251f;color:#fff8f4}html[theme=dark] .textcad-community .tc-section-orange{background-color:#542416;color:#fff8f4}
html[theme=dark] .textcad-community :is(.tc-card,.tc-ref-card,.tc-demo-card,.tc-coming-card,.tc-brief,.tc-faq details,.tc-idea-answer,.tc-library-links a,.tc-step){background-color:#211b18;color:#fff8f4;border-color:#ffc2b0;box-shadow:5px 5px 0 #000}
html[theme=dark] .textcad-community :is(.tc-demo-card>a,.tc-coming-card a,.tc-card h3,.tc-card p,.tc-demo-card-copy h3,.tc-demo-card-copy p,.tc-reference,.tc-reference-toc,.tc-model-copy,.tc-demo-context){color:#fff8f4}
html[theme=dark] .textcad-community :is(.tc-label,.tc-demo-status,.tc-coming-status,.tc-demo-inline-status,.tc-step-num){color:#130d0c}
html[theme=dark] .textcad-community .tc-demo-context{background:#33251f;border-color:#ffc2b0}html[theme=dark] .textcad-community .tc-demo-focus article{border-color:#ffc2b0}
html[theme=dark] .textcad-community .tc-demo-cover{background:#064d2b;color:#fff8f4}
html[theme=dark] .textcad-community .tc-reference a{color:#ffb69a}html[theme=dark] .textcad-community .tc-reference blockquote{background:#33251f}html[theme=dark] .textcad-community .tc-reference :not(pre)>code{background:#382b24;color:#ffd0b9}html[theme=dark] .textcad-community .tc-reference :is(th,td){border-color:#715447}
html[theme=dark] .textcad-community .tc-english-note{background:#33251f;color:#fff8f4;border-color:#ffc2b0}
html[theme=dark] .textcad-community .tc-text-link{border-color:#ffc2b0}html[theme=dark] .textcad-community .tc-brief :is(input,textarea,select){background:#130d0c;color:#fff8f4;border-color:#ffc2b0}
html[theme=dark] .textcad-community .mobile-menu{background:#064d2b;color:#fff8f4}html[theme=dark] .textcad-community .mobile-menu a{color:#fff8f4}
html[theme=dark] .textcad-community ::selection{background:#10b742;color:#130d0c;text-shadow:none}
html[theme=dark] .textcad-community :is(.tc-btn-paper,.tc-btn-orange,.tc-btn-green,.tc-sticker){color:#130d0c}
html[theme=dark] .textcad-community :is(.tc-gallery-tabs button,.tc-zoom,.tc-idea-options button){color:#130d0c}
html[theme=dark] .textcad-community .tc-gallery-tabs button[aria-selected=true],html[theme=dark] .textcad-community .tc-idea-options button[aria-pressed=true]{background:#130d0c;color:#fff8f4;border-color:#ffc2b0}
html[theme=dark] .textcad-community .tc-price-row{background:#211b18;color:#fff8f4;border-color:#715447}html[theme=dark] .textcad-community .tc-price-row:first-child{background:#130d0c;color:#fff8f4}html[theme=dark] .textcad-community .tc-price-row:last-child{background:#10b742;color:#130d0c}
html[theme=dark] .textcad-community .tc-outline-word{-webkit-text-stroke-color:#fff8f4}
html[theme=dark] .textcad-community .tc-image-dialog{background:#211b18;color:#fff8f4;border-color:#ffc2b0}html[theme=dark] .textcad-community .tc-image-dialog>button{background:#10b742;color:#130d0c}
html[theme=dark] .textcad-community .site-header .sub-menu{background:#211b18;border-color:#ffc2b0}
html[theme=dark] .textcad-community .tc-brief ::placeholder,html[theme=dark] .textcad-community .site-content ::placeholder{color:#bfa99c;opacity:1}
@media(max-width:420px){.tc-community-brand .tc-logo b{font-size:15px}.tc-community-brand .tc-logo small{font-size:4.8px}.tc-community-brand .tc-logo img{width:30px;height:30px}.tc-community-brand .tc-logo{gap:5px}.textcad-community .tc-theme-switch{margin-right:39px}.textcad-community .tc-theme-switch .tc-theme-button{width:22px;height:25px}.tc-theme-button svg{width:16px;height:16px}}
@media(max-width:420px){.textcad-community .tc-community-brand .tc-logo b{font-size:17px}.textcad-community .tc-community-brand .tc-logo small{font-size:4.8px}}
@media(max-width:360px){.textcad-community .tc-community-brand .tc-logo b{font-size:15px}}
@media(min-width:421px) and (max-width:760px){.textcad-community .tc-language-switch{margin-right:104px}}
@media(min-width:421px) and (max-width:480px){.textcad-community .tc-community-brand .tc-logo b{font-size:18px}.textcad-community .tc-community-brand .tc-logo img{width:36px;height:36px}.textcad-community .tc-community-brand .tc-logo small{font-size:5.5px}}
html[theme=dark] .textcad-community:not(.tc-editorial-page) input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]){background:#130d0c;color:#fff8f4;border-color:#ffc2b0}
@media(prefers-reduced-motion:reduce){.tc-app-link{transition:none!important;transform:none!important}}
