@font-face{font-family:Bahnschrift;src:url('../../../../assets/fonts/bahnschrift/bahnschrift.woff2') format('woff2'),url('../../../../assets/fonts/bahnschrift/bahnschrift.woff') format('woff');font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:IRANYekanXFaNum;src:url('../../../../assets/fonts/IRANYekanXFaNum/woff2/IRANYekanXFaNum-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:IRANYekanXFaNum;src:url('../../../../assets/fonts/IRANYekanXFaNum/woff2/IRANYekanXFaNum-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:IRANYekanXFaNum;src:url('../../../../assets/fonts/IRANYekanXFaNum/woff2/IRANYekanXFaNum-DemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:IRANYekanXFaNum;src:url('../../../../assets/fonts/IRANYekanXFaNum/woff2/IRANYekanXFaNum-Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:IRANYekanXFaNum;src:url('../../../../assets/fonts/IRANYekanXFaNum/woff2/IRANYekanXFaNum-ExtraBold.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
:root{--blue:#0b66a9;--orange:#e99a45;--ink:#353535;--muted:#777;--line:#ddd;--soft:#f0f9ff;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/2 IRANYekanXFaNum,Tahoma,sans-serif;color:var(--ink);background:#fff}img{max-width:100%;height:auto}a{color:var(--blue);text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}h1,h2,h3{line-height:1.7;font-weight:600;margin:0 0 16px}h1{font-size:clamp(24px,3vw,34px)}h2{font-size:22px}h3{font-size:16px}p{margin:0 0 16px}p:last-child{margin-bottom:0}bdi,.number{font-family:IRANYekanXFaNum,Tahoma,sans-serif}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:4px}.tool-wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;top:-100px;right:16px;background:#fff;padding:8px 16px;z-index:5}.skip-link:focus{top:10px}
.tool-header .tool-wrap{position:relative;display:flex;justify-content:center;align-items:center;padding-block:28px 12px}.tool-logo{display:block;width:240px;height:auto}.tool-home-link{position:absolute;right:0;top:28px;color:#777;text-decoration:none;font-size:12px;transition:color .25s}.tool-home-link:hover{color:var(--blue)}.main>section{padding-block:64px}.tool-intro{text-align:center}.tool-badge{display:inline-block;padding:4px 14px;margin-bottom:14px;color:var(--blue);background:#edf5fb;border:1px solid #d8e8f3;border-radius:999px;font-size:12px}.tool-subtitle{font-size:18px;font-weight:600;color:#777}.intro-copy{max-width:800px;margin:16px auto 0;color:#666}.tool-intro .model-tags{display:flex;justify-content:center;gap:8px;direction:ltr;margin-top:24px}.model-tags span{border:1px solid #ddd;border-radius:6px;padding:3px 15px;font:600 13px/1.8 IRANYekanXFaNum,Tahoma,sans-serif;color:#666}.muted{background:#f9f9f9}.soft{background:var(--soft)}.section-heading{text-align:center;margin-bottom:32px}.section-heading p{color:var(--muted)}
.selector-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px;align-items:stretch}.selector-card,.preview-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;min-width:0}.series-tabs{display:flex;gap:8px;margin-bottom:24px}.series-tab,.table-tabs button{flex:1;border:1px solid #ddd;border-radius:7px;background:#fff;font-size: 16px;font-weight: 600;color:#555;padding:5px;transition:background .25s,color .25s,border-color .25s}.series-tab[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}.series-tab:hover{border-color:var(--blue)}.controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;margin-bottom:7px;color:#555}select,input{width:100%;min-height:46px;background:#fff;color:#353535;border:1px solid #ddd;border-radius:7px;padding:8px 12px}select{cursor:pointer}#paper-size{font-family:IRANYekanXFaNum,Tahoma,sans-serif;font-weight:600}.dimension-result{margin-top:24px;padding:20px;background:#f0f9ff;border:1px solid #d8e8f3;border-radius:9px;text-align:center;}.result-label{color:#666;font-size:12px}.dimension-result output{display:block;direction:ltr;font:600 clamp(24px,3vw,32px)/1.6 IRANYekanXFaNum,Tahoma,sans-serif;color:var(--blue);margin-top:6px}.result-unit{font-size:14px;color:#777}.quick-sizes{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px}.quick-sizes span{font-size:13px;color:#777}.quick-sizes button{font:600 13px/1.8 IRANYekanXFaNum,Tahoma,sans-serif;border:1px solid #ddd;background:#fff;border-radius:5px;padding:4px 13px;color:#555;transition:color .25s,border-color .25s}.quick-sizes button:hover{border-color:var(--blue);color:var(--blue)}.series-note{margin-top:20px;color:#666;font-size:13px; text-align: justify;}.preview-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.preview-stage{height:270px;width:100%;display:grid;place-items:center;border-radius:9px;padding:16px}.paper-preview{height:calc(234px * var(--paper-height-factor, .84136));width:auto;aspect-ratio:210/297;max-width:100%;background:#fff;border:2px solid var(--blue);box-shadow:8px 8px 0 #e4edf4;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;position:relative}.paper-preview::before,.paper-preview::after{content:'';height:3px;width:45%;background:#d8e8f3}.paper-preview strong{font:600 30px/1.5 IRANYekanXFaNum,Tahoma,sans-serif;color:var(--blue)}.preview-size{font:18px/1.5 IRANYekanXFaNum,Tahoma,sans-serif;direction:ltr;color:#666}.preview-caption{font-size:13px;color:#757575;text-align:center}.weight-estimate{display:flex;align-items:end;gap:16px;border-top:1px solid #eee;margin-top:24px;padding-top:20px}.weight-estimate output{display:block;font:600 22px/1.5 IRANYekanXFaNum,Tahoma,sans-serif;color:var(--blue);padding-bottom:6px;direction:ltr;text-align:right}.weight-estimate label{font-size:13px} .weight-estimate input {min-height: initial; padding-block: 2px; width: 100px; text-align: center; font-size: 1rem;}
.table-wrap{overflow-x:auto;border:1px solid #ddd;border-radius:10px;background:#fff}table{border-collapse:collapse;width:100%;font-size:13px;text-align:center;white-space:nowrap}caption{text-align:center;padding:16px 20px;font-weight:600;color:#555}th,td{padding:12px 18px;border-bottom:1px solid #eee}thead{background:#f0f9ff}th{font-weight:600;color:#555}tbody tr:last-child>*{border-bottom:0}tbody tr:nth-child(even){background:#fafafa}tbody tr.is-selected{background:#e8f4fc;box-shadow:inset -3px 0 var(--blue)}td[dir=ltr]{font-family:IRANYekanXFaNum,Tahoma,sans-serif}tbody th{font-family:IRANYekanXFaNum,Tahoma,sans-serif}.table-note{font-size:12px;color:#757575;margin-top:14px}.series-guide{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center}.series-copy p{color:#666;text-align:justify}.series-copy ul{padding-inline-start:20px;margin-bottom:0;color:#666}.series-copy li{margin-bottom:6px}.series-visual{text-align:center}.series-visual img{max-width:300px;width:100%;object-fit:contain; mix-blend-mode: multiply;}.guide-reverse .series-visual{order:-1}.guide-reverse .series-guide{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.usage-card{border:1px solid #ddd;background:#fff;padding:24px;border-radius:10px}.usage-card p{color:#666;font-size:13px}.usage-card h3{color:var(--blue)}.weight-formula{padding:16px;background-color:#e3f9e4;text-align:center;border-radius:8px;margin-block:24px;color:#252525}.source-note{text-align:center;font-size:12px;color:#888;margin-top:24px}.faq-list{max-width:800px;margin:auto}.page-faq{padding:.75rem 0;border-bottom:1px solid #eee}.page-faq:last-child{border-bottom:0}.page-faq summary{display:flex;gap:8px;align-items:center;list-style:none;cursor:pointer;color:#3d3d3d}.page-faq summary::-webkit-details-marker{display:none}.page-faq summary::after{content:'';order:-1;flex:0 0 8px;width:8px;height:8px;border:1px solid currentColor;border-radius:50%}.page-faq summary::before{content:'';order:1;margin-inline-start:auto;flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid #777;border-bottom:1.5px solid #777;transform:rotate(45deg);transition:transform .25s}.page-faq[open] summary{font-weight:600;margin-bottom:8px}.page-faq[open] summary::before{transform:rotate(225deg)}.page-faq.is-closing summary::before{transform:rotate(45deg)}.page-faq p{color:#666;margin:0 0 4px}
.tool-footer{padding-block:64px;background:#454545;text-align:center}.footer-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem;margin-bottom:18px;direction:ltr}.footer-logos a{display:flex;align-items:center;justify-content:center}.footer-logos img{display:block;width:120px;height:auto;filter:brightness(0) invert(1);opacity:.4}.tool-footer small{font:12px/1.5 IRANYekanXFaNum,Tahoma,sans-serif;color:#999}.tool-footer .copyright-link{color:#ddd;text-decoration:none}.footer-divider{color:#999}
@media(max-width:900px){.selector-layout{gap:20px}.selector-card,.preview-card{padding:22px}.series-guide{gap:32px}.usage-grid{grid-template-columns:repeat(2,1fr)}}
@media(width < 767px){.tool-wrap{width:calc(100% - 32px)}.main>section,.tool-footer{padding-block:54px}h2{font-size:1.125rem}.selector-layout,.series-guide,.guide-reverse .series-guide{grid-template-columns:1fr}.guide-reverse .series-visual{order:0}.series-visual img{max-width:290px}.usage-grid{grid-template-columns:1fr}.tool-logo{width:210px}.tool-home-link{top:16px;font-size:11px}.tool-header .tool-wrap{padding-top:48px}.tool-subtitle{font-size:16px}.preview-stage{height:250px}.paper-preview{height:calc(214px * var(--paper-height-factor, .84136))}th,td{padding:10px 14px}.section-heading{margin-bottom:24px}}
@media(max-width:479px){.selector-card,.preview-card{padding:20px 16px}.controls-grid{gap:12px}.weight-estimate{gap:12px}.dimension-result output{font-size:26px}.series-tab,.table-tabs button{padding:8px 4px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* RTL return arrow: fixed direction and clear curved shape. */
.tool-home-link{display:inline-flex;flex-direction:row;direction:rtl;align-items:center;gap:8px;color:#555}
.tool-home-link .home-return-icon{display:block;flex:0 0 20px;width:20px;height:20px;transform:none}

.tool-intro h1 { font-weight: 800; }

/* Match the project navigation select chevron. */
.paper-select-wrap { position: relative; display: block; }
.paper-select-wrap::after { content: ''; position: absolute; left: 0.75rem; top: 50%; width: 0.3125rem; height: 0.3125rem; border-right: 0.125rem solid #757575; border-bottom: 0.125rem solid #757575; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.paper-select-wrap select { appearance: none; -webkit-appearance: none; padding-left: 2.25rem; }

#paper-size { direction: rtl; text-align: right; }

@media (min-width: 767px) { #paper-dimensions { font-size: 36px; } }

section[aria-labelledby="table-title"] table, section[aria-labelledby="table-title"] th, section[aria-labelledby="table-title"] td { font-size: 16px; }

/* Keep paper dimensions and size names in Latin digits with the FaNum text font. */
.paper-number, #paper-size, #paper-dimensions, #paper-weight, #paper-grammage, #preview-label, #preview-dimensions, #size-table-body th, #size-table-body td, .quick-sizes button, .model-tags span { font-family: Bahnschrift, Arial, sans-serif; }
.paper-number { direction: ltr; unicode-bidi: isolate; }

#weight-help { font-size: 13px; }

/* Information marker for short explanatory notes. */
.series-note::before, .preview-caption::before, .table-note::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-inline-end: 7px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='7.25' stroke='%23777' stroke-width='1.3'/%3E%3Cpath d='M9 8v4.5' stroke='%23777' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='5.25' r='.9' fill='%23777'/%3E%3C/svg%3E") center / contain no-repeat;
}
section[aria-labelledby="weight-title"] table, section[aria-labelledby="weight-title"] th, section[aria-labelledby="weight-title"] td { font-size: 16px; }

.table-tabs { display: flex; gap: 8px; width: calc(58.333333% - 76.666667px); margin: 0 auto 24px; }
.table-tabs button[aria-selected=true] { background: var(--blue); border-color: var(--blue); color: #fff; }
.table-tabs button:hover { border-color: var(--blue); }

@media (max-width: 900px) { .table-tabs { width: calc(58.333333% - 57.666667px); } }
@media (width < 767px) { .table-tabs { width: calc(100% - 46px); } }
@media (max-width: 479px) { .table-tabs { width: calc(100% - 34px); } }

@media (width < 500px) { .weight-estimate { flex-direction: column; align-items: stretch; text-align: center; } .weight-estimate input, .weight-estimate output { text-align: center; } }

@media (width < 870px) { .selector-layout { grid-template-columns: 1fr; } }

@media (width < 840px) { section[aria-labelledby="table-title"] table, section[aria-labelledby="table-title"] th, section[aria-labelledby="table-title"] td { font-size: 14px; } }

#page-title { margin-bottom: 0; }

.tool-intro .tool-subtitle { color: #777; font-size: clamp(1rem, 2vw, 1.125rem); font-weight: 400; line-height: 2.2; max-width: 800px; margin: 0 auto 16px; }

.tool-header .tool-logo { width: 205px; height: auto; max-width: 60vw; }

/* Fixed shared column widths prevent tab content from resizing the header. */
.paper-dimensions-table { table-layout: fixed; width: 100%; min-width: 560px; }
.paper-dimensions-table col { width: 28%; }
.paper-dimensions-table col.paper-size-column { width: 16%; }
.paper-dimensions-table thead th { text-align: center; vertical-align: middle; }
html { scrollbar-gutter: stable; }

#paper-grammage{width:80px;padding-left:8px;padding-right:8px}

section[aria-labelledby="paper-types-title"] .usage-card{border-color:#dcebf5}
