/* Transport document workspace. Deliberately scoped to the UN search page. */
.transport-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    margin-top: 26px;
}
.transport-tabs [role=tab] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #c5d8dc;
    border-radius: 6px;
    background: #fff;
    color: #4d6068;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.transport-tabs [role=tab]:hover { background: #f1f7f6; border-color: #8cafb6; }
.transport-tabs [role=tab][aria-selected=true] {
    color: #1b5965;
    background: #e7f2f0;
    border-color: #397b87;
    box-shadow: inset 0 -2px 0 #397b87;
}
.transport-tabs [role=tab]:focus-visible { outline-offset: 2px; }
@media (max-width: 760px) {
    .transport-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
    .transport-tabs [role=tab] { padding: 10px; font-size: 13px; }
}
@media (max-width: 369px) {
    .transport-tabs { grid-template-columns: minmax(0, 1fr); }
}
.transport-active .adr-intro{background:#fff;padding-bottom:20px}
.transport-active .adr-intro h1{font-size:clamp(1.8rem,3.2vw,2.75rem)}
.transport-active .adr-intro>.container>p{max-width:none;font-size:18px}
.transport-active .adr-subnav{display:none}
.transport-active .adr-intro .adr-width,.transport-width{max-width:1240px}
.transport-section{padding:20px 0 48px;color:#173b45;font-size:15px;line-height:1.5}
.transport-section [hidden]{display:none!important}
.transport-section p{color:#536770}
.transport-section :is(button,input,select,textarea){font-size:15px;line-height:1.4}
.transport-section :is(input,select,textarea){width:100%;min-width:0;padding:11px 12px;background:#fff;border:1px solid #b9cdd1;border-radius:5px;color:#173b45;min-height:44px;transition:border-color .15s}
/* Match text-field sizing even when native select styling ignores padding. */
.transport-section select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23173b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
/* Prevent native date controls from expanding their grid track on iOS. */
.transport-section input[type=date]{width:100%;min-width:0;max-width:100%;appearance:none;-webkit-appearance:none;text-align:left}
.transport-section input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
.transport-section input[type=date]::-webkit-datetime-edit{min-width:0;max-width:100%;padding:0}
.transport-section textarea{resize:vertical;min-height:114px;line-height:1.55}
.transport-section input:focus,.transport-section textarea:focus,.transport-section select:focus{outline:2px solid #397b87;outline-offset:2px;border-color:#397b87}
.transport-section label{display:block;min-width:0;font-size:13px;font-weight:600;color:#294d57}
.transport-section label> :is(input,select,textarea){display:block;margin-top:6px;font-weight:400}
.transport-privacy{display:flex;align-items:flex-start;gap:9px;font-size:13px;margin-bottom:12px}
.transport-privacy svg{width:17px;height:18px;flex-shrink:0;fill:none;stroke:#397b87;stroke-width:1.7}
.transport-load-status{font-size:13px;margin-bottom:20px;color:#536770}
.transport-workspace{min-width:0}
.tp-editor{min-width:0}
.tp-section{border:1px solid #dbe6e6;border-radius:7px;padding:22px;margin-bottom:20px;background:#fff}
.tp-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.transport-section h2{font-size:19px;line-height:1.35;letter-spacing:-.025em;margin:0;color:#1b5965}
.tp-section-heading h2{display:flex;align-items:center;gap:11px}
.tp-section-heading h2>span{display:grid;place-items:center;background:#397b87;color:#fff;font-size:15px;font-weight:600;width:31px;height:31px;border-radius:50%;letter-spacing:0;flex-shrink:0}
.tp-button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid #6997a0;border-radius:5px;background:#fff;color:#1b5965;padding:10px 16px;font-weight:600;min-height:44px;cursor:pointer;transition:background .15s}
.tp-button:hover:not(:disabled){background:#eef6f4}
.tp-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.tp-button-small{font-size:13px!important;padding:7px 12px;min-height:38px}
.tp-button.tp-primary{background:#397b87;border-color:#397b87;color:#fff}
.tp-button.tp-primary:hover:not(:disabled){background:#286875}
.tp-button:disabled{opacity:.48;cursor:not-allowed}
.tp-button:focus-visible{outline:3px solid #397b87;outline-offset:3px}
.tp-check{display:flex!important;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px!important;font-weight:400!important;line-height:1.6;color:#3b5960!important}
.tp-check input{width:17px!important;min-height:17px!important;height:17px!important;flex-shrink:0;margin:3px 0 0!important;padding:0;accent-color:#397b87}
.tp-packaged{margin-top:0;font-size:12px!important}
.tp-required{color:#a03535}
.tp-help{font-size:12px;line-height:1.65;margin:12px 0 0!important}
.tp-help a{color:#1b5965;text-decoration:underline}
.tp-row{border:1px solid #dbe6e6;border-radius:6px;padding:16px;margin-bottom:14px;background:#fcfefe;min-width:0}
.tp-row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.tp-row-heading h3{font-size:14px;letter-spacing:0;margin:0;color:#1b5965}
.tp-remove{border:0;background:transparent;color:#536770;width:32px;min-height:32px;padding:6px;display:grid;place-items:center;cursor:pointer;border-radius:4px}
.tp-remove:hover{background:#feecec;color:#963b3b}
.tp-remove svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tp-search-field{position:relative}
.tp-options{position:relative;z-index:3;border:1px solid #b9cdd1;background:#fff;border-radius:5px;max-height:300px;overflow-y:auto;margin-top:5px;box-shadow:0 5px 16px #193a4510}
.tp-option{display:block;width:100%;text-align:left;padding:10px 12px;background:#fff;color:#173b45;border:0;border-bottom:1px solid #e5eded;cursor:pointer;line-height:1.5!important;overflow-wrap:anywhere}
.tp-option:last-child{border-bottom:0}
.tp-option:hover,.tp-option[aria-selected=true]{background:#eaf3f2}
.tp-option strong{display:block;font-size:13px}
.tp-option small{font-size:12px;color:#536770}
.tp-option-empty{padding:12px;font-size:13px}
.tp-row-meta{padding:8px 10px;background:#edf5f5;border-radius:4px;font-size:12px;margin:10px 0;color:#315661!important;overflow-wrap:anywhere}
.tp-row-reference{font-size:12px;color:#1b5965;text-decoration:underline;display:inline-flex;min-height:30px;align-items:center;margin-bottom:8px}
.tp-row-reference svg{width:14px;height:14px;margin-left:6px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.tp-row-fields{display:grid;grid-template-columns:1fr 1.25fr .7fr 1.3fr;gap:10px;margin-top:12px;align-items:start}
.tp-unit-help{font-size:12px;line-height:1.5;margin:9px 0 0}
.tp-special-fields{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.tp-special-fields:empty{display:none}
.tp-shipping-name{margin-top:12px}
.tp-extra{margin-top:12px;font-size:13px}
.tp-extra>summary{cursor:pointer;color:#315661;min-height:36px;padding-block:8px}
.tp-extra .tp-check{margin:10px 0}
.tp-extra>label{margin-top:10px}
.tp-row-total{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;background:#edf5f5;padding:9px 12px;border:1px solid #d3e4e5;border-radius:4px;color:#1b5965;font-size:14px;margin-top:14px;min-height:40px}
.tp-row-total strong{font-size:16px}
.tp-row-errors{font-size:12px;color:#99382f;margin:10px 0 0;padding-left:17px}
.tp-row-warnings{font-size:12px;color:#715c28;margin:10px 0 0;padding-left:17px}
.tp-add{margin-top:2px}
.tp-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tp-address-grid>*{min-width:0}
.tp-creator-fields{display:grid;gap:16px;margin-top:16px}
.tp-example-notice{font-size:12px;padding:10px 12px;background:#fff8e8;color:#745c22!important;border-left:3px solid #bb983d}
.tp-status{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1fr);gap:14px 28px;min-width:0;border:1px solid #dbe6e6;border-radius:7px;background:#fbfdfd;padding:20px;margin-top:20px}
.tp-status h3{font-size:16px;line-height:1.4;letter-spacing:0;margin:0;color:#1b5965}
.tp-status-description{align-self:center}
.tp-status-description p{font-size:12px;line-height:1.65;margin:0}
.tp-status-fine{grid-column:1/-1}
.tp-goods:is([data-state=exceeded],[data-state=blocked]){border-color:#c9857b;background:#fffafa}
.tp-goods:is([data-state=exceeded],[data-state=blocked]) .tp-section-heading h2{color:#a13a34}
.tp-goods:is([data-state=exceeded],[data-state=blocked]) .tp-row-total{border-color:#d8a59e;background:#fff0ee;color:#a13a34}
.tp-status:is([data-state=exceeded],[data-state=blocked]){border-color:#c9857b;background:#fff0ee}
.tp-status:is([data-state=exceeded],[data-state=blocked]) :is(h3,p,strong){color:#a13a34!important}
.tp-point-total{margin:8px 0 12px!important;line-height:1.25;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:18px!important;color:#536770}
.tp-point-total strong{font-size:45px;font-weight:650;color:#187a89;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.tp-meter{height:8px;width:100%;background:#e2e9ec;border-radius:8px;overflow:hidden}
.tp-meter span{display:block;background:#397b87;width:0;height:100%;border-radius:8px;transition:width .18s}
.tp-status-title{font-weight:650;font-size:14px;margin-bottom:6px!important;color:#1b5965!important}
.tp-status>p:not(.tp-point-total){font-size:12px;line-height:1.65;margin-bottom:0}
.tp-status[data-state=within] .tp-status-title{color:#22654a!important}
.tp-status[data-state=exceeded] .tp-status-title,.tp-status[data-state=blocked] .tp-status-title,.tp-status[data-state=exceeded] .tp-point-total strong,.tp-status[data-state=blocked] .tp-point-total strong{color:#a13a34!important}
.tp-status[data-state=exceeded] .tp-meter span,.tp-status[data-state=blocked] .tp-meter span{background:#a13a34}
.tp-status-fine{border-top:1px solid #dbe6e6;padding-top:12px;margin-top:14px!important;font-size:11px!important}
.tp-category-summary{margin-top:12px;font-size:12px}
.tp-category-summary>p{margin:5px 0}
.tp-downloads{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.tp-downloads .tp-button{width:100%}
#transport-export-status{font-size:13px;color:#1b5965;margin-top:8px}
.tp-validation{font-size:13px;color:#8e3e31;margin-top:14px}
.tp-validation ul{padding-left:18px}
.tp-validation p{color:inherit;font-size:13px;margin:0}
.tp-guidance{display:grid;grid-template-columns:220px 1fr;gap:28px;border-top:1px solid #dbe6e6;margin-top:28px;padding-top:28px}
.tp-guidance h2{font-size:20px}
.tp-guidance p,.tp-guidance li{font-size:13px;line-height:1.75}
.tp-guidance ul{padding-left:18px;margin-bottom:14px;color:#536770}
@media(max-width:1050px){.tp-section{padding:18px}.tp-row-fields{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.tp-status{gap:12px 20px}.tp-guidance{grid-template-columns:1fr;gap:14px}}
@media(max-width:540px){.transport-section :is(input,select,textarea){font-size:16px}.transport-active .adr-intro>.container>p{font-size:15px}.transport-section{padding-top:16px}.transport-privacy{font-size:12px}.tp-section{padding:15px;margin-bottom:15px}.tp-section-heading h2{font-size:17px;gap:8px}.tp-section-heading{gap:8px}.tp-section-heading h2>span{width:28px;height:28px}.tp-button-small{padding-inline:9px;font-size:12px!important}.tp-row{padding:13px}.tp-row-fields{grid-template-columns:1fr 1fr;gap:12px}.tp-address-grid{grid-template-columns:1fr}.tp-status{padding:15px;display:block}.tp-point-total{margin-bottom:8px!important}.tp-point-total strong{font-size:36px}.tp-point-total span{font-size:16px}.tp-meter{margin-bottom:12px}.tp-status-title{font-size:13px}.tp-status-fine{font-size:10px!important}.tp-add{width:100%}.tp-downloads{grid-template-columns:1fr}.tp-guidance{margin-top:23px;padding-top:23px}}
@media(prefers-reduced-motion:reduce){.tp-meter span,.transport-section :is(input,select,textarea),.tp-button{transition:none}}
@media print{.glass-nav,.footer,.transport-tabs,.tp-guidance,.tp-downloads,.tp-remove,.tp-add,.tp-section-heading>button,.transport-privacy,.transport-load-status,.adr-section,#transport-export-status{display:none!important}.adr-page{padding-top:0}.transport-section{padding:0}.transport-workspace::before{content:"Formularausdruck – kein fertiges Beförderungspapier. Verwenden Sie den PDF- oder Excel-Download.";display:block;margin-bottom:16px;font-weight:600}.tp-row{break-inside:avoid}}

.tp-scope,.tp-liability{padding:14px 16px;border:1px solid #d7e4e6;border-radius:5px;background:#f3f8f8;font-size:12px;line-height:1.7;margin-bottom:18px}
.tp-liability{margin:16px 0 0}
.tp-liability p{font-size:12px;line-height:1.7;margin:6px 0 0}
.tp-document-count{margin:8px 0 0;font-size:15px!important}
.tp-document-count strong{font-size:36px;color:#1b5965;font-variant-numeric:tabular-nums}
.tp-status[data-state=complete] .tp-status-title{color:#22654a!important}
.tp-guidance h3{font-size:16px;line-height:1.4;letter-spacing:0;margin:18px 0 9px;color:#1b5965}
.tp-guidance .tp-original-links a{text-decoration:underline;color:#1b5965}
.tp-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0}
.tp-equipment-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6}
.tp-equipment-table th,.tp-equipment-table td{text-align:left;vertical-align:top;padding:10px;border:1px solid #dbe6e6;overflow-wrap:anywhere}
.tp-equipment-table th{background:#edf5f5;color:#1b5965}
@media(max-width:540px){.tp-scope,.tp-liability{padding:12px}.tp-equipment-table th,.tp-equipment-table td{padding:7px}.tp-equipment-table{font-size:11px}}

.adr-instructions-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.adr-instructions-actions .tp-button{text-decoration:none;max-width:100%;text-align:center}
.adr-instructions-meta{font-size:13px;margin:0 0 16px}
.adr-instructions-sources a{color:#1b5965;text-decoration:underline}
.adr-instructions-preview summary{cursor:pointer;color:#1b5965;font-weight:600}
.adr-instructions-pages{display:grid;gap:24px;max-width:900px;margin:24px auto 0}
.adr-instructions-page{margin:0;scroll-margin-top:100px}
.adr-instructions-page figcaption{margin:0 0 10px;font-size:14px;font-weight:600;color:#1b5965}
.adr-instructions-page img{display:block;width:100%;height:auto;border:1px solid #dbe6e6;background:#fff}
.adr-instructions-jumps{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:14px;margin-top:16px}
.adr-instructions-jumps a{color:#1b5965;text-decoration:underline}
@media print{#instructions-panel .adr-instructions-actions,#instructions-panel .adr-instructions-jumps{display:none}.adr-instructions-page{break-after:page}.adr-instructions-page:last-child{break-after:auto}}
#checklist-panel .tp-scope a,#checklist-panel .tp-help a{text-decoration:underline;color:#1b5965}
