/* New content only. Product, sidebar, logo geometry, controls, theme and menus
   are copied verbatim from the current MEGA DOCS cascade; see docs-ui/SOURCE.json. */
[hidden]{display:none!important}
.artwork-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:24px 0}.artwork-grid figure{margin:0;background:#ececec;border-radius:18px;overflow:hidden}.artwork-grid img{display:block;width:100%;max-height:490px;object-fit:contain}.artwork-grid figcaption{padding:12px 20px;font-size:11px;color:#626574;background:var(--surface)}
.brand-content{max-width:1450px}.brand-content .page-heading{align-items:flex-start}.brand-content .page-heading>.button{flex-shrink:0}.brand-content .page-heading .eyebrow{margin-bottom:12px}.brand-content .page-heading p{max-width:680px;line-height:1.7}.brand-content .section-space{margin-top:36px}
.brand-hero{display:grid;grid-template-columns:1.12fr 1fr;min-height:354px;border-radius:20px;overflow:hidden;background:#0f1624;color:#fff;isolation:isolate}.hero-copy{padding:40px;align-self:center;z-index:1}.hero-copy .eyebrow{color:#f7b491;font-size:10px}.hero-copy h2{font-size:clamp(28px,3vw,44px);font-weight:400;line-height:1.15;letter-spacing:-1px;margin:20px 0}.hero-copy p{font-size:14px;color:#c8cbd2;line-height:1.75;margin-bottom:24px}.hero-copy .button{width:auto;min-width:200px}.hero-photo{min-width:0;position:relative}.hero-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-photo:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#0f1624,transparent 38%)}
.brand-search{display:flex;gap:16px;align-items:center;margin:28px 0 34px;padding:8px 8px 8px 20px;background:var(--surface);border-radius:16px}.brand-search>svg{color:var(--muted);width:20px}.brand-search input{background:transparent!important;border:0!important;min-width:0;flex:1;padding:10px 0!important;width:auto}.brand-search .button{width:120px;flex:0 0 120px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.section-heading h2{margin:0;font-size:19px}.section-heading>span,.section-heading>a{font-size:12px}.quick-grid,.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.quick-card{background:var(--surface);border-radius:18px;overflow:hidden;transition:transform .18s}.quick-card:hover{transform:translateY(-3px)}.quick-visual{height:145px;display:flex;justify-content:center;align-items:center}.logo-sample{background:#ecebea}.logo-sample img{width:156px;max-width:75%}.color-sample{padding:30px 26px;gap:0;background:#ede6e3}.color-sample i{height:82px;flex:1}.color-sample i:first-child{border-radius:10px 0 0 10px}.color-sample i:last-child{border-radius:0 10px 10px 0}.type-sample{background:#f8dbca;color:#424050;gap:20px}.type-sample>span{font-size:76px;line-height:1}.type-sample>small{align-self:flex-end;padding-bottom:28px;font-size:14px}.quick-copy{padding:22px 24px;position:relative}.quick-copy h3{font-size:17px;margin:0 0 6px;font-weight:400}.quick-copy p{font-size:12px;color:var(--muted);margin:0;padding-right:20px}.quick-copy>svg{position:absolute;right:20px;top:26px;width:18px;color:var(--muted)}
.chapter{padding:26px 24px;background:var(--surface);border-radius:18px}.chapter-index{font-size:12px;color:var(--muted)}.chapter h3{font-size:18px;font-weight:400;margin:16px 0 20px}.chapter>a{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;min-height:40px}.chapter>a:hover{color:var(--link)}.chapter>a>svg{width:14px;height:14px;color:var(--muted)}.pdf-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 0;margin-top:34px;border-top:1px solid var(--border)}.pdf-strip h3{font-size:16px;font-weight:400;margin-bottom:8px}.pdf-strip p{font-size:12px;margin:0}.pdf-strip .button{width:auto;min-width:200px}
.rule-panel{padding:30px;background:var(--surface);border-radius:18px;margin:24px 0}.rule-panel h2{margin-bottom:22px}.rule-list{padding:0;margin:0;list-style:none;display:grid;gap:16px}.rule-list li{display:flex;align-items:flex-start;gap:14px;font-size:14px}.rule-list svg{width:19px;height:21px;color:var(--action-primary)}.guide-summary{max-width:760px!important}.detail-block{background:var(--surface);border-radius:16px;margin:20px 0;padding:0 24px}.detail-block>summary{min-height:72px;display:flex;align-items:center;gap:16px;font-size:15px;list-style:none}.detail-block>summary::-webkit-details-marker{display:none}.detail-block>summary:after{content:'';width:8px;height:8px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-left:auto;flex-shrink:0}.detail-block[open]>summary:after{transform:rotate(225deg)}.detail-block>summary .muted{font-size:12px;margin-left:auto}.detail-block>summary .muted+*{margin-left:0}.detail-block>p{font-size:13px;line-height:1.8;padding-bottom:20px}.original-text{padding:8px 0 24px;max-width:800px;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.original-text p{margin:0 0 24px}.spread-grid{display:grid;gap:24px;padding:0 0 24px}.spread-grid figure{margin:0}.spread-grid img{width:100%;display:block;border-radius:8px}.spread-grid figcaption,.caption{font-size:12px;color:var(--muted);margin:12px 0;line-height:1.7}.guide-footer{display:flex;justify-content:space-between;gap:24px;padding:24px 0;margin-top:32px;border-top:1px solid var(--border)}.guide-footer a{font-size:15px;max-width:50%}.guide-footer a:last-child{text-align:right}.guide-footer a svg{width:16px;height:16px;vertical-align:middle;margin-left:12px}.guide-footer .eyebrow{font-size:10px;margin-bottom:8px}
.logo-showcase{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:18px}.logo-showcase>div{min-height:230px;display:grid;place-items:center;padding:30px}.logo-showcase img{width:230px;max-width:80%}.logo-light{background:#fff}.logo-dark{background:#0f1624}.architecture-example{background:#e4e2e2;min-height:230px;display:flex;justify-content:center;align-items:center;gap:24px;border-radius:18px;padding:32px;color:#424050}.architecture-example img{width:180px;max-width:45%}.architecture-example>span{font-family:'Ubuntu Condensed';font-size:28px;line-height:1.5;border-left:1px solid #b8b4b4;padding-left:24px}
.palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.swatch{border-radius:18px;overflow:hidden;background:var(--surface)}.swatch>button{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;width:100%;height:150px;padding:20px;border:0;color:inherit;text-align:left;border-radius:0}.swatch>button:hover{filter:brightness(.96)}.swatch>button strong{font-size:17px;font-weight:400}.swatch>button span{font-size:11px;opacity:.8}.swatch-info{padding:18px 20px;font-size:12px}.swatch-info b{font-size:15px;display:block;margin-bottom:10px;font-weight:400}.swatch-info p{margin-bottom:4px;color:var(--muted)}.gradient-example{height:230px;background:linear-gradient(120deg,#f7b491,#f27166 45%,#805771);border-radius:18px;display:flex;align-items:flex-end;padding:30px;color:#fff;font-size:20px}
.type-playground{border-radius:18px;background:var(--surface);padding:32px}.type-playground input[type=text],.type-playground input:not([type]){width:100%}.type-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;margin:20px 0}.type-controls .mega-select{width:200px}.type-controls input[type=range]{padding:0;max-width:180px;accent-color:var(--action-primary);background:transparent}.type-controls label{color:var(--muted)}#type-preview{font-size:40px;line-height:1.3;overflow-wrap:anywhere;padding:32px 0 10px;margin:0;min-height:140px}.photography-example{height:360px;position:relative;overflow:hidden;border-radius:18px}.photography-example img{width:100%;height:100%;object-fit:cover;object-position:center 44%}.photography-example:after{position:absolute;content:'';inset:0;background:linear-gradient(90deg,#0f1624a0,transparent)}.photography-example p{position:absolute;bottom:20px;left:32px;color:#fff;font-size:28px;line-height:1.3;z-index:1}
.material-list{background:var(--surface);padding:4px 24px;border-radius:18px}.material-row{display:grid;grid-template-columns:60px minmax(0,1fr) 48px;gap:20px;align-items:center;padding:22px 0}.material-row+.material-row{border-top:1px solid var(--border)}.file-extension{width:56px;height:56px;border-radius:14px;background:var(--field-bg);display:grid;place-items:center;color:var(--muted);font-size:11px}.material-row h3{font-size:15px;font-weight:400;margin:0 0 6px;overflow-wrap:anywhere}.material-row p{font-size:12px;line-height:1.6;margin:0 0 5px}.material-row small{font-size:11px}.library-filters{display:grid;grid-template-columns:minmax(0,1fr) 200px 160px auto;gap:16px;margin:24px 0 32px;align-items:center}.library-filters>input{width:100%;min-width:0}.library-filters .text-button{white-space:nowrap}.search-results{display:grid;gap:16px}.search-results>a{display:block;position:relative;background:var(--surface);border-radius:18px;padding:24px 60px 24px 24px}.search-results h2{margin-bottom:8px}.search-results p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.search-results>a>svg{position:absolute;right:24px;top:50%}.brand-empty{padding:56px 20px;text-align:center}.brand-empty h2{font-size:20px}.brand-empty p{font-size:13px}
.manage-list{background:var(--surface);padding:0 24px;border-radius:18px}.manage-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0}.manage-row+.manage-row{border-top:1px solid var(--border)}.manage-row strong{font-size:14px;font-weight:400;overflow-wrap:anywhere}.manage-row small{display:block;font-size:11px;margin-top:6px}.manage-row .button{flex-shrink:0}.brand-form{max-width:800px;display:grid;gap:24px}.brand-field{display:grid;gap:8px;min-width:0}.brand-field label{font-size:13px}.brand-field input:not([type=checkbox]),.brand-field textarea{width:100%;max-width:100%;min-width:0}.brand-field textarea{padding:16px;resize:vertical;line-height:1.65}.brand-field input[type=file]{height:auto;padding:14px;white-space:normal}.brand-field .help{color:var(--muted);font-size:12px;margin:0}.brand-checkbox{display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:12px}.brand-checkbox label{cursor:pointer}.brand-field .errorlist{color:var(--danger);font-size:13px;margin:0}.brand-field:has(.errorlist) input,.brand-field:has(.errorlist) textarea{outline:2px solid var(--danger)}.brand-form .form-actions{display:flex;gap:16px}.brand-login{max-width:520px;margin:40px auto}.brand-login .caption{margin-top:28px}.revision{padding-bottom:20px}.revision>summary{min-height:48px;font-size:13px}.revision h3{margin-top:16px}.revision p{font-size:13px;line-height:1.8}.back-link{display:inline-flex;gap:10px;align-items:center}
#copy-status:not(:empty){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:14px 24px;background:var(--text);color:var(--surface);border-radius:24px;font-size:13px;z-index:1100;box-shadow:0 8px 32px #0002}
@media(min-width:681px){.brand-content{padding-top:32px}}
@media(max-width:1100px) and (min-width:681px){.hero-copy{padding:28px}.hero-copy h2{font-size:32px}.quick-grid,.chapter-grid{gap:14px}.quick-copy,.chapter{padding:20px}.library-filters{grid-template-columns:1fr 170px}.palette{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.brand-content .page-heading{flex-direction:column;gap:16px;margin-bottom:24px}.brand-content .page-heading>.button{width:100%}.brand-hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:28px}.hero-copy h2{font-size:34px}.hero-copy p{font-size:13px}.hero-photo{min-height:190px;grid-row:1}.hero-photo:before{background:linear-gradient(0deg,#0f1624,transparent 60%)}.hero-photo img{object-position:center 38%}.hero-copy .button{width:100%}.brand-search{padding-left:14px;gap:8px}.brand-search>svg{display:none}.brand-search .button{width:80px;flex-basis:80px;min-width:80px;padding:10px}.brand-search input{font-size:12px}.quick-grid,.chapter-grid{grid-template-columns:1fr}.quick-card{display:grid;grid-template-columns:112px 1fr}.quick-visual{height:110px}.logo-sample img{max-width:80%;width:85px}.color-sample{padding:18px 12px}.color-sample i{height:65px}.type-sample{gap:8px}.type-sample>span{font-size:50px}.type-sample small{font-size:10px;padding-bottom:24px}.quick-copy{padding:26px 18px}.quick-copy h3{font-size:16px}.quick-copy p{font-size:11px}.quick-copy>svg{right:12px;top:28px;width:14px}.chapter-grid{gap:16px}.section-heading{align-items:flex-start}.section-heading>span{font-size:10px;text-align:right;max-width:125px}.pdf-strip{flex-direction:column;align-items:stretch}.pdf-strip .button{width:100%}.rule-panel{padding:24px 20px}.rule-list li{font-size:13px}.detail-block{padding:0 18px}.detail-block>summary{font-size:13px;gap:10px}.detail-block>summary>.muted{display:none}.original-text{font-size:13px}.logo-showcase{grid-template-columns:1fr}.logo-showcase>div{min-height:150px}.palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.swatch>button{height:120px;padding:16px;align-items:flex-start;flex-direction:column}.swatch>button span{font-size:10px}.swatch-info{padding:16px 12px;font-size:10px}.swatch-info b{font-size:13px}.architecture-example{gap:14px;padding:24px 16px;min-height:180px}.architecture-example img{max-width:45%}.architecture-example>span{font-size:18px;padding-left:14px}.type-playground{padding:22px}.type-controls{display:grid;grid-template-columns:1fr}.type-controls .mega-select{width:100%}.photography-example{height:290px}.photography-example p{font-size:24px;left:24px}.material-list{padding:0 16px}.material-row{grid-template-columns:40px minmax(0,1fr) 44px;gap:12px}.file-extension{width:40px;height:44px;font-size:10px}.material-row h3{font-size:13px}.material-row p{font-size:11px}.material-row small{font-size:10px}.library-filters{grid-template-columns:1fr;gap:12px}.library-filters .button{width:100%}.manage-list{padding:0 18px}.manage-row{flex-wrap:wrap;gap:12px}.manage-row>div{flex:1 1 180px}.manage-row .button{min-width:130px;width:auto}.brand-form .form-actions{flex-direction:column}.brand-form .form-actions .button{width:100%}.brand-login{margin:20px auto}.guide-footer{gap:20px}.guide-footer a{font-size:13px}.guide-footer .eyebrow{font-size:9px}.desktop{display:none}.section-heading .button{width:auto;min-width:140px}}
@media(prefers-reduced-motion:reduce){.quick-card{transition:none}.quick-card:hover{transform:none}}
