/* Overview, procedure timeline and independent costs table. */
.header nav{margin-inline-start:auto}
.hero-inner{min-height:330px}.identity-visual{justify-content:center}
#result-page #execution-path{margin:0;padding:0;border:0}
.path-subtitle{font-size:1rem;line-height:1.6;color:var(--muted);margin-top:5px}
#result-page .workspace-heading{margin-bottom:24px}
.results-head{padding:20px 24px;margin-bottom:20px;align-items:center;gap:24px}
.results-head h3{font-size:1.65rem;line-height:1.5}.results-head p{margin-top:6px;font-size:.875rem}
.result-actions{flex-wrap:wrap}.result-actions button{font-size:.875rem}
.request-summary{display:grid;grid-template-columns:1fr 1fr 1.4fr;border:1px solid #d7deda;border-radius:10px;overflow:hidden;background:#fffdfb;margin:0 0 28px}
.summary-item{padding:18px 20px;border-inline-end:1px solid #e2e5de;min-width:0}
.summary-item:last-child{border:0}.summary-item dt{font-size:.875rem;color:var(--muted);margin-bottom:9px}
.summary-item dd{margin:0;font-size:1.35rem;font-weight:700;line-height:1.55;font-variant-numeric:tabular-nums;color:var(--primary)}
.summary-item dd>span{font-size:.875rem;font-weight:400}
.summary-item .summary-notice{font-size:1.05rem}
.summary-item p{font-size:.8125rem;font-weight:400;line-height:1.65;margin-top:8px;color:var(--muted)}
.requirements-section{padding:23px 24px 0;background:#fffdfb;border:1px solid #dedbd5;border-radius:10px;margin:0 0 32px}
.requirements-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.requirements-heading h3,.journey-section-heading h3{font-size:1.65rem;line-height:1.5}
.requirements-heading .section-kicker{margin-bottom:0}
.requirements-source{font-size:.8125rem;line-height:1.7;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.requirements-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.requirements-group h4{font-size:.875rem;color:var(--primary);padding-bottom:8px;border-bottom:1px solid #e6e3dc;margin:0 0 10px}
.requirements-group ul{list-style:none;padding:0;margin:0}
.requirements-group li{position:relative;font-size:1rem;line-height:1.65;padding-inline-start:17px;margin:0 0 11px}
.requirements-group li:before{content:'';position:absolute;inset-inline-start:0;top:.7em;width:5px;height:5px;background:#218289;border-radius:1px}
.requirements-foot{font-size:.8125rem;line-height:1.65;padding:13px 0;margin-top:8px;border-top:1px solid #e6e3dc;color:var(--muted)}
.journey-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.condition-legend{font-size:.8125rem;color:#705735;line-height:1.6}
.journey-intro,.report-disclaimer{font-size:.875rem;line-height:1.65;color:var(--muted);margin:9px 0 18px}
.journey-table-wrap{border:1px solid #d4d9d7;border-radius:10px;overflow:hidden;background:#fffdfb}
:is(.journey-table,.costs-table){border-collapse:collapse;width:100%;table-layout:fixed;font-size:1rem;line-height:1.65}
.table-caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.col-stage{width:15%}.col-procedure{width:43%}.col-time{width:22%}.col-effect{width:20%}
:is(.journey-table,.costs-table) thead{background:var(--primary);color:#fff5ee}
:is(.journey-table,.costs-table) th,:is(.journey-table,.costs-table) td{padding:16px 14px;text-align:right;vertical-align:top;border-bottom:1px solid #dfe1dc;border-inline-end:1px solid #e6e6df;overflow-wrap:anywhere}
:is(.journey-table,.costs-table) thead th{font-size:.875rem;border-color:#ffffff20}
:is(.journey-table,.costs-table) tbody th{color:var(--primary);font-size:1.125rem;font-family:var(--font-display);font-weight:700;background:#f9f3ed}
:is(.journey-table,.costs-table) tbody tr:nth-child(even) td{background:#f8faf8}
:is(.journey-table,.costs-table) tr:last-child>*{border-bottom:0}:is(.journey-table,.costs-table) tr>*:last-child{border-inline-end:0}
:is(.journey-table,.costs-table) p{margin:0}:is(.journey-table,.costs-table) .refs{gap:5px;margin-top:12px}:is(.journey-table,.costs-table) .refs:empty{display:none}
:is(.journey-table,.costs-table) .ref{font-size:.75rem;padding:3px 6px;line-height:1.65;white-space:normal}
.stage-number{display:flex;align-items:center;justify-content:center;border:1px solid #cbd6d4;border-radius:50%;width:27px;height:27px;margin-bottom:9px;font-family:var(--font-body);font-size:.8125rem;color:var(--primary)}
.stage-title{display:block}
.condition-badge{display:inline-block;border:1px solid #d6c1a5;border-radius:4px;padding:3px 7px;margin-top:10px;background:#f5ebdd;color:#70502c;font-family:var(--font-body);font-size:.8125rem;font-weight:400;line-height:1.6}
:is(.journey-table,.costs-table) .conditional-stage>th{border-inline-start:3px solid #c4aa89}
.cell-lead{display:block;color:var(--primary);font-size:1rem;font-weight:700;line-height:1.6}
.time-lead{border-inline-start:2px solid #218289;padding-inline-start:9px}
:is(.journey-table,.costs-table) .cell-detail{margin-top:8px;font-size:.875rem;line-height:1.65;color:#43646d}
.number-emphasis{font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:1000px){
 .request-summary{grid-template-columns:1fr 1fr}.summary-item:nth-child(2){border-inline-end:0}.summary-item:last-child{grid-column:1/-1}.summary-item:nth-child(-n+2){border-bottom:1px solid #e2e5de}
 :is(.journey-table,.costs-table) th,:is(.journey-table,.costs-table) td{padding:14px 11px}
 .results-head{align-items:stretch}
}
@media(max-width:750px){
 .header nav{margin-inline-start:0}.hero-inner{min-height:0}
 .path-subtitle{font-size:.875rem}.summary-item{padding:15px 13px}.summary-item dt{font-size:.875rem}.summary-item dd{font-size:1.2rem}.summary-item .summary-notice{font-size:1rem}
 .requirements-section{padding:19px 17px 0;margin-bottom:25px}.requirements-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:19px}
 .requirements-grid{grid-template-columns:1fr;gap:15px}.requirements-group li{font-size:1rem}.requirements-heading h3,.journey-section-heading h3{font-size:1.5rem}
 .journey-section-heading{align-items:flex-start;flex-direction:column;gap:3px}
 :is(.journey-table,.costs-table) colgroup{display:none}:is(.journey-table,.costs-table) thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 :is(.journey-table,.costs-table),:is(.journey-table,.costs-table) tbody,:is(.journey-table,.costs-table) tr,:is(.journey-table,.costs-table) td,:is(.journey-table,.costs-table) tbody th{display:block;width:100%}
 :is(.journey-table,.costs-table){font-size:1rem;line-height:1.65}:is(.journey-table,.costs-table) tr{border-bottom:2px solid #b6c7c7;padding-bottom:8px}:is(.journey-table,.costs-table) tr:last-child{border-bottom:0}
 :is(.journey-table,.costs-table) tbody th{display:grid;grid-template-columns:27px 1fr;align-items:center;gap:0 10px;font-size:1.3rem;padding:14px 15px;border:0}
 .stage-number{margin:0}.condition-badge{grid-column:2;justify-self:start;margin-top:8px}.stage-title{min-width:0}
 :is(.journey-table,.costs-table) td{padding:12px 15px;border:0}:is(.journey-table,.costs-table) td:before{content:attr(data-label);display:block;font-size:.875rem;color:var(--muted);font-weight:400;margin-bottom:5px}
 :is(.journey-table,.costs-table) .cell-detail{font-size:.9375rem}:is(.journey-table,.costs-table) .refs{margin-top:10px}:is(.journey-table,.costs-table) .ref{font-size:.75rem}
 :is(.journey-table,.costs-table) tbody tr:nth-child(even) td{background:transparent}:is(.journey-table,.costs-table) tbody tr:nth-child(even){background:#f8faf8}
 .results-head{padding:18px;gap:16px}.results-head h3{font-size:1.5rem}.result-actions{width:100%}.result-actions button{flex:1;font-size:.875rem;padding:9px 8px}
 .journey-intro,.report-disclaimer{font-size:.875rem}
}
@media print{
 @page{size:A4 landscape;margin:12mm}
 #guide-page,#library-page,.header,.hero,.result-actions,.links-bar,.workspace-heading,.review-launcher{display:none!important}
 #result-page:not([hidden]){display:block!important}.page-wrap{max-width:none;margin:0;padding:0}
 .results-head{border:0;padding:0}.results-head h3{font-size:18px}
 .summary-item:last-child{grid-column:auto}
 .request-summary{grid-template-columns:repeat(3,1fr);margin-bottom:16px;break-inside:avoid}.summary-item{padding:10px}.summary-item dt,.summary-item p{font-size:10px}.summary-item dd,.summary-item .summary-notice{font-size:13px}
 .requirements-section{padding:12px;margin-bottom:15px;break-inside:avoid}.requirements-heading{margin-bottom:9px}.requirements-grid{grid-template-columns:1fr 1fr;gap:20px}
 .requirements-heading h3,.journey-section-heading h3{font-size:18px}.requirements-group h4,.requirements-group li{font-size:11px}.requirements-group li{margin-bottom:6px}.requirements-foot,.requirements-source,.condition-legend{font-size:10px}
 .journey-table-wrap{overflow:visible;border-radius:0}:is(.journey-table,.costs-table){font-size:10px;line-height:1.5;display:table;table-layout:fixed}
 :is(.journey-table,.costs-table) colgroup{display:table-column-group}:is(.journey-table,.costs-table) thead{position:static;width:auto;height:auto;clip-path:none;display:table-header-group;background:#e9dccf;color:#184754}
 :is(.journey-table,.costs-table) tbody{display:table-row-group}:is(.journey-table,.costs-table) tr{display:table-row;break-inside:avoid}
 :is(.journey-table,.costs-table) td,:is(.journey-table,.costs-table) tbody th{display:table-cell;width:auto;padding:8px;font-size:10px;border:1px solid #ccc}
 :is(.journey-table,.costs-table) thead th{font-size:10px;color:#184754}:is(.journey-table,.costs-table) td:before{display:none}
 :is(.journey-table,.costs-table) .cell-lead,:is(.journey-table,.costs-table) .cell-detail{font-size:10px}:is(.journey-table,.costs-table) .ref{border:0;font-size:9px;padding:0}.stage-number{width:20px;height:20px;font-size:9px;margin-bottom:6px}
 .condition-badge{font-size:9px}.journey-intro,.report-disclaimer{font-size:10px}
}

#execution-topic-fields,#existing-request-fields{margin-top:24px}
.requirements-grid.one-group{grid-template-columns:1fr}.one-group ul{columns:2;column-gap:32px}.one-group li{break-inside:avoid}
.procedure-list{margin:8px 0;padding-inline-start:20px}.procedure-list li{margin-bottom:9px}.procedure-list li:last-child{margin-bottom:0}
.journey-table .procedure-note{margin-top:12px;color:#43646d;font-size:.875rem}
.costs-section{margin-top:36px}.costs-table{font-size:.9375rem}.costs-table .refs{margin-top:12px}
@media(max-width:750px){.one-group ul{columns:1}.costs-section{margin-top:28px}.costs-table tbody th{display:block}.costs-table{font-size:1rem}}
@media print{.one-group ul{columns:2}.costs-section{margin-top:18px}.costs-table tbody th{display:table-cell}.costs-table{font-size:10px}.procedure-list li{margin-bottom:4px}.journey-table .procedure-note{font-size:10px}.costs-section .journey-section-heading{break-after:avoid}}
/* Role and request status remain visible as adjacent, keyboard-accessible choices. */
#journey-mode{border:0;background:transparent;font-weight:400}
.choice-fieldset{margin:0 0 22px;padding:0;border:0;min-width:0}
.choice-fieldset legend{font-weight:700;margin-bottom:11px;color:var(--primary)}
.segmented-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.segmented-options label{position:relative;cursor:pointer;min-width:0}
.segmented-options input{position:absolute;opacity:0;width:1px;height:1px}
.segmented-options span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;height:100%;min-height:54px;padding:12px 10px;border:1px solid #c6d1d0;border-radius:8px;background:#fffdfb;line-height:1.6;color:var(--primary)}
.segmented-options b{font-size:1.2rem}.segmented-options small{font-size:.8rem;font-weight:400;color:#43646d}
.segmented-options input:checked+span{background:#184754;color:#fff5ee;border-color:#184754;box-shadow:inset 0 -3px #c4aa89}
.segmented-options input:checked+span small{color:#e9dccf}
.segmented-options input:focus-visible+span{outline:3px solid #218289;outline-offset:3px}
.segmented-options label:hover span{border-color:#218289}
#flow-hint{min-height:1.6em}
@media(max-width:750px){.segmented-options{gap:8px}.segmented-options span{padding:11px 7px;font-size:.95rem}.segmented-options b{font-size:1.1rem}.segmented-options small{font-size:.75rem}}

/* Administrative jurisdiction uses the same reviewed one-page request flow. */
.jurisdiction-options small{display:block;margin-top:.3rem;font-weight:400;line-height:1.6}
.jurisdiction-help{margin:0 0 1.5rem;padding:1rem 1.2rem;background:var(--cream,#fff5ee);border:1px solid #e9dccf;border-radius:12px;font-size:1rem}
.jurisdiction-help summary{cursor:pointer;font-weight:700;color:#184754}
.jurisdiction-help p{line-height:1.9;margin:.8rem 0}
#admin-fields{border-top:1px solid #e9dccf;padding-top:1.5rem;margin-top:1.5rem}
#admin-fields .field-hint{line-height:1.8}
.admin-version-note,.article-amendment{font-size:.9rem;line-height:1.8;color:#43646d;padding:.8rem 1rem;background:#f8f5f0;border-radius:8px}
.admin-version-note a{color:#184754;text-decoration:underline;text-underline-offset:3px}
.article-amendment{margin:1rem 0 0}
.library-tools select{max-width:100%}
@media(max-width:600px){.jurisdiction-options small{font-size:.875rem}.library-tools{grid-template-columns:1fr}.library-tools select{width:100%;min-width:0}}

/* Independent legal reference pages; allow the longer Arabic navigation on phones. */
.header nav{gap:clamp(16px,2.5vw,34px)}
.header .navlink{text-align:center;line-height:1.7}
@media(max-width:750px){.header nav{display:grid;grid-template-columns:1fr 1fr;height:auto;gap:0 20px}.header .navlink{justify-content:center;padding:10px 0}.header .navlink[data-page="admin-library"]{grid-column:1/-1}}
@media print{#admin-library-page{display:none!important}}
