/* Kerkeli 1.10 — shared minimal interface */
:root{--yellow:#f4d03f;--ink:#252629;--brown:#414247;--muted:#777a81;--border:#e9eaed;--bg:#f7f8fa;--green:#238263;--red:#c43848}
body{line-height:1.8;-webkit-font-smoothing:antialiased}header{background:#ffffffdc;backdrop-filter:blur(24px);border-color:#eceef1}.header-inner{max-width:1280px;padding:14px 28px;gap:24px}.brand img{width:106px;height:60px}main{max-width:1280px;padding:36px 28px 60px}h1{font-weight:750;letter-spacing:-.5px;font-size:28px}h2{font-weight:700}h3{font-weight:650}button,a.btn{border-radius:12px;min-height:44px;font-weight:600;box-shadow:none;transition:background .18s,transform .18s,box-shadow .18s}button:hover{filter:none;background:#efc82e;box-shadow:0 3px 10px #20252c08}button:active{transform:scale(.98)}button.secondary:hover,a.secondary:hover{background:#eceef1}.secondary{background:#f1f2f4;color:#4e5159}.danger:hover{background:#ffe3e6}.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0;pointer-events:none}button>.icon,a.btn>.icon{margin-inline-end:7px}button:has(>.icon){align-items:center}nav button{padding:9px 12px;font-size:12px}nav .profile{background:transparent;border:0;border-radius:16px;margin:0;padding:6px 10px;display:flex;text-align:right;box-shadow:none}.profile b{font-size:12px;font-weight:650}.profile small{font-size:10px;margin-top:4px}.avatar{background:#eeece7;color:#44443f;width:38px;height:38px;font:600 19px Arial,sans-serif;overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:contain;background:#fff;padding:3px}.avatar>.icon{width:22px;height:22px}
input,select,textarea{border:1px solid #dcdee3;border-radius:12px;padding:12px 14px;background:white;min-height:46px;font-size:14px;transition:border-color .18s,box-shadow .18s;box-shadow:none;max-width:100%}label{font-size:13px;font-weight:550;margin:18px 0 7px}input:focus,select:focus,textarea:focus{outline:none;border-color:#baa13d;box-shadow:0 0 0 2px #f4d03f20}button:focus-visible,a:focus-visible,.scroll:focus-visible,summary:focus-visible{outline:1px solid #a88c22;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}.company-search input{background:#fafbfc}.company-search-results{border-color:var(--border);box-shadow:0 12px 30px #1d253514;border-radius:14px}.company-search-results button:hover,.company-search-results button[aria-selected=true]{background:#faf6e7}.card{border:1px solid #eceef1;border-radius:20px;box-shadow:0 4px 20px #28334804;padding:26px;margin:22px 0}.grid{gap:18px}.grid>.card{margin:0}.identity{background:white;margin-top:0}.meta{line-height:2}.metric{padding:23px}.metric-icon,.metric-icon.green{background:#f6f4ed;color:#8b762a;border-radius:12px;width:36px;height:36px}.metric-value strong{font-size:34px;font-weight:700}.dark{background:#fff;border-color:#eceef1;color:var(--ink)}.dark .metric-value strong{color:var(--ink)}.dark .metric-value>span,.dark .metric-note,.dark>.flex{color:var(--muted)}.dark .metric-note b{color:#8b762a}.dark progress,.dark progress::-webkit-progress-bar{background:#eff0f2}.metric:first-child progress::-webkit-progress-value{background:#b1b5bc}.stage{background:#fff;border-color:#eceef1;border-radius:14px;padding:18px;transition:transform .18s,border-color .18s}.stage:hover{background:#fafbfc;border-color:#cdd1d7;transform:translateY(-2px)}.stage.partial{background:#fffefa;border-color:#e9dfbb}.stage.complete{background:#fcfffd;border-color:#d8e9df}.stage strong{font-size:13px}.stage .muted{font-size:11px}.badge{font-weight:500;border-radius:7px}.badge.amber{color:#887119;background:#faf4da}progress{height:6px}.table-card{padding:0;overflow:hidden}th{background:#f8f9fb;color:#747882;font-size:12px}th,td{padding:17px 16px;border-color:#eff0f3}tbody tr:hover{background:#fafbfc}.calculation-note{background:#faf9f4;border-color:#eeece3;color:#807454}.section-heading{border-color:#eff0f3}.estimate-warning{background:#fff7f7;border-color:#f0d6d9;color:#b23443;font-size:12px}.entry-purchase-fields{background:#fafbfc;border-color:#eceef1;padding:5px 18px 16px;border-radius:16px}.feed-need{padding:0;background:transparent;color:#777a81;font-size:12px;margin:3px 0 8px}.feed-editor,.stock-row{background:#fafbfc}.required-marker{font-size:10px}
.landing-hero{gap:64px;padding:55px 0 65px;grid-template-columns:1.1fr 1fr}.hero-copy h1{font-size:clamp(28px,3.3vw,44px);font-weight:750;line-height:1.5;letter-spacing:-1px}.hero-description{color:#777a81;font-size:16px;line-height:2;max-width:490px}.hero-actions{gap:10px}.hero-actions button,.hero-actions .btn{font-size:13px;padding:12px 18px}.hero-kicker{display:none}.landing-hero>aside{padding:30px}.landing-hero>aside h2{font-size:20px}.landing-hero>aside>button{width:100%;margin-top:12px}.calculator-form,.calc-result{border-radius:20px}.calc-result{background:#fff;color:var(--ink);border:1px solid var(--border);box-shadow:none}.calc-result p,.calc-result .result-note,.result-meta{color:var(--muted)}.calc-total{color:var(--ink);font-weight:750}.result-divider{border-color:var(--border)}.calc-form-note{background:#faf9f4;color:#82785a}.factory-logo{border-radius:14px}.factory-contact a.btn{background:#f1f2f4}.login{max-width:460px;margin:28px auto;padding:32px}.login h1{font-size:26px}.login>button{width:100%}.login .muted{margin-top:22px}.cal button{background:#f4f5f7;border-radius:10px}.cal button.selected{background:var(--yellow)}details>summary{cursor:pointer;padding:10px 0}.actions{gap:8px}
dialog,dialog:has(.assistant){border:1px solid #eceef1;border-radius:24px;background:#fff;padding:26px;max-height:90dvh;box-shadow:0 24px 90px #15203025;animation:sheet-in .22s ease-out}dialog::backdrop{background:#1c233650;backdrop-filter:blur(7px)}.modal-toolbar{top:-26px;margin:-26px -26px 20px;padding:12px 20px;background:#ffffffed;backdrop-filter:blur(16px);box-shadow:none;border-color:#eff0f3}#closeModal{background:#f2f3f5;border-radius:50%;width:40px;min-height:40px;padding:8px;font-size:0;display:grid;place-items:center}#closeModal>.icon{margin:0;width:19px;height:19px}#modalBody>h2,#modalBody>form>h2{font-size:22px;font-weight:700}#modalBody{padding-bottom:5px}.assistant-heading{border-color:#eff0f3}.assistant-avatar{background:#f0f5fc;color:#5078a5;box-shadow:none;border-radius:18px}.assistant-avatar .icon{width:30px;height:30px}.assistant-heading h2{font-weight:700}.assistant .suggestion{background:#f8f9fb;border-color:#eceef1}.chat-message.user{background:#faf4d9;border-color:#eee4bc}.chat-message.assistant{border-color:#eceef1;box-shadow:none}.assistant #chatForm{border-color:#e5e7eb;box-shadow:none}.chat-speaker{color:#777a81}.assistant textarea:focus{box-shadow:none}.chat-welcome>span{color:#8292a6}#app{animation:surface-in .24s ease-out}#notice:not(:empty){background:#fff9e7;border-color:#eee3bf;font-size:13px}footer{background:transparent;border-color:#e9ebef;max-width:1280px;margin:auto;padding:20px 28px;color:#92959c}footer strong{font-weight:500;color:#777a81}
@keyframes sheet-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes surface-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.header-inner{padding:10px 16px;gap:8px;align-items:center}.brand img{width:86px;height:49px}nav{gap:5px}nav button{font-size:11px;padding:7px 9px;min-height:40px}nav button>.icon{width:16px;height:16px;margin-inline-end:4px}.profile{order:-1}.profile b{font-size:11px}main{padding:24px 16px 35px}.landing-hero{grid-template-columns:1fr;padding:22px 0 26px;gap:22px}.hero-copy h1{font-size:29px}.hero-description{font-size:14px;margin-bottom:20px}.landing-hero>aside{margin:0;padding:23px}.card{padding:21px;border-radius:18px}.table-card{padding:0}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric{padding:14px 10px}.metric>.flex{font-size:10px;gap:5px}.metric-icon{width:25px;height:25px}.metric-icon>.icon{width:16px;height:16px}.metric-value{display:block;margin:9px 0}.metric-value strong{font-size:23px}.metric-value>span{display:block;font-size:10px}.metric-note{font-size:9px;flex-wrap:wrap;gap:2px}.stage-grid{grid-template-columns:1fr 1fr}.stage{padding:14px}.identity h1{font-size:22px}.actions button{font-size:11px}.hero-actions .btn,.hero-actions button{font-size:12px;padding:11px 14px}dialog,dialog:has(.assistant){width:calc(100% - 20px);padding:20px;border-radius:22px;max-height:92dvh}.modal-toolbar{top:-20px;margin:-20px -20px 18px;padding:10px 16px}#modalBody>form>h2{font-size:20px}.login{padding:25px}input,select,textarea{font-size:16px}.company-search input{font-size:16px}.factory-contact a.btn{font-size:12px}.calculator-layout{grid-template-columns:1fr}footer{font-size:10px;padding:18px 16px}}
@media(max-width:480px){.header-inner{flex-wrap:wrap;justify-content:space-between}nav{flex-basis:100%;justify-content:flex-start;display:flex}nav .profile{position:absolute;left:16px;top:12px;padding:0;max-width:220px}nav .profile b{max-width:155px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:34px;height:34px}.brand{margin-bottom:5px}nav button{flex:1;white-space:nowrap}nav #password{font-size:0;flex:0 0 40px}nav #password .icon{width:18px;height:18px;margin:0}.metrics .metric>.flex{display:block}.metric-icon{margin-bottom:6px}.metric-value strong{font-size:21px}.chat-submit-row small{font-size:9px}.assistant>.actions{display:flex;flex-wrap:wrap}.assistant .suggestion{flex-basis:40%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
a.btn.secondary{background:#f1f2f4;color:#4e5159}a.btn.secondary:hover{background:#e9ebef}
@media(max-width:480px){nav{gap:4px}nav button{font-size:10px;padding:7px 8px}nav #logout{font-size:0;flex:0 0 36px}nav #logout .icon{width:18px;height:18px;margin:0}nav #password{flex-basis:36px}}

/* Product brand lockup is shown at the top; Kerkeli attribution stays in footer. */
.brand img{width:190px;height:60px;object-fit:contain}.rights-brand img{width:92px;height:42px;object-fit:contain}
@media(max-width:700px){.brand img{width:148px;height:49px}}

/* Danyar launch homepage */
.header-inner{gap:18px}.site-nav{margin-inline-start:auto;display:flex;gap:8px;align-items:center}.site-nav a{padding:9px 13px;border-radius:10px;text-decoration:none;color:#55514a;font-size:13px}.site-nav a:hover{background:#f7f4e8;color:#302a20}
.home-hero{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:center;padding:24px 0 42px}.home-visual{position:relative;min-height:390px;overflow:hidden;border-radius:26px;background:#eee8db}.home-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-visual:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#2b271d80)}.home-visual-badge{position:absolute;z-index:1;bottom:22px;right:24px;color:white;display:grid;gap:2px}.home-visual-badge b{font-size:22px}.home-visual-badge span{font-size:13px}.home-copy{padding:10px 0}.home-eyebrow{color:#927524;font-size:12px;font-weight:700;letter-spacing:.2px}.home-copy h1{font-size:clamp(30px,3.4vw,46px);line-height:1.5;margin:10px 0 12px;max-width:600px}.home-copy>p{font-size:16px;color:#6e6b65;line-height:2.1;max-width:620px}.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.home-actions>*{min-width:150px;text-align:center}.audience-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.audience-cards article{background:#fff;border:1px solid #ece6d8;border-radius:15px;padding:14px 16px}.audience-cards span{font-weight:750;color:#493d23}.audience-cards p{font-size:12px;line-height:1.9;color:#77746f;margin:5px 0 0}.home-start{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:30px;padding:25px 30px;background:#fffdf8}.home-start h2{font-size:23px;margin:5px 0}.home-start p{margin:4px 0}.home-select{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.home-select label{grid-column:1/-1;margin:0}.home-select select{grid-column:1/-1}.home-select button{grid-column:2;grid-row:3}.home-flow{padding:35px 0 10px;text-align:center}.home-flow>h2{font-size:24px;margin-bottom:22px}.home-flow>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-flow article{padding:18px;background:#fff;border:1px solid var(--border);border-radius:16px}.home-flow article>b{display:grid;width:36px;height:36px;place-items:center;margin:0 auto 8px;border-radius:50%;background:#fff6d4;color:#8b6e17}.home-flow h3{margin:4px}.home-flow p{font-size:12px;color:var(--muted);margin:4px}.home-info{scroll-margin-top:100px;padding:24px 30px}.home-info h2{font-size:21px;margin:5px 0}.home-info p{white-space:pre-line;color:#6d6a65;line-height:2}.home-info .btn{display:inline-flex;margin:4px 0 12px}.site-content-form textarea{min-height:92px;resize:vertical}.site-content-form button{min-width:220px}
@media(max-width:800px){.header-inner{flex-wrap:wrap}.site-nav{order:3;flex:1 0 100%;justify-content:center;border-top:1px solid var(--border);padding-top:7px}.site-nav a{font-size:12px;padding:6px 12px}.home-hero{grid-template-columns:1fr;padding:12px 0 24px;gap:20px}.home-visual{min-height:260px;max-height:330px}.home-copy h1{font-size:30px}.home-copy>p{font-size:14px}.home-start{grid-template-columns:1fr;gap:15px;padding:22px}.home-flow>div{grid-template-columns:1fr}.home-flow article{display:grid;grid-template-columns:38px 1fr;text-align:right;column-gap:12px;align-items:center}.home-flow article>b{grid-row:1/3;margin:0}.home-flow article h3,.home-flow article p{text-align:right}.home-info{padding:20px}.site-content-form button{width:100%}}
@media(max-width:480px){.home-visual{min-height:220px}.home-copy h1{font-size:27px}.audience-cards{gap:8px}.audience-cards article{padding:12px}.audience-cards p{font-size:11px}.home-actions>*{flex:1;min-width:120px}.home-select{grid-template-columns:1fr}.home-select button{grid-column:1;grid-row:auto}.home-flow>h2{font-size:20px}}

/* 1.11.4 navigation and expandable content */
#nav button:not(.nav-active){background:#f1f2f4;color:#45463d}
#nav button.nav-active,.site-nav a.nav-active{background:#f6d635;color:#292a24}
.site-nav a{border-radius:12px;padding:10px 16px}
.expandable-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.expandable-text.expanded{display:block;-webkit-line-clamp:unset;overflow:visible}
.read-more{font-size:14px;padding:8px 16px}
.otp-countdown{display:block;color:#b42318;font-weight:700;min-height:1.8em;margin-top:12px;font-variant-numeric:tabular-nums}
.home-info{scroll-margin-top:280px}

/* Unified Danyar release */
:root{--brand-brown:#4b4837;--brand-yellow:#f4d03e}
.site-nav{margin-inline-start:auto}.site-nav a:last-child{order:2}
.brand,.footer-danyar{display:block;overflow:hidden;width:210px;height:77px;background:white;border-radius:12px;position:relative}
.brand img,.footer-danyar img{width:240px!important;max-width:none!important;height:auto!important;position:absolute;left:-15px;top:-19px}
footer{background:#4b4837!important;color:#fff!important;padding:25px 5%!important;display:flex;justify-content:space-between;align-items:center;gap:20px}
footer .rights-brand img{width:145px!important;height:80px!important;object-fit:contain}.footer-danyar{width:150px;height:56px}.footer-danyar img{width:174px!important;left:-12px;top:-14px}
.calc-result{background:#4b4837!important;color:white!important}.calc-result .calc-total,.calc-result strong{color:#f4d03e!important}.calc-result p,.calc-result span{color:inherit}.calc-result .badge{color:#4b4837!important;background:#f4d03e}.age-hint{font-size:12px;margin-top:7px}
.audience-cards article{padding:24px;border:1px solid #eee2b8;background:linear-gradient(135deg,#fff9dd,#fff);border-radius:20px}.audience-cards article:nth-child(2){background:#4b4837;color:white}.audience-cards article span{font-weight:800;font-size:21px}.audience-cards article p{font-size:15px;line-height:2;color:inherit}
.home-copy h1{border-bottom:3px solid #f4d03e;padding-bottom:16px}.home-visual{box-shadow:0 16px 45px #4b48371c}
.rich-content,.editor-preview{white-space:pre-wrap;line-height:2}.text-brown{color:#4b4837}.text-gold{color:#886800}.text-dark{color:#232323}.editor-tools{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.editor-preview{background:#fff9e6;border-radius:12px;padding:16px;margin:10px 0 25px}
#notice:empty{display:none}#notice.toast{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:2147483647;max-width:calc(100vw - 30px);width:460px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;border-radius:16px;box-shadow:0 12px 35px #0002;background:#fff1f0;border:1px solid #efb7b2;color:#982b23;animation:toast-in .22s ease-out}#notice.toast.success{background:#effaf1;border-color:#99cfa8;color:#21673a}#notice.toast button{background:transparent;color:inherit;padding:4px 10px;font-size:25px}dialog{overflow:visible}#modalBody{max-height:80vh;overflow:auto}
.card,.home-hero,.home-flow{animation:page-in .24s ease-out}button,.btn,a{transition:background-color .18s,box-shadow .18s,transform .18s}button:active,.btn:active{transform:scale(.98)}dialog[open]{animation:page-in .2s ease-out}
@keyframes page-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes toast-in{from{opacity:0;margin-top:-8px}to{opacity:1;margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){footer{flex-wrap:wrap}footer strong{order:3;width:100%;text-align:center;font-size:12px}.audience-cards{grid-template-columns:1fr}#notice.toast{top:10px;width:calc(100vw - 30px)}}

#notice.toast{margin:0;right:auto;bottom:auto}#notice.toast::backdrop{background:transparent}
.home-hero{direction:ltr}.home-copy,.home-visual{direction:rtl}.audience-cards article:nth-child(2) span{color:#f4d03e}footer strong{color:#fff!important}.site-nav{order:3}.header-inner #nav{order:2}.header-inner .brand{order:1}
/* 1.13.2 reference layout */
body{background:#faf9f6;color:#302b22}main,.header-inner{max-width:1480px}main{padding-top:24px}h1,h2,h3{color:#30271b}.card{border-color:#edeae3;border-radius:18px;box-shadow:0 5px 24px #4b483705}th{background:#fff8df;color:#493f27}th,td{padding:12px 14px}header{position:relative!important}.home-copy h1{font-size:clamp(28px,3vw,43px);border-bottom:0;padding-bottom:8px}.home-copy h1:after{content:'';display:block;width:140px;height:3px;background:#f4d03e;margin-top:12px}.home-hero{gap:36px;padding:0 0 10px;align-items:stretch}.home-copy{align-self:center}.home-visual{min-height:480px;border-radius:20px 100px 20px 20px;box-shadow:none}.home-visual>img{object-position:30% center}.home-visual-badge{background:#ffffffed;color:#4b4837;padding:14px 22px;border-radius:14px;left:24px}.home-actions{display:none}.audience-cards{gap:16px}.audience-cards article,.audience-cards article:nth-child(2){padding:20px;background:#fffcf3;color:#4b4837;border-color:#eee5cc;border-radius:14px}.audience-cards article:nth-child(2){background:#f8f6f1}.audience-cards article span,.audience-cards article:nth-child(2) span{color:#30271b;font-size:22px}.audience-cards ul{padding:0;list-style:none;margin:15px 0;font-size:14px;line-height:2.1;color:#64615a}.audience-cards li:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffefb5;color:#62511a;margin-left:8px;font-size:12px}.audience-cards .btn,.audience-cards button{display:block;width:100%;text-align:center}.audience-cards article:nth-child(2) .btn{background:#4b4837;color:#fff}.home-start{margin:18px 0;padding:18px 24px;align-items:center;grid-template-columns:1fr 1.5fr}.home-start h2{font-size:21px}.home-start p{font-size:13px}.home-flow{padding:16px 0}.home-flow>h2{font-size:21px;margin:0 0 12px}.home-flow article{padding:12px}.home-flow h3{font-size:15px}.home-info{display:inline-block;vertical-align:top;width:calc(50% - 10px);margin:12px 0;padding:22px 26px;background:linear-gradient(120deg,#fffbef,#fff);scroll-margin-top:20px}#about{margin-left:16px}.home-info h2{font-size:20px}.home-info p{font-size:14px}.home-info .btn{float:left}.home-info:after{content:'';display:block;clear:both}.expandable-text{-webkit-line-clamp:3}.read-more{background:#fff1ba}.calculator-layout{grid-template-columns:1fr 1fr;gap:18px}.calculator-form,.calc-result{margin:0!important;padding:26px}.calc-result{display:flex;flex-direction:column;justify-content:center;border:0!important;background:linear-gradient(135deg,#3b3527,#57503a)!important}.calc-total{font-size:clamp(44px,6vw,76px);line-height:1.35}.calc-result .result-meta{color:#fff}.calc-result .result-divider{border-color:#ffffff30}.calculator-section>.section-heading{display:none}.calculator-form h3{margin-top:0}.calculator-form label{margin-top:12px}.cycle-identity{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding:20px 24px}.cycle-identity h1{font-size:24px;margin:4px 0}.cycle-identity p{margin:6px 0;font-size:13px}.cycle-identity .factory-logo{width:40px;height:40px;float:right;margin:4px 0 4px 10px}.cycle-identity .actions{grid-column:1/-1;display:flex;flex-wrap:wrap;padding-top:12px;border-top:1px solid #ece8df}.cycle-identity .actions button{min-height:38px;font-size:12px;padding:8px 12px;flex:0 1 auto}.cycle-identity .factory-contact{align-self:start}.cycle-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.cycle-summary{padding:20px!important}.cycle-summary h2{font-size:19px;margin:0 0 8px}.cycle-summary p{font-size:13px;margin:6px 0}.cycle-summary button{margin-top:10px}.metrics{margin-top:18px}.metrics .metric{padding:20px}.metrics .metric:first-child{background:#fff6ce;border-color:#efdfa3}.metrics .metric-value strong{font-size:30px}.rich-editor{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:12px;border:1px solid #eee9df;border-radius:14px;padding:14px;margin:8px 0 24px}.rich-editor .editor-tools{grid-column:1;margin:0;min-width:0}.rich-editor textarea{grid-column:1;min-height:180px;line-height:2}.rich-editor .editor-preview{grid-column:2;grid-row:1/3;margin:0;background:#fffbef;font-size:14px}.editor-preview:before{content:'پیش‌نمایش متن';display:block;font-size:12px;color:#8a8273;margin-bottom:12px}.site-content-form .editor-tools button{min-width:0;width:auto;padding:5px 12px;font-size:13px}.site-content-form{max-width:1100px;margin-inline:auto}.site-content-form>h2{font-size:26px}.toast>span{flex:1}.toast button{flex:none;min-width:44px;min-height:44px}#notice.toast{top:18px;left:20px;right:auto;transform:none;width:420px;padding:14px 18px;font-size:14px;max-height:40dvh;overflow:auto;pointer-events:auto}#notice.toast:before{content:'!';display:grid;place-items:center;border:2px solid currentColor;width:28px;height:28px;flex:none;border-radius:50%;font-size:20px;font-weight:700}#notice.toast.success:before{content:'✓'}#notice.toast.error{animation:toast-in .2s ease-out,warning-nudge .28s ease-out}#notice.toast.success:after{content:'';position:absolute;bottom:0;right:0;height:3px;background:#299548;width:100%;transform-origin:right;animation:toast-life 5s linear forwards}@keyframes toast-life{to{transform:scaleX(0)}}@keyframes warning-nudge{25%{translate:3px 0}75%{translate:-3px 0}}#modalBody{overscroll-behavior:contain}footer{margin-top:24px;min-height:92px}footer strong{font-weight:400;font-size:13px}.stage-grid{gap:10px}.stage{padding:14px}.stage-balance{font-size:13px}.rich-content{overflow-wrap:anywhere}
/* Original supplied logo, cropped in CSS without redrawing it. */
footer .rights-brand{width:76px;height:68px;overflow:hidden;display:block;position:relative}footer .rights-brand img{position:absolute;width:200px!important;height:auto!important;max-width:none;left:-62px;top:0}.footer-danyar{width:180px;height:63px;background:#4b4837;border-radius:9px}.footer-danyar img{width:340px!important;left:-136px;top:-145px}
@media(max-width:800px){main{padding:20px 14px 32px}.home-hero{display:flex;flex-direction:column-reverse;gap:18px}.home-visual{min-height:250px;border-radius:18px}.home-copy h1{font-size:28px}.audience-cards{grid-template-columns:1fr 1fr;gap:10px}.audience-cards article,.audience-cards article:nth-child(2){padding:14px}.audience-cards article span,.audience-cards article:nth-child(2) span{font-size:17px}.audience-cards ul{font-size:12px}.audience-cards li:before{width:16px;height:16px;margin-left:4px}.home-info{width:100%;display:block;margin:12px 0!important}.home-start{grid-template-columns:1fr;padding:20px}.calculator-layout{grid-template-columns:1fr}.calc-total{font-size:48px}.cycle-identity{grid-template-columns:1fr;padding:18px}.cycle-identity h1{font-size:21px}.cycle-identity .factory-contact{justify-self:end}.cycle-identity .actions{gap:6px}.cycle-identity .actions button{flex:1 1 40%;font-size:11px}.rich-editor{grid-template-columns:1fr}.rich-editor .editor-preview{grid-column:1;grid-row:auto}.rich-editor textarea{min-height:160px}.metrics .metric-value strong{font-size:24px}#notice.toast{top:10px;left:10px;width:calc(100vw - 20px)}.home-visual-badge{bottom:14px;left:14px;right:14px;padding:10px 16px}.site-nav{justify-content:flex-end}.cycle-list{grid-template-columns:1fr}.header-inner{padding:12px 16px}.brand{width:165px;height:60px}.brand img{width:190px!important;left:-12px;top:-15px}}
@media(max-width:360px){.audience-cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
footer{width:100%;max-width:none;margin:24px 0 0}.footer-danyar img{left:-145px;top:-151px}.home-select{grid-template-columns:1fr auto}.home-select .company-search{grid-column:1;grid-row:2}.home-select select{grid-column:1;grid-row:3}.home-select #compareFactories{grid-column:2;grid-row:2/4;align-self:center}.home-select label{grid-column:1}
@media(max-width:600px){.home-select{grid-template-columns:1fr}.home-select #compareFactories{grid-column:1;grid-row:4}.home-select .company-search{grid-column:1;grid-row:2}.home-select select{grid-column:1;grid-row:3}}
.home-device{position:absolute;z-index:2;bottom:28px;left:24px;right:24px;border:8px solid #34332d;border-bottom-width:16px;border-radius:16px;background:#fffdf8;padding:16px;box-shadow:0 16px 30px #0003;direction:rtl;transform:perspective(1000px) rotateY(4deg);max-width:440px;margin:auto}.home-device:after{content:'';position:absolute;left:-24px;right:-24px;bottom:-22px;height:10px;border-radius:0 0 20px 20px;background:linear-gradient(#eee,#aaa)}.device-top{font-size:19px;font-weight:800;display:flex;justify-content:space-between;color:#4b4837}.device-top small{font-size:11px;font-weight:400}.device-title{text-align:right;font-size:13px;margin:16px 0 6px}.device-chart{display:flex;align-items:end;gap:8px;height:90px;border-bottom:1px solid #e9e2cd;direction:ltr;padding:0 14px}.device-chart i{flex:1;height:18%;background:linear-gradient(#f6d74d,#e9bb2e);border-radius:3px 3px 0 0}.device-chart i:nth-child(2){height:28%}.device-chart i:nth-child(3){height:40%}.device-chart i:nth-child(4){height:50%}.device-chart i:nth-child(5){height:60%}.device-chart i:nth-child(6){height:72%}.device-chart i:nth-child(7){height:82%}.device-chart i:nth-child(8){height:95%}.device-stats{display:flex;gap:8px;margin-top:14px;font-size:11px}.device-stats span{flex:1;border-radius:8px;background:#fff4cd;padding:8px;text-align:center}.device-stats span:nth-child(2){background:#edf5e6}.device-stats span:nth-child(3){background:#f4eee1}.home-visual{min-height:530px}.home-visual>img{object-position:35% center}.cycle-identity .actions{max-width:none;margin:0}.cycle-identity>.factory-contact:empty{display:none}.cycle-identity .meta{flex-wrap:wrap;gap:6px}.calc-result .result-note{color:#e2dccb!important}.footer-danyar{height:60px}.footer-danyar img{width:384px!important;left:-165px;top:-171px}.rich-editor{direction:ltr}.rich-editor>*{direction:rtl}.site-content-form>label{font-size:17px;color:#403626}.site-content-form>input,.site-content-form>textarea{max-width:100%}
@media(max-width:800px){.home-visual{min-height:330px}.home-device{max-width:260px;padding:10px;bottom:22px;border-width:5px;border-bottom-width:10px}.device-chart{height:60px}.device-top{font-size:15px}.device-top small{font-size:9px}.device-title{margin-top:8px;font-size:11px}.device-stats{font-size:9px;gap:4px;margin-top:8px}.device-stats span{padding:5px}.cycle-identity .actions{padding-top:10px}.metrics{grid-template-columns:1fr!important}.metrics .metric{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.metrics .metric>.flex{display:flex;align-items:center}.metrics .metric .metric-value{text-align:left;margin:0}.metrics .metric .metric-note{grid-column:1/-1;margin:0}.metrics .metric progress{grid-column:1/-1}.cycle-identity{gap:8px}.cycle-identity .factory-contact{margin:0}.cycle-identity .meta{font-size:12px}}
/* Editor rows must not stretch with long previews. */
.rich-editor{grid-template-rows:44px minmax(220px,340px);align-items:start}.rich-editor .editor-tools{height:44px;align-items:center;align-self:start;flex-wrap:nowrap;overflow-x:auto}.site-content-form .editor-tools button{height:36px;min-height:36px;flex:0 0 auto;align-self:center;margin:0}.rich-editor textarea{height:100%;min-height:220px;max-height:340px;resize:vertical}.rich-editor .editor-preview{height:100%;max-height:396px;overflow:auto;min-height:0;overscroll-behavior:contain}.cycle-summary.cycle-active,.cycle-identity.cycle-active{background:#f0f9f2;border-color:#cce5d2}.cycle-summary.cycle-closed,.cycle-identity.cycle-closed{background:#fff1f1;border-color:#edcccc}.view-loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:180px;color:#6a6353;animation:page-in .2s ease-out}.loading-dot{width:18px;height:18px;border:2px solid #e8dfbe;border-top-color:#8f791c;border-radius:50%;animation:loading-turn .8s linear infinite}@keyframes loading-turn{to{rotate:360deg}}#nav button[aria-busy=true]{box-shadow:inset 0 -2px #b39624}#app>*,#modalBody>*,.editor-preview{animation:page-in .2s ease-out}#notice.toast.error{animation:toast-in .2s ease-out,warning-nudge .3s ease-out}button,a.btn{transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}.home-visual{min-height:420px}.home-visual:after{display:none}
@media(max-width:800px){.rich-editor{grid-template-rows:44px 250px auto}.rich-editor textarea{height:250px;max-height:340px}.rich-editor .editor-preview{max-height:260px;min-height:120px}.home-visual{min-height:280px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* One site footer; invitation is a normal page section. */
.invite-page{max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}.invite-head{padding:0 0 18px;background:transparent;box-shadow:none;border-bottom:1px solid #eae5d9}.invite-head .brand{width:210px;height:77px;background:transparent}.invite-head .brand img{width:240px!important;max-width:none;height:auto!important;position:absolute;left:-15px;top:-19px}.invite-hero{padding:28px 0;gap:32px}.invite-company .factory-logo{width:64px;height:64px;object-fit:contain;padding:5px;background:white;border:1px solid #eee7d9}.feed-optional{border:1px solid #e4e5e1;border-radius:12px;background:#fff;margin:12px 0;padding:0 14px}.feed-optional summary{min-height:44px;cursor:pointer;font-weight:600;padding:10px 0}.feed-optional summary small{font-weight:400;color:#817c71;margin-inline-start:8px}.feed-optional[open]{padding-bottom:14px}.feed-optional[open]>:not(summary){animation:page-in .18s ease-out}.feed-optional textarea{min-height:80px}.feed-optional .muted{margin-bottom:0}.feed-editor{padding:18px}.feed-editor>button{margin-top:6px}@media(max-width:700px){.invite-head .brand{width:165px;height:60px}.invite-head .brand img{width:190px!important;left:-12px;top:-15px}.invite-hero{padding:20px 0;gap:20px}.feed-editor{padding:14px}.feed-optional{padding-inline:10px}}@media(prefers-reduced-motion:reduce){.feed-optional[open]>:not(summary){animation:none!important}}
.invite-login{display:block;margin:10px auto 0;font-size:12px}.invite-copy h1{font-size:clamp(25px,2.7vw,38px)}.invite-benefits article{background:#fff}.invite-page{min-height:calc(100dvh - 330px)}
