/*
 * createsymbols.css -- the createsymbols.com template's stylesheet (a Templar asset of the
 * CreateSymbols template; edit it in Labs, never on the host). Built from the approved visual model's
 * styles.css + studio.css: the Google Fonts @import is gone (DM Sans and Kalam are this template's own
 * font assets), the model's .modal/.toast are re-scoped so they cannot collide with Bootstrap, and the
 * selectors that assumed app.js's markup are mapped onto what Templar, ROGER and the Symbol Designer
 * actually print (see the "Templar mapping" sections at the end).
 */

/* Bootstrap's reboot sets heading/paragraph metrics the model never had; give the model its browser
   defaults back so its own rules decide, exactly as in the model. */
h1,h2,h3,h4,h5,h6{font-size:revert;font-weight:revert;line-height:inherit;margin-top:revert;margin-bottom:revert}
p{margin-bottom:revert}
a:hover{text-decoration:none}
body{font-family:'DM Sans',sans-serif}

/* ---- model: styles.css ---- */
:root{--ink:#252a38;--blue:#354bcb;--paper:#fbfaf7;--line:#e1e1dd;--yellow:#f8df70;--muted:#727681;--soft-blue:#eaeefa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8b9af2;outline-offset:4px}button svg,a svg{width:20px;height:20px;flex-shrink:0}svg{overflow:visible}h1,h2,h3,p{margin-top:0}.blue{color:var(--blue)}.handwritten{font-family:Kalam,cursive;font-weight:400}.eyebrow{font-size:11px;letter-spacing:1.75px;font-weight:600;color:var(--muted)}.skip-link{position:fixed;top:-100px;left:10px;z-index:99;background:white;padding:15px}.skip-link:focus{top:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:12px 23px;font-size:14px;font-weight:500;line-height:1.5;border-radius:99px;border:1px solid transparent;transition:transform .16s,box-shadow .16s}.button:hover{transform:translateY(-2px)}.button-blue{background:var(--blue);color:#fff}.button-ink{background:var(--ink);color:#fff}.button-yellow{background:var(--yellow);border:1.4px solid var(--ink);box-shadow:2px 3px 0 var(--ink)}.button-outline{border-color:#bbbdbd}.button-white{background:white;border-color:var(--line)}.button-soft{background:#eeeff5}.button-large{padding:15px 26px;font-size:16px}.text-link{border-bottom:1px solid var(--blue);color:var(--blue);padding-bottom:4px;font-size:14px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:26px;font-weight:600;letter-spacing:-1.4px;white-space:nowrap;line-height:1.2}.brand-star{font-size:51px;font-weight:400;color:var(--blue);line-height:1}.public-header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 5%}.public-header nav{display:flex;gap:28px;font-size:14px;color:#666b77}.public-header nav a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:25px;font-size:14px}.hero{max-width:1370px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:54px 5% 50px;gap:26px;min-height:620px}.hero-copy{position:relative;z-index:1}.hero .eyebrow{font-size:10px;letter-spacing:2px;display:flex;align-items:center;gap:8px}.tiny-spark{font-size:19px;color:var(--blue)}.hero h1{font-size:clamp(52px,5.5vw,78px);font-weight:500;line-height:1.04;letter-spacing:-3.5px;margin:22px 0 27px}.hero-yours{font-size:1.07em;color:var(--blue);position:relative;display:inline-block;transform:rotate(-4deg)}.hero-yours:after{content:'';position:absolute;bottom:0;left:3px;width:100%;height:7px;background:var(--yellow);border-radius:40%;z-index:-1;transform:rotate(1deg)}.hero p{max-width:400px;color:#747782;line-height:1.75;font-size:16px;margin-bottom:8px}.hero p.hero-short{color:var(--ink);margin-bottom:27px}.hero-actions{display:flex;align-items:center;gap:18px}.hero-actions .button span{font-size:23px;line-height:1}.free-note{font-size:19px;color:#696d80;transform:rotate(-8deg);max-width:120px;line-height:1.3}.network-note{font-size:12px;color:#737780;margin-top:22px}.network-note a{border-bottom:1px solid #c3c5ce}.hero-art{position:relative;width:100%;aspect-ratio:1}.hero-art img{width:100%;height:100%;object-fit:contain}.art-note{position:absolute;bottom:5px;right:6%;font-size:19px;color:var(--blue);transform:rotate(-4deg)}.possibility-strip{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:28px;padding:24px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-family:Kalam,cursive;font-size:22px;color:#696e7b}.possibility-strip b{font-weight:400;color:var(--blue);font-size:32px;line-height:1}.section{max-width:1230px;margin:auto;padding:92px 40px}.section h2{font-size:38px;line-height:1.25;letter-spacing:-1.4px;font-weight:500;margin-top:18px}.how{display:grid;grid-template-columns:1fr 1fr;gap:100px}.section-intro p{color:var(--muted);line-height:1.8}.section-intro .handwritten{font-size:1.09em}.steps{padding-top:4px}.steps article{display:flex;gap:22px;margin-bottom:28px}.steps article:last-child{margin-bottom:0}.step-number{font-size:31px;color:var(--blue);transform:rotate(-7deg);line-height:1.2}.steps h3{font-size:18px;font-weight:600;margin:0 0 6px}.steps p{font-size:14px;line-height:1.8;color:var(--muted);margin:0;max-width:335px}.showcase{padding-top:38px;padding-bottom:64px}.showcase-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.showcase-top h2{margin-bottom:0}.showcase-top>.handwritten{font-size:23px;transform:rotate(-6deg)}.sample-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.sample{min-width:0}.sample-art{border:1px solid #dbdce2;background:#eff0fa;display:grid;place-items:center;height:220px;border-radius:46% 46% 43% 45% / 10% 13% 12% 11%;transition:transform .2s}.sample:nth-child(2) .sample-art{background:#f7f0df;border-radius:43% 48% 44% 41% / 12% 10% 13% 12%}.sample:nth-child(3) .sample-art{background:#e9f0ed}.sample:nth-child(4) .sample-art{background:#f7eae6}.sample:hover .sample-art{transform:rotate(-2deg)}.sample-art svg{width:116px;height:116px}.sample h3{font-size:15px;font-weight:500;margin:16px 0 3px}.sample p{font-size:12px;color:var(--muted)}.showcase-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.showcase-bottom p{font-size:14px;color:var(--muted);margin:0}.support-section{display:grid;grid-template-columns:190px 1fr;gap:60px;border-top:1px solid var(--line);padding-top:70px;padding-bottom:72px}.support-mark{font-size:170px;line-height:1.2;color:var(--blue);font-family:Kalam;transform:rotate(-12deg);align-self:center;text-align:center}.support-section h2{font-size:32px}.support-section p{max-width:580px;font-size:15px;line-height:1.85;color:var(--muted)}.venmo-handle{font-size:12px;margin-left:14px;color:var(--muted)}.last-note{padding:35px 6%;background:#eef0fb;display:flex;align-items:center;justify-content:center;gap:34px}.last-note h2{font-size:26px;font-weight:500;letter-spacing:-.7px;margin:0}.last-note>span{color:var(--blue);font-size:46px}.public-footer{max-width:1350px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:31px 5%;font-size:12px;color:var(--muted)}.small-brand{font-size:21px;color:var(--ink)}.small-brand .brand-star{font-size:34px}.public-footer>.handwritten{color:var(--blue);font-size:18px}
@media(max-width:1050px){.public-header nav{gap:18px}.public-header nav a:nth-child(3){display:none}.public-header .brand{font-size:23px}.hero{gap:10px;min-height:560px;padding-top:35px}.hero h1{font-size:62px}.hero p{font-size:15px}.hero-actions{gap:14px}.free-note{font-size:17px}.possibility-strip{gap:20px;font-size:20px}.how{gap:50px}.section{padding:65px 5%}.sample-art{height:185px}.last-note{gap:20px}.last-note h2{font-size:23px}.public-footer{flex-wrap:wrap}}
@media(max-width:760px){.public-header{padding:22px 6%}.public-header nav{display:none}.public-header .brand{font-size:22px}.brand-star{font-size:42px}.header-actions{gap:16px}.header-actions .button{padding:10px 16px}.hero{padding:35px 7% 30px;grid-template-columns:1fr;gap:5px}.hero h1{font-size:63px}.hero p{max-width:440px}.hero-copy{max-width:570px}.hero-art{width:90%;max-width:490px;justify-self:center;margin-top:10px}.hero .eyebrow{font-size:9px}.hero .network-note{font-size:11px}.hero-actions .free-note{max-width:none}.possibility-strip{gap:16px;font-size:18px;padding:20px}.possibility-strip span:last-child,.possibility-strip b:last-of-type{display:none}.how{grid-template-columns:1fr;gap:30px}.section{padding:56px 7%}.section h2{font-size:33px}.section-intro p br{display:none}.steps{padding-top:0}.steps p{max-width:none}.showcase{padding-top:20px}.showcase-top{align-items:flex-end}.showcase-top>.handwritten{font-size:18px;max-width:100px;line-height:1.4}.sample-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.sample-art{height:180px}.showcase-bottom{align-items:flex-start;gap:15px;flex-direction:column}.support-section{grid-template-columns:1fr;gap:0}.support-mark{font-size:100px;text-align:left;line-height:1}.support-section h2{font-size:29px}.venmo-handle{display:block;margin:12px 0 0 4px}.last-note{flex-direction:column;padding:34px 7%;gap:18px;text-align:center}.last-note>span:last-child{display:none}.last-note>span:first-child{font-size:32px}.last-note h2{font-size:26px}.public-footer{flex-direction:column;align-items:flex-start;gap:18px;padding:30px 7%}}
@media(max-width:390px){.public-header .header-actions>a:first-child{display:none}.hero h1{font-size:55px}.hero-actions{align-items:flex-start;flex-direction:column}.free-note{margin-left:20px}.sample-art{height:150px}.sample-art svg{width:92px;height:92px}.possibility-strip{gap:11px}.possibility-strip span:nth-last-of-type(2){display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.eyebrow,.hero .eyebrow{font-size:12px;letter-spacing:1.5px}.network-note,.hero .network-note{font-size:12px}

/* Where exported symbols can go. */
.take-with-you{padding-top:58px;padding-bottom:70px;border-top:1px dashed #d8dadf}.take-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center}.take-intro h2{margin-bottom:0}.take-intro>p{font-size:16px;line-height:1.85;color:var(--muted);max-width:440px;margin:0}.use-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:43px}.use-number{font-size:23px;display:block;transform:rotate(-5deg);margin-bottom:9px}.use-cases h3{font-size:18px;font-weight:500;line-height:1.4;margin:0 0 12px;letter-spacing:-.3px}.use-cases p{font-size:14px;line-height:1.85;color:var(--muted);margin:0}.format-notes{display:grid;grid-template-columns:1fr 1fr;gap:38px;margin:37px 0 29px;padding-top:24px;border-top:1px solid var(--line)}.format-notes p{display:flex;align-items:flex-start;gap:15px;font-size:13px;line-height:1.8;color:var(--muted);margin:0}.format-label{display:inline-block;flex-shrink:0;border:1px solid #cbd0e8;color:var(--blue);font-size:12px;font-weight:600;letter-spacing:.6px;padding:4px 9px;border-radius:7px;transform:rotate(-3deg)}.take-footer{display:flex;align-items:center;gap:26px}.take-footer>.handwritten{font-size:20px;transform:rotate(-3deg)}
@media(max-width:1050px){.take-intro{gap:40px}.use-cases{gap:25px}.take-footer>.handwritten{font-size:18px}}
@media(max-width:760px){.take-intro{grid-template-columns:1fr;gap:22px}.take-intro>p{max-width:none}.take-with-you{padding-top:44px;padding-bottom:48px}.use-cases{grid-template-columns:1fr;gap:27px;margin-top:30px}.use-cases article{position:relative;padding-left:49px}.use-number{position:absolute;top:0;left:0;margin:0}.use-cases h3{margin-bottom:8px}.format-notes{grid-template-columns:1fr;gap:22px;margin-top:30px}.take-footer{flex-direction:column;align-items:flex-start;gap:20px}.take-footer>.handwritten{font-size:18px;padding-left:8px}.take-footer .button{font-size:14px}}

/* ---- model: studio.css ---- */
.app-header{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 38px;background:#fffefa}.app-nav{display:flex;align-items:stretch;align-self:stretch;gap:30px}.app-nav a{display:flex;align-items:center;border-bottom:3px solid transparent;font-size:14px}.app-nav a.active{border-color:var(--blue);color:var(--blue)}.app-header-right{display:flex;gap:25px;align-items:center;font-size:14px}.support-link{display:flex;align-items:center;gap:8px}.profile-button{display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:#ebeefe;color:var(--blue);display:grid;place-items:center;font-size:14px}.workspace{display:grid;grid-template-columns:216px minmax(0,1fr);max-width:1680px;margin:auto;min-height:calc(100vh - 88px)}.sidebar{border-right:1px solid var(--line);padding:29px 22px;display:flex;flex-direction:column;gap:28px}.new-symbol{transform:rotate(-1deg);border-radius:47% 43% 46% 42% / 22% 25% 19% 25%;font-size:14px;padding:12px 14px;white-space:nowrap}.side-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:1.5px;color:var(--muted);margin-bottom:11px}.side-label button{padding:0;width:22px;height:22px}.side-link{display:flex;align-items:center;gap:10px;padding:10px 9px;border-radius:9px;font-size:14px}.side-link.active{background:var(--soft-blue);color:var(--blue)}.side-link svg{width:18px}.side-link .count{margin-left:auto;font-size:12px;color:var(--muted)}.side-links{display:flex;flex-direction:column;gap:2px}.tag-list{display:flex;flex-wrap:wrap;gap:6px}.tag{font-size:12px;padding:4px 8px;border-radius:6px;background:#eeeef0;line-height:1.5;display:inline-flex;gap:5px;align-items:center}.tag:hover{background:#e3e6f6}.side-note{margin-top:auto;padding:55px 0 5px;color:#6c7180;font-size:20px;line-height:1.4;transform:rotate(-5deg)}.side-note>span{display:block;font-size:50px;color:var(--blue);line-height:1.1;margin-bottom:14px}.app-main{padding:32px 36px 24px;min-width:0}.app-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:8px 0 27px}.app-heading h1{font-size:35px;font-weight:500;letter-spacing:-1.4px;line-height:1.2;margin:0 0 8px}.app-heading p{font-size:14px;color:var(--muted);margin:0}.app-heading>.handwritten{font-size:23px;transform:rotate(-5deg);padding-right:9px}.editor{border:1px solid #dcddd9;border-radius:20px 25px 19px 20px;overflow:hidden;background:white;box-shadow:0 5px 25px #1d274406}.editor-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 20px;border-bottom:1px solid var(--line)}.title-input{font-size:16px;font-weight:500;border:0;background:transparent;width:200px;max-width:100%;padding:2px 0}.save-status{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;margin-top:2px}.save-status svg{width:13px;height:13px}.editor-actions{display:flex;gap:10px}.editor-actions .button{padding:9px 15px;gap:8px}.editor-body{display:grid;grid-template-columns:65px minmax(0,1fr) 220px;min-height:409px}.toolbar{padding:17px 8px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:7px}.tool{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;color:#727784}.tool:hover{background:#f1f2f6}.tool.selected{background:#e8ecff;color:var(--blue)}.tool-divider{height:1px;background:var(--line);width:22px;margin:5px 0}.drawing-area{position:relative;display:grid;place-items:center;min-height:409px;background-color:#fcfcfa;background-image:radial-gradient(#dcddd9 1px,transparent 1px);background-size:19px 19px;padding:25px 36px}.drawing-area.no-grid{background-image:none}.artboard{width:min(100%,280px);aspect-ratio:1;display:grid;place-items:center}.artboard>svg{width:100%;height:100%}.canvas-corner{position:absolute;top:15px;left:16px;font-size:10px;color:#878b94}.canvas-note{position:absolute;bottom:15px;font-size:11px;color:#838793;text-align:center;padding:0 10px}.settings{border-left:1px solid var(--line);padding:21px 20px}.settings h2{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-bottom:22px;font-weight:600}.setting{margin-bottom:20px}.field-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:9px}.text-button{color:var(--blue);font-size:11px;padding:0}.swatches{display:flex;gap:9px}.swatch{width:24px;height:24px;border-radius:50%;background:var(--swatch);border:3px solid white;outline:1px solid #e1e1e6}.swatch.selected{outline:2px solid var(--ink);outline-offset:2px}.range-row{display:flex;align-items:center;gap:12px}.range-row input{accent-color:var(--blue);width:100%;min-width:0}.range-row output{font-size:12px;white-space:nowrap;color:var(--muted)}select{border:1px solid var(--line);padding:8px 10px;background:white;border-radius:8px;width:100%;color:var(--ink);font-size:13px}.toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px}.toggle-row input{appearance:none;width:31px;height:18px;border-radius:99px;background:#c6c8d0;position:relative;margin:0;cursor:pointer}.toggle-row input:checked{background:var(--blue)}.toggle-row input:before{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:white;top:3px;left:3px}.toggle-row input:checked:before{left:16px}.setting-note{font-size:11px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);margin:20px 0 0;padding-top:15px}.editor-bottom{border-top:1px solid var(--line);padding:11px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.editor-bottom>div{display:flex;align-items:center;gap:9px}.editor-bottom svg{width:13px;height:13px}.editor-bottom button{font-size:11px;padding:0}.editor-bottom button>span{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #aaaebb;border-radius:50%;font-size:10px;margin-left:5px}.row-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.row-heading h2{font-size:18px;font-weight:500;margin:0}.row-heading .handwritten{font-size:18px;color:#7a7f91;transform:rotate(-4deg)}.recent{margin-top:29px}.studio-samples{gap:16px}.studio-samples .sample-art{height:104px;border-radius:13px 17px 13px 16px}.studio-samples .sample-art svg{height:69px;width:69px}.studio-samples .sample h3{font-size:13px;margin-top:9px}.studio-samples .sample p{font-size:11px;margin-bottom:0}.app-footer{margin-top:30px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}.app-footer a{color:var(--blue)}.app-footer .handwritten{font-size:18px}.library-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0}.filter-chips{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);border-radius:99px;padding:8px 13px;font-size:12px;background:white}.filter-chip.selected{border-color:var(--blue);color:var(--blue);background:var(--soft-blue)}.filter-chip span{margin-left:7px}.library-controls>.button{font-size:12px;padding:9px 13px;white-space:nowrap}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 23px}.symbol-card{position:relative;min-width:0}.symbol-card .sample-art{height:205px;border-radius:18px 22px 16px 21px}.symbol-card .sample-art svg{width:115px;height:115px}.symbol-card:nth-child(2) .sample-art{background:#f4eee1}.symbol-card:nth-child(3) .sample-art{background:#eaf0eb}.symbol-card:nth-child(4) .sample-art{background:#f7ebe7}.symbol-card:nth-child(5) .sample-art{background:#ebedf2}.symbol-card:nth-child(6) .sample-art{background:#f6f1e4}.card-title-row{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.card-title-row h2{font-size:15px;font-weight:500;margin:0}.card-title-row>button{font-size:22px;line-height:1}.card-meta{font-size:11px;color:var(--muted);margin:4px 0 9px}.card-version{position:absolute;right:11px;top:11px;background:#ffffffb0;border:1px solid #dedfe4;border-radius:5px;padding:2px 6px;font-size:10px;color:#727685}.collection-note{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #d8d9dc;margin-top:33px;padding-top:22px;font-size:12px;color:var(--muted)}.collection-note .handwritten{font-size:21px;color:var(--blue)}.empty-state{text-align:center;padding:60px 20px}.empty-mark{font-size:80px;color:var(--blue)}.empty-state h2{font-weight:500}.empty-state p{color:var(--muted)}.breadcrumb{display:flex;gap:12px;font-size:12px;color:var(--muted);margin:3px 0 27px}.version-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:45px;margin-top:34px}.version-preview{border:1px solid var(--line);border-radius:24px 19px 23px 20px;overflow:hidden;background:white;align-self:start}.version-art{height:350px;display:grid;place-items:center;background-color:#f4f4fb;background-image:radial-gradient(#d4d7e3 1px,transparent 1px);background-size:20px 20px}.version-art svg{width:210px;height:210px}.version-preview-info{padding:20px 23px}.version-preview-info h2{font-size:24px;font-weight:500;margin:10px 0 7px;letter-spacing:-.5px}.version-preview-info p{font-size:12px;color:var(--muted);margin:0}.version-preview-info p span{margin:0 7px}.version-badge{font-size:11px;color:var(--blue);border:1px solid #cbd2f5;padding:4px 9px;border-radius:99px;background:#f1f3ff}.timeline-intro h2{font-size:19px;font-weight:500;margin:0 0 5px}.timeline-intro p{font-size:13px;color:var(--muted);margin-bottom:24px}.version-item{position:relative;display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:18px 13px 18px 10px;border:1px solid transparent;border-radius:13px;margin-bottom:12px}.version-item.selected{border-color:#ccd3f7;background:#eff1fd}.timeline-dot{width:8px;height:8px;border-radius:50%;background:#bbbfc9;flex-shrink:0}.selected .timeline-dot{background:var(--blue)}.version-item-body{display:flex;flex-direction:column;gap:6px;flex:1}.version-item-title{font-size:14px;display:flex;gap:10px;align-items:center}.newest{font-size:9px;color:var(--blue);background:#e1e6ff;padding:2px 5px}.version-date,.version-file{font-size:11px;color:var(--muted)}.version-mini svg{width:47px;height:47px}.version-actions{display:flex;gap:9px;margin-top:24px}.version-actions .button{padding:10px 15px;font-size:13px;gap:7px}.version-note{display:flex;align-items:center;gap:12px;margin-top:27px}.version-note>span{font-size:34px;color:var(--blue)}.version-note p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.cs-modal h2{font-size:27px;letter-spacing:-.8px;font-weight:500;margin:0 0 10px}.cs-modal>p{color:var(--muted);font-size:14px;line-height:1.7}.modal-close{position:absolute;top:14px;right:14px;padding:7px;line-height:1}.modal-close svg{width:19px;height:19px}.cs-modal label{display:block;font-size:13px;margin:20px 0 8px}.cs-modal input[type=text]{width:100%;border:1px solid var(--line);border-radius:9px;background:white;padding:11px 12px;font-size:14px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.modal-actions .button{padding:10px 18px}.modal-preview{display:grid;place-items:center;height:155px;border:1px solid var(--line);border-radius:15px;background:white;margin:20px 0}.modal-preview svg{width:105px;height:105px}.format-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.format-option{border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;background:white}.format-option.selected{background:var(--soft-blue);border-color:var(--blue)}.format-option b{display:block;font-size:15px;font-weight:500}.format-option small{font-size:11px;color:var(--muted)}.export-details{display:grid;grid-template-columns:1fr 1fr;gap:16px}.modal-note{display:flex;gap:8px;font-size:12px;padding:13px;background:#f1f0e7;border-radius:9px;color:#77735d;margin-top:19px;align-items:center}.modal-note svg{width:18px;flex-shrink:0}.preview-notice{font-size:11px!important;color:#868993!important;margin:16px 0 0;text-align:center}.cs-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 21px;background:var(--ink);color:white;border-radius:99px;max-width:90vw;font-size:13px;box-shadow:0 6px 30px #0002;z-index:100}.login-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;max-width:1100px;min-height:calc(100vh - 204px);padding:35px 40px 55px;margin:auto}.login-art{position:relative}.login-art img{width:100%;height:auto}.login-art>span{display:block;text-align:center;font-size:23px;transform:rotate(-5deg);margin-top:14px}.login-content{max-width:415px}.login-content h1{font-size:46px;line-height:1.1;letter-spacing:-1.5px;font-weight:500;margin:20px 0 23px}.login-content h1 .handwritten{font-size:39px;letter-spacing:-1px;line-height:1.4;display:block;margin-top:8px}.login-content>p{font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:25px}.login-cta{width:100%;padding:14px 18px;font-size:14px}.login-divider{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px;margin:26px 0 18px}.login-divider:before,.login-divider:after{content:'';height:1px;background:var(--line);flex:1}.login-content .join-copy{text-align:center;font-size:13px;margin-bottom:18px}.login-preview{font-size:12px;color:var(--blue);text-align:center;margin-top:25px}.profile-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:20px 0;font-size:14px}.profile-details small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.modal-link-list{display:flex;flex-direction:column;gap:16px;font-size:14px;color:var(--blue)}.modal-link-list a:last-child{color:var(--muted)}.blank-canvas-note{text-align:center;font-family:Kalam,cursive;color:#a0a4b6;font-size:25px}.tag-editor{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.tag-editor button{padding:5px 8px;font-size:12px;background:#ebeefa;border-radius:6px}.hints-list{padding-left:20px;font-size:14px;color:var(--muted);line-height:1.9}
@media(min-width:1450px){.app-main{padding:40px 52px 28px}.editor-body,.drawing-area{min-height:460px}.artboard{width:310px}.studio-samples .sample-art{height:124px}}
@media(max-width:1100px){.app-header{padding:0 24px}.app-header .brand{font-size:23px}.workspace{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:27px 15px}.app-main{padding:29px 24px}.editor-body{grid-template-columns:55px minmax(0,1fr) 187px}.settings{padding:19px 14px}.app-header-right{gap:16px}.app-heading>.handwritten{font-size:19px}.support-link span{display:none}.swatches{gap:7px}.swatch{width:22px;height:22px}.drawing-area{padding:28px}.library-grid{gap:23px 17px}.symbol-card .sample-art{height:165px}.symbol-card .sample-art svg{width:98px;height:98px}.version-layout{gap:24px}.version-art{height:320px}.version-actions{flex-wrap:wrap}.version-item{padding:14px 8px;gap:8px}.version-date{font-size:10px}.version-mini svg{width:34px;height:34px}.newest{display:none}}
@media(max-width:820px){.workspace{grid-template-columns:1fr}.sidebar{display:none}.app-header{height:80px;padding:0 20px;gap:18px}.app-header-right .profile-name{display:none}.app-heading h1{font-size:32px}.app-nav{gap:22px}.app-heading>.handwritten{display:none}.app-main{padding:26px 20px}.editor-body{grid-template-columns:55px minmax(0,1fr) 185px}.app-footer{flex-wrap:wrap;gap:10px}.login-layout{gap:30px;padding:35px 7%}.login-content h1{font-size:39px}.login-content h1 .handwritten{font-size:32px}.login-cta{font-size:12px}.login-art>span{font-size:19px}.library-controls{align-items:flex-start}.filter-chip{font-size:11px;padding:8px 10px}.version-layout{gap:27px}.version-art{height:320px}}
@media(max-width:580px){.app-header{height:auto;flex-wrap:wrap;padding:16px 18px 0;gap:12px}.app-header .brand{font-size:23px}.app-header .brand-star{font-size:41px}.app-header-right{margin-left:auto}.support-link{display:none}.app-nav{order:3;width:100%;justify-content:center;height:42px}.app-main{padding:23px 14px}.app-heading{margin-bottom:21px;gap:12px}.app-heading h1{font-size:29px}.app-heading p{font-size:12px}.editor-top{padding:13px 12px;gap:10px}.title-input{width:135px;font-size:14px}.save-status{font-size:10px}.editor-actions{gap:6px}.editor-actions .button{padding:9px 12px;font-size:12px}.hide-small{display:none}.editor-body{grid-template-columns:45px minmax(0,1fr);min-height:0}.toolbar{padding:10px 3px;gap:6px}.tool{height:36px;width:36px}.tool svg{width:19px;height:19px}.drawing-area{min-height:330px;padding:35px}.artboard{width:200px;max-width:100%}.canvas-note{font-size:10px}.settings{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}.settings h2,.setting-note{display:none}.setting{margin:0}.setting .field-label,.toggle-row{font-size:12px}.swatches{gap:9px}.toggle-row{grid-column:1/-1;justify-content:flex-start}.editor-bottom{font-size:10px;padding:11px 13px}.editor-bottom button{font-size:0}.editor-bottom>div{gap:6px}.editor-bottom button>span{font-size:10px}.studio-samples{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.studio-samples .sample-art{height:106px}.row-heading h2{font-size:17px}.row-heading .handwritten{font-size:15px}.library-controls{flex-direction:column;gap:16px;margin:22px 0}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.symbol-card .sample-art{height:153px}.card-title-row h2{font-size:14px}.card-meta{font-size:10px}.symbol-card .tag{font-size:10px}.collection-note{flex-direction:column;gap:8px;align-items:flex-start}.app-footer{font-size:10px;margin-top:23px}.version-layout{grid-template-columns:1fr;margin-top:23px}.version-art{height:260px}.version-art svg{width:175px;height:175px}.version-preview-info{padding:17px 21px}.version-preview-info h2{font-size:22px}.version-item{padding:18px 14px}.version-date{font-size:12px}.version-mini svg{width:46px;height:46px}.newest{display:inline-flex}.version-actions{flex-wrap:nowrap}.version-actions .button{flex:1;padding:10px;font-size:12px}.breadcrumb{font-size:11px;margin-bottom:22px}.app-heading>a.button{font-size:11px;padding:9px 12px;white-space:nowrap}.version-layout .timeline-intro{margin-top:4px}.login-layout{grid-template-columns:1fr;gap:25px;padding:35px 8% 45px}.login-art{display:none}.login-content{margin:auto}.login-content h1{font-size:43px}.login-content h1 .handwritten{font-size:36px}.login-cta{font-size:13px}.login-page .public-header{padding-top:24px}.login-page .public-header>.text-link{font-size:11px;max-width:80px;text-align:center}.cs-modal h2{font-size:25px}.modal-preview{height:130px}.modal-preview svg{width:88px;height:88px}}
/* Readable labels and metadata across viewports. */
.field-label,.toggle-row,.settings select,.filter-chip,.library-controls>.button{font-size:14px}.tag,.side-label,.settings h2,.save-status,.editor-bottom,.editor-bottom button,.canvas-note,.canvas-corner,.setting-note,.card-meta,.card-version,.symbol-card .tag,.version-date,.version-file,.app-footer,.studio-samples .sample p,.version-badge,.newest,.cs-modal label,.preview-notice,.modal-note,.cs-modal input[type=text],.format-option small,.range-row output,.text-button,.breadcrumb{font-size:12px}.studio-samples .sample h3,.card-title-row h2,.cs-modal label,.cs-modal input[type=text]{font-size:14px}.cs-modal .preview-notice{font-size:12px!important}.editor-bottom button{white-space:nowrap}.side-label,.settings h2{letter-spacing:1.1px}
@media(max-width:580px){.editor-bottom>div{font-size:11px}.editor-bottom button{font-size:0}.app-footer{font-size:12px}.app-heading p{font-size:14px}.library-controls .filter-chip{font-size:13px}.card-meta{font-size:12px}.canvas-corner{font-size:12px}.save-status{font-size:11px}.settings .field-label,.toggle-row{font-size:14px}.editor-top{align-items:flex-start}.modal-actions .button{font-size:14px}}


/* ==== Templar mapping: chrome ==================================================================== */

/* Icons: app.js injected inline SVG; Fragments cannot carry SVG, so each icon is a span masked by the
   template's own icon asset and painted in currentColor -- it still turns blue on .active. */
.cs-icon{display:inline-block;width:20px;height:20px;flex-shrink:0;background:currentColor;-webkit-mask:var(--cs-icon) center/contain no-repeat;mask:var(--cs-icon) center/contain no-repeat}
.side-link .cs-icon{width:18px;height:18px}
.side-label .cs-icon{width:16px;height:16px}
.cs-icon-plus{--cs-icon:url(../img/icons/plus.svg)}
.cs-icon-grid{--cs-icon:url(../img/icons/grid.svg)}
.cs-icon-folder{--cs-icon:url(../img/icons/folder.svg)}
.cs-icon-history{--cs-icon:url(../img/icons/history.svg)}
.cs-icon-heart{--cs-icon:url(../img/icons/heart.svg)}
.cs-icon-chevron{--cs-icon:url(../img/icons/chevron.svg)}
.cs-icon-tag{--cs-icon:url(../img/icons/tag.svg)}

/* The skip link's target: <main> cannot carry an id in Templar, so a zero-size marker sits at its door. */
.skip-target{display:block;height:0;overflow:hidden}

/* Sample art is an <img> of the template's sample SVG rather than inline SVG. */
.sample-art img{width:116px;height:116px}
.studio-samples .sample-art img{width:69px;height:69px}
@media(max-width:390px){.sample-art img{width:92px;height:92px}}

/* The legal line every layout carries for the go-live gates: {{pan}}, the privacy policy and
   {{privacyChoices}}. The Network's attribution prints its own <p class="pal-network-attribution">. */
.cs-legal{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.cs-legal p,.cs-legal .pal-network-attribution{display:inline;margin:0}
.cs-legal a{border-bottom:1px solid #c3c5ce}
.public-footer>span:not(.handwritten){max-width:620px}
.app-footer .cs-legal a{color:var(--muted)}

/* Templar has no <body data-page>; the model's app header was a sibling of .workspace inside body. */
.app-page main{display:block}
.sidebar .side-label a{display:grid;place-items:center;width:22px;height:22px;color:var(--ink)}
.app-nav a.active,.side-link.active{color:var(--blue)}

/* The account modal is Bootstrap's modal, dressed as the model's dialog. */
.cs-modal .modal-content{position:relative;border:1px solid var(--line);border-radius:24px 28px 21px 27px;padding:30px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #1d284033}
.cs-modal .modal-dialog{max-width:min(470px,calc(100% - 30px))}
.modal-backdrop.show{background:#1e254d;opacity:.4}
.cs-modal h2{font-size:27px;letter-spacing:-.8px;font-weight:500;margin:0 0 10px}
.cs-modal .modal-content>p{color:var(--muted);font-size:14px;line-height:1.7}
.cs-modal .modal-close{position:absolute;top:14px;right:14px;padding:7px;line-height:1;font-size:22px}
@media(max-width:580px){.cs-modal .modal-content{padding:29px 23px}.cs-modal h2{font-size:25px}}

/* The privacy policy page. */
.cs-prose{max-width:760px}
.cs-prose h1{font-size:42px;font-weight:500;letter-spacing:-1.4px;line-height:1.15;margin:18px 0 22px}
.cs-prose h2{font-size:22px;margin-top:34px}
.cs-prose p{color:var(--muted);line-height:1.85}
.cs-prose .cs-prose-lead{font-size:17px;color:var(--ink)}
.cs-prose .cs-prose-note{font-size:22px;color:var(--blue);transform:rotate(-3deg);display:inline-block;margin-top:24px}

/* A 404 or error message the Foundation pages print into a public content region. */
.public-page main>h1,.public-page main>.container{max-width:1230px;margin:40px auto;padding:0 40px}

/* The IAM pages sit in the app shell with their menu beside them. */
.iam-menu ul{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:6px}
.iam-menu a{display:inline-block;padding:8px 13px;border:1px solid var(--line);border-radius:99px;font-size:14px;background:#fff}

/* The studio: "Canvas" is the current page (the canvas lives at a per-symbol path). */
.studio-page .app-nav a:first-child{border-color:var(--blue);color:var(--blue)}

/* The app chrome is one Templar layout: header, sidebar, <main>, footer inside div.app-frame. This grid
   is the model's .workspace (216px sidebar | content, max 1680px, centred) with the header full width
   above it and the footer under the content column, where the model kept it inside .app-main. */
.app-frame{display:grid;grid-template-columns:minmax(0,1fr) 216px minmax(0,1464px) minmax(0,1fr);grid-template-rows:auto auto 1fr auto;min-height:100vh}
.app-frame>.app-header{grid-column:1/-1;grid-row:1}
.app-frame>.skip-target{grid-column:1/-1;grid-row:2}
.app-frame>.sidebar{grid-column:2;grid-row:3/5}
.app-frame>main{grid-column:3;grid-row:3;min-width:0}
.app-frame>.app-footer{grid-column:3;grid-row:4;margin:0;padding:14px 36px 24px}
.app-frame>main>.app-main{padding-bottom:0}
.app-frame::before,.app-frame::after{content:'';grid-row:3/5;border-bottom:0}
.app-frame::before{grid-column:1}
.app-frame::after{grid-column:4}
@media(min-width:1450px){.app-frame>.app-footer{padding:14px 52px 28px}}
@media(max-width:1100px){.app-frame{grid-template-columns:minmax(0,1fr) 190px minmax(0,1490px) minmax(0,1fr)}.app-frame>.app-footer{padding:14px 24px 24px}}
@media(max-width:820px){.app-frame{grid-template-columns:minmax(0,1fr)}.app-frame>main,.app-frame>.app-footer{grid-column:1}.app-frame>.app-footer{padding:14px 20px 24px}.app-frame::before,.app-frame::after{display:none}}
@media(max-width:580px){.app-frame>.app-footer{padding:14px 14px 23px}}

/* Folders and tags sit at the foot of the sidebar, above the note. */
.sidebar .side-bottom{margin-top:auto;display:flex;flex-direction:column;gap:28px}
.sidebar .side-bottom+.side-note{margin-top:0;padding-top:34px}

/* The hero note sits under the doodle, not across it (the model laid it over the art). */
.hero-art{aspect-ratio:auto;display:flex;flex-direction:column}
.hero-art img{height:auto;aspect-ratio:1}
.hero-art .art-note{position:static;align-self:flex-end;margin:6px 6% 0 0}

/* Phones: "create symbols . com" is longer than the model's wordmark, so the header needs room sooner
   than the model's 390px rule gives it. "Log in" goes (Start creating reaches the same sign-in). */
@media(max-width:480px){.public-header{padding:18px 5%;gap:12px}.public-header .brand{font-size:19px}.public-header .brand-star{font-size:34px}.public-header .header-actions>a:first-child{display:none}}
/* Your Privacy Choices: the storage table scrolls inside itself rather than widening the page. */
.pal-privacy-choices .table{display:block;max-width:100%;overflow-x:auto}


/* ==== Templar mapping: ROGER pages (library deck, folder/tag tables), the File Manager, forms ==== */

/* Page heading the ROGER jig prints (a flex row of an h1 and the New link) = the model's .app-heading. */
.app-main h1{font-size:35px;font-weight:500;letter-spacing:-1.4px;line-height:1.2;margin:8px 0 8px}
.app-main>.d-flex:first-child,.app-main>nav+.d-flex{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:8px 0 22px}
.app-main>.d-flex:first-child>a,.app-main>nav+.d-flex>a{display:inline-flex;align-items:center;gap:8px;font-size:14px;padding:9px 13px;white-space:nowrap;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--ink);font-weight:500;line-height:1.5}
.app-main>.d-flex:first-child>a:hover,.app-main>nav+.d-flex>a:hover{transform:translateY(-2px);color:var(--blue)}
.app-main nav[aria-label=breadcrumb] ol,.app-main ol.breadcrumb{display:flex;gap:12px;list-style:none;padding:0;font-size:12px;color:var(--muted);margin:3px 0 20px}

/* Filter chips = the model's .filter-chips / .filter-chip. */
.roger-filters{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 28px}
.roger-filter-chip{border:1px solid var(--line);border-radius:99px;padding:8px 13px;font-size:14px;background:#fff;color:var(--ink)}
.roger-filter-chip.is-selected{border-color:var(--blue);color:var(--blue);background:var(--soft-blue)}
.roger-filter-count{margin-left:7px}
@media(max-width:580px){.roger-filters{margin:22px 0}.roger-filter-chip{font-size:13px}}

/* The deck = .library-grid; every card = .symbol-card. CardDeckBuilder wraps each card in Bootstrap
   column classes; in this grid those wrappers are plain cells. */
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 23px;margin:0 0 27px}
.library-grid>div{width:auto;max-width:none;flex:none;padding:0;margin:0}
.symbol-card{position:relative;min-width:0;height:100%}
.roger-card-art{border:1px solid #dbdce2;background:#eff0fa;display:grid;place-items:center;height:205px;border-radius:18px 22px 16px 21px;transition:transform .2s;overflow:hidden}
.symbol-card:hover .roger-card-art{transform:rotate(-2deg)}
.roger-card-art img{width:115px;height:115px;object-fit:contain}
.library-grid>div:nth-child(6n+2) .roger-card-art{background:#f4eee1}
.library-grid>div:nth-child(6n+3) .roger-card-art{background:#eaf0eb}
.library-grid>div:nth-child(6n+4) .roger-card-art{background:#f7ebe7}
.library-grid>div:nth-child(6n+5) .roger-card-art{background:#ebedf2}
.library-grid>div:nth-child(6n) .roger-card-art{background:#f6f1e4}
.symbol-card-body{padding:0}
.symbol-card-body h5,.symbol-card-body h4,.symbol-card-body .card-title{font-size:15px;font-weight:500;margin:13px 0 0}
.symbol-card-body p{font-size:12px;color:var(--muted);margin:4px 0 9px}
.symbol-card-body .tag{margin:0 6px 6px 0}
.symbol-card-body .tag a,.roger-badge-link{color:inherit}
.symbol-card-footer{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}
.symbol-card-footer .btn,.symbol-card-footer button{font-size:12px;padding:4px 10px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);line-height:1.5}
.symbol-card-footer .btn-outline-danger{color:#b4453a}
.symbol-card-footer form{display:inline}
.symbol-card[data-entity-deleted] .roger-card-art{opacity:.45}

/* Folder cards, listed first (the ROGER grouped deck). */
.folder-card{display:flex;flex-direction:column;justify-content:flex-end;min-height:120px;padding:18px 18px 16px;border:1px solid var(--line);border-radius:18px 22px 16px 21px;background:#fffefa;background-image:linear-gradient(#f8df7040,#f8df7040)}
.folder-card::before{content:'';display:block;width:26px;height:26px;margin-bottom:auto;background:var(--blue);-webkit-mask:url(../img/icons/folder.svg) center/contain no-repeat;mask:url(../img/icons/folder.svg) center/contain no-repeat}
.folder-card h5,.folder-card .card-title{font-size:16px;font-weight:500;margin:14px 0 2px}
.folder-card p{font-size:12px;color:var(--muted);margin:0}

/* The "+ New symbol" card closing the deck. */
.add-card{display:grid;place-items:center;height:100%;min-height:205px;border:1.4px dashed #bbbfd6;border-radius:18px 22px 16px 21px;background:#fffefa;font-family:Kalam,cursive;font-size:22px;color:var(--blue)}
.add-card a{color:var(--blue)}

/* Empty states. */
.roger-empty-filtered,.app-main .library-empty{text-align:center;padding:60px 20px;color:var(--muted)}
.roger-empty-filtered a{color:var(--blue);border-bottom:1px solid var(--blue)}

/* The pager under the grid. */
.app-main .pagination{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:8px 0 22px;align-items:center}
.app-main .page-link{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--ink);font-size:13px}
.app-main .page-item.active .page-link{border-color:var(--blue);background:var(--soft-blue);color:var(--blue)}
.app-main .page-item.disabled .page-link{opacity:.45}
.app-main .pagination input{width:64px;border:1px solid var(--line);border-radius:99px;padding:5px 10px;font-size:13px}

/* The show-deleted link = the model's .collection-note row. */
.app-main>div:last-of-type>a[href^='?']{display:inline-block;border-top:1px dashed #d8d9dc;padding-top:22px;margin-top:10px;font-size:12px;color:var(--muted)}

/* Tables (folders, tags, the File Manager's export history and versions). */
.app-main table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;font-size:14px;margin:0 0 24px}
.app-main th{font-size:12px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);font-weight:600;text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);background:#fcfcfa}
.app-main td{padding:13px 16px;border-bottom:1px solid #eeeef0;vertical-align:middle}
.app-main tr:last-child td{border-bottom:0}
.app-main td a{color:var(--blue)}
.app-main td .btn,.app-main td button{font-size:12px;padding:4px 10px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.app-main h2,.app-main h3{font-weight:500;letter-spacing:-.4px}

/* Forms (details page, folder and tag forms, profile) in the model's field style. */
.app-main .form-control,.app-main .form-select{border-color:var(--line);border-radius:9px;color:var(--ink)}
.app-main .form-control:focus,.app-main .form-select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #354bcb22}
.app-main input[type=checkbox]{accent-color:var(--blue)}
.app-main form:not(.d-inline) button[type=submit]{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:99px;border:1px solid var(--blue);background:var(--blue);color:#fff}

/* ROGER forms (details, folder, tag): PALjs form-state fields (fs-field, fs-float) on the model's white
   card. form-state.css floats the label and places the status dot; the template gives the control its
   box. Only top/left/bottom padding is set, so form-state's right-hand room for the dot survives. */
.app-main{--fs-label-bg:#fff}
.app-main form:has(.fs-field){max-width:680px;background:#fff;border:1px solid #dcddd9;border-radius:20px 25px 19px 20px;padding:30px 28px 22px;box-shadow:0 5px 25px #1d274406}
.app-main .fs-field{margin:0 0 22px}
.app-main .fs-field input[type=text],.app-main .fs-field input[type=email],.app-main .fs-field input[type=number],.app-main .fs-field textarea,.app-main .fs-field select{display:block;width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding-top:12px;padding-bottom:12px;padding-left:14px;font-size:15px;line-height:1.4;color:var(--ink)}
.app-main .fs-field input:focus,.app-main .fs-field textarea:focus,.app-main .fs-field select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #354bcb1f}
.app-main .fs-float>label{left:10px;top:13px;font-size:15px;color:var(--muted)}
.app-main .fs-float.fs-raised>label{top:-9px;font-size:12px;letter-spacing:.2px;color:var(--ink)}
.app-main .fs-field .fs-field-icon{top:14px}
.app-main .fs-field--select>label,.app-main .fs-field:not(.fs-float):not(.fs-field--check)>label{display:block;font-size:12px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.app-main .fs-field--select .fs-field-icon{top:38px}
.app-main .fs-field--check{display:inline-flex;align-items:center;gap:8px;margin:0 10px 12px 0;padding:6px 12px 6px 10px;border:1px solid var(--line);border-radius:99px;background:#fafaf8;font-size:14px}
.app-main .fs-field--check:has(input:checked){background:var(--soft-blue);border-color:#ccd3f7;color:var(--blue)}
.app-main .fs-field--check input{accent-color:var(--blue);margin:0}
.app-main .fs-field--check>label{margin:0}
.app-main form:has(.fs-field) .fs-status,.app-main form:has(.fs-field)>p,.app-main form:has(.fs-field) .form-text{font-size:12px;color:var(--muted);margin:14px 0 0;padding-left:0}

/* The breadcrumb reads as one: blue links, the current page in the ink, a chevron between steps. */
.app-main nav[aria-label=breadcrumb]{margin:3px 0 18px}
.app-main nav[aria-label=breadcrumb] ol{display:flex;flex-wrap:wrap;align-items:center;gap:0;list-style:none;padding:0;margin:0;font-size:14px}
.app-main nav[aria-label=breadcrumb] li{display:inline-flex;align-items:center;color:var(--ink)}
.app-main nav[aria-label=breadcrumb] li+li::before{content:'\203A';margin:0 10px;color:var(--muted);font-size:18px;line-height:1}
.app-main nav[aria-label=breadcrumb] a{color:var(--blue);border-bottom:1px solid #cbd2f5}
.app-main nav[aria-label=breadcrumb] a:hover{border-bottom-color:var(--blue)}
.app-main nav[aria-label=breadcrumb] .active{font-weight:500}
.app-main>.d-flex:first-child>a .ti,.app-main>nav+.d-flex>a .ti{font-size:16px}

/* Row and card actions: Edit is the one primary action; Delete and Details stay small and quiet. */
.symbol-card-footer .btn,.symbol-card-footer button,.app-main td .btn,.app-main td button{font-size:12px;font-weight:500;padding:4px 12px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--muted);line-height:1.5}
.symbol-card-footer .btn-primary,.app-main td .btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}
.symbol-card-footer .btn-outline-danger:hover,.app-main td .btn-outline-danger:hover{color:#b4453a;border-color:#e4b8b1;background:#fff}

/* Tag chips on cards: the model's quiet chip, over Bootstrap's !important badge colours. */
.symbol-card .tag,.symbol-card .tag.text-bg-primary{background:#eeeef0!important;color:var(--ink)!important;font-weight:400;border-radius:6px;padding:4px 8px;font-size:12px}
.symbol-card .tag:hover{background:#e3e6f6!important}

@media(max-width:1100px){.library-grid{gap:23px 17px}.roger-card-art{height:165px}.roger-card-art img{width:98px;height:98px}}
@media(max-width:580px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.roger-card-art{height:153px}.app-main h1{font-size:29px}.app-main table{font-size:13px}.app-main th,.app-main td{padding:10px}}
.app-main .fs-field--check input{order:-1}


/* ==== Templar mapping: the studio (Foundation SymbolCanvas editor frame, dressed as the model's .editor) ==== */

.studio-body{min-width:0}
.symbol-designer.symbol-designer--framed{width:auto;height:auto;max-width:none}
.symbol-editor{border:1px solid #dcddd9;border-radius:20px 25px 19px 20px;overflow:hidden;background:#fff;box-shadow:0 5px 25px #1d274406;font-family:'DM Sans',sans-serif;color:var(--ink)}

/* top bar = .editor-top */
.symbol-editor-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 20px;border-bottom:1px solid var(--line);background:#fff}
.symbol-editor-name{display:flex;flex-direction:column;margin:0}
.symbol-editor-name .symbol-editor-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.symbol-editor-name-input{font-size:16px;font-weight:500;border:0;background:transparent;width:200px;max-width:100%;padding:2px 0;color:var(--ink)}
.symbol-editor-name-input:focus{outline:none;border-bottom:1px dashed var(--blue)}
.symbol-editor-save{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;margin-top:2px}
.symbol-editor-actions{display:flex;gap:10px}
.symbol-editor-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;font-size:14px;font-weight:500;line-height:1.5;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);transition:transform .16s}
.symbol-editor-button:hover{transform:translateY(-2px)}
.symbol-editor-button--primary{background:var(--blue);border-color:var(--blue);color:#fff}
.symbol-editor-button--quiet{border:0;background:none;padding:0;font-size:12px;color:var(--muted)}
.symbol-editor-button--quiet:hover{transform:none;color:var(--blue)}
.symbol-editor-button i{font-size:18px}

/* body = .editor-body: toolbar | drawing | settings */
.symbol-editor-body{display:grid;grid-template-columns:65px minmax(0,1fr) 220px;min-height:409px}
.symbol-editor-tools{padding:17px 8px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:7px;background:#fff}
.symbol-editor-tool{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;color:#727784;border:0;background:none;padding:0}
.symbol-editor-tool:hover{background:#f1f2f6}
.symbol-editor-tool.is-active,.symbol-editor-tool[aria-pressed=true]{background:#e8ecff;color:var(--blue)}
.symbol-editor-tool i{font-size:20px}
.symbol-editor-tool-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.symbol-editor-glyph{width:20px;height:20px}
.symbol-editor-divider{height:1px;background:var(--line);width:22px;margin:5px 0}

.symbol-editor-drawing{position:relative;min-height:409px;background-color:#fcfcfa;background-image:radial-gradient(#dcddd9 1px,transparent 1px);background-size:19px 19px}
.is-grid-off .symbol-editor-drawing{background-image:none}
.symbol-editor-drawing .symbol-canvas-holder{background:transparent}
.symbol-editor-size{position:absolute;top:15px;left:16px;font-size:12px;color:#878b94;pointer-events:none}
.symbol-editor-drawing-note{position:absolute;bottom:15px;left:0;right:0;font-size:12px;color:#838793;text-align:center;padding:0 10px;margin:0;pointer-events:none}
.symbol-editor-drawing .symbol-footer{background:transparent;border:0;font-size:12px;color:var(--muted)}

.symbol-editor-settings{border-left:1px solid var(--line);padding:21px 20px;background:#fff}
.symbol-editor-settings::before{content:'MAKE IT YOURS';display:block;font-size:12px;letter-spacing:1.1px;color:var(--muted);margin-bottom:22px;font-weight:600}
.symbol-editor-section{margin:0 0 20px;padding:0;border:0;min-width:0}
.symbol-editor-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:9px;padding:0;float:none;width:auto;font-weight:400;color:var(--ink)}
.symbol-editor-field{display:block;margin:0}
.symbol-editor-swatches{display:flex;gap:9px}
.symbol-editor-swatch{position:relative;margin:0;cursor:pointer}
.symbol-editor-swatch-input{position:absolute;opacity:0;width:1px;height:1px}
.symbol-editor-swatch-chip{display:block;width:24px;height:24px;border-radius:50%;border:3px solid #fff;outline:1px solid #e1e1e6}
.symbol-editor-swatch.is-active .symbol-editor-swatch-chip,.symbol-editor-swatch-input:checked+.symbol-editor-swatch-chip{outline:2px solid var(--ink);outline-offset:2px}
.symbol-editor-swatch-input:focus-visible+.symbol-editor-swatch-chip{outline:3px solid #8b9af2}
.symbol-editor-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.symbol-editor-range{accent-color:var(--blue);width:100%;min-width:0}
.symbol-editor-output{float:right;font-size:12px;color:var(--muted)}
.symbol-editor-select{border:1px solid var(--line);padding:8px 10px;background:#fff;border-radius:8px;width:100%;color:var(--ink);font-size:14px}
.symbol-editor-tags{display:flex;flex-wrap:wrap;gap:6px}
.symbol-editor-tags>legend{width:100%}
.symbol-editor-tag{font-size:12px;padding:4px 8px;border-radius:6px;background:#eeeef0;line-height:1.5;display:inline-flex;gap:5px;align-items:center;cursor:pointer;margin:0}
.symbol-editor-tag.is-active{background:#e3e6f6;color:var(--blue)}
.symbol-editor-tag-input{position:absolute;opacity:0;width:1px;height:1px}
.symbol-editor-switch{display:flex;align-items:center;justify-content:space-between;font-size:14px;gap:10px;margin:0;cursor:pointer}
.symbol-editor-switch-label{order:-1}
.symbol-editor-switch-input{appearance:none;width:31px;height:18px;border-radius:99px;background:#c6c8d0;position:relative;margin:0;cursor:pointer;flex-shrink:0}
.symbol-editor-switch-input:checked{background:var(--blue)}
.symbol-editor-switch-input:before{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:#fff;top:3px;left:3px}
.symbol-editor-switch-input:checked:before{left:16px}
.symbol-editor-settings>.symbol-editor-note{font-size:12px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);margin:20px 0 0;padding-top:15px}

/* bottom bar = .editor-bottom */
.symbol-editor-bottom{border-top:1px solid var(--line);padding:11px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);background:#fff}
.symbol-editor-bottom .symbol-editor-button--quiet{white-space:nowrap}

/* the export dialog = the model's export modal */
.symbol-editor-dialog{border:1px solid var(--line);border-radius:24px 28px 21px 27px;padding:30px;width:min(470px,calc(100% - 30px));background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #1d284033}
.symbol-editor-dialog::backdrop{background:#1e254d66;backdrop-filter:blur(5px)}
.symbol-editor-dialog-title{font-size:27px;letter-spacing:-.8px;font-weight:500;margin:0 0 10px}
.symbol-editor-choice{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;margin:0 8px 8px 0;font-size:14px;cursor:pointer}
.symbol-editor-choice:has(input:checked){background:var(--soft-blue);border-color:var(--blue)}
.symbol-editor-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}

/* full screen: the frame fills the screen and the drawing area takes the room */
.symbol-designer.is-fullscreen,.symbol-designer.is-expanded{background:var(--paper)}
.symbol-designer.is-fullscreen .symbol-editor,.symbol-designer.is-expanded .symbol-editor{height:100%;border-radius:0;display:flex;flex-direction:column}
.symbol-designer.is-fullscreen .symbol-editor-body,.symbol-designer.is-expanded .symbol-editor-body{flex:1}

@media(min-width:1450px){.symbol-editor-body,.symbol-editor-drawing{min-height:460px}}
@media(max-width:1100px){.symbol-editor-body{grid-template-columns:55px minmax(0,1fr) 187px}.symbol-editor-settings{padding:19px 14px}.symbol-editor-swatches{gap:7px}.symbol-editor-swatch-chip{width:22px;height:22px}}
@media(max-width:820px){.symbol-editor-body{grid-template-columns:55px minmax(0,1fr) 185px}}
@media(max-width:580px){.symbol-editor-top{padding:13px 12px;gap:10px;align-items:flex-start}.symbol-editor-name-input{width:135px;font-size:14px}.symbol-editor-actions{gap:6px}.symbol-editor-button{padding:9px 12px;font-size:12px}.symbol-editor-button-label{display:none}.symbol-editor-body{grid-template-columns:45px minmax(0,1fr);min-height:0}.symbol-editor-tools{padding:10px 3px;gap:6px}.symbol-editor-tool{height:36px;width:36px}.symbol-editor-drawing{min-height:330px}.symbol-editor-settings{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}.symbol-editor-settings::before,.symbol-editor-settings>.symbol-editor-note{display:none}.symbol-editor-section{margin:0}.symbol-editor-bottom{padding:11px 13px}.symbol-editor-bottom .symbol-editor-button--quiet{font-size:0}}

/* The toolbar's Select menu and the Selected button, in the model's voice. */
.symbol-editor-flyout{border-color:var(--line);border-radius:14px 16px 13px 15px;background:var(--paper);box-shadow:0 18px 50px #1d284026;font-family:'DM Sans',sans-serif;color:var(--ink)}
.symbol-editor-flyout-item{font-size:14px;border-radius:9px}
.symbol-editor-flyout-item:hover,.symbol-editor-flyout-item:focus-visible{background:var(--soft-blue);color:var(--blue)}
.symbol-editor-flyout-key{border-color:var(--line);background:#fff;color:var(--muted)}
.symbol-editor-selection .symbol-editor-heading{font-size:12px;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted)}
.symbol-editor-selection-button{border-radius:12px;padding:10px 14px;background:var(--soft-blue);border-color:#ccd3f7;color:var(--blue)}
.symbol-editor-selection-button:hover{transform:none;border-color:var(--blue)}

/* The brand's eight-spoked star and the wave, drawn from the template's own SVGs rather than the
   characters that used to stand in for them: iOS renders those as colour emoji. Painted in
   currentColor through a mask, so each keeps the colour and the size (in em) of where it sits. */
.cs-star,.cs-wave{display:inline-block;vertical-align:middle;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.cs-star{width:.72em;height:.72em;-webkit-mask-image:url(../img/star.svg);mask-image:url(../img/star.svg)}
.cs-wave{width:1.3em;height:.65em;-webkit-mask-image:url(../img/wave.svg);mask-image:url(../img/wave.svg)}
.avatar .cs-star{width:1.1em;height:1.1em}
.possibility-strip .cs-star{width:.62em;height:.62em}
