/* Chibatão: vivid document cards, generous spacing and a quiet white navigation. */
:root{--blue:#193c70;--navy:#15294b;--red:#e73d4b;--bg:#f6f7fb;--ink:#202c43;--muted:#657087;--line:#e1e5ee;--radius:18px}
.sidebar{width:238px;background:white;color:var(--ink);border-right:1px solid var(--line);padding:26px 18px;overflow-y:auto}.official-brand{display:flex;align-items:center;gap:14px;margin:0 8px 36px}.brand-logo{display:block;width:86px;height:auto}.official-brand .brand-tools{font-family:LocalDisplay,sans-serif;font-size:19px;letter-spacing:3px;font-weight:700;color:var(--navy);margin:0}.nav-label{color:var(--muted);margin:0 14px 14px}.sidebar nav{gap:8px}.sidebar nav a{padding:14px 12px;border-radius:10px;font-size:12px;font-weight:600;color:#5a667e}.sidebar nav a.active{background:var(--navy);color:white;box-shadow:0 6px 15px #14294b18}.sidebar nav a:not(.active):hover{background:#eef3fc;color:var(--blue)}.sidebar-bottom{padding:32px 12px 0}.private-icon{color:#15966f}.sidebar-bottom strong{color:var(--ink)}.sidebar-bottom p,.internal{color:var(--muted)}.internal{border-color:var(--line)}.workspace{margin-left:238px}.topbar{height:66px;background:#ffffffb5}.top-tag{color:var(--blue);font-weight:700}main{padding-top:34px}.hero{align-items:center;min-height:280px;padding:12px 0 24px;overflow:visible}.hero .eyebrow{color:var(--red)}.hero h1{font-size:clamp(38px,3.8vw,59px);line-height:1.08;letter-spacing:-1.8px;font-weight:700;margin-bottom:20px}.hero h1 span{color:var(--red)}.hero p{font-size:14px;line-height:1.8}.hero-art{width:300px;height:250px;margin-right:18px;flex-shrink:0}.art-orbit{position:absolute;width:230px;height:230px;left:35px;top:10px;background:#ffde77;border-radius:50%}.art-file{position:absolute;width:113px;height:146px;border:3px solid white;border-radius:13px;box-shadow:0 13px 30px #253a5c21;padding:20px 15px;color:white}.art-file span{font-size:14px;font-weight:800;letter-spacing:1px}.art-image{background:#7160d7;transform:rotate(-16deg);top:35px;left:17px}.art-image svg{width:75px;height:75px;stroke:white;fill:#ffffff55;margin-top:4px}.art-pdf{background:#ed4754;transform:rotate(12deg);top:14px;left:131px;width:129px;height:168px}.art-pdf span{font-size:24px}.art-pdf i{display:block;height:5px;background:#ffffffb0;border-radius:5px;margin-top:11px}.art-pdf i:nth-of-type(3){width:55%}.art-pdf b{position:absolute;right:14px;bottom:9px;font-size:28px}.art-badge{position:absolute;top:191px;left:25px;background:var(--navy);color:white;border:3px solid white;padding:14px 16px;border-radius:12px;font-size:10px;font-weight:700;letter-spacing:1px;transform:rotate(-4deg)}.art-badge b{margin-left:20px;color:#89e7bb;font-size:17px}
.search{height:60px;border-radius:13px;margin:9px 0 33px}.search:focus-within{border-color:#327de5;box-shadow:0 0 0 3px #327de51a}.search input{font-size:14px}.section-heading{gap:15px;margin-bottom:19px}.section-heading h2{font-size:22px;letter-spacing:-.5px}.catalog{margin-top:38px}.tabs{gap:7px;border:0;padding-bottom:0;margin-bottom:23px}.tabs button{border-radius:30px;font-weight:600;padding:10px 18px}.tabs button.selected{background:var(--navy)}
[data-tone=red]{--accent:#d92f43;--tint:#fff0f0;--tile:#f44455}[data-tone=blue]{--accent:#2564c8;--tint:#edf4ff;--tile:#397fec}[data-tone=green]{--accent:#178352;--tint:#eaf9f0;--tile:#21a76e}[data-tone=orange]{--accent:#bc4d17;--tint:#fff3e9;--tile:#f07836}[data-tone=purple]{--accent:#7051c4;--tint:#f3efff;--tile:#8b6cde}[data-tone=teal]{--accent:#047e83;--tint:#e9f9fa;--tile:#0aa3a5}[data-tone=amber]{--accent:#966000;--tint:#fff7df;--tile:#e9ad20}
.favorite{border-radius:14px;padding:19px 15px}.favorite .icon-box{width:43px;height:43px;background:var(--tint);color:var(--accent);border-radius:12px}.favorite:nth-child(4) .icon-box{background:var(--tint);color:var(--accent)}.favorite .arrow{color:var(--accent);font-size:19px}.favorite strong{line-height:1.4}.favorite:hover{background:var(--tint);border-color:var(--tile);transform:translateY(-3px)}.tool-grid{gap:18px}.tool-card{border-radius:18px;padding:27px;min-height:238px;overflow:hidden}.tool-card .card-top{align-items:center;margin-bottom:24px;gap:8px}.tool-card .icon-box{width:58px;height:62px;border-radius:13px;background:var(--tile);color:white;box-shadow:0 6px 12px color-mix(in srgb,var(--tile) 18%,transparent)}.tool-card .icon-box svg{width:31px;height:31px;stroke-width:1.8}.tool-card .card-category{font-size:8px;letter-spacing:1px;font-weight:700;color:var(--accent);background:var(--tint);padding:6px 8px;border-radius:6px}.tool-card h3{font-size:20px;line-height:1.2;letter-spacing:-.4px;margin-bottom:10px}.tool-card p{font-size:12px;line-height:1.75;max-width:90%}.tool-card .card-arrow{bottom:24px;right:22px;font-size:22px;color:var(--accent)}.tool-card:hover{border-color:var(--tile);transform:translateY(-5px);box-shadow:0 14px 30px #24375512;background:linear-gradient(135deg,white 55%,var(--tint))}.tool-card:active{transform:translateY(-1px)}
.tool-panel{padding:28px;border-radius:20px}.tool-symbol{width:72px;height:72px;border:0;border-radius:19px;background:#ffe9ec;color:var(--red)}.tool-heading h1{font-size:34px}.dropzone{min-height:240px;border:2px dashed #f09ba4;border-radius:15px;background:#fff7f7;gap:8px}.dropzone>svg{width:40px;height:40px;color:var(--red);margin-bottom:8px}.dropzone strong{font-size:20px;font-family:LocalDisplay,sans-serif}.dropzone .choose{background:var(--red);color:white;border-radius:9px;padding:14px 24px;margin-top:12px;font-size:13px;font-weight:700}.dropzone.dragover{border-color:var(--red);background:#ffe5e8}.primary{background:var(--red);border-radius:9px;padding:14px 22px;font-size:13px}.primary:hover{background:#c92c3c}.primary.download{background:#18845f}.secondary{border-radius:9px}.field input,.field select,.field textarea{border-radius:8px;padding:12px}progress{accent-color:var(--red)}.tool-notes>svg{color:#15966f}.xml-model-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 24px}.xml-model-guide>div{padding:14px 12px;background:#fff8e6;border:1px solid #f1e1b5;border-radius:10px}.xml-model-guide dt{font-size:14px;color:#8c5b08;font-weight:700;margin-bottom:7px}.xml-model-guide dd{margin:0;font-size:11px;line-height:1.6;color:var(--muted)}a:focus-visible,button:focus-visible{outline:3px solid #327de5;outline-offset:5px}
@media(max-width:1200px){.sidebar{width:210px;padding-inline:13px}.brand-logo{width:74px}.official-brand .brand-tools{font-size:16px}.workspace{margin-left:210px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{width:260px;transform:scale(.88);transform-origin:right center;margin-right:0}.hero h1{font-size:43px}.favorite{padding:16px 12px}.favorite strong{font-size:11px}}
@media(max-width:800px){.sidebar{position:relative;width:auto;padding:14px 20px;overflow:visible;border-right:0}.official-brand{margin:0;gap:12px}.brand-logo{width:62px}.official-brand .brand-tools{font-size:21px}.nav-label,.sidebar-bottom,.nav-arrow{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:6px;margin-top:15px}.sidebar nav a{white-space:nowrap;padding:11px 13px;font-size:11px}.workspace{margin-left:0}.topbar{height:45px;padding-inline:20px;font-size:10px}.top-tag{display:none}main{padding:25px 20px 0}.hero{min-height:240px}.hero h1{font-size:40px}.hero-art{width:210px;transform:scale(.75);margin-left:-20px}.hero p{font-size:12px}.favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.favorite{flex-direction:row;align-items:center;gap:11px;min-height:82px}.favorite .arrow{display:none}.favorite .icon-box{flex-shrink:0}.favorite strong{font-size:12px}.tool-card{padding:24px;min-height:230px}.tool-panel{padding:20px}.tool-heading h1{font-size:29px}.tool-symbol{width:57px;height:57px}.section-heading h2{font-size:20px}.xml-model-guide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.hero-art{display:none}.hero{min-height:225px}.hero h1{font-size:42px}.hero p{font-size:13px}.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favorite:last-child{grid-column:1/-1}.tool-grid{grid-template-columns:1fr;gap:15px}.tool-card{min-height:217px;padding:25px}.tool-card h3{font-size:23px}.tool-card p{font-size:13px}.tool-card .card-top{margin-bottom:20px}.xml-model-guide{grid-template-columns:1fr}.dropzone strong{font-size:18px}.tool-heading h1{font-size:27px}.tabs button{padding:9px 14px}}
/* Brand-led workspace: river blue, sun yellow and colorful file cards. */
.official-brand{flex-direction:column;gap:4px;margin:0 0 30px}.brand-logo{width:112px}.official-brand .brand-tools{font-family:LocalDisplay,'Trebuchet MS',sans-serif;font-size:30px;font-weight:800;font-style:italic;letter-spacing:3px;text-transform:uppercase;color:#173d73;line-height:1.2;padding-left:3px}.sidebar{border-top:5px solid #edbe3d}.sidebar nav a{font-size:12px}.sidebar nav a.active{background:#173d73;box-shadow:0 5px 14px #173d7320}.sidebar nav a svg{flex-shrink:0}.internal{display:block;line-height:1.8;letter-spacing:.3px;font-size:10px}.internal span{display:block;font-size:12px;font-weight:700;color:var(--blue)}
.hero{background:#173d73;border-radius:24px;padding:34px 36px;margin-bottom:25px;min-height:320px;isolation:isolate;overflow:hidden}.hero:after{content:'';position:absolute;z-index:-1;width:410px;height:410px;border:1px solid #ffffff14;border-radius:50%;right:-90px;top:-180px;box-shadow:0 0 0 45px #ffffff04,0 0 0 90px #ffffff04}.hero .eyebrow{color:#ffdb79}.hero .eyebrow>span{background:#ffdb79}.hero h1{color:white;font-size:clamp(35px,3.6vw,55px)}.hero h1 span{color:#ffdb79}.hero p{color:#dde7f6;font-size:13px}.hero-art{margin-right:0;transform:scale(.9);transform-origin:right center}.hero-chips{display:flex;gap:10px;margin-top:22px}.hero-chips span{font-size:10px;letter-spacing:.5px;color:#f0f5ff;border:1px solid #ffffff30;border-radius:20px;padding:7px 12px}.art-badge{background:white;color:#173d73;box-shadow:0 10px 25px #06152a30}.art-badge b{color:#178352}.topbar{background:white}.search{box-shadow:0 6px 24px #173d7307}.tool-card{border-top:4px solid var(--tile);background:linear-gradient(160deg,var(--tint),#fff 48%);min-height:246px}.tool-card .icon-box{transform:rotate(-5deg);transition:transform .2s}.tool-card:hover .icon-box{transform:rotate(0) scale(1.06)}.tool-card .card-arrow{display:grid;place-items:center;width:32px;height:32px;background:var(--tint);border-radius:50%;font-size:18px}.tool-card p{max-width:92%;padding-bottom:18px}.favorite{border-bottom:3px solid var(--tile)}footer{gap:20px;line-height:1.7;color:#596b83}footer>span:last-child{text-align:right}.section-heading h2{font-weight:700}.tabs button:hover:not(.selected){background:#e6edf7;color:#173d73}
@media(min-width:801px) and (max-width:1200px){.hero{padding:28px;min-height:300px}.hero h1{font-size:36px}.hero-art{width:220px;transform:scale(.74)}.brand-logo{width:98px}.official-brand .brand-tools{font-size:26px}}
@media(max-width:800px){.official-brand{width:90px;margin:0;gap:2px}.brand-logo{width:72px}.official-brand .brand-tools{font-size:21px;letter-spacing:2px}.sidebar{padding-top:14px}.sidebar nav{padding-bottom:5px}.hero{padding:27px;min-height:285px}.hero h1{font-size:36px}.hero-art{width:200px;transform:scale(.72)}.tool-card{min-height:235px}}
@media(max-width:540px){.hero{padding:28px 23px;min-height:0;border-radius:19px}.hero h1{font-size:36px;letter-spacing:-1.3px}.hero p{font-size:12px}.hero-chips{margin-top:20px}.hero .eyebrow{font-size:9px;letter-spacing:1.4px}.tool-card{min-height:220px}.topbar>span{font-size:10px}footer{flex-direction:column;gap:6px}footer>span:last-child{text-align:left}.section-heading{gap:10px}.tabs{gap:4px}.tabs button{padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.tool-card .icon-box{transition:none}}
