:root { --ink:#10243e; --muted:#617289; --line:#dce5ef; --paper:#ffffff; --canvas:#f6f8fb; --brand:#1367d9; --brand-dark:#0c3978; --accent:#27c8cf; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; padding-top:64px; background:var(--canvas); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-header { position:fixed; top:0; right:0; left:0; z-index:40; border-bottom:1px solid var(--line); background:rgba(255,255,255,.94); backdrop-filter:blur(14px); }
.site-header-inner,.design-shell { width:min(1160px,calc(100% - 48px)); margin:0 auto; }
.site-header-inner { min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-brand { display:flex; align-items:center; gap:14px; padding:0; border:0; background:transparent; color:var(--ink); font-weight:750; white-space:nowrap; }
.site-brand img { width:90px; height:30px; object-fit:contain; }
.site-brand span { padding-left:14px; border-left:1px solid var(--line); font-size:14px; }
.site-nav { display:flex; align-items:center; gap:7px; }
.site-nav>button { min-height:34px; padding:7px 10px; border:0; border-radius:7px; background:transparent; color:#40526a; font-size:13px; font-weight:700; }
.site-nav>button:hover,.site-nav>button:focus-visible { background:#eaf2ff; color:var(--brand); outline:none; }
.nav-admin { border:1px solid var(--line) !important; }
.design-locale { display:flex; gap:1px; margin-left:2px; padding:3px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.design-locale button { min-height:28px; padding:5px 7px; border:0; border-radius:5px; background:transparent; color:#607086; font-size:12px; font-weight:750; }
.design-locale button.active { background:var(--brand); color:#fff; }
.design-hero { overflow:hidden; background:linear-gradient(120deg,#0a2d61 0%,#114d9a 57%,#13728f 100%); color:#fff; }
.design-hero .design-shell { min-height:302px; display:flex; align-items:center; justify-content:space-between; gap:48px; padding:52px 0; position:relative; }
.design-hero .design-shell:after { content:""; position:absolute; right:-118px; top:-250px; width:560px; height:560px; border:1px solid rgba(255,255,255,.18); border-radius:50%; box-shadow:0 0 0 56px rgba(255,255,255,.04),0 0 0 112px rgba(255,255,255,.035); }
.design-hero-copy { position:relative; z-index:1; max-width:720px; }
.design-eyebrow { margin:0 0 12px; color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.design-hero h1 { max-width:700px; margin:0; font-size:clamp(36px,4.6vw,58px); line-height:1.06; letter-spacing:-.05em; }
.design-intro { max-width:590px; margin:15px 0 22px; color:#d9eaff; font-size:clamp(16px,1.8vw,18px); line-height:1.55; }
.design-search { display:flex; gap:8px; max-width:650px; padding:6px; border-radius:10px; background:#fff; box-shadow:0 15px 42px rgba(0,23,63,.24); }
.design-search input { flex:1; min-width:0; padding:10px 13px; border:0; outline:0; color:var(--ink); background:transparent; }
.design-search button { padding:11px 18px; border:0; border-radius:8px; background:var(--brand); color:#fff; font-weight:800; }
.design-search button span { margin-left:7px; }
.design-search-hint { margin:9px 0 0; color:#cde3ff; font-size:12px; }
.design-hero-note { z-index:1; display:grid; min-width:160px; gap:4px; padding:22px 24px; border:1px solid rgba(255,255,255,.24); border-radius:14px; background:rgba(5,30,67,.18); backdrop-filter:blur(5px); }
.design-hero-note span,.design-hero-note small { color:#cde3ff; font-size:13px; }
.design-hero-note strong { font-size:45px; line-height:1; letter-spacing:-.05em; }
.design-topics { padding:42px 0 66px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:21px; }
.section-heading .design-eyebrow { color:var(--brand); }
.section-heading h2 { margin:0; font-size:clamp(26px,3vw,36px); letter-spacing:-.04em; }
.section-heading>p { margin:0 0 4px; color:var(--muted); font-size:14px; }
.design-topic-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.design-topic-card { position:relative; display:grid; align-content:start; min-height:142px; gap:8px; padding:20px 22px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); text-align:left; box-shadow:0 2px 4px rgba(10,37,74,.02); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.design-topic-card:hover,.design-topic-card:focus-visible { transform:translateY(-3px); border-color:#8cb7f2; box-shadow:0 12px 28px rgba(17,69,137,.1); outline:0; }
.design-topic-card strong { padding-right:20px; font-size:17px; line-height:1.4; }
.design-topic-card small { color:var(--muted); font-size:13px; line-height:1.55; }
.design-topic-card i { position:absolute; right:20px; bottom:17px; color:var(--brand); font-size:20px; font-style:normal; }
.design-support-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.design-support-links button { display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 16px; min-height:72px; padding:15px 18px; border:1px solid var(--line); border-radius:11px; background:transparent; color:var(--ink); text-align:left; }
.design-support-links button:hover,.design-support-links button:focus-visible { border-color:#8cb7f2; background:#fff; outline:none; }
.design-support-links span { font-size:15px; font-weight:800; }
.design-support-links small { color:var(--muted); font-size:12px; }
.design-support-links i { grid-row:1 / span 2; grid-column:2; color:var(--brand); font-size:20px; font-style:normal; }
.design-results,.design-article { padding-top:48px; padding-bottom:78px; }
.design-back { display:inline-flex; align-items:center; gap:7px; min-height:38px; margin:0 0 26px; padding:4px 12px 4px 5px; border:1px solid var(--brand); border-radius:8px; background:var(--brand); color:#fff; font-size:13px; font-weight:800; box-shadow:0 5px 11px rgba(19,103,217,.2); }
.design-back-icon { display:grid; width:27px; height:27px; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:rgba(255,255,255,.16); color:#fff; font-size:16px; line-height:1; }
.design-back:hover,.design-back:focus-visible { border-color:var(--brand-dark); background:var(--brand-dark); box-shadow:0 9px 18px rgba(12,57,120,.28); outline:3px solid rgba(19,103,217,.22); outline-offset:2px; }
.result-heading { display:flex; align-items:end; gap:20px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.result-heading .design-eyebrow { margin:0 0 8px; color:var(--brand); }
.result-heading h1 { margin:0; font-size:clamp(33px,4.5vw,48px); line-height:1.15; letter-spacing:-.045em; overflow-wrap:anywhere; }
.result-heading span { margin-left:auto; padding:5px 10px; border-radius:99px; background:#e6f0ff; color:var(--brand); font-size:13px; font-weight:800; }
.design-result-list { display:grid; gap:11px; margin-top:22px; }
.design-result-card { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:20px 21px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); text-align:left; transition:border-color .18s,box-shadow .18s; }
.design-result-card:hover,.design-result-card:focus-visible { border-color:#84afe9; box-shadow:0 9px 22px rgba(18,73,145,.09); outline:0; }
.design-result-card strong { display:block; font-size:17px; line-height:1.45; }
.design-result-card p { display:-webkit-box; overflow:hidden; margin:7px 0; color:var(--muted); font-size:14px; line-height:1.55; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.design-result-card small { color:#62748c; font-size:12px; }
.design-result-card i { color:var(--brand); font-size:22px; font-style:normal; }
.design-empty { padding:32px; border:1px dashed #bdcad8; border-radius:12px; color:var(--muted); text-align:center; }
.design-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:26px; }
.design-pagination button { min-width:105px; padding:10px 13px; border:1px solid #bcd0e8; border-radius:8px; background:#fff; color:#214564; font-size:13px; font-weight:750; }
.design-pagination button:not(:disabled):hover { border-color:var(--brand); color:var(--brand); }
.design-pagination button:disabled { cursor:not-allowed; opacity:.42; }
.design-pagination span { color:#566d84; font-size:13px; font-weight:700; }
.article-header { max-width:850px; padding-bottom:25px; border-bottom:1px solid var(--line); }
.article-header .design-eyebrow { color:var(--brand); }
.article-header h1 { margin:0; font-size:clamp(32px,4.3vw,51px); line-height:1.16; letter-spacing:-.055em; overflow-wrap:anywhere; }
.article-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:21px; }
.article-meta span { padding:6px 9px; border-radius:6px; background:#eaf1f9; color:#425a75; font-size:12px; }
.design-rich-content { max-width:850px; margin-top:34px; color:#1b3048; font-size:17px; line-height:1.8; overflow-wrap:anywhere; }
.design-rich-content img,.design-rich-content video,.design-rich-content iframe { max-width:100%; height:auto; border-radius:10px; }
.design-rich-content table { display:block; max-width:100%; overflow-x:auto; }
.design-feedback { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:850px; margin-top:52px; padding:19px 20px; border:1px solid #cfe0ed; border-radius:13px; background:#eef7f7; }
.design-feedback strong,.design-feedback small { display:block; }
.design-feedback strong { font-size:15px; }
.design-feedback small { margin-top:4px; color:#60778b; font-size:12px; }
.design-feedback>div:last-child { display:flex; gap:8px; }
.design-feedback button { padding:9px 12px; border:1px solid #aac6dd; border-radius:8px; background:#fff; color:#26445f; font-size:13px; font-weight:750; }
.design-feedback .feedback-contact { border-color:var(--brand); background:var(--brand); color:#fff; }
.contact-page { padding-top:48px; }
.contact-card { box-shadow:none; }
.line-friend-float { right:24px; bottom:24px; }
@media (max-width:900px) { .design-hero-note { display:none; } }
@media (max-width:680px) { body { padding-top:104px; } .site-header-inner,.design-shell { width:min(100% - 32px,1160px); } .site-header-inner { min-height:unset; padding:10px 0; align-items:flex-start; flex-direction:column; gap:8px; } .site-brand img { width:82px; height:28px; } .site-brand span { font-size:13px; } .site-nav { width:100%; justify-content:space-between; } .site-nav>button { padding:7px 8px; font-size:12px; } .design-locale { margin-left:0; } .design-locale button { padding:5px; } .design-hero .design-shell { min-height:unset; padding:46px 0 52px; } .design-hero h1 { font-size:clamp(36px,10vw,47px); } .design-intro { font-size:16px; } .design-search { flex-direction:column; padding:6px; } .design-search input { min-height:44px; } .design-search button { width:100%; } .design-topics { padding:34px 0 52px; } .section-heading { align-items:start; flex-direction:column; gap:7px; } .section-heading>p { margin:0; } .design-results,.design-article { padding-top:32px; padding-bottom:52px; } .design-result-card { padding:17px; } .design-feedback { align-items:stretch; flex-direction:column; } .design-feedback>div:last-child,.design-feedback button { width:100%; } .design-feedback>div:last-child { flex-direction:column; } .line-friend-float { right:14px; bottom:14px; } }
@media (max-width:430px) { .design-topic-grid,.design-support-links { grid-template-columns:1fr; } .design-topic-card { min-height:136px; } .article-header h1 { font-size:31px; } .design-rich-content { font-size:16px; } }
