

:root {
  --tvm-canvas:#f3f6fa;
  --tvm-surface:#ffffff;
  --tvm-surface-subtle:#f7f9fc;
  --tvm-surface-info:#edf4fc;
  --tvm-ink:#16334b;
  --tvm-muted:#52677b;
  --tvm-navy:#123f65;
  --tvm-action:#0966ba;
  --tvm-action-hover:#074e91;
  --tvm-action-soft:#eaf3fd;
  --tvm-accent:#efb323;
  --tvm-accent-soft:#fff7df;
  --tvm-line:#d4dfea;
  --tvm-line-strong:#9fb6cc;
  --tvm-table-head:#eaf0f7;
  --tvm-row-hover:#edf5ff;
  --tvm-success:#176447;
  --tvm-success-soft:#edf8f1;
  --tvm-success-line:#b6d9c4;
  --tvm-warning:#785400;
  --tvm-danger:#aa302b;
  --tvm-danger-soft:#fff1ef;
  --tvm-danger-line:#e4b7b2;
  --tvm-radius-control:7px;
  --tvm-radius-card:10px;
  --tvm-radius-panel:12px;
  --tvm-shadow-card:0 2px 7px rgb(22 51 75 / 4%);
  --tvm-shadow-raised:0 6px 18px rgb(22 51 75 / 9%);
  --tvm-shadow-dialog:0 20px 65px rgb(12 35 58 / 25%);
}


body.tvm-office {
  --tvm-canvas:#f5f7f8;
  --tvm-surface:#ffffff;
  --tvm-surface-subtle:#f0f4f6;
  --tvm-surface-info:#eaf0f4;
  --tvm-case-summary-surface:#eaf3fd;
  --tvm-ink:#243746;
  --tvm-muted:#5d6f7d;
  --tvm-action-soft:#e8eef2;
  --tvm-line:#d7e0e5;
  --tvm-table-head:#eaf0f4;
  --tvm-row-hover:#f0f4f6;
  --tvm-success:#35644f;
  --tvm-success-soft:#edf4ef;
  --tvm-warning:#796126;
  --tvm-accent-soft:#f8f3e7;
  --tvm-danger:#924c49;
  --tvm-danger-soft:#faefed;
  --tvm-normal-surface:#ffffff;
  --tvm-normal-ink:#123f65;
  --tvm-normal-border:#6888a5;
  --tvm-normal-hover:#f4f8fc;
  --tvm-normal-pressed:#eaf3fd;
  --tvm-normal-shadow:none;
  --tvm-disabled-surface:#e9edf0;
  --tvm-disabled-ink:#5d6c77;
  --tvm-control-border:#748894;
}



:root {
  --tvm-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  
  --tvm-type-overline: 12px;
  --tvm-type-support: 14px;
  --tvm-type-address: 15px;
  --tvm-type-body: 16px;
  --tvm-type-emphasis: 18px;
  --tvm-type-section: 24px;
  --tvm-type-customer: 32px;
  --tvm-type-page: 36px;

  --tvm-leading-tight: 1.2;
  --tvm-leading-title: 1.3;
  --tvm-leading-compact: 1.4;
  --tvm-leading-body: 1.5;

  --tvm-weight-regular: 400;
  --tvm-weight-medium: 600;
  --tvm-weight-bold: 700;
  --tvm-weight-heavy: 800;
}


/*!
 * Quill Editor v2.0.3
 * https://quilljs.com
 * Copyright (c) 2017-2024, Slab
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}



:root{--navy:#102f3e;--teal:#007d83;--lime:#d8f566;--ink:#132f3d;--muted:#60747d;--line:#dce5e7;--soft:#f2f6f6;--white:#fff}*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,-apple-system,sans-serif;color:var(--ink);background:#f7f9f9}header{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1280px)/2))}.brand{display:flex;gap:12px;font-weight:800;letter-spacing:.05em;line-height:1.05}.brand>span{display:grid;place-items:center;background:var(--navy);color:var(--lime);font-size:36px;width:52px;height:52px;border-radius:8px}.brand small{display:block;color:#ff5722;font-size:9px;margin-top:5px}button{border:0;border-radius:7px;background:var(--teal);color:#fff;padding:12px 18px;font-weight:750;cursor:pointer}button:hover{filter:brightness(.94)}main{max-width:1280px;margin:auto;padding:36px 24px}.login{max-width:430px;margin:8vh auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px;box-shadow:0 20px 60px #10303e12}h1,h2,h3,p{margin-top:0}label{display:grid;gap:6px;font-weight:700;margin:15px 0}input,select,textarea{font:inherit;width:100%;border:1px solid #bfcdd1;border-radius:6px;padding:11px;background:#fff}textarea{min-height:82px;resize:vertical}.login button{width:100%;margin-top:10px}.error{color:#b42318;margin:10px 0 0}.toolbar{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.eyebrow{color:var(--teal);letter-spacing:.14em;font-size:12px;font-weight:800}.toolbar h1{font-size:40px;margin-bottom:0}.counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:28px}.count{background:var(--navy);color:#fff;border-radius:10px;padding:18px}.count strong{font-size:30px;display:block;color:var(--lime)}.layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:22px}.layout>section,.layout>aside{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.case-list{display:grid;gap:10px}.case{width:100%;text-align:left;background:#fff;color:var(--ink);border:1px solid var(--line);padding:15px;display:grid;grid-template-columns:1fr auto;gap:4px}.case:hover,.case.active{border-color:var(--teal);background:#f4fbfb}.case small,.muted{color:var(--muted)}.badge{display:inline-block;border-radius:99px;background:#e5f1f1;color:#006970;padding:4px 9px;font-size:12px}.detail-head{display:flex;justify-content:space-between;gap:14px}.meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:var(--soft);padding:14px;border-radius:8px}.meta small{display:block;color:var(--muted)}.check{display:flex;gap:10px;border-top:1px solid var(--line);padding:11px 0}.check select{width:auto;margin-left:auto;padding:6px}.timeline{border-left:2px solid var(--line);margin-left:6px;padding-left:16px}.timeline p{font-size:14px;margin:10px 0}.status-row{display:flex;gap:8px;margin:16px 0}.status-row select{flex:1}dialog{border:0;border-radius:13px;padding:0;width:min(760px,calc(100% - 32px));box-shadow:0 30px 100px #0005}dialog::backdrop{background:#0c2734aa}#case-form{padding:24px}.dialog-head,.actions{display:flex;align-items:center;justify-content:space-between}.plain{background:transparent;color:var(--ink);font-size:26px;padding:4px}.secondary{background:#e9eeee;color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wide{grid-column:1/-1}.actions{justify-content:flex-end;gap:10px;margin-top:18px}@media(max-width:800px){.counts{grid-template-columns:1fr 1fr}.layout{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.toolbar h1{font-size:32px}header{padding:0 18px}}
[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}.case small{display:block}.case>*{min-width:0;overflow-wrap:anywhere}.item-form{align-items:center}.item-form>div{flex:1;min-width:0}.item-form select{width:100%;margin:0}.item-form label{font-size:14px;margin:8px 0}.detail-head{flex-wrap:wrap}.meta{overflow-wrap:anywhere}#status-form{padding:12px 0;border-bottom:1px solid var(--line)}details{margin:16px 0}summary{cursor:pointer;color:var(--teal);font-weight:700}@media(max-width:480px){main{padding:24px 14px}.layout>section,.layout>aside{padding:16px}.case{grid-template-columns:1fr}.item-form{flex-wrap:wrap}.badge{justify-self:start}h2{font-size:22px}}
.detail-head{align-items:flex-start}.detail-head .badge{white-space:nowrap}.case{align-items:start}
.case{text-decoration:none}
.workflow-tabs{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px;margin:0 0 18px;overflow-x:auto;padding-bottom:4px}.workflow-tab{min-height:72px;text-align:left;background:#fff;color:var(--ink);border:1px solid var(--line);padding:12px;display:flex;flex-direction:column;justify-content:space-between;gap:4px}.workflow-tab strong{font-size:22px}.workflow-tab.active{outline:3px solid color-mix(in srgb,var(--teal) 24%,transparent);border-color:var(--teal)}.workflow-tab.new{border-top:5px solid #4f7cff}.workflow-tab.conversation{border-top:5px solid #8b5cf6}.workflow-tab.preparation{border-top:5px solid #e59b23}.workflow-tab.appointment{border-top:5px solid #00a7a7}.workflow-tab.submitted{border-top:5px solid #1f5f99}.workflow-tab.completed{border-top:5px solid #2f9e63}.workbench{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}.workbench-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.workbench-head h2{margin:0}.total-badge{background:var(--soft);border-radius:99px;padding:7px 12px;font-weight:800}.workbench .layout>div,.workbench .layout>aside{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.case-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.case-tags b{font-size:12px;background:var(--soft);border:1px solid var(--line);border-radius:99px;padding:4px 8px}.badge.new{background:#eaf0ff;color:#315cc9}.badge.conversation{background:#f1eaff;color:#7041b1}.badge.preparation{background:#fff2d9;color:#93600b}.badge.appointment{background:#dff7f5;color:#067875}.badge.submitted{background:#e2eef8;color:#194f7e}.badge.completed{background:#e2f5e9;color:#1d7548}.pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:18px}.pagination button{padding:9px 13px}.empty{padding:42px 20px;text-align:center;background:var(--soft);border-radius:10px}.empty span{display:block;color:var(--muted);margin-top:6px}.result-filters{display:flex;align-items:end;gap:12px;background:var(--soft);padding:12px;border-radius:10px;margin-bottom:16px}.result-filters label{margin:0;min-width:180px}.result-filters button{margin-bottom:1px}
@media(max-width:1000px){.workflow-tabs{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media(max-width:640px){.workflow-tabs{display:flex}.workflow-tab{min-width:190px}.workbench{padding:14px}.result-filters{align-items:stretch;flex-direction:column}.result-filters label{min-width:0}.workbench-head{align-items:start}.case-tags{gap:4px}}
.workbench.detail-open>.workbench-head,.workbench.detail-open>.result-filters,.workbench.detail-open>.layout>div{display:none}.workbench.detail-open>.layout{grid-template-columns:1fr}.workbench.detail-open>.layout>aside{width:100%;min-height:560px;padding:30px}.back-button{margin-bottom:24px}.workbench.detail-open .detail-head h2{font-size:34px}.workbench.detail-open .meta{grid-template-columns:repeat(4,1fr)}@media(max-width:800px){.workbench.detail-open>.layout>aside{padding:18px}.workbench.detail-open .meta{grid-template-columns:1fr 1fr}.workbench.detail-open .detail-head h2{font-size:28px}}
.workbench:not(.detail-open)>.layout{grid-template-columns:1fr}.workbench:not(.detail-open)>.layout>aside{display:none}
.case{grid-template-columns:76px minmax(220px,1.15fr) minmax(340px,1fr) auto;align-items:center;gap:18px;min-height:112px;padding:18px 20px}.case-flag{display:grid;place-items:center;width:68px;height:68px;border-radius:14px;background:var(--soft);font-size:42px;line-height:1}.case-main{display:grid;gap:3px}.case-main>strong{font-size:19px}.case-route{font-weight:750;color:var(--teal)}.case-summary{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:12px}.case-summary>span{display:grid;gap:2px;padding-left:12px;border-left:1px solid var(--line)}.case-summary small{color:var(--muted);font-size:12px}.case-summary strong{font-size:14px}.case>.badge{justify-self:end;white-space:nowrap}@media(max-width:980px){.case{grid-template-columns:64px 1fr auto}.case-flag{width:56px;height:56px;font-size:34px}.case-summary{grid-column:2/-1}.case>.badge{grid-column:3;grid-row:1}}@media(max-width:640px){.case{grid-template-columns:54px 1fr;gap:12px}.case-flag{width:50px;height:50px;font-size:30px}.case-summary{grid-column:1/-1;grid-template-columns:1fr 1fr}.case>.badge{grid-column:1/-1;grid-row:auto;justify-self:start}}
.account-panel{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(420px,1.3fr);gap:18px;background:var(--navy);color:#fff;border-radius:12px;padding:20px;margin:22px 0}.account-panel h3{margin:4px 0}.account-panel p{margin:0;color:#d7e2e6}.finance-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.finance-quick span{display:grid;gap:4px;background:#ffffff10;border:1px solid #ffffff20;border-radius:8px;padding:10px}.finance-quick small{color:#c7d4d9}.finance-quick strong{color:var(--lime)}.participant-list{display:grid;gap:12px;margin-bottom:14px}.participant-card{border:1px solid var(--line);border-radius:10px;padding:16px}.participant-title{display:flex;justify-content:space-between;gap:12px}.participant-title>div{display:grid}.participant-title small{color:var(--teal)}.participant-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.participant-facts span{display:grid;background:var(--soft);border-radius:7px;padding:9px}.participant-facts small{color:var(--muted)}.finance-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.finance-summary span{display:grid;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:10px}.compact-list{display:grid;gap:7px;margin:10px 0 16px}.compact-list p{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px}.account-panel+ h3,.participant-list+details+h3,#route-form+h3,#biometric-add+h3{margin-top:28px}@media(max-width:980px){.account-panel{grid-template-columns:1fr}.finance-quick,.finance-summary{grid-template-columns:repeat(3,1fr)}.participant-facts{grid-template-columns:1fr 1fr}}@media(max-width:640px){.finance-quick,.finance-summary{grid-template-columns:1fr 1fr}.participant-facts{grid-template-columns:1fr}.participant-title{align-items:flex-start;flex-direction:column}.account-panel{padding:15px}}

header{min-height:100px;height:auto;padding-top:4px;padding-bottom:4px;gap:16px}.brand-official{display:flex;flex-direction:column;gap:0;text-decoration:none;flex-shrink:1;min-width:0}.brand-official-logo{display:block;width:200px;max-width:100%;height:auto;object-fit:contain}.brand-official>small{font-size:10px;letter-spacing:.12em;color:var(--muted);margin:0 0 6px}@media(max-width:640px){header{min-height:86px}.brand-official-logo{width:180px}.brand-official>small{font-size:9px}}@media(max-width:360px){.brand-official-logo{width:180px}}

:root{--booking-navy:#003b70;--booking-blue:#0071c2;--booking-blue-dark:#005999;--booking-sky:#eaf5ff;--booking-yellow:#ffb700;--booking-yellow-soft:#fff4d2;--booking-line:#c7d7e5;--navy:var(--booking-navy);--teal:var(--booking-blue);--lime:var(--booking-yellow);--ink:#1a2b3b;--muted:#526b7a;--line:var(--booking-line);--soft:#f2f7fb}
body{font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#f5f7f9;color:var(--ink)}
h1{font-size:38px;line-height:1.15;letter-spacing:-.025em}h2{font-size:26px;line-height:1.2;letter-spacing:-.015em}h3{font-size:19px;line-height:1.25}h4{font-size:16px}small,.muted{line-height:1.4}
button{background:var(--booking-blue);border-radius:4px;box-shadow:inset 0 0 0 1px #005999;padding:11px 17px}button:hover{background:var(--booking-blue-dark)}button.secondary{background:#fff;color:var(--booking-blue);box-shadow:inset 0 0 0 1px var(--booking-blue)}
input,select,textarea{border:1px solid #8196a7;border-radius:3px;padding:10px 11px;background:#fff}input:focus,select:focus,textarea:focus{outline:3px solid #b8dcf6;border-color:var(--booking-blue)}
label{font-size:13px;color:#294456;margin:11px 0;gap:5px}.form-grid{gap:0 14px}.booking-form{grid-template-columns:minmax(210px,1fr) minmax(180px,1fr)}.city-field{max-width:280px}.wide{grid-column:1/-1}
.workflow-tab{border-radius:4px;border-color:#adc2d2;background:#fff}.workflow-tab.active{outline:0;background:var(--booking-sky);box-shadow:inset 0 0 0 2px var(--booking-blue)}.workflow-tab.new,.workflow-tab.conversation,.workflow-tab.preparation,.workflow-tab.appointment,.workflow-tab.submitted{border-top-color:var(--booking-blue)}.workflow-tab.preparation,.workflow-tab.appointment{border-top-color:var(--booking-yellow)}
.badge.new,.badge.conversation,.badge.submitted{background:var(--booking-sky);color:#004c82}.badge.preparation,.badge.appointment{background:var(--booking-yellow-soft);color:#6d4a00}.badge.completed{background:#e7f6ec;color:#16743d}
.count{border-radius:4px;background:var(--booking-navy);border-bottom:4px solid var(--booking-blue)}.count strong{color:#fff}.count:nth-child(3),.count:nth-child(4){border-bottom-color:var(--booking-yellow)}
.workbench,.layout>section,.layout>aside,.workbench .layout>div,.workbench .layout>aside{border-radius:4px}.case{border-radius:4px}.case-flag{border-radius:4px;background:#fff;border:1px solid var(--booking-line)}
.detail-group{margin:12px 0;border:1px solid var(--booking-line);border-radius:4px;background:#fff;overflow:hidden}.detail-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;color:var(--booking-navy);font-size:16px;background:#f7fafc}.detail-group>summary::-webkit-details-marker{display:none}.detail-group>summary::before{content:'+';display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--booking-blue);color:#fff;font-weight:800}.detail-group[open]>summary::before{content:'−'}.detail-group>summary>span{margin-right:auto}.detail-group>summary>b{font-size:13px;color:var(--booking-blue)}.detail-group-body{padding:18px;border-top:1px solid var(--booking-line)}
.case-identity{display:grid;grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(160px,1fr));border:1px solid var(--booking-line);border-top:5px solid var(--country-color,var(--booking-blue));border-radius:4px;background:#fff;margin:18px 0 14px}.case-identity>span{display:grid;align-content:center;gap:3px;min-height:88px;padding:14px 16px;border-left:1px solid var(--booking-line)}.case-identity>span:first-child{border-left:0}.case-identity small{font-size:11px;font-weight:800;letter-spacing:.06em;color:#5f7281}.case-identity strong{font-size:16px;color:var(--booking-navy)}.country-identity{display:flex!important;align-items:center!important;justify-content:center;gap:12px;text-align:left;background:color-mix(in srgb,var(--country-color,var(--booking-blue)) 8%,white)}.country-identity>b{font-size:40px;line-height:1}.country-identity>span{display:grid;gap:8px}.country-identity strong{font-size:22px;white-space:nowrap}.country-identity #edit-case-profile{justify-self:start;padding:7px 11px;font-size:14px}.case-profile-dialog{width:min(780px,calc(100% - 32px))}.case-profile-channel{display:flex;gap:10px;margin:0;padding:0;border:0}.case-profile-channel legend{font-weight:800;margin-bottom:8px}.case-profile-channel label{flex:1;display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--booking-line);border-radius:var(--tvm-radius-control);background:#fff}.case-profile-channel input{width:auto;margin:0}.case-profile-agency[hidden]{display:none}
.identity-card{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:26px;align-items:stretch;padding:18px 20px;border:1px solid var(--booking-line);border-radius:4px;background:#fff}.identity-profile h2{margin:2px 0 12px}.identity-facts{display:flex;flex-wrap:wrap;gap:10px 22px}.identity-facts span{display:grid;min-width:120px}.identity-facts small,.identity-side small{color:#536b7b;font-size:.76rem;font-weight:700}.identity-facts strong,.identity-side strong{color:var(--booking-navy);font-size:1rem}.identity-side{display:grid;justify-items:end;align-content:space-between;gap:14px;text-align:right}.identity-side>div{display:grid;max-width:270px}.identity-side .badge{justify-self:end}.identity-update{padding:7px 11px;font-size:.82rem}
.identity-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 14px}.identity-edit-grid label{min-width:0}.identity-edit-grid .edit-address{grid-column:span 2}.identity-edit-grid textarea{min-height:68px}
.back-button{padding:6px 10px;font-size:.8rem;margin-bottom:14px}
@media(max-width:760px){.identity-card{grid-template-columns:1fr;padding:16px}.identity-side{justify-items:start;text-align:left;gap:10px}.identity-side .badge{justify-self:start}.identity-facts{display:grid;grid-template-columns:1fr 1fr}.identity-facts span{min-width:0}.identity-edit-grid{grid-template-columns:1fr 1fr}.identity-edit-grid .edit-address{grid-column:1/-1}}
.travel-group>summary{background:var(--booking-sky)}.invitation-fields,.hotel-fields{padding:12px 14px;border-left:4px solid var(--booking-yellow);background:var(--booking-yellow-soft);margin:6px 0 12px}.account-panel{border-radius:4px;background:var(--booking-navy)}.finance-quick strong{color:#fff}.finance-quick span{border-radius:3px}
@media(max-width:1000px){.case-identity{grid-template-columns:1fr 1fr}.case-identity>span:nth-child(3){border-left:0;border-top:1px solid var(--booking-line)}.case-identity>span:nth-child(4){border-top:1px solid var(--booking-line)}}
@media(max-width:640px){h1{font-size:31px}.booking-form,.form-grid{grid-template-columns:1fr}.city-field{max-width:none}.case-identity{grid-template-columns:1fr}.case-identity>span{border-left:0;border-top:1px solid var(--booking-line)}.case-identity>span:first-child{border-top:0}.wide{grid-column:auto}.detail-group-body{padding:14px}}
.participant-form input[name="stay_days"]{max-width:140px}.participant-form select[name="result"],.participant-form select[name="entry_type"]{max-width:260px}.participant-form textarea[name="refusal_reason"]{min-height:96px}
.date-range-picker{position:relative;margin:11px 0 15px}.date-range-label{display:block;font-size:13px;font-weight:700;color:#294456;margin-bottom:5px}.date-range-trigger{width:100%;min-height:66px;display:flex;align-items:center;gap:13px;text-align:left;background:#fff;color:var(--ink);border:2px solid var(--booking-yellow);box-shadow:none;padding:10px 14px}.date-range-trigger:hover{background:#fff}.date-range-trigger .calendar-icon{font-size:30px;color:var(--booking-blue)}.date-range-trigger span:nth-child(2){display:grid;gap:2px}.date-range-trigger small{color:var(--muted);font-weight:600}.date-range-trigger strong{font-size:17px;color:var(--booking-navy)}.date-range-popover{position:absolute;z-index:30;top:calc(100% + 7px);left:0;width:min(760px,calc(100vw - 64px));background:#fff;border:1px solid var(--booking-line);border-radius:8px;box-shadow:0 16px 46px #14324c2b;padding:16px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.calendar-nav{width:38px;height:38px;padding:0;background:#fff!important;color:var(--booking-blue);box-shadow:inset 0 0 0 1px var(--booking-blue);font-size:27px}.calendar-months{display:grid;grid-template-columns:1fr 1fr;gap:28px}.calendar-month h4{text-align:center;text-transform:capitalize;margin:6px 0 14px;font-size:17px}.weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.weekdays span{text-align:center;color:var(--muted);font-size:12px;font-weight:700;padding:5px 0}.month-grid>span,.month-grid button{height:38px;display:grid;place-items:center}.month-grid button{padding:0;background:#fff;color:var(--ink);box-shadow:none;border-radius:50%;font-weight:650}.month-grid button:hover{background:var(--booking-sky)}.month-grid button.in-range{border-radius:0;background:var(--booking-sky)}.month-grid button.selected{background:var(--booking-blue);color:#fff}.calendar-help{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--booking-line);font-size:13px;color:var(--muted)}
@media(max-width:700px){.date-range-popover{position:fixed;inset:auto 12px 12px;width:auto;max-height:78vh;overflow:auto}.calendar-months{grid-template-columns:1fr;gap:10px}.calendar-month:nth-child(2){display:none}.date-range-trigger strong{font-size:15px}}


dialog{width:min(900px,calc(100% - 32px));max-height:min(92vh,980px);overflow:auto;border-radius:8px;background:#f5f7f9}
#case-form{padding:0}.dialog-head{position:sticky;top:0;z-index:5;align-items:flex-start;padding:22px 26px 18px;background:#fff;border-bottom:1px solid var(--booking-line)}.dialog-head h2{margin:2px 0 5px}.dialog-head p{margin:0;color:var(--muted);font-size:14px}.dialog-head .eyebrow{font-size:11px;color:var(--booking-blue)}.dialog-head .plain{margin:-4px -6px 0 18px;box-shadow:none}
.form-section{margin:16px 26px;background:#fff;border:1px solid var(--booking-line);border-radius:6px;padding:20px 22px}.form-section-head{display:flex;align-items:flex-start;gap:12px;padding-bottom:14px;margin-bottom:4px;border-bottom:1px solid #e4edf4}.form-section-head>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--booking-blue);color:#fff;font-size:13px;font-weight:800}.form-section-head h3{margin:1px 0 3px;color:var(--booking-navy)}.form-section-head p{margin:0;color:var(--muted);font-size:13px}.form-section label b{color:#c7352b}.form-section label small{display:block;color:var(--muted);font-weight:500}.primary-field{max-width:none}.primary-field select{border-color:var(--booking-blue);box-shadow:0 0 0 1px var(--booking-blue)}
.form-actions{position:sticky;bottom:0;z-index:5;margin:16px 0 0;padding:16px 26px;background:#fff;border-top:1px solid var(--booking-line);box-shadow:0 -8px 24px #14324c12}.form-actions button{min-width:150px}
.editor-form{max-width:940px}.editor-form .form-section{margin:0 0 14px;padding:18px 20px}.compact-section .form-section-head{padding-bottom:12px}.inline-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:4px}.inline-actions p{margin:0;color:var(--muted);font-size:13px}.inline-actions button{flex:0 0 auto}
.detail-group-body form:not(.item-form)>button{margin-top:12px}.editor-form .invitation-fields,.editor-form .hotel-fields{border-left:0;border:1px solid #f2c24c;border-radius:4px;padding:12px 14px;margin-top:10px}
button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ec9f4;outline-offset:2px}
@media(max-width:640px){dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.dialog-head{padding:18px 16px 14px}.dialog-head p{font-size:13px}.form-section{margin:12px;padding:16px}.form-section-head p{display:none}.form-actions{padding:13px 14px}.form-actions button{min-width:0;flex:1}.inline-actions{align-items:stretch;flex-direction:column}.inline-actions button{width:100%;margin-top:0!important}.editor-form .form-section{padding:15px}.form-section label{font-size:14px}}


.record-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:12px;overflow:hidden}
.record-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid var(--line)}
.record-row:nth-last-child(-n+2){border-bottom:0}
.record-row span{color:var(--muted);font-size:.84rem}
.record-row strong{text-align:right;color:var(--ink);font-size:.96rem;line-height:1.4}
.record-row-wide{grid-column:1/-1}
.section-edit{margin:0 0 14px auto;display:block}
.editor-form[hidden]{display:none!important}
@media(max-width:700px){.record-view{grid-template-columns:1fr}.record-row,.record-row:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.record-row:last-child{border-bottom:0}.record-row-wide{grid-column:auto}}
.single-date-picker{position:relative;max-width:260px}
.compact-date-trigger{min-height:46px;padding:8px 12px}
.single-date-popover{width:min(330px,calc(100vw - 32px))}
.single-date-popover .calendar-months{grid-template-columns:1fr}
.compact-biometric-grid{align-items:end}
.compact-editor{border-top:1px solid var(--line);padding-top:14px;margin-top:8px}
.biometric-history p{display:grid;grid-template-columns:minmax(150px,1fr) repeat(2,minmax(170px,1fr));gap:12px;align-items:center}
.biometric-history p span{color:var(--muted);font-size:.9rem}
@media(max-width:700px){.biometric-history p{grid-template-columns:1fr;gap:4px}}
.biometric-history p{grid-template-columns:minmax(140px,.9fr) repeat(3,minmax(150px,1fr))}

.record-view{grid-template-columns:1fr}
.record-row,.record-row:nth-last-child(-n+2){justify-content:flex-start;align-items:baseline;gap:8px;border-bottom:1px solid var(--line);padding:10px 14px}
.record-row:last-child{border-bottom:0}
.record-row span{min-width:210px}
.record-row span::after{content:':' }
.record-row strong{text-align:left}
@media(max-width:700px){.record-row{display:block}.record-row span{display:block;min-width:0;margin-bottom:3px}}

.record-view{grid-template-columns:repeat(2,minmax(0,1fr));border:0;border-radius:0;background:transparent;gap:14px 28px;overflow:visible}
.record-row,.record-row:nth-last-child(-n+2),.record-row:last-child{display:block;border:0;padding:2px 0}
.record-row span{display:block;min-width:0;margin-bottom:4px;color:#40596b;font-size:.86rem;font-weight:600}
.record-row span::after{content:':' }
.record-row strong{display:block;text-align:left;font-size:1rem}
.record-row-wide{grid-column:1/-1}
.biometric-question{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.biometric-question>div{display:flex;gap:8px}
.biometric-question button.selected{background:var(--blue);color:#fff;border-color:var(--blue)}
@media(max-width:700px){.record-view{grid-template-columns:1fr}.record-row-wide{grid-column:auto}.biometric-question{align-items:flex-start;flex-direction:column}}


.route-record-view{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 12px;max-width:900px}
.route-record-view .record-row{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:baseline;gap:10px;padding:5px 0}
.route-record-view .record-row span{margin:0;color:#536b7b;font-size:.82rem}
.route-record-view .record-row span::after{content:':' }
.route-record-view .record-row strong{font-size:.98rem;font-weight:700;text-align:left}
.section-edit{margin:2px 0 4px;padding:8px 13px}
.compact-editor{border:1px solid #bed3e3;border-left:4px solid var(--booking-blue);border-radius:4px;background:#f7fbfe;padding:18px 20px;margin:14px 0 4px}
.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:12px;margin-bottom:3px;border-bottom:1px solid #dce8f1}
.editor-heading>div{display:grid;gap:2px}.editor-heading strong{color:var(--booking-navy);font-size:1rem}.editor-heading span{color:var(--muted);font-size:.82rem}
button.plain-close{flex:0 0 auto;background:transparent;color:var(--booking-blue);box-shadow:none;padding:4px 0;font-size:.82rem}
button.plain-close:hover{background:transparent;text-decoration:underline}
.editor-actions{display:flex;justify-content:flex-end;padding-top:9px}.editor-actions button{margin:0!important}
.subsection-head{border-top:1px solid #dce8f1;margin-top:24px;padding-top:20px}.subsection-head h4{margin:0 0 2px;color:var(--booking-navy)}.subsection-head p{margin:0;color:var(--muted);font-size:.84rem}
.biometric-history{margin:12px 0 8px}.biometric-history p{display:grid;grid-template-columns:minmax(140px,.8fr) repeat(3,minmax(150px,1fr));gap:16px;align-items:baseline;margin:0;padding:9px 0;border:0;border-bottom:1px solid #e1e9ef;border-radius:0}.biometric-history p:last-child{border-bottom:0}.biometric-history p span{color:var(--muted);font-size:.88rem}.biometric-history .empty-inline{display:block;color:var(--muted);padding:8px 0}
.biometric-question{margin-top:8px;padding:14px 0 4px;border-top:1px solid #dce8f1}.biometric-question>div{display:flex;gap:6px}.choice-button{min-width:74px;background:#fff;color:var(--booking-blue);box-shadow:inset 0 0 0 1px var(--booking-blue);padding:9px 14px}.choice-button.selected{background:var(--booking-blue);color:#fff}.answer-note{margin:10px 0 0;padding:10px 12px;background:var(--booking-sky);color:var(--booking-navy);border-left:3px solid var(--booking-blue)}
.finance-summary{display:flex;flex-wrap:wrap;gap:0;margin:4px 0 16px;padding-bottom:12px;border-bottom:1px solid #dce8f1}.finance-summary span{min-width:150px;flex:1;background:transparent;border:0;border-radius:0;padding:6px 14px 6px 0}.finance-summary span+span{padding-left:14px;border-left:1px solid #dce8f1}.finance-summary strong{font-size:1.02rem}.detail-group-body>.compact-list p{border:0;border-bottom:1px solid #e1e9ef;border-radius:0;padding:10px 0}.detail-group-body>.compact-list p:last-child{border-bottom:0}
@media(max-width:700px){.route-record-view .record-row{grid-template-columns:1fr;gap:1px;padding:7px 0}.compact-editor{padding:15px 14px}.editor-heading{gap:10px}.biometric-history p{grid-template-columns:1fr;gap:3px}.finance-summary{display:grid;grid-template-columns:1fr 1fr}.finance-summary span,.finance-summary span+span{padding:7px 8px 7px 0;border-left:0}.finance-summary span:nth-child(even){padding-left:12px;border-left:1px solid #dce8f1}}


.participant-card{border:0;border-top:1px solid var(--booking-line);border-radius:0;padding:18px 0}
.participant-card:first-child{border-top:0;padding-top:2px}
.participant-title{align-items:center;margin-bottom:14px}
.participant-title>div>strong{font-size:1.35rem;line-height:1.15;color:var(--booking-navy);font-weight:800}
.participant-title>div>small{font-size:.78rem;font-weight:700}
.participant-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;margin:0 0 12px}
.participant-facts span{display:block;background:transparent;border-radius:0;padding:0;color:var(--ink);font-size:1rem;font-weight:700}
.participant-facts small{display:block;margin-bottom:4px;color:#40596b;font-size:.86rem;font-weight:600}
.participant-editor{margin-top:12px;padding:18px;background:#f7fafc;border:1px solid var(--booking-line);border-radius:4px}
.participant-editor .editor-actions{display:flex;align-items:center;gap:10px;margin-top:12px}
.participant-editor .editor-actions button{margin-top:0!important}
.participant-form>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.participant-facts{grid-template-columns:1fr}.participant-editor .editor-actions{align-items:stretch;flex-direction:column}.participant-editor .editor-actions button{width:100%}}
@media(max-width:800px){.participant-form>.form-grid{grid-template-columns:1fr}}
.linked-person{display:flex!important;align-items:center;gap:7px;margin:7px 0 0;color:#40596b;font-size:.82rem;font-weight:650}
.linked-person input{width:17px;height:17px;margin:0;accent-color:var(--booking-blue)}
.inherited-note{margin:0 0 14px;padding:10px 12px;border-left:4px solid var(--booking-blue);background:var(--booking-sky);color:#294456;font-size:.88rem}
.plain-sensitive{align-self:flex-start;margin-top:12px;padding:6px 9px;background:#fff;color:var(--booking-blue);box-shadow:inset 0 0 0 1px var(--booking-blue);font-size:.78rem}
.plain-sensitive:hover{background:var(--booking-sky)}

.compact-date-trigger{min-height:66px;padding:10px 14px}
.compact-date-trigger>span:nth-child(2){display:grid;gap:2px}
.compact-date-trigger small{color:var(--muted);font-weight:600}
.compact-date-trigger strong{font-size:17px;color:var(--booking-navy)}
.participant-form .visa-start{order:90}.participant-form .visa-end{order:91}.participant-form .visa-stay{order:92}.participant-form .visa-entry{order:93}
.result-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;font-size:.9rem;font-weight:850;line-height:1.15}
.result-approved{background:#dff4e7;color:#0b6b34;border:2px solid #65b985}
.result-refused{background:#fde8e7;color:#a71812;border:2px solid #e07670}
.result-pending{background:var(--booking-yellow-soft);color:#6d4a00;border:1px solid #ecd17f}


.result-report{margin-bottom:18px}
.result-report>.result-filters{display:grid;grid-template-columns:1.25fr 1fr 1fr 1.35fr auto;align-items:end;gap:12px;margin-bottom:0;padding:14px}
.result-report>.result-filters label{min-width:0}
.result-report>.result-filters input[readonly]{background:#f8fafb;color:#40596b}
.result-comparison{margin-top:12px}
.comparison-periods{display:flex;justify-content:space-between;gap:12px;padding:0 2px 9px;color:#40596b;font-size:.84rem}
.comparison-periods span{text-align:right}
.annual-trend-panel{margin-top:18px;padding:18px;border:1px solid var(--booking-line);border-radius:7px;background:#fff}.annual-trend-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}.annual-trend-heading h3{margin:0;color:var(--booking-navy);font-size:1.06rem}.annual-trend-heading p{margin:4px 0 0;color:var(--muted);font-size:.84rem}.annual-trend-legend{display:flex;gap:14px;white-space:nowrap;color:#40596b;font-size:.82rem;font-weight:700}.annual-trend-legend span{display:flex;align-items:center;gap:6px}.annual-trend-legend i{display:block;width:25px;border-top:3px solid #006ce4}.annual-trend-legend i.previous{border-top-color:#6b7f8f;border-top-style:dashed}.annual-trend-chart{overflow-x:auto}.annual-trend-chart svg{display:block;width:100%;min-width:680px;height:auto}.chart-grid line{stroke:#e5edf3;stroke-width:1}.chart-grid text{fill:#607583;font-size:12px}.trend-line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.trend-line.current{stroke:#006ce4}.trend-line.previous{stroke:#6b7f8f;stroke-width:3;stroke-dasharray:9 7}
.result-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.result-stat{padding:14px;border:1px solid var(--booking-line);border-radius:7px;background:#fff}
.result-stat small{display:block;color:#40596b;font-weight:700}
.result-stat strong{display:block;margin:4px 0 2px;color:var(--booking-navy);font-size:1.6rem}
.result-stat span{color:#536d7c;font-size:.78rem;font-weight:650}
@media(max-width:1000px){.result-report>.result-filters{grid-template-columns:1fr 1fr}.result-report>.result-filters button{width:100%}.result-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.result-report>.result-filters{grid-template-columns:1fr;align-items:stretch}.comparison-periods{align-items:flex-start;flex-direction:column}.comparison-periods span{text-align:left}.annual-trend-heading{flex-direction:column}.annual-trend-panel{padding:14px}.annual-trend-chart{margin-right:-14px}}


.primary-nav{display:flex;gap:6px;margin:8px 0 22px;padding:5px;border:1px solid var(--booking-line);border-radius:8px;background:#fff;width:max-content}.primary-nav button,.report-tabs button{min-height:44px;background:transparent;color:var(--booking-navy);box-shadow:none;border:0;padding:10px 22px}.primary-nav button.active,.report-tabs button.active{background:var(--booking-blue);color:#fff}.reports-view,#operations-view{width:100%;max-width:none;margin:0}.workbench,.report-panel{width:100%}.report-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:8px 0 14px}.report-heading h2{margin:0}.report-heading p:last-child{margin:5px 0 0;color:var(--muted)}.report-tabs{display:flex;gap:4px;margin-bottom:16px;border-bottom:1px solid var(--booking-line)}.report-tabs button{border-radius:5px 5px 0 0}.report-panel{padding:18px;border:1px solid var(--booking-line);border-radius:7px;background:#fff}.completed-search{margin:0 0 18px;padding:16px;border:1px solid var(--booking-line);border-left:4px solid var(--booking-blue);border-radius:5px;background:#f7fbfe}.completed-search>label{display:block;margin-bottom:7px;color:var(--booking-navy);font-weight:800}.completed-search>div{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:8px}.completed-search p{margin:7px 0 0;font-size:.8rem}.report-breakdowns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.report-breakdowns section{padding:16px;border:1px solid var(--booking-line);border-radius:6px}.report-breakdowns h3{margin:0 0 10px;color:var(--booking-navy);font-size:1rem}.report-breakdowns p{display:flex;justify-content:space-between;gap:14px;margin:0;padding:8px 0;border-bottom:1px solid #e5edf3}.report-breakdowns p:last-child{border-bottom:0}.report-notice{display:grid;gap:3px;margin-bottom:16px;padding:13px 15px;border-left:4px solid var(--booking-yellow);background:var(--booking-yellow-soft)}.report-notice span{color:#5a4a1d;font-size:.86rem}#income-report-panel .result-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}#income-report-panel .report-breakdowns{grid-template-columns:1fr}.search-result .case-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.country-picker{display:grid;grid-template-columns:320px 260px;gap:14px;align-items:end;width:max-content;max-width:100%;margin:0 0 22px;padding:13px;border:1px solid var(--booking-line);border-radius:6px;background:#f7fbfe}.country-picker label{margin:0;font-size:.82rem}.country-picker input{height:44px}.selected-country{min-height:44px;display:flex;align-items:center;gap:10px}.selected-country-flag{font-size:2rem;line-height:1}.selected-country strong,.selected-country small{display:block}.selected-country strong{font-size:1rem}.selected-country small{color:var(--muted);margin-top:2px;font-size:.78rem}
@media(max-width:900px){.report-breakdowns{grid-template-columns:1fr 1fr}#income-report-panel .result-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.primary-nav{position:sticky;top:0;z-index:10;width:100%;display:grid;grid-template-columns:1fr 1fr}.primary-nav button{padding:9px 12px}.report-tabs{display:grid;grid-template-columns:1fr 1fr}.completed-search>div{grid-template-columns:1fr}.completed-search>button{width:100%}.report-panel{padding:12px}.report-breakdowns{grid-template-columns:1fr}#income-report-panel .result-stat-grid{grid-template-columns:1fr}.search-result .case-summary{grid-template-columns:1fr}}


.definitions-view{width:100%}.definition-heading{margin-bottom:18px}.definition-heading h2{margin:0;color:var(--booking-navy)}.definition-heading p{margin:5px 0 0;color:var(--muted)}.definition-create{display:grid;grid-template-columns:1.3fr 1.4fr 1fr 1.2fr auto;align-items:end;gap:10px;padding:14px;background:#f3f7fa;border-radius:6px}.definition-create.compact{grid-template-columns:1fr;align-items:stretch;padding:0;background:transparent}.definition-create button{min-height:44px}.definition-list{display:grid;gap:8px;margin-top:16px}.definition-list>p{display:flex;justify-content:space-between;gap:16px;margin:0;padding:10px 0;border-bottom:1px solid var(--booking-line)}.definition-row{display:grid;grid-template-columns:1.3fr 1fr 1fr .8fr .7fr 1fr auto;align-items:end;gap:9px;padding:12px;border:1px solid var(--booking-line);border-radius:6px}.definition-row>div{display:grid;gap:3px}.definition-row>div span{color:var(--muted);font-size:.8rem}.definition-row label{font-size:.78rem}.check-label{display:flex!important;align-items:center;gap:7px;min-height:44px}.check-label input{width:auto}.definition-columns{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px}.definition-columns>section{min-width:0}.definition-columns h3{margin:0 0 12px;color:var(--booking-navy)}
#visa-breakdowns{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.definition-create,.definition-row{grid-template-columns:1fr 1fr}.definition-columns{grid-template-columns:1fr}}
@media(max-width:900px){#visa-breakdowns{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.toolbar{align-items:flex-start}.country-picker{grid-template-columns:1fr;width:100%}.primary-nav button{padding:9px 8px}.definition-create,.definition-row{grid-template-columns:1fr}.definition-row>div{padding-bottom:4px}#visa-breakdowns{grid-template-columns:1fr}}


.navigation-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:8px 0 22px}.navigation-row .primary-nav,.navigation-row .report-tabs{margin:0}.report-tabs{width:max-content;max-width:100%;margin:0 0 16px auto;padding:5px;border:1px solid var(--booking-line);border-radius:8px;background:#fff}.report-tabs button{border-radius:6px}.definition-tabs{display:flex;gap:22px;margin:0 0 14px;padding:0 2px;border-bottom:1px solid var(--booking-line)}.definition-tabs button{min-height:38px;padding:8px 0;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:#1b567b;box-shadow:none;font-weight:750}.definition-tabs button:hover{color:var(--booking-blue)}.definition-tabs button.active{color:var(--booking-blue);border-bottom-color:var(--booking-blue);background:transparent}.consulate-workspace{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(0,1.15fr);align-items:start;gap:22px}.consulate-editor,.consulate-results{min-width:0}.country-picker{grid-template-columns:minmax(180px,1fr) minmax(150px,.8fr);gap:12px;width:100%;max-width:none;margin:0;padding:13px}.consulate-create-block{margin-top:14px;padding:14px;border:1px solid var(--booking-line);border-radius:6px;background:#fff}.consulate-create-block h3,.consulate-results h3{margin:0 0 10px;color:var(--booking-navy);font-size:1rem}.definition-create.compact{grid-template-columns:140px minmax(0,1fr);align-items:end;gap:8px;padding:0;border:0;background:transparent}.definition-create.compact label{margin:0;font-size:.78rem}.definition-create.compact .wide{grid-column:1/-1}.definition-create.compact button{grid-column:1/-1;justify-self:end;width:auto;min-height:38px;padding:8px 13px}.definition-list{gap:0;margin-top:8px;border:1px solid var(--booking-line);border-radius:6px;padding:0 12px;overflow:hidden}.definition-list>p{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,160px);align-items:center;padding:11px 0}.definition-list>p span{min-width:0;overflow-wrap:anywhere}.definition-list>p:last-child{border-bottom:0}.consulate-results .definition-list{margin-top:0}
@media(max-width:900px){.definition-columns{grid-template-columns:1fr}.definition-create.compact{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:900px){.navigation-row{align-items:stretch;flex-direction:column;gap:10px}.navigation-row .report-tabs{margin-left:0}.consulate-workspace{grid-template-columns:1fr}}
@media(max-width:640px){.report-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%;margin-left:0}.report-tabs button{padding:9px 8px}.definition-tabs{gap:16px;overflow-x:auto}.definition-tabs button{white-space:nowrap}.country-picker{grid-template-columns:1fr}.definition-create.compact{grid-template-columns:1fr}.definition-list>p{grid-template-columns:1fr}.definition-create.compact button{justify-self:start}}


.header-actions{display:flex;align-items:center;gap:9px}.settings-button{display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--booking-navy);box-shadow:inset 0 0 0 1px #8ba7bb;padding:9px 13px}.settings-button:hover,.settings-button.active{background:var(--booking-sky);color:var(--booking-blue)}
.staff-card{display:grid;grid-template-columns:32px minmax(0,1fr) 300px;align-items:center;gap:14px;padding:15px 4px;border-bottom:1px solid var(--booking-line);text-align:left;transition:background .15s ease,opacity .15s ease}.staff-card:last-child{border-bottom:0}.staff-card.dragging{opacity:.45;background:var(--booking-sky)}.staff-drag-handle{display:grid;place-items:center;width:30px;height:38px;padding:0;border:0;background:transparent;color:#667085;box-shadow:none;cursor:grab;font-size:24px;line-height:1;touch-action:none}.staff-drag-handle:hover,.staff-drag-handle:focus-visible{background:var(--booking-sky);color:var(--booking-navy)}.staff-drag-handle:active{cursor:grabbing}.staff-card>.staff-summary{grid-column:2;min-width:0}.staff-card>.staff-actions{grid-column:3;min-width:0}.staff-summary{display:grid!important;grid-template-columns:minmax(190px,1.4fr) minmax(210px,1.7fr) minmax(130px,1fr) 90px;gap:18px;align-items:center;justify-items:start;padding:0;text-align:left}.staff-summary>strong{font-size:1.12rem;color:var(--booking-navy)}.staff-summary>span{display:grid!important;justify-items:start;gap:2px;color:var(--ink)!important;font-size:.9rem!important;text-align:left}.staff-summary small{font-size:.72rem;color:var(--muted);font-weight:700}.staff-edit{align-self:center;padding:5px 7px;background:transparent;color:var(--booking-blue);box-shadow:none}.staff-edit:hover{background:var(--booking-sky)}#staff-dialog{width:min(680px,calc(100% - 32px))}#staff-update-form{padding:0}.staff-active-field{align-self:end;display:flex;align-items:center;gap:8px;min-height:43px}.staff-active-field input{width:auto}
.definition-list>p{grid-template-columns:minmax(0,1fr) minmax(110px,170px) auto;gap:12px}.definition-list>p span small{display:block;margin-top:2px;color:var(--muted);font-weight:500}.definition-list>p>b{font-size:.86rem;color:#385b70;overflow-wrap:anywhere}.plain-delete{justify-self:end;width:auto;padding:5px 7px;background:transparent;color:#b42318;box-shadow:none;font-size:.78rem}.plain-delete:hover{background:#fff1f0}.plain-delete.confirming{background:#fff1f0;color:#8f1d14;box-shadow:inset 0 0 0 1px #e8aaa5}
@media(max-width:640px){.header-actions{gap:6px}.settings-button{padding:8px 10px;font-size:.82rem}.staff-card{align-items:start}.definition-list>p{grid-template-columns:1fr auto}.definition-list>p>b{grid-column:1}.plain-delete{grid-column:2;grid-row:1/-1}}


.heading-with-action{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.heading-with-action>button{width:auto;min-height:38px;padding:8px 13px}
.staff-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;text-align:left}.staff-edit,.staff-password,.staff-archive-action,.staff-restore,.staff-delete{width:auto;padding:5px 7px;border:0;background:transparent;color:var(--booking-blue);box-shadow:none;font-size:.84rem;font-weight:750}.staff-edit:hover,.staff-password:hover,.staff-archive-action:hover,.staff-restore:hover{background:transparent;text-decoration:underline}.staff-delete{color:#b42318}.staff-delete.confirming{background:#fff1f0}.staff-card.archived{opacity:.82}.staff-archive{margin-top:18px;padding-top:12px;border-top:1px solid var(--booking-line)}.staff-archive>summary{cursor:pointer;color:var(--booking-blue);font-weight:800}.staff-archive .definition-list{margin-top:10px}
#staff-password-dialog,#consulate-dialog,#own-password-dialog{width:min(640px,calc(100% - 32px))}.dialog-head+label strong{display:block;margin-top:5px;color:var(--booking-navy)}
#consulate-list>p{cursor:pointer;transition:background .15s ease}#consulate-list>p:hover{background:#f5faff}.consulate-delete{cursor:pointer}
.catalog-summary{margin-top:22px;padding-top:18px;border-top:1px solid var(--booking-line)}.catalog-summary h3{margin:0;color:var(--booking-navy);font-size:1rem}.catalog-summary>div:first-child>p{margin:4px 0 12px;color:var(--muted);font-size:.84rem}
.country-catalog-list{display:grid;border:1px solid var(--booking-line);border-radius:6px;overflow:hidden}.country-catalog-row{display:grid;grid-template-columns:minmax(180px,1fr) 130px minmax(220px,1fr) auto;align-items:center;gap:18px;width:100%;min-height:66px;padding:12px 14px;border:0;border-bottom:1px solid var(--booking-line);border-radius:0;background:#fff;color:var(--ink);box-shadow:none;text-align:left}.country-catalog-row:last-child{border-bottom:0}.country-catalog-row:hover{background:#f5faff}.country-catalog-row span{display:grid;gap:2px}.country-catalog-row small{color:var(--muted);font-size:.72rem}.country-catalog-name{display:flex!important;align-items:center;gap:10px}.country-catalog-name b{font-size:1.5rem}.country-catalog-row>span:last-child{display:block;color:var(--booking-blue);font-size:1.35rem}
@media(max-width:1000px){.staff-summary{grid-template-columns:1fr 1.3fr}.staff-card{grid-template-columns:32px minmax(0,1fr) 260px;align-items:start}}
@media(max-width:700px){.heading-with-action{align-items:stretch;flex-direction:column}.heading-with-action>button{align-self:flex-start}.staff-card{grid-template-columns:32px minmax(0,1fr)}.staff-summary{grid-template-columns:1fr;gap:9px}.staff-card>.staff-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}.country-catalog-row{grid-template-columns:1fr auto;gap:8px 14px}.country-catalog-row>span:nth-child(2),.country-catalog-row>span:nth-child(3){grid-column:1}.country-catalog-row>span:last-child{grid-column:2;grid-row:1/-1;align-self:center}}
.case{position:relative}.web-lead-star{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fde8e7;color:#c5221f;font-size:16px;font-weight:900;box-shadow:0 0 0 2px #fff}
.web-lead-star{width:auto;min-width:25px;height:25px;padding:0 8px;border-radius:13px;font-size:12px;line-height:1;white-space:nowrap}


#new-case{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:11px 24px;background:#0874df;color:#fff;border:6px solid var(--booking-yellow);border-radius:11px;box-shadow:0 7px 15px #8b65002e;font-size:1.05rem;font-weight:800}
#new-case::before{content:'+';display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#0874df;font-size:20px;line-height:1}
#new-case:hover{background:#0067c8;color:#fff;border-color:#f2ad00;box-shadow:0 8px 18px #8b65003b}
.workflow-tab{--stage-color:#315cc9;position:relative;border-top:5px solid var(--stage-color)!important;background:color-mix(in srgb,var(--stage-color) 6%,white);transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.workflow-tab span{font-weight:800;color:var(--stage-color)}
.workflow-tab strong{color:var(--stage-color)}
.workflow-label{display:flex;align-items:flex-start;gap:9px;line-height:1.2}
.workflow-label>svg{flex:0 0 23px;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.workflow-label>span{padding-top:2px}
.workflow-tab:hover{background:color-mix(in srgb,var(--stage-color) 12%,white);transform:translateY(-1px)}
.workflow-tab.active{background:color-mix(in srgb,var(--stage-color) 16%,white);border-color:var(--stage-color)!important;box-shadow:inset 0 0 0 2px var(--stage-color)}
.workflow-tab.new{--stage-color:#e53935}
.workflow-tab.conversation{--stage-color:#ef6c00}
.workflow-tab.preparation{--stage-color:#ffb000}
.workflow-tab.appointment{--stage-color:#00a88f}
.workflow-tab.submitted{--stage-color:#1769e0}
.workflow-tab.completed{--stage-color:#35a845}
@media(max-width:640px){#new-case{min-height:44px;padding:10px 16px;font-size:.92rem}}


.workflow-tab{background:#fff;border:1px solid #9eb9cd;border-top:5px solid var(--stage-color)!important;border-radius:9px;box-shadow:0 3px 9px rgba(0,53,98,.1);padding:15px 14px;min-height:96px}
.workflow-tab:hover{background:#fff;border-color:var(--stage-color);box-shadow:0 5px 13px rgba(0,53,98,.16);transform:translateY(-2px)}
.workflow-tab.active{background:#fff;border-color:var(--stage-color)!important;box-shadow:0 4px 12px rgba(0,53,98,.14),inset 0 0 0 2px var(--stage-color)}
.workflow-tab span,.workflow-tab strong{color:var(--booking-navy)}
.workflow-label>svg{flex-basis:35px;width:35px;height:35px;stroke:var(--stage-color);stroke-width:2}
.workflow-label>span{padding-top:6px}


@media(min-width:981px){.case:not(.search-result){grid-template-columns:76px minmax(285px,1fr) 410px 190px}.case:not(.search-result) .case-summary{grid-template-columns:105px 105px 176px}.case:not(.search-result)>.badge{width:190px;text-align:center;justify-self:stretch}}
.case-finance{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.case-finance>span{display:grid;gap:2px;min-width:0}.case-finance>span+span{padding-left:10px;border-left:1px solid var(--booking-line)}
.operations-side>a[data-area="accounts"]{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid var(--booking-navy);background:#fff;color:var(--booking-navy);font-weight:750;text-decoration:none}
.accounts-view{display:grid;gap:18px}.account-search{display:grid;gap:6px;min-width:min(280px,100%)}.accounts-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.account-list{display:grid;gap:8px;width:100%}.account-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(240px,1fr) minmax(220px,.9fr) auto;gap:22px;align-items:center;width:100%;min-height:74px;text-align:left;padding:14px 18px;border:1px solid var(--booking-line);background:#fff;color:var(--booking-navy)}.account-row:hover,.account-row.active{border-color:var(--booking-blue);box-shadow:0 0 0 2px #0071c215}.account-row>span{display:grid;gap:3px}.account-row small,.section-help{color:var(--muted)}.account-row-heading strong{font-size:1rem}.account-row>b{color:var(--booking-blue)}.account-currency-lines{gap:5px!important}.account-balance{display:flex!important;justify-content:space-between;gap:10px}.account-balance.due strong{color:#a83232}.account-balance.advance strong{color:#176b4d}.account-balance.closed strong{color:var(--booking-navy)}.account-detail{background:#fff;border:1px solid var(--booking-line);padding:22px;display:grid;gap:24px}.account-detail section{border-top:1px solid var(--booking-line);padding-top:20px}.account-detail h2,.account-detail h3,.account-detail p{margin-top:0}.account-detail-head{display:grid;grid-template-columns:minmax(240px,1fr) 290px;justify-content:space-between;gap:22px;align-items:start}.account-detail-contact{display:grid;gap:3px;color:var(--muted);font-size:.86rem}.account-detail-rates{justify-self:end;width:290px}.account-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.account-summary-grid article{border:1px solid var(--booking-line);padding:14px;display:grid;gap:7px}.account-summary-grid article>small{color:var(--muted)}.account-summary-grid article>strong{font-size:1.05rem}.account-summary-grid article>span{font-size:1.2rem;font-weight:800}.account-summary-grid article>span.due{color:#a83232}.account-summary-grid article>span.advance{color:#176b4d}.account-summary-grid dl{margin:2px 0 0;display:grid;gap:5px}.account-summary-grid dl div{display:flex;justify-content:space-between;gap:10px}.account-summary-grid dt{color:var(--muted)}.account-summary-grid dd{margin:0;font-weight:700}
@media(max-width:1050px){.account-row{grid-template-columns:1fr 1fr}.account-row>b{justify-self:end}}
@media(max-width:860px){.account-detail-head{grid-template-columns:1fr}.account-detail-rates{justify-self:stretch;max-width:none}}
@media(max-width:640px){.account-row{grid-template-columns:1fr;padding:13px}.account-row>b{justify-self:start}.account-detail{padding:16px}.account-summary-grid{grid-template-columns:1fr}}


.count,.count:nth-child(3),.count:nth-child(4){background:#eaf3ff;color:var(--ink);border:1px solid #c7d9ee;border-bottom:4px solid var(--booking-navy);box-shadow:0 2px 6px rgba(0,53,98,.06)}
.count strong{color:var(--ink)}


.operations-trend{margin:0 0 18px;padding:18px 20px 12px;border:1px solid #c7d9ee;border-radius:7px;background:#eaf3ff}.operations-trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.operations-trend-head .eyebrow{margin-bottom:4px}.operations-trend-head h2{margin:0;color:var(--ink);font-size:1.25rem}.operations-trend-head p:not(.eyebrow){margin:3px 0 0;color:var(--muted);font-size:.82rem}.operations-trend-total{min-width:130px;padding:8px 12px;border-left:3px solid var(--booking-blue)}.operations-trend-total small,.operations-trend-total strong{display:block}.operations-trend-total small{color:var(--muted);font-size:.75rem}.operations-trend-total strong{margin-top:2px;color:var(--ink);font-size:1.05rem}.operations-trend-chart{margin-top:4px;overflow-x:auto}.operations-trend-chart svg{display:block;width:100%;min-width:720px;height:auto}.operations-chart-grid line{stroke:#cbdced;stroke-width:1}.operations-chart-grid text{fill:#5d7180;font-size:12px}.trend-recent-area{fill:#d9eaff}.operations-trend-area{fill:#0071c21c}.operations-trend-line{fill:none;stroke:#0071c2;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.operations-trend-chart circle{fill:#fff;stroke:#0071c2;stroke-width:3}.operations-trend-chart g.recent circle{fill:#0071c2;stroke:#fff}.operations-trend-chart g text{fill:#1d4059;font-size:12px;font-weight:800}


.workflow-tab{min-height:66px;padding:7px 10px;gap:2px}.workflow-label{gap:7px;font-size:.78rem;line-height:1.1}.workflow-label>svg{flex-basis:24px;width:24px;height:24px;stroke-width:2}.workflow-label>span{padding-top:1px}.workflow-tab strong{font-size:18px;line-height:1}


.case>.badge.new{background:#eaf0ff;color:#1769e0}.case>.badge.conversation{background:#f3eaff;color:#7441bf}.case>.badge.preparation{background:#fff3d6;color:#9a6500}.case>.badge.appointment{background:#ddf7f2;color:#007d6b}.case>.badge.submitted{background:#e4efff;color:#1558b0}.case>.badge.completed{background:#e4f5e7;color:#287b33}
@media(max-width:640px){.operations-trend{padding:15px 14px 8px}.operations-trend-head{flex-direction:column;gap:8px}.operations-trend-total{padding:4px 10px}.operations-trend-chart{margin-right:-14px}}


.operations-trend{background:#f8fbff;padding-bottom:10px}.trend-period-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}.trend-period-tabs button{min-height:30px;padding:5px 10px;border:1px solid transparent;border-radius:4px;background:transparent;color:#486479;font-size:.74rem;box-shadow:none}.trend-period-tabs button:hover{background:#edf5fd}.trend-period-tabs button.active{border-color:#9fc3e5;background:#e4f1ff;color:var(--booking-blue)}.operations-trend-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:8px 0 2px;border-top:1px solid #d7e4f1;border-bottom:1px solid #d7e4f1}.operations-trend-metrics>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:6px 10px;border-left:1px solid #d7e4f1}.operations-trend-metrics>span:first-child{border-left:0}.operations-trend-metrics small{color:var(--muted);font-size:.68rem}.operations-trend-metrics strong{color:var(--ink);font-size:.95rem}.operations-trend-area{fill:#0071c20a}.operations-trend-line{stroke-width:2.5}.trend-recent-area{fill:#e8f2ff}.operations-trend-chart circle{stroke-width:2.5}.operations-trend-chart .trend-point:not(.recent) text{display:none}.operations-trend-chart svg{min-width:900px}
@media(max-width:720px){.operations-trend-metrics{grid-template-columns:repeat(2,1fr)}.operations-trend-metrics>span{border-bottom:1px solid #d7e4f1}.operations-trend-metrics>span:nth-child(odd){border-left:0}}


.toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(250px,330px) auto;align-items:center;gap:28px;margin-bottom:18px}.toolbar .counts{display:grid;grid-template-columns:1fr;margin:0;padding:0;gap:2px}.toolbar .count,.toolbar .count:nth-child(3),.toolbar .count:nth-child(4){display:flex;align-items:baseline;gap:9px;min-height:0;margin:0;padding:1px 0;border:0;background:transparent;box-shadow:none;color:var(--ink)}.toolbar .count strong{display:inline;min-width:24px;color:var(--booking-blue);font-size:.92rem;line-height:1.2;text-align:right}.toolbar .count span{color:#536b7b;font-size:.78rem;line-height:1.25}.toolbar #new-case{justify-self:end}
@media(max-width:780px){.toolbar{grid-template-columns:1fr auto;align-items:start;gap:14px}.toolbar .counts{grid-column:1/-1;grid-row:2}.toolbar #new-case{grid-column:2;grid-row:1}}


.toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px}.operations-overview{display:grid;grid-template-columns:minmax(0,17fr) minmax(170px,3fr);align-items:stretch;gap:14px;margin-bottom:18px}.operations-overview>.operations-trend{min-width:0;margin:0}.operations-overview>.counts{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,1fr);gap:0;margin:0;border:1px solid #c7d9ee;border-radius:7px;background:#fff;overflow:hidden}.operations-overview .count,.operations-overview .count:nth-child(3),.operations-overview .count:nth-child(4){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:0;margin:0;padding:12px;border:0;border-bottom:1px solid #d7e4f1;border-radius:0;background:#fff;box-shadow:none;color:var(--ink)}.operations-overview .count:last-child{border-bottom:0}.operations-overview .count span{grid-column:1;grid-row:1;color:var(--ink);font-size:.9rem;font-weight:750;line-height:1.18;white-space:normal;overflow-wrap:anywhere}.operations-overview .count strong{grid-column:2;grid-row:1;display:block;color:var(--booking-blue);font-size:1.35rem;line-height:1}.operations-overview .operations-trend-chart svg{min-width:760px}
@media(max-width:900px){.operations-overview{grid-template-columns:1fr}.operations-overview>.counts{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.operations-overview .count:nth-child(2){border-right:0}.operations-overview .count{border-right:1px solid #d7e4f1}}

.operations-overview>.operations-trend{background:#fff}


.operations-side{display:grid;grid-template-rows:auto auto;align-content:start;gap:10px;min-width:0}.operations-side #new-case{width:100%;min-height:44px;justify-self:stretch}.operations-side>.counts{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,auto);gap:0;margin:0;border:1px solid #c7d9ee;border-radius:7px;background:#fff;overflow:hidden}.operations-side .count,.operations-side .count:nth-child(3),.operations-side .count:nth-child(4){padding:9px 11px;min-height:55px;background:#fff}.operations-side .count span{font-size:.86rem}.operations-side .count strong{font-size:1.25rem}
@media(max-width:900px){.operations-side{grid-template-columns:auto 1fr;grid-template-rows:auto;align-items:start}.operations-side #new-case{width:auto}.operations-side>.counts{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}}


.operations-overview{grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px}.operations-overview>.operations-trend{grid-column:span 5}.operations-overview>.operations-side{grid-column:span 1}
@media(max-width:900px){.operations-overview{grid-template-columns:1fr}.operations-overview>.operations-trend,.operations-overview>.operations-side{grid-column:auto}}


.operations-overview>.operations-side{grid-template-rows:1fr auto;height:100%}.operations-overview>.operations-side>#new-case{align-self:center}.operations-overview>.operations-side>.counts{align-self:end;width:100%}
@media(max-width:900px){.operations-overview>.operations-side{grid-template-rows:auto}.operations-overview>.operations-side>#new-case{align-self:start}}


header{position:relative}.header-context{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:2px;text-align:center;white-space:nowrap}.header-context p{margin:0;color:var(--muted);font-size:.78rem}.header-context strong{color:var(--booking-blue);font-size:.7rem;letter-spacing:.14em}
@media(max-width:800px){.header-context{display:none}}


.operations-overview>.operations-side{grid-template-rows:auto auto 1fr;gap:7px}.operations-primary-nav{display:grid;grid-template-columns:1fr;gap:7px;width:100%;margin:0;padding:0;border:0;background:transparent}.operations-primary-nav button{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--booking-blue);border-radius:7px;background:#fff;color:var(--booking-navy)}.operations-primary-nav button.active{background:var(--booking-blue);color:#fff}.operations-overview>.operations-side>#new-case{align-self:auto;min-height:40px}.operations-side>.counts{align-self:end}.operations-side .count,.operations-side .count:nth-child(3),.operations-side .count:nth-child(4){min-height:42px;padding:6px 9px}.operations-side .count span{font-size:.8rem}.operations-side .count strong{font-size:1.12rem}
@media(max-width:900px){.operations-primary-nav{grid-template-columns:1fr 1fr}.operations-overview>.operations-side{grid-template-rows:auto}.operations-side>.counts{align-self:start}}


#case-dialog{width:min(960px,calc(100% - 32px));height:94dvh;max-height:94dvh;margin:2dvh auto auto;overflow:auto}
@media(max-width:640px){#case-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0}}


#navigation-row{justify-content:flex-end}#navigation-row .report-tabs{margin-left:auto}


html{scrollbar-gutter:stable}.operations-overview{grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px}.operations-overview>.operations-trend{grid-column:span 4}.operations-overview>.operations-side{grid-column:span 1;grid-template-rows:auto 1fr;gap:8px;height:100%}.operations-side>#operations-reports-button{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--booking-blue);border-radius:7px;background:#fff;color:var(--booking-navy);box-shadow:none}.operations-side>#operations-reports-button:hover{background:var(--booking-sky)}.operations-side>.counts{align-self:end}
.workflow-action-row{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;margin:0 0 18px}.workflow-action-row>.workflow-tabs{grid-column:span 4;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;margin:0;padding:0;overflow:visible}.workflow-action-row>#new-case{grid-column:span 1;width:100%;min-height:66px;height:66px;align-self:stretch;justify-content:center;padding:8px 12px;border-width:5px;font-size:.94rem}.workflow-tab.inquiry{--stage-color:#e53935}.workflow-action-row .workflow-tab{background:color-mix(in srgb,var(--stage-color) 8%,#fff)}.workflow-action-row .workflow-tab:hover{background:color-mix(in srgb,var(--stage-color) 13%,#fff)}.workflow-action-row .workflow-tab.active{background:color-mix(in srgb,var(--stage-color) 17%,#fff)}.case>.badge.inquiry{background:#fff0f0;color:#b62825}
@media(max-width:900px){.operations-overview{grid-template-columns:1fr}.operations-overview>.operations-trend,.operations-overview>.operations-side{grid-column:auto}.operations-overview>.operations-side{grid-template-columns:minmax(150px,.35fr) 1fr;grid-template-rows:auto;align-items:start}.operations-side>.counts{align-self:start;grid-template-columns:repeat(2,1fr)}.workflow-action-row{grid-template-columns:1fr}.workflow-action-row>.workflow-tabs{grid-column:auto;grid-template-columns:repeat(2,minmax(150px,1fr))}.workflow-action-row>#new-case{grid-column:auto;grid-row:1;width:min(220px,100%);justify-self:end}}
@media(max-width:560px){.operations-overview>.operations-side{grid-template-columns:1fr}.workflow-action-row>.workflow-tabs{grid-template-columns:1fr}.workflow-action-row>#new-case{width:100%;justify-self:stretch}}


.toolbar{min-height:56px;margin:0 0 18px;align-items:flex-end}.toolbar h1{margin:0;line-height:1.08}.navigation-row{min-height:54px;margin:0 0 18px;align-items:center}.reports-view,#visa-report-panel,#income-report-panel{width:100%;min-width:0}.reports-view>.report-panel{margin:0;overflow:hidden}.result-report,.income-search,.income-monthly,.income-results,.income-table-wrap{max-width:100%;min-width:0}


.annual-trend-panel{margin-top:16px;padding:18px 20px 10px;border:1px solid #c7d9ee;border-radius:7px;background:#fff}.annual-trend-heading{gap:18px;margin-bottom:6px}.annual-trend-heading .eyebrow{margin:0 0 4px;color:var(--booking-blue)}.annual-trend-heading h3{margin:0;color:var(--ink);font-size:1.25rem}.annual-trend-heading p:not(.eyebrow){margin:3px 0 0;color:var(--muted);font-size:.82rem}.annual-trend-legend{justify-content:flex-end;flex-wrap:wrap;gap:7px 13px;max-width:58%;white-space:normal}.annual-trend-legend span{font-size:.74rem}.annual-trend-legend i{width:20px;border-top-width:2px}.annual-trend-legend i.country{border-top-style:solid}.annual-trend-chart{margin-top:4px;overflow-x:auto}.annual-trend-chart svg{display:block;width:100%;min-width:900px;height:auto}.annual-trend-chart .trend-line{fill:none;stroke-linecap:round;stroke-linejoin:round}.annual-trend-chart .trend-line.current{stroke:#006ce4;stroke-width:2.8}.annual-trend-chart .trend-line.previous{stroke:#6b7f8f;stroke-width:2;stroke-dasharray:8 7}.annual-trend-chart .trend-line.country{stroke-width:2;opacity:.78}.annual-trend-chart circle{fill:#fff;stroke-width:2}.annual-trend-chart .operations-chart-grid line{stroke:#d7e4f1;stroke-width:1}.annual-trend-chart .operations-chart-grid text{fill:#5d7180;font-size:12px}
@media(max-width:720px){.annual-trend-heading{flex-direction:column}.annual-trend-legend{justify-content:flex-start;max-width:none}.annual-trend-panel{padding:15px 14px 8px}}


.income-search{margin-bottom:16px;padding:16px;border:1px solid var(--booking-line);border-radius:7px;background:#f7fbfe}.income-search-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.income-search-heading h3{margin:0;color:var(--booking-navy);font-size:1rem}.income-search-heading p{margin:4px 0 0;color:var(--muted);font-size:.82rem}.income-search-heading span{padding:5px 9px;border-radius:999px;background:var(--booking-sky);color:var(--booking-blue);font-size:.78rem;font-weight:800;white-space:nowrap}.income-filter-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(135px,.75fr));gap:10px;align-items:end}.income-filter-grid label{margin:0;font-size:.76rem}.income-filter-grid input,.income-filter-grid select{height:42px}.income-filter-actions{display:flex;gap:8px;align-items:center}.income-filter-actions button{width:auto;min-height:42px;padding:9px 14px}.income-results{padding:0!important;overflow:hidden}.income-results-heading{display:flex;justify-content:space-between;gap:18px;padding:16px;border-bottom:1px solid var(--booking-line)}.income-results-heading h3{margin:0!important}.income-results-heading span{color:var(--muted);font-size:.8rem}.income-table-wrap{overflow-x:auto}.income-table{width:100%;border-collapse:collapse;min-width:850px}.income-table th,.income-table td{padding:12px 14px;border-bottom:1px solid #e5edf3;text-align:left;vertical-align:top}.income-table th{color:#40596b;background:#f7fbfe;font-size:.72rem;text-transform:uppercase;letter-spacing:.035em}.income-table td{color:var(--ink);font-size:.84rem}.income-table td:nth-last-child(-n+2){white-space:nowrap;text-align:right}.income-table td strong,.income-table td small{display:block}.income-table td small{margin-top:3px;color:var(--muted)}.income-table tbody tr:last-child td{border-bottom:0}
@media(max-width:1000px){.income-filter-grid{grid-template-columns:1fr 1fr 1fr}.income-query{grid-column:1/-1}}
@media(max-width:640px){.income-search-heading,.income-results-heading{flex-direction:column}.income-filter-grid{grid-template-columns:1fr}.income-query{grid-column:auto}.income-filter-actions button{flex:1}}
.income-monthly{margin-top:16px;border:1px solid var(--booking-line);border-radius:7px;background:#fff;overflow:hidden}.income-monthly .income-results-heading p{margin:4px 0 0;color:var(--muted);font-size:.82rem}.monthly-income-table{min-width:1050px}.monthly-income-table td:not(:first-child),.monthly-income-table th:not(:first-child){text-align:right}.monthly-income-table td:last-child{padding-right:12px}.income-month-detail{width:auto;padding:6px 9px;background:transparent;color:var(--booking-blue);box-shadow:none;white-space:nowrap}.income-month-detail:hover{background:var(--booking-sky)}


.completed-search .completed-period-row{display:grid;grid-template-columns:minmax(170px,.9fr) repeat(2,minmax(145px,.7fr)) auto;gap:8px;margin-bottom:9px}.completed-search .completed-period-row select,.completed-search .completed-period-row input{min-height:43px}.completed-search .completed-period-row>button{margin:0}.report-count{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:6px;padding:0 6px;border-radius:999px;background:#eaf3ff;color:var(--booking-blue);font-size:.74rem;font-weight:900}.report-tabs button.active .report-count{background:#fff;color:var(--booking-blue)}.insurance-report-panel{min-height:310px}.insurance-report-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.insurance-report-heading h2{margin:0;color:var(--booking-navy)}.insurance-report-heading p:not(.eyebrow){margin:5px 0 0;color:var(--muted)}.insurance-report-heading>strong{padding:8px 12px;border-radius:999px;background:#fff1f1;color:#b42318;white-space:nowrap}.insurance-refund-list{display:grid;gap:8px}.insurance-refund-row{display:grid;grid-template-columns:1.15fr .8fr 1.2fr .75fr .7fr auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid var(--booking-line);border-left:4px solid #e53935;border-radius:7px;background:#fff;color:var(--ink);text-decoration:none}.insurance-refund-row:hover{background:#f7fbff;border-color:#9fc3e5}.insurance-refund-row span{min-width:0}.insurance-refund-row small,.insurance-refund-row strong{display:block}.insurance-refund-row small{color:var(--muted);font-size:.7rem}.insurance-refund-row strong{overflow:hidden;text-overflow:ellipsis}.insurance-refund-row>b{color:var(--booking-blue);white-space:nowrap}.operations-side>#operations-reports-button{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800}.reports-view,#visa-report-panel,#income-report-panel,#insurance-report-panel{width:100%;min-width:0}
@media(max-width:900px){.insurance-refund-row{grid-template-columns:1fr 1fr 1fr}.insurance-refund-row>b{justify-self:start}}
@media(max-width:640px){.completed-search .completed-period-row{grid-template-columns:1fr}.insurance-report-heading{flex-direction:column}.insurance-refund-row{grid-template-columns:1fr 1fr}.insurance-refund-row>b{grid-column:1/-1}.report-tabs{grid-template-columns:1fr}}
.operations-trend-chart{position:relative}.trend-tooltip{position:absolute;z-index:8;width:242px;padding:11px 12px;border:1px solid #9fc3e5;border-radius:8px;background:#fff;box-shadow:0 10px 26px #003b6f24;color:var(--ink);pointer-events:none}.trend-tooltip>strong,.trend-tooltip>span{display:block}.trend-tooltip>span{margin:2px 0 7px;color:var(--muted);font-size:.76rem}.trend-tooltip>div{display:grid;gap:3px}.trend-tooltip>div>span{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:7px;font-size:.76rem}.trend-tooltip i{width:8px;height:8px;border-radius:50%}.trend-tooltip b{color:var(--booking-navy)}.operations-trend-chart [data-trend-index]{cursor:help;outline:none}.operations-trend-chart [data-trend-index]:focus{stroke:#ffb000;stroke-width:4}
.insurance-refund-summary{padding:11px 12px;border:1px solid #f0c36d;border-radius:7px;background:#fffaf0}.insurance-refund-summary small,.insurance-refund-summary strong,.insurance-refund-summary span{display:block}.insurance-refund-summary small{color:#74541b;font-size:.7rem;font-weight:800}.insurance-refund-summary strong{color:var(--booking-navy);font-size:.92rem}.insurance-refund-summary p{margin:7px 0;color:var(--muted);font-size:.7rem;line-height:1.45}.insurance-refund-summary p>strong{font-size:.78rem}.insurance-refund-summary>a{display:inline-block;color:var(--booking-blue);font-size:.76rem;font-weight:850;text-decoration:none}.insurance-refund-summary>a:hover{text-decoration:underline}

.report-panel table th,.report-panel table td,.income-table td:nth-last-child(-n+2),.monthly-income-table td:not(:first-child),.monthly-income-table th:not(:first-child){text-align:left}
.operations-side{grid-template-rows:auto minmax(118px,1fr) auto}.operations-side>.counts{gap:5px}.operations-side>.counts .count{min-height:0;padding:6px 9px}.operations-side>.counts .count strong{font-size:1.08rem;line-height:1}.operations-side>.counts .count span{font-size:.7rem;line-height:1.15}.insurance-refund-summary{min-height:118px;padding:12px 13px}.insurance-refund-summary p{margin:8px 0;line-height:1.55}
.insurance-refund-row,.insurance-refund-row span,.insurance-refund-row small,.insurance-refund-row strong,.insurance-refund-row b{text-align:left}.insurance-refund-row{align-items:start}.insurance-refund-row>b{justify-self:start}
.pagination-pages{display:flex;gap:5px}.pagination .pagination-number{min-width:36px;padding:8px 10px;border:1px solid var(--booking-line);background:#fff;color:var(--booking-navy);box-shadow:none}.pagination .pagination-number.active{border-color:var(--booking-blue);background:var(--booking-blue);color:#fff}.pagination-arrow:disabled{opacity:.45;cursor:default}
@media(max-width:640px){.pagination{flex-wrap:wrap}.pagination-pages{order:-1;width:100%;justify-content:center}.pagination-arrow{flex:1}}
.completed-result-tabs{display:flex;gap:5px;margin:0 0 10px}.completed-result-tabs button{min-height:36px;padding:7px 12px;border:1px solid var(--booking-line);background:#fff;color:var(--booking-navy);box-shadow:none}.completed-result-tabs button.active{border-color:var(--booking-blue);background:var(--booking-sky);color:var(--booking-blue)}
@media(max-width:560px){.completed-result-tabs{display:grid;grid-template-columns:1fr}.completed-result-tabs button{width:100%}}
.completed-search{padding-right:18px}.completed-result-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(660px,100%)}.completed-search .completed-period-row{grid-template-columns:170px 145px 145px 110px;width:min(660px,100%)}.completed-search>div:not(.completed-period-row){width:min(660px,100%);grid-template-columns:minmax(260px,1fr) auto auto}
@media(max-width:720px){.completed-result-tabs,.completed-search .completed-period-row,.completed-search>div:not(.completed-period-row){width:100%}.completed-search .completed-period-row{grid-template-columns:1fr 1fr}.completed-search .completed-period-row select{grid-column:1/-1}}
@media(max-width:480px){.completed-result-tabs,.completed-search .completed-period-row,.completed-search>div:not(.completed-period-row){grid-template-columns:1fr}}
.completed-result-tabs button{min-height:40px;font-size:.82rem;font-weight:850}.completed-search .completed-period-row>*{height:42px}.completed-search .completed-period-row>button{min-width:110px;padding:8px 14px}.completed-search>div:not(.completed-period-row) button{min-width:96px;min-height:42px;padding:8px 15px}.completed-search>div:not(.completed-period-row) button:first-of-type{background:var(--booking-blue);color:#fff}.completed-search>div:not(.completed-period-row) .secondary{border:1px solid #9fc3e5;background:#fff;color:var(--booking-blue)}

.completed-search{display:grid;grid-template-columns:minmax(0,4fr) minmax(170px,1fr);column-gap:18px;align-items:start}.completed-search>label{grid-column:1;grid-row:1}.completed-search .completed-result-tabs{grid-column:2;grid-row:1/5;display:grid;grid-template-columns:1fr;width:100%;margin:0;gap:7px}.completed-search .completed-result-tabs button{width:100%;min-height:43px;text-align:left;padding-left:15px}.completed-search .completed-period-row{grid-column:1;grid-row:2}.completed-search>div:not(.completed-period-row){grid-column:1;grid-row:3}.completed-search>p{grid-column:1;grid-row:4}.completed-search .completed-result-tabs button.active{box-shadow:inset 4px 0 0 var(--booking-blue)}
@media(max-width:760px){.completed-search{grid-template-columns:1fr}.completed-search>label,.completed-search .completed-result-tabs,.completed-search .completed-period-row,.completed-search>div:not(.completed-period-row),.completed-search>p{grid-column:1;grid-row:auto}.completed-search .completed-result-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px}.completed-search .completed-result-tabs button{text-align:center;padding-left:10px}.completed-search .completed-result-tabs button.active{box-shadow:inset 0 -3px 0 var(--booking-blue)}}

.completed-search .completed-period-row{grid-template-columns:minmax(210px,1.35fr) minmax(170px,1fr) minmax(170px,1fr);width:min(760px,100%)}.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(400px,1fr) 104px auto;width:min(760px,100%)}#completed-clear{min-width:auto!important;padding:8px 6px!important;border:0!important;background:transparent!important;color:var(--booking-blue)!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px}#completed-clear:hover{background:transparent!important;text-decoration-thickness:2px}
@media(max-width:720px){.completed-search .completed-period-row{grid-template-columns:1fr 1fr}.completed-search .completed-period-row select{grid-column:1/-1}.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,1fr) auto auto}}
@media(max-width:480px){.completed-search .completed-period-row,.completed-search>div:not(.completed-period-row){grid-template-columns:1fr}.completed-search .completed-period-row select{grid-column:auto}#completed-clear{justify-self:start}}

.completed-search .completed-period-row{width:min(760px,100%)}.completed-search>div:not(.completed-period-row){width:100%;grid-template-columns:minmax(0,760px) 104px auto}.completed-search>div:not(.completed-period-row)>input{width:100%}
@media(max-width:1000px){.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,1fr) 104px auto}}
@media(max-width:480px){.completed-search>div:not(.completed-period-row){grid-template-columns:1fr}.completed-search>div:not(.completed-period-row)>input{width:100%}}
#completed-clear{min-width:104px!important;min-height:42px!important;padding:8px 15px!important;border:1px solid #9fc3e5!important;border-radius:6px!important;background:#fff!important;color:var(--booking-blue)!important;text-decoration:none!important;font-weight:800}#completed-clear:hover{background:var(--booking-sky)!important;text-decoration:none!important}
.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,760px) 104px}.completed-query-field{position:relative;display:block}.completed-query-field>input{width:100%;padding-right:42px}.completed-query-field>#completed-clear{position:absolute;top:50%;right:7px;transform:translateY(-50%);display:grid;place-items:center;min-width:30px!important;width:30px;height:30px;min-height:30px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#edf5fd!important;color:var(--booking-blue)!important;font-size:1.15rem;line-height:1;text-decoration:none!important}.completed-query-field>#completed-clear:hover{background:#dcecff!important}.completed-query-field>#completed-clear[hidden]{display:none!important}
@media(max-width:1000px){.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,1fr) 104px}}
@media(max-width:480px){.completed-search>div:not(.completed-period-row){grid-template-columns:1fr}.completed-search>div:not(.completed-period-row)>button{width:100%}}
.completed-search .completed-period-row{width:min(608px,100%)}.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,608px) 104px}
@media(max-width:848px){.completed-search>div:not(.completed-period-row){grid-template-columns:minmax(0,1fr) 104px}}
@media(max-width:480px){.completed-search>div:not(.completed-period-row){grid-template-columns:1fr}}


.operations-overview>.operations-side>#new-case{width:100%;min-height:44px;align-self:start;justify-content:center;padding:8px 12px;border-width:5px;font-size:.94rem}
.workflow-action-row>#operations-reports-button{grid-column:span 1;display:flex;align-items:center;justify-content:center;width:100%;min-height:66px;height:66px;padding:8px 12px;border:1px solid var(--booking-blue);border-radius:7px;background:#fff;color:var(--booking-navy);font-weight:800;text-decoration:none}
.workflow-action-row>#operations-reports-button:hover{background:var(--booking-sky)}
@media(max-width:900px){.workflow-action-row>#operations-reports-button{grid-column:auto;grid-row:1;width:min(220px,100%);justify-self:end}}
@media(max-width:560px){.workflow-action-row>#operations-reports-button{width:100%;justify-self:stretch}}


.operations-overview>.operations-side{grid-template-rows:auto auto 1fr;align-content:start}
.operations-overview>.operations-side>#operations-reports-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--booking-blue);border-radius:7px;background:#fff;color:var(--booking-navy);font-weight:800;text-decoration:none}
.operations-overview>.operations-side>#operations-reports-button:hover{background:var(--booking-sky)}
.workflow-action-row>.counts{grid-column:span 1;display:grid;grid-template-rows:repeat(4,1fr);height:66px;border:1px solid var(--booking-line);border-radius:7px;background:#fff;overflow:hidden}
.workflow-action-row>.counts .count{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:0;padding:1px 8px;border:0;border-bottom:1px solid #e1eaf2;background:#fff;box-shadow:none;color:var(--ink)}
.workflow-action-row>.counts .count:last-child{border-bottom:0}.workflow-action-row>.counts .count span{font-size:.61rem;line-height:1.05}.workflow-action-row>.counts .count strong{font-size:.8rem;line-height:1;color:var(--booking-blue)}
@media(max-width:900px){.workflow-action-row>.counts{grid-column:auto;height:auto;grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.workflow-action-row>.counts .count{min-height:38px}.operations-overview>.operations-side{grid-template-columns:1fr 1fr}.operations-overview>.operations-side>.insurance-refund-summary{grid-column:1/-1}}
@media(max-width:560px){.operations-overview>.operations-side{grid-template-columns:1fr}.operations-overview>.operations-side>.insurance-refund-summary{grid-column:auto}.workflow-action-row>.counts{grid-template-columns:1fr}}

.web-lead-star{display:flex;align-items:center;gap:4px;width:auto;min-width:0;height:auto;padding:0;border-radius:0;background:transparent;color:var(--booking-navy);font-size:12px;font-weight:900;line-height:1;box-shadow:none}.web-lead-star b{color:var(--booking-yellow);font-size:16px;line-height:1;text-shadow:0 1px 0 #fff}
.operations-overview>.operations-side>#new-case,.operations-overview>.operations-side>#operations-reports-button{height:46px;min-height:46px}
.header-actions{gap:18px}.header-actions>#definitions-nav,.header-actions>#logout{min-height:40px;height:40px;padding:8px 14px}

.workflow-action-row>.counts{grid-template-columns:1fr;grid-template-rows:repeat(4,1fr);height:92px}
.workflow-action-row>.counts .count span{font-size:.68rem}.workflow-action-row>.counts .count strong{font-size:.88rem}
.workflow-action-row>.workflow-tabs .workflow-tab{min-height:92px}
@media(max-width:900px){.workflow-action-row>.counts{height:auto;grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.workflow-action-row>.counts{grid-template-columns:1fr}}


.operations-overview>.operations-side{display:flex;flex-direction:column;gap:8px;height:100%}
.operations-overview>.operations-side>.insurance-refund-summary{min-height:0;flex:0 0 auto}
.operations-overview>.operations-side>.counts{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,1fr);gap:0;width:100%;margin-top:auto;border:1px solid var(--booking-line);border-radius:7px;background:#fff;overflow:hidden}
.operations-overview>.operations-side>.counts .count{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:5px 9px;border:0;border-bottom:1px solid #e1eaf2;background:#fff;box-shadow:none}
.operations-overview>.operations-side>.counts .count:last-child{border-bottom:0}.operations-overview>.operations-side>.counts .count span{font-size:.7rem;line-height:1.15}.operations-overview>.operations-side>.counts .count strong{font-size:.92rem;line-height:1;color:var(--booking-blue)}
.workflow-action-row>.workflow-tabs .workflow-tab{min-height:66px}.workflow-action-row{align-items:start}
@media(max-width:900px){.operations-overview>.operations-side{display:grid;grid-template-columns:1fr 1fr;height:auto}.operations-overview>.operations-side>.insurance-refund-summary,.operations-overview>.operations-side>.counts{grid-column:1/-1;margin-top:0}}
@media(max-width:560px){.operations-overview>.operations-side{grid-template-columns:1fr}.operations-overview>.operations-side>.insurance-refund-summary,.operations-overview>.operations-side>.counts{grid-column:auto}}

@media(min-width:901px){.operations-overview>.operations-side{position:relative;padding-bottom:128px}.operations-overview>.operations-side>.counts{position:absolute;left:0;right:0;bottom:-84px;margin:0}.operations-overview>.operations-side>.insurance-refund-summary{max-height:calc(100% - 228px);overflow:auto}}
.operations-overview>.operations-side>.counts .count span{order:1;text-align:left}.operations-overview>.operations-side>.counts .count strong{order:2;margin-left:auto;text-align:right}
.operations-overview>.operations-side>.insurance-refund-summary{display:flex;flex:1 1 auto;min-height:0;max-height:none;flex-direction:column;overflow:hidden}.operations-overview>.operations-side>.insurance-refund-summary p{min-height:0;overflow:hidden}.operations-overview>.operations-side>.insurance-refund-summary>a{margin-top:auto}
.account-lookup-results{display:grid;gap:.45rem;margin:.65rem 0}.account-lookup-results button{display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;background:#fff;color:#10253f;border:1px solid #d8e2ee;border-radius:10px;padding:.75rem 1rem}.account-lookup-results button span{color:#5c6f84;font-size:.82rem}.account-lookup-results p{margin:.45rem 0;color:#5c6f84}.selected-account-notice{display:flex;align-items:center;gap:1rem;background:#f0f6ff;border:1px solid #b9d4f6;border-radius:10px;padding:.8rem 1rem;margin:.65rem 0}.selected-account-notice span{flex:1;color:#52677e;font-size:.86rem}.selected-account-notice button{background:#fff;color:#174f8a;border:1px solid #a9c8eb;padding:.45rem .75rem}
.accounts-list-heading{display:flex;align-items:end;justify-content:space-between;margin:1rem 0 .65rem}.accounts-list-heading h3,.accounts-list-heading p{margin:0}.accounts-list-heading p{color:#66798e;font-size:.88rem;margin-top:.2rem}

.identity-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.account-detail[hidden]{display:none!important}
.account-statement-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.account-statement-form label{display:grid;gap:4px;font-size:.72rem;color:var(--muted)}.account-statement-form input{min-height:38px}.account-statement-form button{width:auto;min-height:38px;padding:8px 12px}.account-detail .income-table a{color:inherit;text-decoration:none}.account-detail .income-table a:hover strong{color:var(--booking-blue)}
@media(max-width:640px){.account-statement-form{width:100%}.account-statement-form label{flex:1 1 130px}.account-statement-form button{width:100%}}


.accounts-view input,.accounts-view select,.accounts-view textarea,
.reports-view input,.reports-view select,.reports-view textarea{
  min-height:44px;border:1px solid #8196a7;border-radius:4px;background:#fff;color:var(--booking-navy);
}
.accounts-view input:focus,.accounts-view select:focus,.accounts-view textarea:focus,
.reports-view input:focus,.reports-view select:focus,.reports-view textarea:focus{
  border-color:var(--booking-blue);outline:3px solid #b8dcf6;outline-offset:0;
}
.date-range-picker{min-width:0}.date-range-trigger{border-color:var(--booking-yellow);border-radius:5px}.date-range-popover.open-up{top:auto;bottom:calc(100% + 7px)}.date-range-popover>.calendar-dismiss{display:block;margin:12px 0 0 auto}
.date-range-trigger:focus-visible{border-color:var(--booking-blue);outline:3px solid #8ec9f4;outline-offset:2px}
.date-range-trigger:disabled{cursor:not-allowed;background:#eef2f4;color:#607583;border-color:#c8d2da;opacity:.8}
.report-date-range,.income-date-range,.compact-report-range,.account-statement-form .date-range-picker{margin:0}
.report-date-range .date-range-trigger,.income-date-range .date-range-trigger,.compact-report-range .date-range-trigger,.account-statement-form .date-range-trigger{min-height:64px}
.result-report>.result-filters{grid-template-columns:minmax(180px,1fr) minmax(330px,1.65fr) minmax(200px,1.05fr) auto}
.income-date-range{grid-column:span 2}
.completed-search .completed-period-row{grid-template-columns:minmax(180px,.75fr) minmax(330px,1.5fr);width:min(760px,100%);align-items:end}
.completed-search .completed-period-row>*{height:auto}
.account-statement-form{display:grid;grid-template-columns:minmax(330px,520px) auto;align-items:end;gap:10px;padding:10px;border:1px solid var(--booking-line);border-radius:7px;background:#f7fbfe}
.account-statement-form .wide{grid-column:auto}.account-statement-form button{width:auto;min-height:44px;padding:9px 14px;white-space:nowrap}
@media(max-width:1000px){.result-report>.result-filters{grid-template-columns:1fr 1fr}.report-date-range{grid-column:1/-1}.income-date-range{grid-column:1/-1}}
@media(max-width:720px){.completed-search .completed-period-row{grid-template-columns:1fr}.completed-search .completed-period-row select{grid-column:auto}.account-statement-form{width:100%;grid-template-columns:1fr}.account-statement-form button{width:100%}}
@media(max-width:640px){.result-report>.result-filters{grid-template-columns:1fr}.report-date-range{grid-column:auto}.income-date-range{grid-column:auto}.date-range-popover{max-height:82vh}}
.inline-single-date{width:100%;max-width:none;margin:0}
.inline-single-date .date-range-trigger{min-height:66px;border-color:var(--booking-yellow);border-radius:5px}
.inline-single-date .single-date-popover{width:min(380px,calc(100vw - 32px))}


.account-list{gap:10px}
.account-row{
  grid-template-columns:minmax(240px,1.25fr) minmax(230px,1fr) minmax(240px,.95fr) 64px;
  min-height:86px;padding:16px 18px;border:1px solid #c9d8e5;border-left:4px solid var(--booking-blue);
  border-radius:7px;box-shadow:0 1px 2px #102f3e0a;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.account-row:hover,.account-row:focus-visible,.account-row.active{
  background:#edf6ff;border-color:var(--booking-blue);border-left-color:var(--booking-blue);
  box-shadow:0 3px 12px #0071c218;color:var(--booking-navy);filter:none;
}
.account-row.active{box-shadow:inset 0 0 0 1px var(--booking-blue),0 3px 12px #0071c218}
.account-row>span{gap:4px}.account-row small{font-size:.69rem;font-weight:750;letter-spacing:.035em;text-transform:uppercase;color:#617789}
.account-row-heading strong{font-size:1.13rem;line-height:1.2;color:var(--booking-navy)}
.account-row>span:nth-child(2)>strong{font-size:.93rem;line-height:1.3;color:#233f55}
.account-currency-lines{gap:6px!important}.account-balance{align-items:baseline}.account-balance strong{font-size:1.03rem;line-height:1.15}
.account-row>b{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border-radius:999px;background:var(--booking-sky);color:var(--booking-blue);font-size:.82rem;white-space:nowrap}
.account-row:hover small,.account-row:focus-visible small,.account-row.active small{opacity:1;color:#526b7a}
.account-row:hover .account-row-heading strong,.account-row:focus-visible .account-row-heading strong,.account-row.active .account-row-heading strong{opacity:1;color:var(--booking-navy)}
.account-row:hover>span:nth-child(2)>strong,.account-row:focus-visible>span:nth-child(2)>strong,.account-row.active>span:nth-child(2)>strong{opacity:1;color:#233f55}
.account-row:hover .account-balance.due strong,.account-row:focus-visible .account-balance.due strong,.account-row.active .account-balance.due strong{opacity:1;color:#a83232}
.account-row:hover .account-balance.advance strong,.account-row:focus-visible .account-balance.advance strong,.account-row.active .account-balance.advance strong{opacity:1;color:#176b4d}
.account-row:hover .account-balance.closed strong,.account-row:focus-visible .account-balance.closed strong,.account-row.active .account-balance.closed strong{opacity:1;color:var(--booking-navy)}
.account-row:hover>b,.account-row:focus-visible>b,.account-row.active>b{background:#dceeff;color:#005999}
.accounts-list-heading h3{font-size:1.18rem;color:var(--booking-navy)}.accounts-list-heading p{font-size:.84rem;color:#607583}
.accounts-browse{display:grid;gap:12px}.accounts-browse .definition-heading{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;margin-bottom:0;align-items:start}.accounts-browse .definition-heading>div>p:last-child{margin-bottom:0}.accounts-browse .report-notice{margin:0}.accounts-browse .accounts-list-heading{margin:.25rem 0 0}.accounts-browse .account-search{width:100%;min-width:0;max-width:none;justify-self:stretch}.account-back-button{justify-self:start;margin:0 0 2px}
@media(max-width:1050px){.account-row{grid-template-columns:1fr 1fr}.account-row>b{justify-self:end}}
@media(max-width:640px){.accounts-browse .account-search{width:100%;max-width:none;justify-self:stretch}.account-row{grid-template-columns:1fr;gap:12px;padding:15px 14px}.account-row>b{justify-self:start}.account-row-heading strong{font-size:1.08rem}}
.account-entry-actions{border-top:0!important;padding-top:0!important}
.account-entry-actions{display:flex;flex-wrap:wrap;gap:10px}
.account-heading-tools{display:grid;justify-items:stretch;gap:7px;width:290px}.daily-rate-board{display:grid;gap:5px;width:100%;padding:7px 8px;border:2px solid var(--booking-yellow);border-radius:7px;background:var(--booking-yellow-soft);color:var(--booking-navy);box-shadow:0 2px 7px rgba(107,74,0,.08)}.daily-rate-board small{color:#74541b;font-size:.62rem;font-weight:750;line-height:1.25}.daily-rate-values{display:grid;grid-template-columns:1fr;gap:4px}.daily-rate-values strong{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 7px;border:1px solid #f0c36d;border-radius:5px;background:#fff;font-size:.76rem;line-height:1.1;font-variant-numeric:tabular-nums}.daily-rate-values strong span{color:#74541b;font-size:.64rem;font-weight:800}.exchange-rate-box{padding:12px;border:1px solid var(--booking-line);border-radius:7px;background:#f7fbfe}.exchange-rate-status{margin:0 0 10px;color:var(--booking-navy);font-size:.8rem;font-weight:750}.manual-rate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.manual-rate-fields .wide{grid-column:1/-1}@media(max-width:760px){.accounts-browse .definition-heading{grid-template-columns:1fr}.account-heading-tools{width:100%;justify-items:stretch}.daily-rate-board{width:100%}.manual-rate-fields{grid-template-columns:1fr}}




body.accounts-active #navigation-row{display:none!important;min-height:0;margin:0}
body.accounts-active .accounts-view{gap:8px}
body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr) 224px;grid-template-areas:"intro tools" "notice tools" "listmeta listmeta" "list list";gap:7px 18px;align-items:start}
body.accounts-active .accounts-browse>.definition-heading{display:contents}
body.accounts-active .accounts-browse>.definition-heading>div:first-child{grid-area:intro}
body.accounts-active .account-heading-tools{grid-area:tools;width:224px;gap:5px}
body.accounts-active .accounts-browse>.report-notice{grid-area:notice;padding:8px 11px;gap:1px;border-left-width:3px}
body.accounts-active .accounts-browse>.report-notice span{font-size:.78rem;line-height:1.3}
body.accounts-active .accounts-list-heading{grid-area:listmeta;margin:0!important}
body.accounts-active .accounts-list-heading p{margin:0;color:var(--muted);font-size:.78rem}
body.accounts-active .account-list{grid-area:list}
body.accounts-active .daily-rate-board{gap:4px;padding:6px 7px}
body.accounts-active .daily-rate-board small{max-width:205px;font-size:.61rem;line-height:1.2}
body.accounts-active .daily-rate-values{gap:3px}
body.accounts-active .daily-rate-values strong{justify-content:flex-start;gap:12px;padding:4px 6px;font-size:.74rem}
body.accounts-active .daily-rate-values strong span{flex:0 0 54px;font-size:.63rem}
body.accounts-active .account-search{gap:3px;font-size:.73rem}
body.accounts-active .account-search input{height:38px;padding:8px 10px}
@media(max-width:760px){body.accounts-active main{padding-top:12px}body.accounts-active .accounts-browse{grid-template-columns:1fr;grid-template-areas:"intro" "tools" "notice" "listmeta" "list"}body.accounts-active .account-heading-tools{width:100%}body.accounts-active .daily-rate-board small{max-width:none}}

body.accounts-active .accounts-browse{grid-template-columns:minmax(340px,1fr) 224px 270px;grid-template-areas:"intro rate notice" "search rate notice" "listmeta listmeta listmeta" "list list list";column-gap:12px;row-gap:6px}
body.accounts-active .accounts-browse>.definition-heading{display:contents}
body.accounts-active .accounts-browse>.definition-heading>div:first-child{grid-area:intro;align-self:end}
body.accounts-active .account-heading-tools{display:contents}
body.accounts-active .account-heading-tools>.daily-rate-board{grid-area:rate;width:224px;align-self:start}
body.accounts-active .account-heading-tools>.account-search{grid-area:search;width:min(430px,100%);align-self:start}
body.accounts-active .accounts-browse>.report-notice{grid-area:notice;align-self:start;min-height:0;margin:0;padding:8px 10px;border:2px solid var(--booking-yellow);border-radius:7px;background:var(--booking-yellow-soft)}
body.accounts-active .accounts-browse>.report-notice strong{font-size:.76rem;line-height:1.2;color:var(--booking-navy)}
body.accounts-active .accounts-browse>.report-notice span{font-size:.7rem;line-height:1.3}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr) 224px;grid-template-areas:"intro rate" "search rate" "notice notice" "listmeta listmeta" "list list"}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-columns:1fr;grid-template-areas:"intro" "rate" "search" "notice" "listmeta" "list"}body.accounts-active .account-heading-tools>.daily-rate-board{width:100%}}

body.accounts-active .accounts-browse{grid-template-columns:minmax(340px,1fr) 210px 250px}
body.accounts-active .account-heading-tools>.daily-rate-board{width:210px;height:100%;align-self:stretch;box-sizing:border-box}
body.accounts-active .daily-rate-board small{max-width:194px}
body.accounts-active .accounts-browse>.report-notice{height:100%;align-self:stretch;box-sizing:border-box;align-content:start}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr) 210px}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-columns:1fr}body.accounts-active .account-heading-tools>.daily-rate-board{width:100%;height:auto}body.accounts-active .accounts-browse>.report-notice{height:auto}}

body.accounts-active .accounts-browse{grid-template-columns:minmax(340px,1fr) 195px 220px}
body.accounts-active .account-heading-tools>.daily-rate-board{width:195px}
body.accounts-active .daily-rate-board small{max-width:179px}
body.accounts-active .daily-rate-values strong{gap:8px}
body.accounts-active .daily-rate-values strong span{flex-basis:50px}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr) 195px}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-columns:1fr}body.accounts-active .account-heading-tools>.daily-rate-board{width:100%}}

body.accounts-active .accounts-browse{grid-template-columns:minmax(340px,1fr) 176px 198px;grid-template-areas:"intro rate notice" "search rate notice" "list list list";column-gap:10px;row-gap:3px}
body.accounts-active .account-heading-tools>.daily-rate-board{width:176px}
body.accounts-active .daily-rate-board small{max-width:160px}
body.accounts-active .daily-rate-values strong{gap:5px;padding-left:5px;padding-right:5px}
body.accounts-active .daily-rate-values strong span{flex-basis:47px}
body.accounts-active .accounts-list-heading{display:none}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr) 176px;grid-template-areas:"intro rate" "search rate" "notice notice" "list list"}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-columns:1fr;grid-template-areas:"intro" "rate" "search" "notice" "list"}body.accounts-active .account-heading-tools>.daily-rate-board{width:100%}}

body.accounts-active .account-heading-tools>.account-search{align-self:end;margin:0}

body.accounts-active .account-heading-tools>.account-search{align-self:start}
body.accounts-active .account-heading-tools>.daily-rate-board,
body.accounts-active .accounts-browse>.report-notice{height:118px;min-height:118px;align-self:start;overflow:hidden}
body.accounts-active .account-list{margin-top:7px}
@media(max-width:760px){body.accounts-active .account-heading-tools>.daily-rate-board,body.accounts-active .accounts-browse>.report-notice{height:auto;min-height:0;overflow:visible}body.accounts-active .account-list{margin-top:5px}}

body.accounts-active .accounts-browse{grid-template-areas:"intro finance-label finance-label" "search rate notice" "list list list"}
body.accounts-active .account-finance-label{grid-area:finance-label;margin:0 0 1px;color:var(--booking-blue);align-self:end}
body.accounts-active .accounts-browse>.definition-heading>div:first-child{align-self:end}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-areas:"intro finance-label" "search rate" "notice notice" "list list"}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-areas:"intro" "finance-label" "rate" "search" "notice" "list"}}

body.accounts-active .accounts-browse>.definition-heading>div:first-child{width:min(430px,100%);justify-self:start;align-self:center;text-align:center}
body.accounts-active .accounts-browse>.definition-heading>div:first-child p{margin:0;line-height:1.35}

body.accounts-active .accounts-browse>.definition-heading>div:first-child{text-align:left}
body.accounts-active .account-heading-tools>.account-search{align-self:end}

body.accounts-active .accounts-browse>.definition-heading>div:first-child{display:flex;align-items:center;min-height:38px;padding:3px 0;text-align:left}

body.accounts-active .toolbar{display:flex;justify-content:space-between;align-items:flex-end}
.accounts-finance-label{margin:0;color:var(--booking-blue);font-size:.76rem;font-weight:850;letter-spacing:.08em;text-align:right}
body.accounts-active .accounts-browse{grid-template-areas:"intro rate notice" "search rate notice" "list list list"}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-areas:"intro rate" "search rate" "notice notice" "list list"}}
@media(max-width:760px){body.accounts-active .toolbar{align-items:flex-end}.accounts-finance-label{font-size:.7rem}body.accounts-active .accounts-browse{grid-template-areas:"intro" "rate" "search" "notice" "list"}}

body.accounts-active .accounts-finance-label{width:198px;text-align:center;flex:0 0 198px}
@media(max-width:760px){body.accounts-active .accounts-finance-label{width:auto;flex:0 0 auto;text-align:right}}

body.accounts-active .toolbar{align-items:baseline}
body.accounts-active .accounts-finance-label{line-height:1}

body.accounts-active .account-search{gap:5px;color:var(--booking-navy);font-size:.78rem;font-weight:850;letter-spacing:.01em}
body.accounts-active .account-search input{height:44px;padding:9px 12px;border:2px solid #6fa6d6;border-radius:7px;background:#fff;box-shadow:0 3px 10px rgba(0,59,149,.10);font-size:.9rem}
body.accounts-active .account-search input::placeholder{color:#728697}
body.accounts-active .account-search input:hover{border-color:var(--booking-blue)}
body.accounts-active .account-search input:focus{border-color:var(--booking-blue);box-shadow:0 0 0 3px rgba(255,183,0,.28),0 4px 12px rgba(0,59,149,.12)}

body.accounts-active .account-search{position:relative}
body.accounts-active .account-search input{padding-left:38px;border:3px solid var(--booking-yellow);box-shadow:inset 0 0 0 1px #d49a00,0 3px 10px rgba(0,59,149,.10)}
body.accounts-active .account-search::after{content:"⌕";position:absolute;left:12px;bottom:8px;color:var(--booking-navy);font-size:1.35rem;font-weight:900;line-height:1;pointer-events:none}
body.accounts-active .account-search input:hover{border-color:#f2a900}
body.accounts-active .account-search input:focus{border-color:var(--booking-blue);box-shadow:0 0 0 3px rgba(255,183,0,.38),0 4px 12px rgba(0,59,149,.14)}

body.accounts-active .account-search::after{content:none}
body.accounts-active .account-search input{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23003b95' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:19px 19px}

body.accounts-active .account-search input{height:48px;padding-left:48px;background-position:13px 50%;background-size:25px 25px}
body.accounts-active .account-heading-tools>.daily-rate-board{border:1px solid #b7c9d8;background:#fff;box-shadow:0 2px 8px rgba(0,59,149,.09)}
body.accounts-active .daily-rate-board small{color:#50697c}
body.accounts-active .daily-rate-values strong{border-color:#d8e2ea;background:#f7fbff}
body.accounts-active .daily-rate-values strong span{color:var(--booking-navy)}

body.accounts-active .account-detail{display:grid;grid-template-columns:1fr;gap:10px;padding:18px;border-radius:9px;box-shadow:0 4px 16px rgba(0,59,149,.07)}
body.accounts-active .account-back-button{margin-bottom:0;justify-self:start}
body.accounts-active .account-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 176px;gap:14px;align-items:start;height:auto;min-height:0;padding:0;border:0;background:transparent}
body.accounts-active .account-detail-identity{min-width:0;padding:12px 14px;border-left:4px solid var(--booking-blue);border-radius:7px;background:#f7fbff}
body.accounts-active .account-detail-name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
body.accounts-active .account-detail-name-row>div:first-child{min-width:0}
body.accounts-active .account-detail-identity h2{margin:0 0 4px;color:var(--booking-navy);font-size:2rem;line-height:1.08}
body.accounts-active .account-detail-name-row p{margin:0;color:#50697c;font-size:.78rem;font-weight:750}
body.accounts-active .account-detail-contact{display:grid;gap:5px;margin:7px 0 0;color:#334f63;font-size:.82rem}
body.accounts-active .account-detail-contact span{display:block;font-weight:700}
body.accounts-active .account-detail-identity-tools{display:grid;justify-items:end;gap:6px;flex:0 0 auto}
body.accounts-active .account-detail-code{margin:0;color:var(--booking-navy);font-size:.86rem;font-weight:900;letter-spacing:.015em;text-align:right;white-space:nowrap}
body.accounts-active .account-profile-edit{min-height:30px;padding:5px 9px;font-size:.72rem;white-space:nowrap}
body.accounts-active .account-detail-rates{display:flex;flex-direction:column;justify-content:center;width:176px;min-height:0;margin:0;padding:10px;align-self:start;justify-self:stretch;box-sizing:border-box;border:1px solid #b7c9d8;background:#fff;box-shadow:0 2px 8px rgba(0,59,149,.09)}
body.accounts-active .account-detail-rates .daily-rate-caption{display:grid;gap:1px;color:#50697c;font-size:.7rem;line-height:1.22}
body.accounts-active .account-detail-rates .daily-rate-caption b{color:var(--booking-navy);font-size:.78rem}
body.accounts-active .account-detail-rates .daily-rate-values{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:5px;margin-top:9px}
body.accounts-active .account-detail-rates .daily-rate-values strong{min-height:26px;padding:5px;border-color:#d8e2ea;background:#f7fbff}
body.accounts-active .account-detail-rates .daily-rate-values strong span{color:var(--booking-navy)}
body.accounts-active .account-detail>section{margin-top:0;padding:14px 0 0;border-top:1px solid var(--booking-line)}
body.accounts-active .account-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}
body.accounts-active .account-summary-heading h3{margin:0 0 4px;color:var(--booking-navy)}
body.accounts-active .account-summary-heading .section-help{margin:0}
body.accounts-active .account-summary-heading .account-entry-actions{display:flex;gap:8px;flex:0 0 auto;margin:0;padding:0;border:0}
body.accounts-active .account-summary-heading .account-entry-actions button{width:auto;min-width:128px;min-height:40px;padding:8px 14px;white-space:nowrap}
body.accounts-active .account-summary-grid{gap:8px}
body.accounts-active .account-summary-grid article{padding:10px 12px;gap:4px;border-radius:7px;border-left:4px solid var(--booking-blue);background:#fff;box-shadow:0 2px 7px rgba(0,59,149,.06)}
body.accounts-active .account-summary-grid article>small{font-size:.7rem}
body.accounts-active .account-summary-grid article>strong{font-size:.9rem}
body.accounts-active .account-summary-grid article>span{font-size:1.05rem}
body.accounts-active .account-summary-grid dl{gap:3px;font-size:.78rem}
body.accounts-active .account-detail .income-results-heading{align-items:center;gap:14px;padding:12px 0}
body.accounts-active .account-statement-form{display:grid;grid-template-columns:minmax(260px,340px) 160px;gap:12px;align-items:end;padding:8px 12px;border-color:#b7c9d8;background:#f7fbff}
body.accounts-active .account-statement-form .date-range-picker{margin:0}
body.accounts-active .account-statement-form .date-range-trigger small{font-size:14px}
body.accounts-active .account-statement-form .date-range-trigger strong{font-size:18px}
body.accounts-active .account-statement-form>button:hover{background:#eaf3fc;color:var(--booking-navy);filter:none}
body.accounts-active .account-statement-form .date-range-trigger{width:100%;height:64px;min-height:64px;background:#fff;color:var(--ink)}
body.accounts-active .account-statement-form>button{align-self:end;width:160px;height:64px;min-height:64px;padding:8px 4px;border:0;border-radius:4px;background:transparent;color:var(--booking-blue);box-shadow:none;font-size:.9rem}


.statement-preview-dialog{width:min(1120px,94vw);height:min(820px,92vh);padding:0;border:0;border-radius:10px;box-shadow:0 20px 60px rgba(0,27,66,.28)}
.statement-preview-dialog::backdrop{background:rgba(0,27,66,.48)}
.statement-preview-shell{display:grid;grid-template-rows:auto 1fr;height:100%;background:#fff}
.statement-preview-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #c9d8e5;background:#f7fbff;color:var(--booking-navy)}
.statement-preview-head button{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:#e7f1fa;color:var(--booking-navy);font-size:1.35rem;box-shadow:none}
.statement-preview-dialog iframe{width:100%;height:100%;border:0;background:#fff}


.account-finance-dialog{width:min(920px,calc(100% - 32px));max-height:90vh;padding:0;border:0;border-radius:10px;box-shadow:0 20px 60px rgba(0,27,66,.28)}
.account-finance-dialog::backdrop{background:rgba(0,27,66,.48)}
.account-finance-dialog>.account-finance-add{margin:0;padding:24px;background:#fff}
.account-finance-dialog .dialog-head{margin:-24px -24px 20px;padding:18px 24px;border-bottom:1px solid #c9d8e5;background:#f7fbff}
.account-finance-dialog .form-actions{margin-top:18px}

@media(max-width:840px){
 body.accounts-active .account-detail .income-results-heading{align-items:stretch;flex-direction:column}
 body.accounts-active .account-statement-form{width:100%;grid-template-columns:minmax(0,1fr) 150px}
}
@media(max-width:760px){
 body.accounts-active .account-detail-head{grid-template-columns:1fr}
 body.accounts-active .account-detail-rates{width:100%}
 body.accounts-active .account-summary-heading{align-items:stretch;flex-direction:column}
 body.accounts-active .account-summary-heading .account-entry-actions{width:100%}
 body.accounts-active .account-summary-heading .account-entry-actions button{flex:1}
}
@media(max-width:560px){
 body.accounts-active .account-detail-name-row{align-items:flex-start;flex-direction:column;gap:6px}
 body.accounts-active .account-detail-identity-tools{justify-items:start}
 body.accounts-active .account-statement-form{grid-template-columns:1fr}
 body.accounts-active .account-statement-form>button{width:100%}
 .account-finance-dialog>.account-finance-add{padding:16px}
 .account-finance-dialog .dialog-head{margin:-16px -16px 16px;padding:15px 16px}
}


.accounts-view,.accounts-layout,.account-detail,.account-detail>section,.account-detail-head,.income-table-wrap{min-width:0;max-width:100%;box-sizing:border-box}
body.accounts-active .account-statement-form{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:560px){body.accounts-active .account-statement-form{grid-template-columns:minmax(0,1fr)}body.accounts-active .account-statement-form>button{width:100%;height:44px;min-height:44px}.account-detail-identity-tools{max-width:100%}.account-detail-code{white-space:normal;overflow-wrap:anywhere}}

body.accounts-active .account-detail-name-row .account-billing-address{margin-top:7px;white-space:pre-line;overflow-wrap:anywhere;font-size:15px;font-weight:400;line-height:1.5}


.payment-distribution{margin:8px 0!important;padding:16px!important;background:#f3f8fe;border:1px solid #c8d9ec;border-radius:10px}
.allocation-row{padding:12px 0;border-bottom:1px solid #dce5ee;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
.allocation-row[hidden],.distribution-fields[hidden],.allocation-manual-fields[hidden]{display:none}
.allocation-row small{display:block;font-weight:400;margin-top:4px}.allocation-quote{align-self:center;font-size:13px}.allocation-manual-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px}.allocation-summary{font-weight:700;color:#003b95}
@media(max-width:600px){.allocation-row,.allocation-manual-fields{grid-template-columns:1fr}}

.account-finance-dialog .form-section{margin:0;padding:0;border:0}

.service-rate-box{border-top:1px solid #dce5ee;padding-top:12px}.service-rate-status{font-size:13px;color:#334c66}.service-rate-manual{display:grid;grid-template-columns:1fr 1fr;gap:16px}.service-rate-manual[hidden]{display:none}

.account-finance-dialog .allocation-row>label{margin:0}.account-finance-dialog .payment-distribution>.check-label{margin:0}.account-finance-dialog .allocation-row{gap:6px 16px;padding:10px 0}.account-finance-dialog .allocation-row .check-label{min-height:32px}.account-finance-dialog .allocation-summary{font-size:13px;line-height:1.5;margin:8px 0 0}


:is(body.accounts-active .account-summary-grid, .cash-currency-grid) article{min-width:0;padding:14px 16px;gap:8px}
.account-currency-heading{display:flex;align-items:center;gap:12px;margin-bottom:4px;min-width:0}
.account-currency-heading>div{display:grid;gap:3px;min-width:0}
.account-currency-heading strong{font-size:clamp(16px,1.35vw,20px);color:var(--booking-navy)}
.account-currency-heading small{font-size:13px;color:var(--muted)}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) .account-currency-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:clamp(42px,4.4vw,58px);height:clamp(42px,4.4vw,58px);border-radius:12px;background:#eaf3ff;color:var(--booking-blue);font-size:clamp(30px,3vw,40px);font-weight:700;line-height:1}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) article>strong{font-size:15px}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) article>span{font-size:clamp(20px,1.8vw,25px)}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dl{font-size:14px;gap:7px}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dt{font-weight:600;color:var(--booking-navy)}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dl div{flex-wrap:wrap;gap:4px 10px}


:is(body.accounts-active .account-summary-grid, .cash-currency-grid) article{padding:12px;gap:6px}
.account-currency-heading{gap:9px;margin-bottom:2px}
.account-currency-heading .account-currency-balance{margin-left:auto;text-align:right;gap:4px}
.account-currency-balance>strong{font-size:12px;line-height:1.3}
.account-currency-balance>span{font-size:clamp(18px,1.6vw,23px);font-weight:800;line-height:1.2}
.account-currency-balance>span.due{color:#a83232}
.account-currency-balance>span.advance{color:#176b4d}
@media(min-width:641px) and (max-width:1050px){.account-currency-heading{flex-wrap:wrap}.account-currency-heading .account-currency-balance{flex-basis:100%;text-align:left}}

:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dl{font-size:14px;gap:6px;margin-top:5px}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dl div{padding:5px 8px;border-radius:5px;background:#f1f6fc;align-items:center}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dt{font-weight:600}
:is(body.accounts-active .account-summary-grid, .cash-currency-grid) dd{font-weight:750}

body.accounts-active .account-entry-actions button[data-account-finance]{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:8px 16px;border-width:5px;border-style:solid;border-radius:11px;font-size:1rem;font-weight:800}


body.accounts-active .account-summary-grid article.closed{border-color:#b9dfc9;border-left-color:#17804b;background:#f1faf5}
body.accounts-active .account-summary-grid article.closed .account-currency-icon{color:#176b4d;background:#dff3e7}
.account-currency-balance>span.closed,.account-summary-card.closed .account-currency-balance>strong{color:#176b4d}

.account-finance-dialog .finance-money-field{font-weight:750;color:var(--booking-navy)}
.account-finance-dialog .finance-money-field input,.account-finance-dialog .finance-money-field select{min-height:56px;border:2px solid var(--booking-yellow);background:#fff;font-size:20px;font-weight:700;color:var(--booking-navy);border-radius:7px}
.account-finance-dialog .finance-money-field input:focus,.account-finance-dialog .finance-money-field select:focus{outline:2px solid var(--booking-blue);outline-offset:2px}
.finance-participant-detail{align-self:center;min-width:0;padding:8px 0}
.finance-participant-detail summary{cursor:pointer;color:var(--booking-blue);font-size:14px;font-weight:600}
.finance-participant-detail label{display:grid;gap:6px;margin-top:10px}

#operations-cash-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:8px 12px;border:1px solid var(--booking-blue);border-radius:7px;background:#fff;color:var(--booking-navy);font-weight:800;text-decoration:none}
#operations-cash-button:hover{background:var(--booking-sky)}
.cash-view{display:grid;gap:18px;min-width:0}
.cash-toolbar,.cash-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cash-toolbar{align-items:flex-end;--cash-control-height:60px}
.cash-toolbar form{display:flex;align-items:end;gap:10px;margin-left:auto}
.cash-toolbar .single-date-picker{width:220px}
.cash-toolbar>button,.cash-toolbar>a,.cash-toolbar form>button,.cash-toolbar .compact-date-trigger{height:var(--cash-control-height);min-height:var(--cash-control-height);margin-bottom:0}
.cash-toolbar>a{display:inline-flex;align-items:center}
.cash-toolbar .compact-date-trigger strong{font-size:15.3px}
.cash-toolbar .compact-date-trigger{padding-top:8px;padding-bottom:8px}
.cash-intro h2{font-size:22px;color:var(--booking-navy);margin:0 0 6px}
.cash-intro p{margin:0;color:var(--muted)}
.cash-actions{display:flex;gap:10px;flex-wrap:wrap}
.cash-help,.cash-history{border:1px solid var(--booking-line);border-radius:7px;background:#fff;padding:12px 16px}
.cash-help summary,.cash-history summary{cursor:pointer;color:var(--booking-blue);font-weight:650}
.cash-help p{max-width:850px;line-height:1.55}
.cash-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cash-balance-grid article{display:grid;gap:8px;padding:16px;border:1px solid var(--booking-line);border-left:4px solid var(--booking-blue);border-radius:8px;background:white;min-width:0}
.cash-symbol{display:grid;place-items:center;width:44px;height:44px;background:#eaf3ff;color:var(--booking-blue);border-radius:10px;font-size:32px;font-weight:700}
.cash-total{font-size:26px;color:var(--booking-navy)}
.cash-balance-grid small{color:var(--muted)}
.cash-balance-grid dl{margin:0;display:grid;gap:7px;font-size:14px}
.cash-balance-grid dl div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.cash-balance-grid dd{margin:0;font-weight:700}
.cash-section{padding:16px;border:1px solid var(--booking-line);border-radius:8px;background:white;min-width:0}
.cash-section h3{margin:0 0 8px;color:var(--booking-navy)}
.cash-match{color:#176b4d}.cash-difference{color:#a83232;font-weight:700}
.cash-history-days{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cash-count-fields{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}
#cash-dialog textarea{min-height:70px}#cash-count-preview p{margin:6px 0}
@media(max-width:720px){.cash-balance-grid{grid-template-columns:1fr}.cash-toolbar form{margin:0;width:100%}.cash-toolbar .single-date-picker{width:auto;flex:1;min-width:0}.cash-count-fields{grid-template-columns:1fr}.cash-toolbar>button{width:100%}.cash-section{padding:12px}.cash-intro{align-items:start}.cash-actions{width:100%}}


.case-finance-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.case-finance-actions button{min-height:44px}
@media(max-width:560px){.case-finance-actions button{flex:1 1 100%}}
.office-section-nav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;border-bottom:1px solid var(--booking-line);padding:0 0 10px}
.office-section-nav a{padding:8px 13px;border-radius:6px;color:var(--booking-navy);font-size:14px;font-weight:650;text-decoration:none;min-height:38px;display:inline-flex;align-items:center}
.office-section-nav a:hover{background:#eaf3ff}.office-section-nav a.active{background:var(--booking-blue);color:#fff}
.inline-help{font-size:13px;max-width:600px}.inline-help summary{cursor:pointer;color:var(--booking-blue)}.inline-help p{line-height:1.5;margin:8px 0}


.result-report>.result-filters{grid-template-columns:minmax(160px,1fr) minmax(200px,1.1fr) minmax(280px,1.5fr) auto;align-items:end}
.result-report>.result-filters select,.result-report>.result-filters .date-range-trigger,.result-report>.result-filters #period-apply{height:64px;min-height:64px;margin-bottom:0}
.result-report>.result-filters>label{display:grid;gap:5px}
@media(max-width:1000px){.result-report>.result-filters{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.result-report>.result-filters{grid-template-columns:minmax(0,1fr)}}


.cash-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.cash-row-actions button{min-height:40px;padding:8px 12px}
.cash-section .cash-pending-heading{margin-top:22px}
.cash-section .cash-intro{margin-bottom:12px}

.account-loading{display:flex;align-items:center;gap:10px;padding:24px;color:var(--booking-navy);min-height:90px}
.account-loading::before{content:"";width:20px;height:20px;border:3px solid #dceaf5;border-top-color:var(--booking-blue);border-radius:50%;animation:account-spin .8s linear infinite}
@keyframes account-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.account-loading::before{animation:none}}


.cash-person-section>h3{margin:0 0 6px;color:var(--booking-navy)}
.cash-person-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:12px}
.cash-person-card{min-width:0;padding:16px;border:1px solid var(--booking-line);border-top:4px solid var(--booking-blue);border-radius:8px;background:#fff}
.cash-person-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:-16px -16px 12px;padding:14px 16px;background:#eaf3ff;border-bottom:1px solid #c5d9ee;border-radius:4px 4px 0 0}
.cash-person-heading h4{margin:0;font-size:clamp(20px,1.7vw,24px);font-weight:800;line-height:1.25;color:var(--booking-navy)}
.cash-person-heading>span,.cash-person-pending{font-size:.84rem;color:var(--muted)}
.cash-person-table-wrap{overflow-x:auto}
.cash-person-table{width:100%;border-collapse:collapse;font-size:.84rem}
.cash-person-table th,.cash-person-table td{padding:8px 5px;border-bottom:1px solid var(--booking-line);text-align:right}
.cash-person-table th:first-child{text-align:left}
.cash-person-table thead th{font-size:.72rem;color:#40596b;background:#f7fbfe;white-space:normal}
.cash-person-table td{white-space:nowrap}
.cash-person-table .cash-person-held{font-weight:750;color:var(--booking-navy);background:#f1f6fc}
.cash-person-pending{display:grid;gap:4px;margin-top:10px}
.cash-person-card>button{margin-top:12px;min-height:40px}


#app>.toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:60px;margin-bottom:18px}
#app>.toolbar h1{margin:0}
#app>.toolbar .accounts-finance-label{margin-top:0;margin-bottom:0}

.cash-total-overview{padding:14px 16px;border:1px solid var(--tvm-accent);border-radius:8px;background:var(--tvm-accent-soft);color:var(--booking-navy)}.cash-total-overview>div{display:flex;gap:24px;flex-wrap:wrap;margin:8px 0}.cash-total-overview span strong{font-size:20px;margin-left:8px}.cash-total-overview small{color:var(--muted)}


body.accounts-active .accounts-browse{grid-template-areas:"intro rate notice" "search finance-label finance-label" "list list list"}
body.accounts-active .accounts-browse>.accounts-finance-label{grid-area:finance-label;width:auto;margin:6px 0 0;text-align:center;align-self:start}
@media(min-width:1051px){
 body.accounts-active .account-heading-tools>.daily-rate-board,
 body.accounts-active .accounts-browse>.report-notice{margin-top:-60px}
}
@media(max-width:1050px){body.accounts-active .accounts-browse{grid-template-areas:"intro rate" "search notice" "finance-label finance-label" "list list"}}
@media(max-width:760px){body.accounts-active .accounts-browse{grid-template-areas:"intro" "search" "rate" "notice" "finance-label" "list"}}

.cash-currency-grid article{padding:12px;gap:6px}.cash-currency-grid dl{font-size:14px;gap:6px}.cash-currency-grid dl div{padding:5px 8px;border-radius:5px;background:#f1f6fc;align-items:center}.cash-currency-grid dt{font-weight:600;color:var(--booking-navy)}.cash-currency-grid dd{font-weight:750}


.operations-overview{align-items:start}
.operations-overview>.operations-side{height:auto}
.operations-overview>.counts{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto}
.operations-overview>.counts .count{border-bottom:0;border-right:1px solid #d7e4f1;padding:10px 12px}
.operations-overview>.counts .count:last-child{border-right:0}
@media(max-width:640px){.operations-overview>.counts{grid-template-columns:repeat(2,minmax(0,1fr))}}


#app>.toolbar>#counts{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr));gap:0;margin:0 0 0 auto;border:1px solid var(--booking-line);border-radius:7px;overflow:hidden;background:#fff}
#app>.toolbar>#counts[hidden]{display:none}
#app>.toolbar>#counts .count{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:8px 11px;margin:0;border:0;border-right:1px solid var(--booking-line);border-radius:0;background:#fff;box-shadow:none}
#app>.toolbar>#counts .count:last-child{border-right:0}
#app>.toolbar>#counts .count span{font-size:.7rem;font-weight:750;line-height:1.2;color:var(--booking-navy);order:1}
#app>.toolbar>#counts .count strong{font-size:1.08rem;line-height:1;color:var(--booking-blue);order:2}
@media(max-width:900px){#app>.toolbar{flex-wrap:wrap}#app>.toolbar>#counts{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}


#app>.toolbar>#counts{grid-template-columns:1fr;flex:0 0 198px;width:198px;align-self:start}
#app>.toolbar>#counts .count{min-height:32px;padding:5px 9px;border-right:0;border-bottom:1px solid var(--booking-line)}
#app>.toolbar>#counts .count:last-child{border-bottom:0}
.operations-overview>.operations-side{padding-bottom:0}
@media(max-width:900px){#app>.toolbar>#counts{grid-template-columns:1fr;width:198px;max-width:100%}}


@media(min-width:901px){
 .operations-overview{grid-template-rows:auto auto;align-content:start;row-gap:12px}
 .operations-overview>.operations-trend{grid-column:1/span 5;grid-row:1}
 .operations-overview>.operations-side{grid-column:6;grid-row:1/span 2}
 .operations-overview>.workflow-action-row{grid-column:1/span 5;grid-row:2;width:100%;margin:0;display:block}
 .operations-overview>.workflow-action-row>.workflow-tabs{width:100%;margin:0}
}
@media(max-width:900px){.operations-overview>.workflow-action-row{grid-column:1/-1;width:100%;margin:0}}

@media(min-width:901px){
 .operations-overview{gap:8px;align-items:stretch;margin-bottom:8px}
 .operations-overview>.operations-side{height:auto;align-self:stretch}
 .operations-overview>.operations-side>.insurance-refund-summary{flex:1 1 auto}
 .operations-overview>.workflow-action-row>.workflow-tabs{gap:8px}
}


.workbench>#counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 16px;border:1px solid var(--booking-line);border-radius:7px;background:#f1f6fc;overflow:hidden}
.workbench>#counts[hidden]{display:none}
.workbench>#counts .count{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;margin:0;padding:9px 14px;border:0;border-right:1px solid var(--booking-line);border-radius:0;background:transparent;box-shadow:none}
.workbench>#counts .count:last-child{border-right:0}
.workbench>#counts .count span{order:1;font-size:.8rem;font-weight:650;color:var(--booking-navy)}
.workbench>#counts .count strong{order:2;font-size:1.2rem;color:var(--booking-blue)}
@media(max-width:640px){.workbench>#counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.insurance-refund-summary .insurance-refund-title{margin:0 0 8px;font-size:1.05rem;line-height:1.25;font-weight:800;color:var(--booking-navy)}

.insurance-refund-summary .insurance-refund-title{padding:9px 10px;margin:-6px -7px 10px;border:1px solid #d59a16;border-radius:5px;background:#f3c54b;color:#503b09;font-size:1.05rem;font-weight:800}
.insurance-refund-summary .insurance-refund-alert{display:block;padding:8px 9px;border:1px solid #efc0bc;border-radius:5px;background:#fff0ee;color:#a92c25;font-size:.95rem;line-height:1.4;font-weight:800}
.insurance-refund-summary .insurance-refund-alert #home-insurance-count{display:inline;font-size:1.15rem;color:inherit}


@media(min-width:901px){
 .operations-overview{grid-template-columns:minmax(0,4fr) minmax(0,1fr)}
 .operations-overview>.operations-trend,.operations-overview>.workflow-action-row{grid-column:1}
 .operations-overview>.operations-side{grid-column:2}
}

.operations-overview>.operations-side>.insurance-refund-summary{background:#fff;border:1px solid var(--booking-line);border-left:3px solid #e4ba45;border-radius:7px;padding:14px;justify-content:flex-start;gap:10px}
.insurance-refund-summary .insurance-refund-title{margin:0 0 8px;padding:0;border:0;background:none;box-shadow:none;color:var(--booking-navy);font-size:1rem;line-height:1.3}
.insurance-refund-summary .insurance-refund-alert{margin:0;padding:0;border:0;background:none;color:#40596b;font-size:.9rem;font-weight:600}
.insurance-refund-summary .insurance-refund-alert #home-insurance-count{font-size:1.15rem;font-weight:800;color:var(--booking-navy)}
.insurance-refund-summary #home-insurance-amounts{display:none}
.operations-overview>.operations-side>.insurance-refund-summary>a{margin-top:auto;font-size:.82rem;font-weight:650}

#operations-view .workbench{border:1px solid var(--booking-line);border-radius:8px;background:#fff}
#operations-view .workbench-head h2{color:var(--booking-navy)}
#operations-view .case-list{gap:10px}
#operations-view .case{border:1px solid #d2dfeb;border-left:3px solid var(--booking-blue);border-radius:7px;background:#fff;box-shadow:none}
#operations-view .case:hover{background:#f1f6fc;border-color:#8bb5dc}
#operations-view .case:focus-visible{outline:3px solid var(--booking-blue);outline-offset:2px}


.insurance-sale-fields{margin:12px 0;padding:16px;border:1px solid var(--booking-line);border-radius:7px;background:#f7fbff}
.insurance-sale-fields legend{font-weight:750;color:var(--booking-navy)}
.insurance-policy{border:1px solid var(--booking-line);border-radius:8px;padding:16px;margin:12px 0;background:#fff}
.insurance-policy-title{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}
.insurance-policy-title small{display:block;color:var(--muted);margin-top:4px}
.insurance-stage-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.insurance-stage{display:grid;gap:6px;padding:12px;background:#f1f6fc;border-radius:6px}
.insurance-stage.waiting{border-left:3px solid var(--booking-yellow)}
.insurance-stage button{justify-self:start;padding:7px 12px}
.insurance-policy-facts{display:grid;gap:8px}
.insurance-policy-facts div{display:flex;justify-content:space-between;gap:16px}.insurance-policy-facts dd{margin:0;text-align:right}
.insurance-accounting-note{padding:10px;border-left:3px solid var(--booking-yellow);background:#fff8df;font-size:.84rem}
.insurance-legacy-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--booking-line)}
.insurance-update-form{padding:24px}
#insurance-refund-summary #home-insurance-amounts{display:block;margin:8px 0;font-size:.9rem}
#insurance-refund-summary #home-insurance-amounts small{display:block;color:var(--muted);font-size:.72rem}
@media(max-width:620px){.insurance-stage-grid{grid-template-columns:1fr}.insurance-policy-title,.insurance-policy-facts div{flex-direction:column}.insurance-policy-facts dd{text-align:left}.insurance-update-form{padding:16px}}


.cash-main-transfer-dialog{width:min(720px,calc(100% - 32px))}
.cash-transfer-available{padding:14px 16px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);margin:16px 0}
.cash-transfer-available h3{margin:0;font-size:var(--tvm-type-emphasis)}
.cash-transfer-available .cash-transfer-totals{padding-top:12px}
.cash-transfer-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cash-transfer-fields :is(input,select){height:var(--ui-date-toolbar-height);font-size:var(--tvm-type-emphasis);font-weight:600}
.cash-transfer-rules{margin-top:12px;font-size:var(--tvm-type-support);color:var(--tvm-muted)}
.cash-transfer-rules summary{cursor:pointer;color:var(--tvm-navy);font-weight:600}
.cash-transfer-rules ul{padding-left:20px;line-height:1.6}
#cash-transfer-remaining{margin:0 0 12px;font-size:var(--tvm-type-support)}
@media(max-width:520px){.cash-transfer-fields{grid-template-columns:minmax(0,1fr)}.cash-transfer-available{padding:12px}.cash-main-transfer-dialog .form-actions{flex-wrap:wrap}.cash-main-transfer-dialog .form-actions button{flex:1}}


.cash-staff-summary .cash-staff-name{vertical-align:middle;white-space:nowrap}
.cash-staff-summary tbody+tbody{border-top:2px solid var(--booking-line)}
.catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:20px 0;align-items:end}
.catalog-filters label{margin:0}.catalog-filters input:not([type="radio"]),.catalog-filters select{min-height:48px}
.choice-segment-field{min-width:0;margin:0;padding:0;border:0}.choice-segment-field legend{margin:0 0 6px;color:var(--tvm-navy);font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold)}.choice-segment{display:flex;min-height:46px;padding:3px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}.choice-segment label{position:relative;display:flex;flex:1;margin:0}.choice-segment input{position:absolute;inline-size:1px;block-size:1px;opacity:0}.choice-segment span{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;padding:7px 11px;border-radius:5px;color:var(--tvm-muted);font-weight:var(--tvm-weight-bold);text-align:center;cursor:pointer}.choice-segment input:checked+span{background:var(--tvm-action-soft);color:var(--tvm-action);box-shadow:inset 0 0 0 2px var(--tvm-action)}.choice-segment input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--tvm-action) 28%,transparent);outline-offset:2px}
.catalog-scope{white-space:pre-wrap}
#catalog-dialog{width:min(720px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:24px}
#catalog-dialog .form-grid{margin:20px 0}#catalog-dialog textarea{min-height:120px}
@media(max-width:640px){.catalog-filters{grid-template-columns:1fr}#catalog-dialog .form-grid{grid-template-columns:1fr}}


.workbench.detail-open>.layout>aside#detail{max-width:none;padding:0;border:0;background:transparent}
.workbench.detail-open .case-file-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px;padding:20px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.case-file-title{margin:3px 0 14px!important;color:var(--tvm-navy);font-size:var(--tvm-type-page)!important;line-height:var(--tvm-leading-tight)!important;letter-spacing:-.025em}
.case-file-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:5px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
.case-file-tabs{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.case-file-nav button{min-width:0;padding:9px 13px;border:0;border-radius:5px;background:transparent;box-shadow:none;color:var(--tvm-navy);font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold)}
.case-file-nav button.active{background:var(--tvm-action-soft);color:var(--tvm-action)}
.case-file-nav button:hover,.case-file-nav button:focus-visible{background:var(--tvm-row-hover);color:var(--tvm-action);filter:none}
.case-file-nav .case-new-passport-action{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:44px;margin-left:auto;padding:10px 17px;background:var(--tvm-action);color:#fff}.case-file-nav .case-new-passport-action:hover,.case-file-nav .case-new-passport-action[aria-current="page"]{background:var(--tvm-navy);color:#fff}.case-file-nav .case-new-passport-action:focus-visible{background:var(--tvm-action);color:#fff;outline:3px solid var(--tvm-action-soft);outline-offset:2px}.case-new-passport-action span{margin-right:4px;color:var(--tvm-yellow);font-size:20px}
@media(max-width:820px){.case-file-nav{align-items:stretch;flex-direction:column;gap:8px}.case-file-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%}.case-file-tabs>[role="tab"]{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;text-align:center;white-space:normal}.case-file-nav .case-new-passport-action{width:100%;margin-left:0}}
.case-file-panel{display:grid;gap:12px;min-width:0}.case-file-panel[hidden]{display:none!important}
.participant-insurance{margin-top:14px;padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}.participant-insurance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.participant-insurance-heading h4{margin:0;color:var(--tvm-navy)}.participant-insurance-heading button{width:auto;min-height:38px}.participant-insurance-list{display:grid;gap:0;margin-top:10px;border:1px solid var(--tvm-line);border-radius:9px;overflow:hidden;background:var(--tvm-surface)}.participant-insurance-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:11px 12px;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0;background:var(--tvm-surface)}.participant-insurance-list article:last-child{border-bottom:0}.participant-insurance-list article>div{display:grid;gap:3px}.participant-insurance-list article>div:last-child{text-align:right}.participant-insurance-list small{color:var(--tvm-muted)}.participant-insurance-list p{margin:0;padding:11px 12px;color:var(--tvm-muted)}.participant-insurance-editor{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.whiteboard-card{padding:20px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}.whiteboard-card>header h3{margin:0;color:var(--tvm-navy)}.whiteboard-card>header p{margin:4px 0 14px;color:var(--tvm-muted)}#whiteboard-form{display:grid;gap:10px;padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}.whiteboard-entry-meta{display:grid;grid-template-columns:minmax(220px,1fr) 170px;gap:10px;align-items:end}.whiteboard-entry-meta label{margin:0}.whiteboard-entry-meta label small{font-weight:500;color:var(--tvm-muted)}.whiteboard-entry-meta input{min-height:42px;padding:8px 11px}.whiteboard-note-date input{width:100%;min-height:42px}.whiteboard-editor-shell{overflow:hidden;border-radius:10px;background:#fff}#whiteboard-toolbar.ql-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:0;padding:7px 9px;border:1px solid var(--tvm-line);border-radius:10px 10px 0 0;background:#fff}#whiteboard-toolbar.ql-toolbar .ql-formats{display:flex;align-items:center;margin:0;padding:0 8px;border-right:1px solid var(--tvm-line)}#whiteboard-toolbar.ql-toolbar .ql-formats:first-child{padding-left:0}#whiteboard-toolbar.ql-toolbar .ql-formats:last-child{border-right:0}#whiteboard-toolbar.ql-toolbar button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:6px;border:0;border-radius:7px;background:transparent;color:var(--tvm-navy);box-shadow:none;filter:none}#whiteboard-toolbar.ql-toolbar button:hover,#whiteboard-toolbar.ql-toolbar button:focus-visible,#whiteboard-toolbar.ql-toolbar button.ql-active{background:var(--tvm-action-soft);color:var(--tvm-action);filter:none}#whiteboard-toolbar .ql-paragraph{font-size:20px;font-weight:700}#whiteboard-toolbar .ql-header{font-size:14px;font-weight:800}#whiteboard-editor.ql-container{height:auto;border:1px solid var(--tvm-line);border-top:0;border-radius:0 0 10px 10px;background:#fff;color:var(--tvm-navy);font-family:inherit;font-size:16px}#whiteboard-editor .ql-editor{min-height:260px;padding:18px 20px;overflow:visible;line-height:1.65}#whiteboard-editor .ql-editor.ql-blank:before{left:20px;right:20px;color:var(--tvm-muted);font-style:normal}.whiteboard-save-actions{justify-content:flex-end;margin-top:0}.whiteboard-save-actions button{width:auto;min-width:140px}.whiteboard-notes{display:grid;gap:10px;margin-top:16px}.whiteboard-notes article{padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:#fff}.whiteboard-notes article header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--tvm-line)}.whiteboard-notes article header>div{display:grid;gap:2px}.whiteboard-notes article header span,.whiteboard-notes article header small{color:var(--tvm-muted);font-size:var(--tvm-type-support)}.whiteboard-note-content{min-height:0;padding:12px 0 0!important;overflow:visible}.whiteboard-note-content p:first-child,.whiteboard-note-content h2:first-child,.whiteboard-note-content h3:first-child{margin-top:0}.whiteboard-notes h2,.whiteboard-notes h3{color:var(--tvm-navy)}@media(max-width:700px){.whiteboard-card{padding:14px}.whiteboard-entry-meta{grid-template-columns:minmax(0,1fr)}.whiteboard-note-date{max-width:180px}#whiteboard-toolbar.ql-toolbar .ql-formats{padding:0 4px}#whiteboard-editor .ql-editor{min-height:220px;padding:15px}}
.workbench.detail-open .case-identity{border-color:var(--tvm-line);border-radius:var(--tvm-radius-control);box-shadow:var(--tvm-shadow-card)}
.case-shared-account{border-color:var(--tvm-line)!important;border-radius:var(--tvm-radius-card)!important;box-shadow:var(--tvm-shadow-card)}
.case-shared-account>summary{padding:17px 20px;background:var(--tvm-surface-info);font-size:var(--tvm-type-emphasis)}
.case-participants-section{border:0;background:transparent;box-shadow:none;min-width:0}
.case-participants-heading{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;min-height:0;margin-bottom:12px;padding:16px 20px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}
.case-participants-heading h3{margin:0;font-size:var(--tvm-type-emphasis);color:var(--tvm-navy)}
.case-participants-heading>b{display:inline-grid;place-items:center;min-height:25px;padding:3px 9px;border-radius:999px;background:var(--tvm-action);color:#fff;font-size:var(--tvm-type-overline)}
.case-participants-section>.detail-group-body{padding:0!important;border-top:0}
.case-participants-section .participant-list{display:grid;gap:18px}
.case-participants-section .participant-card{padding:20px;margin:0;min-width:0;border:2px solid var(--tvm-action);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.case-shared-account>.detail-group-body{padding:0 20px 20px}
.case-participants-section .participant-title{align-items:flex-start;margin-bottom:16px}
.case-participants-section .participant-title>div>strong{font-size:var(--tvm-type-section);line-height:var(--tvm-leading-title)}
.participant-title-actions{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.participant-title-actions .ui-button,.participant-title-actions button{width:auto;min-height:38px;padding:7px 11px;white-space:nowrap;font-size:var(--tvm-type-support)}
.case-participants-section .participant-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--tvm-line)}
.case-participants-section .participant-facts span{min-width:0;overflow-wrap:anywhere;font-size:var(--tvm-type-address)}
.case-participants-section .participant-facts strong{display:block;color:var(--tvm-navy);font-size:var(--tvm-type-address)}
.participant-identity-actions{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 18px}
.participant-identity-actions button{width:auto;min-height:40px}
.customer-editor-dialog{width:min(880px,calc(100% - 32px));max-height:90vh;padding:0;border:0;border-radius:var(--tvm-radius-card);box-shadow:var(--tvm-shadow-dialog)}
.customer-editor-dialog::backdrop{background:rgb(12 35 58 / 48%)}
.customer-editor-dialog .customer-editor{margin:0;padding:22px;border:0;background:var(--tvm-surface)}
.participant-editor-dialog{width:min(920px,calc(100% - 32px));max-height:90vh;padding:0;border:0;border-radius:var(--tvm-radius-card);box-shadow:var(--tvm-shadow-dialog)}.participant-editor-dialog::backdrop{background:rgb(12 35 58 / 48%)}.participant-editor-dialog .participant-editor{margin:0;padding:22px;border:0;background:var(--tvm-surface)}.participant-identity-fieldset{margin:0 0 12px;padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}.participant-identity-fieldset legend{padding:0 6px;color:var(--tvm-navy);font-weight:var(--tvm-weight-bold)}
.case-person-commerce{display:grid;gap:12px;min-width:0}
.case-service-table-wrap{max-width:100%;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.case-service-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:var(--tvm-type-support)}
.case-service-table caption{padding:13px 14px;text-align:left;color:var(--tvm-navy);font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-bold)}
.case-service-table col:first-child{width:36%}.case-service-table col:nth-child(2){width:15%}.case-service-table col:nth-child(3){width:16%}.case-service-table col:nth-child(4){width:15%}.case-service-table col:nth-child(5){width:18%}
.case-service-table th,.case-service-table td{min-width:0;padding:12px;border-top:1px solid var(--tvm-line);text-align:right;vertical-align:middle;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.case-service-table th:first-child,.case-service-table td:first-child{text-align:left}
.case-service-table th{background:var(--tvm-table-head);color:var(--tvm-navy);font-size:var(--tvm-type-overline);font-weight:var(--tvm-weight-heavy)}
.case-service-table td small{display:block;margin-top:4px;color:var(--tvm-muted);font-size:var(--tvm-type-overline)}
.case-service-table tbody tr:nth-child(even){background:var(--tvm-surface-subtle)}
.case-service-table tbody tr:hover:not(.case-service-empty){background:var(--tvm-row-hover)}
.case-service-table td:last-child .finance-row-actions{justify-content:flex-end;flex-wrap:wrap}
.case-service-empty td{color:var(--tvm-muted);text-align:left!important;white-space:normal!important}
.case-person-footer{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:14px}
.case-person-service-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.case-person-service-actions button{width:auto;min-height:42px;white-space:normal}
.case-person-totals{margin-left:auto;min-width:220px;max-width:100%;padding:12px 16px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info);text-align:right}
.case-person-totals h4{margin:0 0 6px;color:var(--tvm-muted);font-size:var(--tvm-type-support)}
.case-person-total-values{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px}
.case-person-total-values>div{display:flex;align-items:baseline;gap:8px}.case-person-total-values span{color:var(--tvm-muted);font-size:var(--tvm-type-overline)}
.case-person-total-values strong{color:var(--tvm-navy);font-size:var(--tvm-type-emphasis);font-variant-numeric:tabular-nums}
.case-shared-account .case-finance-account{margin-top:20px;border-color:var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}
.case-account-table-wrap{margin:14px 0;overflow-x:auto;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.case-account-table{width:100%;border-collapse:collapse;font-size:var(--tvm-type-support)}
.case-account-table th,.case-account-table td{padding:11px 13px;border-bottom:1px solid var(--tvm-line);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.case-account-table thead th{background:var(--tvm-table-head);color:var(--tvm-muted);font-size:var(--tvm-type-overline)}.case-account-table th:first-child{text-align:left}.case-account-table tbody tr:last-child>*{border-bottom:0}.case-account-table td:last-child small,.case-account-table td:last-child strong{display:block}.case-account-table td:last-child small{color:var(--tvm-muted)}
.case-euro-report{margin:10px 0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-subtle)}.case-euro-report>summary{padding:10px 13px;color:var(--tvm-muted);font-size:var(--tvm-type-support)}.case-euro-report .finance-summary{margin:0;padding:0 13px 10px;border:0}
.case-movements-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.case-movements-heading h4{margin:0;color:var(--tvm-navy);font-size:var(--tvm-type-emphasis)}.case-movements-heading span{color:var(--tvm-muted);font-size:var(--tvm-type-support)}
.case-passport-form{margin:0;padding:22px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}.case-passport-form>summary{margin:-22px -22px 18px;padding:18px 22px;border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface-info);color:var(--tvm-navy);font-size:var(--tvm-type-section);font-weight:var(--tvm-weight-bold);list-style:none}.case-passport-form>summary::-webkit-details-marker{display:none}.case-passport-add{display:grid;gap:16px}.case-passport-add fieldset{margin:0;padding:16px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}.case-passport-add legend{padding:0 7px;color:var(--tvm-navy);font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-bold)}.case-passport-actions{display:flex;justify-content:flex-end;gap:8px}.case-passport-actions button{width:auto;min-height:44px}
body:has(.workbench.detail-open) .operations-overview,body:has(.workbench.detail-open) .workbench>#counts,body:has(.workbench.detail-open) .workbench>.workbench-head{display:none!important}
.case-currency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin:14px 0}
.case-currency-card{min-width:0;padding:14px;border:1px solid var(--tvm-line);border-left:4px solid var(--tvm-action);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
.case-currency-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.case-currency-card>div strong{color:var(--tvm-navy);font-size:var(--tvm-type-emphasis)}.case-currency-card>div span{color:var(--tvm-muted);font-size:var(--tvm-type-overline)}
.case-currency-card>b{display:block;margin:10px 0;color:var(--tvm-navy);font-size:var(--tvm-type-section);font-variant-numeric:tabular-nums}
.case-currency-card dl{display:grid;gap:6px;margin:0}.case-currency-card dl div{display:flex;justify-content:space-between;gap:10px;padding-top:6px;border-top:1px solid var(--tvm-line);font-size:var(--tvm-type-support)}.case-currency-card dd{margin:0;font-weight:var(--tvm-weight-bold);font-variant-numeric:tabular-nums}
.case-shared-account .finance-summary{margin-top:14px}
.case-shared-account .case-finance-actions{align-items:stretch}
.case-shared-account .case-finance-actions button{width:auto;white-space:normal}
@media(max-width:900px){.case-participants-section .participant-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.workbench.detail-open .case-file-heading{align-items:stretch;flex-direction:column;padding:16px}.case-file-title{font-size:var(--tvm-type-customer)!important}.case-file-nav{flex-wrap:wrap}.case-file-nav button{flex:1 1 auto}.case-participants-section>.detail-group-body,.case-shared-account>.detail-group-body{padding:0 14px 14px}.case-participants-section .participant-title{flex-direction:column}.participant-title-actions{justify-content:flex-start}.case-participants-section .participant-facts{grid-template-columns:minmax(0,1fr)}.participant-identity-actions{display:grid;grid-template-columns:minmax(0,1fr)}.participant-identity-actions button{width:100%}.case-person-service-actions{display:grid;grid-template-columns:minmax(0,1fr)}.case-person-service-actions button{width:100%}.case-shared-account .case-finance-actions{display:grid;grid-template-columns:minmax(0,1fr)}.case-shared-account .case-finance-actions button{width:100%}.case-passport-form{padding:14px}.case-passport-form>summary{margin:-14px -14px 14px;padding:15px 14px}.case-passport-actions{display:grid;grid-template-columns:1fr}.case-passport-actions button{width:100%}}
@media(max-width:760px){
 .case-service-table-wrap{border:0}.case-service-table,.case-service-table tbody,.case-service-table tr,.case-service-table td{display:block;width:100%}
 .case-service-table colgroup,.case-service-table thead{display:none}.case-service-table tbody{display:grid;gap:8px}
 .case-service-table tr{padding:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
 .case-service-table td{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border:0;text-align:right;white-space:normal}
 .case-service-table td::before{content:attr(data-label);flex:0 0 74px;text-align:left;color:var(--tvm-muted);font-size:var(--tvm-type-overline);font-weight:var(--tvm-weight-bold)}
 .case-service-table td>*{min-width:0}.case-service-empty td{display:block}.case-service-empty td::before{content:none}
 .case-person-footer{display:grid;grid-template-columns:minmax(0,1fr)}.case-person-totals{min-width:0;width:100%}
 .case-account-table{table-layout:fixed}.case-account-table th,.case-account-table td{padding:10px 6px;white-space:normal;overflow-wrap:anywhere;font-size:12px}.case-account-table thead th{font-size:11px}.case-account-table th:first-child{width:16%}
}
body:has(.workbench.detail-open) .account-finance-dialog .finance-money-field :is(input,select),
body:has(.workbench.detail-open) .account-finance-dialog .date-range-trigger{border-color:var(--tvm-line)}
body:has(.workbench.detail-open) .account-finance-dialog :is(h2,h3){color:var(--tvm-navy)}

@media(max-width:700px){.case-participants-section .participant-card{padding:14px}.case-participants-heading{padding:14px}}


.identity-edit-grid .edit-address{grid-column:1 / span 2}
.identity-edit-actions{grid-column:3 / span 2;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;align-content:flex-end;gap:10px;margin:11px 0 15px;min-width:0}
.identity-edit-actions button{min-height:42px;max-width:100%;white-space:normal}
.identity-edit-actions button{width:auto}
.identity-save-error{margin:0}
.iban-edit-field small{display:block;min-height:18px;margin-top:5px;color:var(--tvm-muted);font-size:12px;font-weight:650;line-height:1.35}.iban-edit-field small.valid{color:var(--tvm-success)}.iban-edit-field small.invalid{color:var(--tvm-danger)}
.customer-editor .iban-edit-field{display:none}
.account-profile-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border-top:0!important;padding-top:0!important}.account-profile-overview article{border:1px solid var(--booking-line);border-radius:12px;background:#f7fbff;padding:16px 18px}.account-profile-overview h3{margin:0;font-size:17px;color:var(--booking-navy)}.account-profile-overview dl{display:grid;gap:8px;margin:14px 0 0}.account-profile-overview dl div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:12px;border-top:1px solid #dce8f2;padding-top:8px}.account-profile-overview dt{color:var(--muted);font-size:13px}.account-profile-overview dd{margin:0;color:var(--booking-navy);font-weight:750;overflow-wrap:anywhere}.account-invoice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-invoice-heading span{border:1px solid #9ec4e6;border-radius:999px;background:#eaf4fd;padding:5px 10px;color:#075ca8;font-size:12px;font-weight:800}.account-profile-dialog{width:min(920px,calc(100vw - 28px));max-height:calc(100vh - 28px)}.account-profile-dialog form{display:grid;gap:0}.invoice-type-picker{border:0;padding:0;margin:0 0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.invoice-type-picker legend{margin-bottom:8px;color:var(--booking-navy);font-weight:800}.invoice-type-picker label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--booking-line);border-radius:10px;padding:12px;background:#fff;cursor:pointer}.invoice-type-picker label:has(input:checked){border-color:var(--booking-blue);box-shadow:0 0 0 2px #0966ba20;background:#f2f8fe}.invoice-type-picker input{width:auto;margin-top:3px}.invoice-type-picker span{display:grid;gap:2px}.invoice-type-picker small{color:var(--muted);font-size:12px;line-height:1.3}.invoice-individual-note{display:grid;gap:4px;border:1px solid #b9d7ef;border-radius:10px;background:#f2f8fe;padding:13px 15px;margin-bottom:14px}.invoice-individual-note span{color:var(--muted);font-size:13px}.invoice-profile-section .section-help{margin:12px 0 0}
@media(max-width:760px){.account-profile-overview{grid-template-columns:1fr}.invoice-type-picker{grid-template-columns:1fr}.account-profile-overview dl div{grid-template-columns:1fr;gap:3px}}
.account-case-links{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:12px;min-width:0}
.account-case-links .ui-button{max-width:100%;white-space:normal}
.participant-title-actions :is(a.ui-button,button){display:inline-flex;align-items:center;justify-content:center;width:160px;min-width:160px;min-height:42px;padding:9px 12px;font-size:var(--tvm-type-support);white-space:normal}
.participant-result-state{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.participant-result-state>span:first-child{color:var(--tvm-muted);font-size:var(--tvm-type-support)}
.participant-result-state .badge{font-size:var(--tvm-type-support)}
.ui-add-icon{display:inline-block;font-size:24px;font-weight:800;line-height:1;flex:0 0 auto}
.case-person-service-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
@media(max-width:760px){.identity-edit-grid .edit-address,.identity-edit-actions{grid-column:1 / -1}.identity-edit-actions{justify-content:flex-start}.account-case-links{justify-content:flex-start}.identity-edit-actions button{flex:1 1 auto}}

.case-payment-table-wrap{margin:16px 0;min-width:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.case-payment-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--tvm-type-support)}
.case-payment-table :is(th,td){padding:12px 10px;vertical-align:top;text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid var(--tvm-line)}
.case-payment-table :is(th,td):nth-child(-n+3){text-align:left}
.case-payment-table :is(th,td):first-child{width:118px;min-width:118px;white-space:nowrap}
.case-payment-table :is(th,td):nth-child(2){width:28%;overflow-wrap:anywhere}
.case-payment-table :is(th,td):nth-child(3){width:92px}
.case-payment-table :is(th,td):nth-child(4),.case-payment-table :is(th,td):nth-child(5),.case-payment-table :is(th,td):nth-child(6){width:105px}
.case-payment-table td:nth-child(n+4){white-space:nowrap}
.case-payment-table small{display:block;color:var(--tvm-muted);white-space:normal}
.case-payment-table tfoot :is(th,td){background:var(--tvm-surface-info);vertical-align:middle}
.case-payment-table tfoot strong{display:block;font-size:var(--tvm-type-emphasis);color:var(--tvm-navy)}
.case-payment-table .finance-row-actions{flex-wrap:wrap;justify-content:flex-end}
.case-payment-table th:last-child,.case-payment-table td:last-child{width:168px}
.case-payment-table .finance-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:150px;margin-left:auto}
.case-payment-table .finance-row-actions button{width:100%;min-height:38px;padding:7px 10px}
.case-finance-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
@media(max-width:1000px){
 .case-payment-table-wrap{border:0}
 .case-payment-table,.case-payment-table tbody,.case-payment-table tfoot,.case-payment-table tr,.case-payment-table td{display:block;width:100%}
 .case-payment-table thead{display:none}
 .case-payment-table :is(tbody,tfoot){display:grid;gap:10px}
 .case-payment-table tr{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);padding:12px}
 .case-payment-table :is(tbody,tfoot) td{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border:0;white-space:normal;text-align:right;width:auto}
 .case-payment-table td::before{content:attr(data-label);flex:0 0 80px;text-align:left;color:var(--tvm-muted)}
 .case-payment-table td:empty{display:none}
 .case-payment-table td>div{min-width:0}
 .case-payment-table tfoot{margin-top:12px}
 .case-payment-table tfoot tr{background:var(--tvm-surface-info)}
 .case-payment-table tfoot th{display:block;text-align:left;border:0;padding:0 0 10px}
 .case-payment-table tfoot td:last-of-type{flex-wrap:wrap}
 .case-payment-table :is(th,td):last-child{width:auto}
 .case-payment-table :is(th,td):first-child{width:auto;min-width:0;white-space:normal}
 .case-payment-table .finance-row-actions{width:min(100%,240px);margin-left:auto}
}


.account-finance-add.insurance-sale-mode>.form-section>.booking-form{grid-template-columns:minmax(180px,1fr) minmax(170px,1fr) minmax(170px,1fr) minmax(96px,.45fr)}
.insurance-sale-mode .finance-case-field{grid-column:1 / 3;grid-row:1}
.insurance-sale-mode .finance-participant-field{grid-column:3 / 5;grid-row:1}
.insurance-sale-mode .finance-sale-amount-field{grid-column:1 / 2;grid-row:2}
.insurance-sale-mode .finance-date-field{grid-column:3;grid-row:1;min-width:0}
.insurance-sale-mode .finance-currency-field{grid-column:2 / 3;grid-row:2;min-width:96px;max-width:130px}
.insurance-sale-mode .finance-date-field .date-range-trigger{width:100%}
.insurance-sale-mode .insurance-sale-fields{grid-column:1 / -1}
.insurance-sale-mode .insurance-sale-fields>.booking-form{grid-template-columns:minmax(130px,1fr) minmax(140px,1fr) minmax(180px,1fr);gap:12px}
.insurance-sale-mode .insurance-insurer-field{grid-column:1;grid-row:1}
.insurance-sale-mode .insurance-policy-field{grid-column:2;grid-row:1}
.insurance-sale-mode .insurance-sale-fields{padding:12px}
.insurance-sale-mode .form-section>.booking-form{row-gap:12px}
.insurance-sale-mode .insurance-purchase-currency{max-width:190px}
.account-finance-add.validation-attempted .insurance-sale-fields:has(:invalid){border:2px solid var(--tvm-danger);background:var(--tvm-danger-soft)}
.account-finance-add.validation-attempted .insurance-sale-fields :is(input,select,textarea):invalid{border-color:var(--tvm-danger)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--tvm-danger) 20%,transparent)}
@media(max-width:800px){
 .account-finance-add.insurance-sale-mode>.form-section>.booking-form{grid-template-columns:minmax(0,1fr)}
 .insurance-sale-mode :is(.finance-case-field,.finance-participant-field,.finance-sale-amount-field,.finance-date-field,.finance-currency-field){grid-column:1 / -1;grid-row:auto}
 .insurance-sale-mode .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr)}
 .insurance-sale-mode :is(.insurance-insurer-field,.insurance-policy-field){grid-column:1;grid-row:auto}
 .insurance-sale-mode .insurance-purchase-currency{max-width:none}
}


.calendar-month{position:relative;min-width:0}
.calendar-panel-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}
.calendar-panel-head .calendar-nav{flex:0 0 38px;min-width:0}
.calendar-panel-head .calendar-title{min-width:0;white-space:nowrap}
.weekdays,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-panel-head .calendar-title{background:transparent;color:var(--tvm-navy);box-shadow:none;border:0;font-size:18px;padding:8px;text-transform:capitalize}
 .calendar-period-menu{position:absolute;z-index:3;top:50px;left:50%;transform:translateX(-50%);width:min(280px,100%);padding:10px;box-sizing:border-box;background:#eff6ff;border:1px solid #bfd3e6;border-radius:10px;box-shadow:0 10px 28px #16334b1f}
.calendar-period-head{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:8px}
.calendar-period-menu button{background:transparent;color:var(--tvm-navy);border:0;box-shadow:none;padding:8px;min-height:40px}
.calendar-period-head [data-shift]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;font-size:30px;line-height:1;color:var(--tvm-action)}
.calendar-period-head [data-year-title]{min-width:90px;font-size:18px;font-weight:700;padding:6px 8px}
.calendar-period-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.calendar-period-menu button:hover{background:#dbeafe;color:var(--tvm-navy)}
.calendar-period-menu button:focus-visible{outline:2px solid var(--tvm-action);outline-offset:1px;background:#dbeafe}
.calendar-period-menu button.active{background:#bfdcf5;color:var(--tvm-navy);font-weight:700}
.calendar-period-menu button:active{background:#a9cfee}
.date-range-popover .calendar-help{font-size:12px;padding-top:8px;padding-right:80px;min-height:44px;margin-bottom:0}
.date-range-popover>.calendar-dismiss{position:absolute;right:16px;bottom:16px;margin:0;min-height:36px;padding:6px 12px}
.calendar-head{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:9px;align-items:end}
.calendar-jump{display:grid;grid-template-columns:minmax(110px,1fr) minmax(78px,.65fr);gap:8px;min-width:0;width:min(100%,300px);justify-self:center}
.calendar-jump label{display:grid;gap:2px;margin:0;min-width:0;color:var(--tvm-muted);font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.calendar-jump select{width:100%;min-width:0;min-height:38px;padding:6px 8px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:#fff;color:var(--tvm-navy);font-size:14px;font-weight:700;text-transform:none}
.month-grid button:disabled{cursor:not-allowed;background:transparent;color:#aeb9c2;opacity:.55;box-shadow:none}
.single-date-popover .calendar-help{margin-bottom:0}
@media(max-width:420px){.calendar-head{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}.calendar-jump{grid-template-columns:minmax(0,1.15fr) minmax(72px,.7fr)}.calendar-jump select{padding:6px 5px;font-size:13px}}


.case-passport-form{width:100%;max-width:1120px;margin-inline:auto;box-sizing:border-box}
.case-passport-form>summary{padding-block:15px}
.case-passport-add{counter-reset:passport-step;max-width:1040px;margin:0 auto;gap:0}
.passport-form-intro{margin:0 0 8px;padding:0 0 18px;border-bottom:1px solid var(--tvm-line);color:var(--tvm-muted);font-size:14px}
.case-passport-add>fieldset{counter-increment:passport-step;margin:0;padding:24px 0;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0}
.case-passport-add>fieldset:first-of-type{padding-top:18px}
.case-passport-add>fieldset>legend{display:flex;align-items:center;gap:10px;width:100%;padding:0 0 14px;color:var(--tvm-navy);font-size:18px}
.case-passport-add>fieldset>legend::before{content:counter(passport-step);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--tvm-surface-info);color:var(--tvm-blue);font-size:13px;font-weight:800}
.case-passport-add>fieldset>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.case-passport-add label{margin:0;min-width:0;font-size:14px;font-weight:650}
.case-passport-add :is(input,select,textarea){width:100%;min-width:0;min-height:48px;border-color:var(--tvm-line)}
.case-passport-add textarea{min-height:84px;resize:vertical}
.case-passport-add .single-date-picker{width:100%;max-width:none}
.case-passport-add .date-range-label{font-size:14px;color:#294456}
.case-passport-add .compact-date-trigger{min-height:48px;padding:8px 11px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.case-passport-add .compact-date-trigger .calendar-icon{font-size:21px}
.case-passport-add .compact-date-trigger strong{font-size:15px}
.case-passport-add .sponsor-fields{margin-top:4px;padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-muted)}
.case-passport-actions{position:sticky;bottom:0;z-index:4;align-items:center;margin:0 -22px -22px;padding:15px 22px;border-top:1px solid var(--tvm-line);background:color-mix(in srgb,var(--tvm-surface) 96%,transparent);box-shadow:0 -8px 20px #14324c0c}
.case-passport-actions button:last-child{min-width:210px}
@media(max-width:700px){.case-passport-add>fieldset>.form-grid{grid-template-columns:minmax(0,1fr)}.case-passport-add .wide{grid-column:1}.case-passport-actions{margin:0 -14px -14px;padding:13px 14px}.case-passport-actions button:last-child{min-width:0}}
.daily-rate-board .rate-fallback-notice{color:#a83232;font-weight:800}


body.accounts-active .account-detail-name-row{flex-wrap:wrap}
body.accounts-active .account-detail-name-row>div:first-child{flex:1 1 260px}
body.accounts-active .account-detail-name-row>.account-detail-identity-tools{display:contents}
body.accounts-active .account-detail-name-row .account-case-links{flex:1 0 100%;width:100%}
@media(max-width:560px){body.accounts-active .account-detail-name-row>div:first-child{flex:0 1 auto;width:100%}}

@media(max-width:560px){
 .customer-editor-dialog .identity-edit-grid{grid-template-columns:minmax(0,1fr)}
 .customer-editor-dialog .identity-edit-grid :is(.edit-address,.identity-edit-actions){grid-column:1}
 .customer-editor-dialog .customer-editor{padding:16px}
}

@media(max-width:1000px){
 .case-payment-table tbody td:nth-child(2){display:grid;width:auto;grid-template-columns:minmax(0,1fr);gap:4px;text-align:left}
 .case-payment-table tbody td:nth-child(2)::before{display:block;min-width:0}
 .case-payment-table tbody td:nth-child(2) :is(strong,small){min-width:0;word-break:normal;overflow-wrap:break-word}
}

@media(max-width:700px){
 .case-passport-actions{position:static;z-index:auto;margin:0 -14px -14px;box-shadow:none}
}


.package-service-cost{padding:16px 0;border-bottom:1px solid var(--tvm-border,#d4e2ef)}
.package-service-cost:last-child{border-bottom:0}
.package-service-cost>header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:12px}
.package-service-cost>header>span{color:var(--tvm-text-muted,#526d82)}
.service-cost-inline .form-grid{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(90px,.7fr) minmax(180px,1.5fr)}
.service-cost-inline .finance-date-field,.service-cost-inline .single-date-picker{min-width:0}
@media(max-width:800px){.service-cost-inline .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.service-cost-inline .form-grid{grid-template-columns:minmax(0,1fr)}}

.package-service-cost>header{align-items:center;justify-content:flex-start}.package-service-cost>header>span{margin-left:auto}.service-order-handle{cursor:grab;padding:4px 8px;min-width:32px;background:transparent;color:var(--tvm-action,#0966ba);border:1px solid transparent;font-size:24px;line-height:1}.service-order-handle:active{cursor:grabbing}.service-drop-target{outline:2px dashed var(--tvm-action,#0966ba);outline-offset:2px}
.package-service-cost>header{padding:8px 0;margin:0 0 8px;border:0;background:transparent;min-height:0}
.package-service-cost{margin:0;padding:12px 0}
.package-service-summary{margin:0}
.package-service-cost>header>div{display:grid;gap:2px}.package-service-cost>header>div small{color:var(--tvm-text-muted,#526d82);font-weight:600}.service-cost-category{margin:10px 0;border:1px solid var(--tvm-border,#d4e2ef);border-radius:10px;overflow:hidden}.service-cost-category>header{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--tvm-soft-blue,#eef6fd)}.service-cost-category>header span{color:var(--tvm-text-muted,#526d82);font-weight:700}.service-cost-category .finance-entry-row{padding:10px 12px}.service-contribution-summary{margin-top:12px}
@media(max-width:600px){.package-service-cost>header>span{width:100%;margin-left:42px}.service-cost-category>header{display:grid}}
.cost-section-block+.cost-section-block{margin-top:16px;padding-top:16px;border-top:1px solid var(--tvm-border,#d4e2ef)}.package-summary-block{display:flex;flex-direction:column}.package-summary-block>.subsection-head{order:0}.package-summary-block>.package-service-summary{order:1}.package-service-summary{border:1px solid var(--tvm-border,#d4e2ef);border-radius:9px;overflow:hidden}.package-sale-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border-bottom:1px solid var(--tvm-border,#d4e2ef)}.package-sale-row:last-child{border-bottom:0}.package-sale-row>div:first-child{display:grid;gap:2px}.package-sale-row small{color:var(--tvm-text-muted,#526d82)}.package-sale-row>.service-cost-form-slot{grid-column:1/-1}.application-cost-table-wrap{overflow-x:auto}.application-cost-table th:nth-child(1){width:24%}.application-cost-table th:nth-child(2){width:36%}.application-cost-table th:nth-child(3){width:16%}.application-cost-table th:nth-child(4){width:14%}.application-cost-table td:nth-child(3){white-space:nowrap}.application-cost-table td:nth-child(4){white-space:nowrap}.application-cost-table td small{display:block;color:var(--tvm-text-muted,#526d82);margin-top:3px}.application-cost-total{display:flex;justify-content:flex-end;gap:18px;align-items:center;margin:10px 0 0;padding:10px 12px;background:var(--tvm-soft-blue,#eef6fd);border-radius:8px}.application-cost-total strong{font-size:1.08rem}.cost-section-block .subsection-head{align-items:center;border-top:0;margin:0 0 10px;padding:0}.cost-section-block .subsection-head h4{margin:0}.cost-section-block .subsection-head p{margin:3px 0 0}
.cost-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 12px}.cost-quick-actions button{width:100%;min-height:40px;padding:7px 10px;background:#fff;color:var(--tvm-action,#0966ba);border:1px solid var(--tvm-border-strong,#9ebbd5);border-radius:8px;font-weight:700;line-height:1.25}.cost-quick-actions button:hover{background:var(--tvm-soft-blue,#eef6fd)}.cost-quick-actions .free-cost-button{color:var(--tvm-text,#163b59);border-style:dashed}.participant-cost-balance{margin-top:16px}.participant-cost-balance .currency-lines{display:grid;gap:3px}.participant-cost-lines{display:grid;gap:5px}.participant-cost-lines>span{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.participant-cost-lines>span+span{padding-top:6px;border-top:1px solid rgba(22,71,107,.12)}.participant-cost-lines small{color:var(--tvm-text-muted,#526d82)}.participant-cost-balance>small{display:block;margin-top:8px;color:var(--tvm-text-muted,#526d82)}
.cost-split-preview{grid-column:1/-1;display:grid;gap:5px;padding:10px 12px;border:1px solid var(--tvm-border,#d4e2ef);border-radius:8px;background:var(--tvm-soft-blue,#eef6fd)}.cost-split-preview[hidden]{display:none}.cost-split-preview>span{display:flex;justify-content:space-between;gap:12px;color:var(--tvm-text-muted,#526d82)}
.contribution-values{display:grid;gap:4px}.contribution-values strong{font-size:1.06rem}.contribution-values span{font-weight:700;color:var(--tvm-text-muted,#526d82)}.contribution-values small{color:var(--tvm-text-muted,#526d82)}.participant-net-income{display:grid;gap:4px;min-width:126px}.participant-net-income strong{font-size:1.06rem;font-variant-numeric:tabular-nums;color:var(--tvm-text,#163b59)}.participant-net-income small{color:var(--tvm-text-muted,#526d82);line-height:1.35}.participant-cost-balance .profit-warning{display:inline-block;color:var(--tvm-warning-text,#7a5711);font-weight:700}
@media(max-width:1100px){.cost-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.package-sale-row{grid-template-columns:minmax(0,1fr) auto}.cost-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.participant-insurance-list article{grid-template-columns:minmax(0,1fr)}.participant-insurance-list article>div:last-child{text-align:left}.application-cost-table thead{display:none}.application-cost-table,.application-cost-table tbody,.application-cost-table tr,.application-cost-table td{display:block;width:100%}.application-cost-table tr{padding:10px 0;border-bottom:1px solid var(--tvm-border,#d4e2ef)}.application-cost-table td{display:flex;justify-content:space-between;gap:12px;padding:5px 10px}.application-cost-table td:before{content:attr(data-label);font-weight:700}.application-cost-total{display:grid;justify-content:stretch}.participant-cost-balance .ui-table,.participant-cost-balance .ui-table tbody,.participant-cost-balance .ui-table tr,.participant-cost-balance .ui-table td{display:block;width:100%;min-width:0}.participant-cost-balance .ui-table thead{display:none}.participant-cost-balance .ui-table tr{margin:10px 0;padding:8px 0;border:1px solid var(--tvm-border,#d4e2ef);border-radius:8px}.participant-cost-balance .ui-table td{display:grid;grid-template-columns:minmax(108px,.7fr) minmax(0,1.3fr);gap:10px;padding:8px 10px;border:0}.participant-cost-balance .ui-table td:before{content:attr(data-label);color:var(--tvm-text-muted,#526d82);font-size:.86rem;font-weight:700}.participant-cost-balance .ui-table td>div{min-width:0}.participant-cost-lines>span{align-items:flex-start}.participant-net-income{min-width:0}}
@media(max-width:480px){.cost-quick-actions{grid-template-columns:minmax(0,1fr)}}


.appointment-tracking-read{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;padding:8px 12px;margin-bottom:8px;border:1px solid var(--tvm-border,#d4e2ef);border-radius:9px;background:var(--tvm-soft-blue,#eef6fd)}
.appointment-tracking-read .record-row{padding:6px 8px}
.appointment-tracking-editor{margin:0 0 8px;padding:14px;border:1px solid var(--tvm-border,#d4e2ef);border-radius:9px;background:var(--tvm-surface-muted,#f6f9fc)}
.appointment-tracking-editor>legend{padding:0 7px;color:var(--tvm-text,#163b59);font-weight:800}
.appointment-auto-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.appointment-auto-values>span{display:grid;gap:2px;padding:9px 11px;border:1px solid var(--tvm-border,#d4e2ef);border-radius:8px;background:#fff}
.appointment-auto-values small,.appointment-status-help{color:var(--tvm-text-muted,#526d82)}
.appointment-status-help{margin:10px 0 0;font-size:14px}
@media(max-width:700px){.appointment-tracking-read,.appointment-auto-values{grid-template-columns:minmax(0,1fr)}.appointment-tracking-read .record-row-wide{grid-column:1}}


.identity-update-dialog{width:min(820px,calc(100% - 32px));padding:0;max-height:90dvh;background:var(--tvm-surface);overflow:auto}
.identity-update-dialog>.dialog-head{margin:0;padding:20px 24px;background:var(--tvm-surface-soft,#edf4fd);border-bottom:1px solid var(--tvm-line)}
.identity-update-dialog .dialog-head h2{font-size:24px;margin:4px 0 8px;color:var(--tvm-navy)}
.identity-update-dialog .dialog-head p{margin:0;font-size:14px;line-height:1.5}
.identity-update-dialog #person-form{padding:20px 24px 0}
.identity-update-dialog .identity-form-section{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--tvm-line)}
.identity-update-dialog .identity-form-section h3{font-size:16px;margin:0 0 6px;color:var(--tvm-navy)}
.identity-update-dialog .identity-form-section>p{font-size:14px;margin:0 0 16px;line-height:1.5}
.identity-update-dialog .identity-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.identity-update-dialog .identity-edit-grid label{margin:0;min-width:0;font-size:14px}
.identity-update-dialog .identity-edit-grid .edit-address{grid-column:1/-1}
.identity-update-dialog .identity-edit-grid :is(input,select){height:44px;min-height:44px;font-size:15px}
.identity-update-dialog .identity-edit-grid textarea{min-height:72px;font-size:15px}
.identity-update-dialog .identity-update-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;margin:0 -24px;padding:16px 24px;background:var(--tvm-surface);border-top:1px solid var(--tvm-line)}
@media(max-width:560px){.identity-update-dialog{width:calc(100% - 24px)}.identity-update-dialog>.dialog-head{padding:16px}.identity-update-dialog #person-form{padding:16px 16px 0}.identity-update-dialog .identity-edit-grid{grid-template-columns:1fr}.identity-update-dialog .identity-update-actions{margin:0 -16px;padding:14px 16px}.identity-update-dialog .dialog-head h2{font-size:24px}}


.customer-requirement-card{margin:16px 0;padding:18px;border:1px solid #d4e1ec;border-radius:10px;background:#fff}
.customer-requirement-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.customer-requirement-card h3{margin:0;font-size:18px;color:#173f60}
.customer-requirement-card p{margin:6px 0;line-height:1.5;font-size:14px}
.customer-requirement-rows article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e1e9ef}
.customer-requirement-rows small{display:block;color:#587086;margin-top:4px}
.fingerprint-decision{display:inline-block;margin:4px 0 4px 12px;padding:4px 10px;border-radius:6px;font-size:13px;font-weight:700;background:#f0f3f6;color:#536576}
.fingerprint-decision[data-decision="required"]{background:#fff1cc;color:#795309}
.fingerprint-decision[data-decision="not_required"]{background:#e3f5ef;color:#14664d}
.requirement-edit-dialog{width:min(580px,calc(100vw - 32px));padding:0;max-height:90dvh;overflow:auto}
.requirement-edit-dialog .dialog-head{padding:20px 24px}
.requirement-edit-dialog h2{font-size:24px;margin:4px 0}
.requirement-edit-dialog form{padding:20px 24px}
.requirement-edit-fields{display:grid;gap:14px}
.requirement-edit-fields label{font-size:14px}
.requirement-edit-fields input:not([type="checkbox"]),.requirement-edit-fields select{min-height:44px}
.requirement-edit-fields textarea{min-height:80px}
.requirement-edit-fields .requirement-copy-choice,.requirement-edit-fields .physical-receipt-choice{display:flex;align-items:center;gap:10px}
.requirement-edit-fields input[type="checkbox"]{width:18px;height:18px;margin:0;flex:0 0 auto}
@media(max-width:640px){.customer-requirement-card{padding:14px}.customer-requirement-card>header{align-items:flex-start;flex-wrap:wrap}.customer-requirement-rows article{align-items:flex-start}.fingerprint-decision{display:table;margin-left:0}.requirement-edit-dialog form,.requirement-edit-dialog .dialog-head{padding:16px}}



:root {
  --ui-search-height: 48px;
  --ui-date-toolbar-height: 60px;
  --ui-search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003b95' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}


#account-query,
#case-account-query,
#completed-query,
#income-query,
#definition-country-search,
#intake-query {
  width: 100%;
  height: var(--ui-search-height);
  min-height: var(--ui-search-height);
  padding: 9px 13px 9px 48px;
  border: 3px solid var(--booking-yellow);
  border-radius: 7px;
  background-color: #fff;
  background-image: var(--ui-search-icon);
  background-repeat: no-repeat;
  background-position: 13px 50%;
  background-size: 25px 25px;
  color: var(--ink);
  font-size: var(--tvm-type-body);
  box-shadow: inset 0 0 0 1px #d49a00, 0 3px 10px rgba(0,59,149,.10);
  appearance: none;
}

#account-query::placeholder,
#case-account-query::placeholder,
#completed-query::placeholder,
#income-query::placeholder,
#definition-country-search::placeholder,
#intake-query::placeholder { color: #6f8291; }

#account-query:hover,
#case-account-query:hover,
#completed-query:hover,
#income-query:hover,
#definition-country-search:hover,
#intake-query:hover { border-color: #f2a900; }

#account-query:focus,
#case-account-query:focus,
#completed-query:focus,
#income-query:focus,
#definition-country-search:focus,
#intake-query:focus {
  border-color: var(--booking-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255,183,0,.38), 0 4px 12px rgba(0,59,149,.14);
}

#completed-query { padding-right: 44px; }
#completed-query::-webkit-search-cancel-button { display: none; }
.account-search { gap: 5px; color: var(--booking-navy); font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }


.result-report > .result-filters select,
.result-report > .result-filters .date-range-trigger,
.result-report > .result-filters #period-apply,
.completed-search .completed-period-row > select,
.completed-search .completed-period-row .date-range-trigger,
.income-filter-grid .date-range-trigger,
.income-filter-grid select,
.income-filter-actions button,
.account-statement-form .date-range-trigger,
body.accounts-active .account-statement-form > button {
  height: var(--ui-date-toolbar-height);
  min-height: var(--ui-date-toolbar-height);
  margin-bottom: 0;
}

.completed-search > div:not(.completed-period-row) > button {
  min-height: var(--ui-search-height);
  height: var(--ui-search-height);
}

.cash-toolbar { --cash-control-height: 36px; }
@media(max-width:720px){.cash-toolbar{--cash-control-height:44px}}

@media (max-width: 720px) {
  #account-query,
  #case-account-query,
  #completed-query,
  #income-query,
  #definition-country-search,
#intake-query { max-width: none; }

  .result-report > .result-filters #period-apply,
  body.accounts-active .account-statement-form > button,
  .cash-toolbar > button,
  .cash-toolbar > a,
  .cash-toolbar form > button { width: 100%; }
}


.workspace-status-action, .workspace-approved-layout .workspace-status-action { cursor:pointer; min-height:36px; white-space:normal; font-weight:700; }
.workspace-status-action:hover { filter:brightness(.94); }
.workspace-status-action:focus-visible { outline:3px solid var(--tvm-primary,#0966bd); outline-offset:3px; }
#case-status-dialog { height:fit-content; min-height:0; margin:auto; box-sizing:border-box; width:min(420px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:20px; }
#case-status-dialog .form-grid { grid-template-columns:1fr; }
#case-status-dialog .form-grid>* { min-width:0; }
#case-status-dialog input,#case-status-dialog select { box-sizing:border-box; width:100%; }

#insurance-cancel-dialog { box-sizing:border-box; width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:24px; }
#insurance-cancel-dialog .form-grid { grid-template-columns:1fr; }
#insurance-cancel-dialog .form-grid>* { min-width:0; }
#insurance-cancel-dialog input { box-sizing:border-box; width:100%; }

.intake-nav-link{position:relative}.intake-new-count{position:absolute;right:6px;top:4px;min-width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--tvm-type-overline);font-weight:var(--tvm-weight-heavy)}.intake-new-count[hidden]{display:none}


.finance-row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}
.finance-row-actions button{min-height:34px;padding:6px 9px;border:1px solid var(--tvm-line-strong);border-radius:5px;background:#fff;color:var(--booking-blue);box-shadow:none;font-size:var(--tvm-type-support)}
.finance-row-actions button:hover{background:var(--booking-sky);filter:none}
.finance-row-actions button:disabled{cursor:not-allowed;border-color:#d8e0e6;background:#f4f6f8;color:#71808b;opacity:1}
.finance-row-actions button:disabled:hover{background:#f4f6f8}
.finance-row-actions .finance-delete-button{border-color:var(--tvm-danger-line);color:var(--tvm-danger)}
.finance-row-actions .finance-delete-button:hover{background:var(--tvm-danger-soft)}
.finance-actions-heading{text-align:right!important}
.finance-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid var(--tvm-line)}
.finance-entry-row:last-child{border-bottom:0}
.finance-entry-row>p{min-width:0;margin:0!important;padding:0!important;border:0!important}
.finance-correction-dialog>.finance-correction-form{margin:0;padding:24px;background:#fff}
.finance-correction-dialog .dialog-head{margin:-24px -24px 20px}
.finance-correction-dialog .form-section{margin:0;padding:0;border:0}
.finance-original-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 16px;margin:0 0 18px;padding:13px 14px;border:1px solid var(--tvm-line);border-left:4px solid var(--booking-blue);border-radius:6px;background:var(--tvm-surface-info)}
.finance-original-summary span{color:#40596b;font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold)}
.finance-original-summary strong{grid-column:2;grid-row:1/3;align-self:center;color:var(--booking-navy);font-size:var(--tvm-type-body)}
.finance-original-summary small{color:var(--muted)}
.finance-correction-form textarea[name="reason"]{min-height:78px}
.finance-allocation-notice{grid-column:1/-1;margin-top:15px;padding:12px 14px;border-left:4px solid var(--booking-yellow);background:var(--booking-yellow-soft);color:var(--booking-navy)}
.finance-allocation-notice p{margin:4px 0;font-weight:var(--tvm-weight-bold)}
.finance-allocation-notice small{display:block;color:#526b7a}
.finance-delete-help{margin:14px 0 0;padding:11px 13px;border-left:4px solid var(--booking-yellow);background:var(--tvm-accent-soft);color:var(--tvm-warning);font-size:var(--tvm-type-support)}
.finance-correction-error:not(:empty){margin:14px 0 0;padding:10px 12px;border:1px solid var(--tvm-danger-line);border-radius:5px;background:var(--tvm-danger-soft);color:var(--tvm-danger)}
.danger-button{background:var(--tvm-danger)!important;color:#fff!important}
.danger-button:hover{background:#85211d!important}
.finance-history{margin:15px 0;padding:10px 12px;border:1px solid var(--booking-line);border-radius:6px;background:var(--tvm-surface-subtle)}
.finance-history summary{cursor:pointer;color:#40596b;font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold)}
.finance-history p{display:grid;gap:2px;margin:8px 0 0;padding-top:8px;border-top:1px solid var(--booking-line);color:#5c7080}
.finance-history small{color:var(--muted)}
@media(max-width:760px){
 .finance-entry-row{grid-template-columns:1fr;gap:8px}
 .finance-row-actions{justify-content:flex-start}
 .finance-row-actions button{min-height:40px;padding:8px 12px}
 .finance-correction-dialog>.finance-correction-form{padding:16px}
 .finance-correction-dialog .dialog-head{margin:-16px -16px 16px}
 .finance-original-summary{grid-template-columns:1fr}
 .finance-original-summary strong{grid-column:auto;grid-row:auto}
}



:root {
  
  --booking-navy:var(--tvm-navy);--booking-blue:var(--tvm-action);
  --booking-blue-dark:var(--tvm-action-hover);--booking-sky:var(--tvm-action-soft);
  --booking-yellow:var(--tvm-accent);--booking-yellow-soft:var(--tvm-accent-soft);
  --booking-line:var(--tvm-line);--navy:var(--tvm-navy);--teal:var(--tvm-action);
  --lime:var(--tvm-accent);--ink:var(--tvm-ink);--muted:var(--tvm-muted);
  --line:var(--tvm-line);--soft:var(--tvm-surface-subtle);--white:var(--tvm-surface);
}
body{background:var(--tvm-canvas);color:var(--tvm-ink)}

#operations-view:has(#workspace-overview)>.operations-overview{display:none}
#operations-view:has(#workspace-overview):not(.workspace-results)>.workbench:not(.detail-open){display:none}
#operations-view:has(.workbench.detail-open)>.workspace-performance{display:none}
#operations-view.workspace-results #workspace-overview{display:none}
#operations-view.workspace-results>.operations-overview{display:block}
#operations-view.workspace-results .operations-side{display:none}
#operations-view.workspace-results>.workspace-performance{display:none}
#workspace-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
#operations-view:has(.workbench.detail-open) #workspace-actions{display:none}
@media(max-width:700px){#workspace-actions>button{width:100%}#whiteboard-toolbar.ql-toolbar button{width:44px;height:44px;min-height:44px}}
body>header{background:var(--tvm-surface);border-bottom-color:var(--tvm-line)}


:is(.workbench,.operations-trend,.annual-trend-panel,.income-monthly,.cash-section,.cash-person-card,.insurance-policy,.login,.detail-group){background:var(--tvm-surface);border-color:var(--tvm-line);border-radius:var(--tvm-radius-card);box-shadow:var(--tvm-shadow-card)}
body.accounts-active .account-detail{background:var(--tvm-surface);border-color:var(--tvm-line);border-radius:var(--tvm-radius-panel);box-shadow:var(--tvm-shadow-card)}
:is(.participant-card,.staff-card,.result-stat,.cash-balance-grid article){border-color:var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
:is(.account-detail-identity,.cash-person-heading,.finance-original-summary,.selected-account-notice){background:var(--tvm-surface-info);border-color:var(--tvm-line);color:var(--tvm-navy)}
:is(.account-detail-rates,.daily-rate-board){border-color:var(--tvm-line-strong);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
body.accounts-active :is(.account-heading-tools>.daily-rate-board,.account-detail-rates){border-color:var(--tvm-line-strong);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
:is(.daily-rate-values strong,.participant-facts span,.finance-history){background:var(--tvm-surface-subtle);border-color:var(--tvm-line)}


#operations-view .case,.account-row{background:var(--tvm-surface);border-color:var(--tvm-line);border-left-color:var(--tvm-action);border-radius:var(--tvm-radius-control);box-shadow:var(--tvm-shadow-card)}
#operations-view .case:hover,.account-row:hover,.account-row:focus-visible{background:var(--tvm-row-hover);border-color:var(--tvm-line-strong);border-left-color:var(--tvm-action);box-shadow:var(--tvm-shadow-raised);filter:none}
#operations-view .case.active,.account-row.active{background:var(--tvm-action-soft);border-color:var(--tvm-action);box-shadow:inset 0 0 0 1px var(--tvm-action)}


:is(.ui-table,.income-table,.cash-person-table,.report-panel table){background:var(--tvm-surface)}
:is(.ui-table,.income-table,.cash-person-table,.report-panel table) thead th{background:var(--tvm-table-head);color:var(--tvm-navy);border-bottom:1px solid var(--tvm-line-strong)}
:is(.ui-table,.income-table,.cash-person-table,.report-panel table) tbody :is(td,th){border-bottom-color:var(--tvm-line)}
:is(.ui-table,.income-table,.cash-person-table,.report-panel table) tbody tr:nth-child(even){background:var(--tvm-surface-subtle)}
:is(.ui-table,.income-table,.cash-person-table,.report-panel table) tbody tr:hover{background:var(--tvm-row-hover)}
:is(.ui-table,.income-table,.cash-person-table,.report-panel table) tbody tr:focus-within{background:var(--tvm-action-soft);box-shadow:inset 3px 0 0 var(--tvm-action)}
.cash-person-table .cash-person-held{background:var(--tvm-action-soft);color:var(--tvm-navy)}


button{border-radius:var(--tvm-radius-control)}
:is(.form-actions,.editor-actions) button:not(.secondary):not(.ui-button--secondary):not(.ui-button--danger):not(.plain-close),.login button,.cash-actions button:not(.secondary),.cash-row-actions button:not(.secondary){background:var(--tvm-action);color:var(--tvm-surface);box-shadow:inset 0 0 0 1px var(--tvm-action-hover)}
:is(.form-actions,.editor-actions) button:not(.secondary):not(.ui-button--secondary):not(.ui-button--danger):not(.plain-close):hover,.login button:hover,.cash-actions button:not(.secondary):hover,.cash-row-actions button:not(.secondary):hover{background:var(--tvm-action-hover);filter:none}
:is(.ui-button--secondary,button.secondary,a.secondary){background:var(--tvm-normal-surface,var(--tvm-surface));color:var(--tvm-normal-ink,var(--tvm-action));border-color:var(--tvm-normal-border,var(--tvm-line-strong));box-shadow:var(--tvm-normal-shadow,inset 0 0 0 1px var(--tvm-line-strong))}
:is(.ui-button--secondary,button.secondary,a.secondary):hover{background:var(--tvm-normal-hover,var(--tvm-action-soft));color:var(--tvm-action-hover);filter:none}
body.accounts-active .account-statement-form>button{background:transparent;color:var(--tvm-action);box-shadow:none}
body.accounts-active .account-statement-form>button:hover{background:var(--tvm-action-soft)}

.operations-overview>.operations-side>#new-case,body.accounts-active .account-entry-actions [data-account-finance="customer_charge"]{background:var(--tvm-action);border-color:var(--tvm-accent);color:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.operations-overview>.operations-side>#new-case:hover,body.accounts-active .account-entry-actions [data-account-finance="customer_charge"]:hover{background:var(--tvm-action-hover);border-color:var(--tvm-accent);box-shadow:var(--tvm-shadow-raised)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
button:disabled{box-shadow:none;filter:none}


body.accounts-active .account-summary-grid article{border-color:var(--tvm-line);border-left-color:var(--tvm-action);background:var(--tvm-surface);border-radius:var(--tvm-radius-control);box-shadow:var(--tvm-shadow-card)}
body.accounts-active .account-summary-grid article.closed{border-color:var(--tvm-success-line);border-left-color:var(--tvm-success);background:var(--tvm-success-soft)}
body.accounts-active .account-summary-grid article.closed .account-currency-icon{background:var(--tvm-success-soft);color:var(--tvm-success)}
.account-currency-balance>span.due,.account-balance.due strong,.cash-difference{color:var(--tvm-danger)}
.account-currency-balance>span.advance,.account-currency-balance>span.closed,.account-balance.advance strong,.cash-match{color:var(--tvm-success)}
:is(.badge.completed,.result-approved){background:var(--tvm-success-soft);color:var(--tvm-success)}
:is(.badge.preparation,.badge.appointment,.insurance-stage.waiting,.finance-allocation-notice,.insurance-accounting-note){background:var(--tvm-accent-soft);border-color:var(--tvm-accent);color:var(--tvm-warning)}
:is(.result-refused,.finance-correction-error:not(:empty)){background:var(--tvm-danger-soft);border-color:var(--tvm-danger-line);color:var(--tvm-danger)}
#insurance-refund-summary{background:var(--tvm-surface);border-color:var(--tvm-accent);border-radius:var(--tvm-radius-card);box-shadow:var(--tvm-shadow-card)}


dialog,.account-finance-dialog,.statement-preview-dialog{border-radius:var(--tvm-radius-panel);box-shadow:var(--tvm-shadow-dialog)}
dialog::backdrop{background:rgb(12 35 58 / 44%)}
.dialog-head,.account-finance-dialog .dialog-head,.statement-preview-head{background:var(--tvm-surface-info);border-bottom-color:var(--tvm-line)}


.operations-trend-chart .operations-trend-line{stroke:var(--tvm-action);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.operations-trend-chart .operations-trend-area{fill:var(--tvm-action);opacity:.06}
.operations-trend-chart .trend-recent-area{fill:var(--tvm-action-soft)}
:is(.operations-trend-chart,.annual-trend-chart) .operations-chart-grid line{stroke:var(--tvm-line)}
:is(.operations-trend-chart,.annual-trend-chart) .operations-chart-grid text{fill:var(--tvm-muted)}
.annual-trend-chart .trend-line.current{stroke:var(--tvm-navy);stroke-width:3.2}
.annual-trend-chart .trend-line.country{stroke-width:2.3;opacity:1}
.annual-trend-legend i.current{border-color:var(--tvm-navy)}
.annual-trend-legend .tvm-legend-line{display:inline-block;width:24px;height:10px;flex-shrink:0;overflow:visible}
.trend-tooltip{border-color:var(--tvm-line-strong);background:var(--tvm-surface);border-radius:var(--tvm-radius-control);box-shadow:var(--tvm-shadow-raised)}
@media(prefers-reduced-motion:reduce){.account-row,#operations-view .case{transition:none}}

.cash-transfer-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.5fr) auto;gap:12px;align-items:end;background:var(--tvm-surface-info)}
.cash-transfer-filter .wide{grid-column:auto}
.cash-transfer-filter label{min-width:0}
.cash-transfer-filter select,.cash-transfer-filter>.secondary,.cash-transfer-filter .date-range-trigger{height:var(--ui-date-toolbar-height);min-height:var(--ui-date-toolbar-height)}
@media(max-width:720px){.cash-transfer-filter{grid-template-columns:1fr}.cash-transfer-filter>.secondary{width:100%}}


.case-finance-account{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.case-finance-account>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.case-finance-account small,.case-finance-account span{color:var(--tvm-muted)}
.case-finance-account>a{flex-shrink:0;padding:10px 12px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);text-decoration:none}
.case-optional-fields{padding-top:12px;border-top:1px solid var(--tvm-line)}
.case-optional-fields>summary{cursor:pointer;color:var(--tvm-action)}
.case-optional-fields>summary span{color:var(--tvm-muted);margin-left:8px}
:is(#case-dialog,.account-finance-dialog) :is(.form-grid,.form-grid>label,.form-grid>div,.dialog-head>div){min-width:0}
:is(#case-dialog,.account-finance-dialog) .dialog-head{gap:12px}
:is(#case-dialog,.account-finance-dialog) .dialog-head>.plain{flex-shrink:0}
:is(#case-dialog,.account-finance-dialog) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
@media(max-width:640px){
 .case-finance-account{align-items:flex-start;flex-direction:column}
 #detail .detail-group>summary{gap:8px;flex-wrap:wrap}
 #detail .finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 #detail .finance-summary>span{min-width:0;overflow-wrap:anywhere}
 :is(#case-dialog,.account-finance-dialog) .date-range-trigger{min-width:0;max-width:100%}
 :is(#case-dialog,.account-finance-dialog) .date-range-trigger>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
 :is(#case-dialog,.account-finance-dialog) .date-range-popover{max-width:calc(100vw - 24px);overscroll-behavior:contain}
}


.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;text-decoration:none;border:1px solid transparent;border-radius:var(--tvm-radius-control);cursor:pointer}
.ui-button--primary{background:var(--tvm-action);color:var(--tvm-surface);border-color:var(--tvm-action-hover)}
.ui-button--primary:hover{background:var(--tvm-action-hover);filter:none}
.ui-button--danger{background:var(--tvm-danger);color:var(--tvm-surface);border-color:var(--tvm-danger)}
.ui-button--danger:hover{background:color-mix(in srgb,var(--tvm-danger) 85%,black);filter:none}
.ui-button:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
.ui-button:disabled,.ui-button[aria-disabled="true"]{cursor:default;opacity:.55;box-shadow:none}

.ui-button.ui-button--navigation{height:44px;min-height:44px;width:auto;padding:9px 14px;border:1px solid var(--tvm-line-strong);background:var(--tvm-surface);color:var(--tvm-action);box-shadow:none;align-self:center;text-decoration:none}
.ui-button.ui-button--navigation:hover{background:var(--tvm-action-soft);color:var(--tvm-action-hover);filter:none}
.ui-table{width:100%;border-collapse:collapse}
.ui-table:not(.income-table):not(.cash-person-table) :is(th,td){padding:10px 12px;text-align:left;border-bottom:1px solid var(--tvm-line)}


.insurance-report-heading{flex-wrap:wrap;align-items:center}
.insurance-report-heading>div{flex:1 1 auto;min-width:0}
.insurance-report-heading>#insurance-refund-total{display:grid;gap:4px;max-width:100%;white-space:normal;overflow-wrap:anywhere;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info);color:var(--tvm-navy);padding:12px 16px}
#insurance-refund-total small{color:var(--tvm-muted)}
.insurance-legacy{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);padding:16px;background:var(--tvm-surface)}
.insurance-legacy>summary{color:var(--tvm-navy);cursor:pointer}
.insurance-legacy-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(100px,1fr) minmax(120px,1fr) minmax(100px,auto) auto;align-items:center;padding:12px;min-height:48px;text-decoration:none;color:var(--tvm-ink)}
.insurance-legacy-row>.insurance-amount{font-variant-numeric:tabular-nums;text-align:right}
.insurance-legacy-row>span:last-child{color:var(--tvm-action)}
.insurance-legacy-row:hover{background:var(--tvm-action-soft)}
.insurance-legacy-row:focus-visible{outline:3px solid var(--tvm-action);outline-offset:2px}
.insurance-policy-title{gap:12px;flex-wrap:wrap}
@media(max-width:620px){
 .insurance-report-heading>#insurance-refund-total{width:100%}
 .insurance-legacy{overflow-x:auto}
 .insurance-legacy-row{min-width:680px;gap:12px}
 .insurance-legacy-row>span:last-child{grid-column:auto}
}

.insurance-legacy-row small{display:block;color:var(--tvm-muted);font-size:var(--tvm-type-support);line-height:var(--tvm-leading-compact)}


body.accounts-active #daily-rate-board{display:none}
body.accounts-active .accounts-browse>.report-notice{
 display:grid;
 height:auto;
 min-height:0;
 margin:0;
 overflow:visible;
 padding:8px 11px;
 border-left:3px solid var(--tvm-accent);
 background:var(--tvm-accent-soft);
}
body.accounts-active .accounts-browse{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "search" "notice" "list"}

body.accounts-active .office-section-nav>.accounts-finance-label{margin:auto 0 0 auto;align-self:flex-end;width:auto;flex:0 0 auto;text-align:right;line-height:var(--tvm-leading-compact)}
.ui-document-icon{width:22px;height:22px;flex-shrink:0;color:var(--tvm-action)}

body.accounts-active .accounts-browse>.definition-heading>div:first-child{width:100%;min-height:0;padding:0;justify-self:stretch;justify-content:flex-start;text-align:left}
body.accounts-active .accounts-browse>.definition-heading>div:first-child p{margin:0;text-align:left;white-space:normal}
body.accounts-active .accounts-browse{row-gap:6px}

.account-pagination,.account-pagination>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.account-pagination{padding:12px 0;color:var(--tvm-muted)}
.account-pagination button{min-height:44px;margin:0}


body.accounts-active .account-statement-form{width:min(100%,660px);grid-template-columns:minmax(0,1fr) minmax(210px,auto);gap:12px;padding:12px;flex-shrink:0}
body.accounts-active .account-statement-form>button{width:100%;height:auto;min-height:60px;white-space:normal;line-height:var(--tvm-leading-compact);padding:8px 12px}
body.accounts-active .account-statement-form .date-range-picker{min-width:0}
@media(max-width:700px){body.accounts-active .account-statement-form{width:100%;grid-template-columns:minmax(0,1fr)}body.accounts-active .account-statement-form>button{min-height:44px}}


#account-statement-dialog{width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);max-height:none;margin:auto}
#account-statement-dialog .statement-preview-shell{min-height:0}
#account-statement-dialog iframe{min-height:0;background:var(--tvm-page)}


.cash-transfer-summary .cash-intro{align-items:center}
.cash-transfer-summary .cash-transfer-filter{padding:12px;margin-bottom:0}
.cash-transfer-summary .cash-transfer-filter>label{margin:0;display:grid;gap:5px}
.cash-transfer-summary .cash-transfer-filter .date-range-picker{margin:0}
.cash-transfer-summary .cash-transfer-filter button{margin-bottom:0}
.cash-transfer-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:16px;gap:0}
.cash-transfer-totals article{display:grid;gap:4px;padding:0 20px;border-left:1px solid var(--tvm-line);min-width:0}
.cash-transfer-totals article:first-child{border-left:0;padding-left:0}
.cash-transfer-totals article>strong:first-child{font-size:var(--font-size-sm,14px);color:var(--tvm-muted);font-weight:600}
.cash-transfer-totals .cash-total{font-size:24px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:480px){.cash-transfer-totals{grid-template-columns:1fr;gap:10px}.cash-transfer-totals article{grid-template-columns:1fr auto;align-items:center;border-left:0;border-top:1px solid var(--tvm-line);padding:10px 0 0}.cash-transfer-totals article:first-child{border-top:0;padding-top:0}}


.ui-table.ui-table--warm thead th{background:var(--tvm-table-head);border-bottom-color:var(--tvm-line-strong)}
.ui-table.ui-table--warm tbody tr{background:var(--tvm-surface)}
.ui-table.ui-table--warm tbody tr:nth-child(even){background:var(--tvm-accent-soft)}
.ui-table.ui-table--warm tbody tr:hover{background:var(--tvm-accent-soft)}
.ui-table.ui-table--warm tbody :is(td,th){border-bottom-color:color-mix(in srgb,var(--tvm-accent) 30%,var(--tvm-line))}

.ui-table.ui-table--warm tbody th{background:inherit}


.ui-add-icon{color:var(--tvm-danger)}
.ui-add-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.ui-add-action::before{content:'+';color:var(--tvm-danger);font-size:24px;font-weight:800;line-height:1;flex:0 0 auto}
button.ui-add-action:not(.secondary):not(.ui-button--secondary):not(.ui-button--danger)::before{color:var(--tvm-accent)}
.case-finance-actions [data-case-finance="payment"]{background:var(--tvm-navy);border:3px solid #8bb8df;box-shadow:0 0 0 3px var(--tvm-action-soft)}
.ui-button--primary .ui-add-icon{color:var(--tvm-accent)}
body.accounts-active .account-entry-actions [data-account-finance="payment"]{background:var(--tvm-navy);color:var(--tvm-surface);border-color:#8bb8df;box-shadow:0 0 0 3px var(--tvm-action-soft)}
body.accounts-active .account-entry-actions [data-account-finance="payment"]:hover{background:var(--tvm-action-hover);border-color:#6fa5d4;box-shadow:0 0 0 3px var(--tvm-action-soft),var(--tvm-shadow-raised)}


#operation-calendar-view{
 width:100%;
 max-width:none;
 padding:18px;
 border:1px solid var(--tvm-line);
 border-radius:var(--tvm-radius-panel);
 background:var(--tvm-surface);
 box-shadow:var(--tvm-shadow-card);
}
.operation-calendar>.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.operation-calendar>.panel-heading>div{min-width:0}
.operation-calendar>.panel-heading :is(h2,p){margin-bottom:0}
.oc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.operation-calendar>.oc-toolbar:not(.oc-filters){justify-content:flex-start;margin-bottom:8px}
.oc-views{display:flex;align-items:center;gap:4px}
.oc-navigation{display:flex;align-items:center;gap:4px}
.oc-filters input[type=checkbox]{width:18px;min-width:18px;height:18px;flex:0 0 18px;margin:0}
.oc-filters>label:last-child{white-space:nowrap}
.oc-information{margin:8px 0 12px;color:var(--tvm-muted)}
.oc-information>summary{cursor:pointer;color:var(--tvm-action)}
.oc-toolbar :is(button,.ui-button){min-height:38px;padding-block:7px}
.oc-filters{justify-content:flex-start;padding:8px 10px;margin-bottom:8px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-subtle)}
.oc-filters>label{display:flex;align-items:center;gap:6px;margin:0;min-width:0}
.oc-filters>label:not(:last-child){flex:1 1 160px;max-width:230px}
.oc-filters select{min-height:38px;padding-block:6px}
.oc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);overflow:hidden}
.oc-day{min-width:0;min-height:120px;padding:9px;border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface)}
.oc-day:nth-child(7n){border-right:0}
.oc-day-title{border:0;background:none;color:var(--tvm-action);box-shadow:none;padding:0;font-weight:700}
.oc-event{display:grid;width:100%;gap:3px;margin:6px 0 0;padding:8px;border:1px solid var(--tvm-line);border-left:3px solid var(--tvm-action);border-radius:var(--tvm-radius-control);background:var(--tvm-action-soft);color:var(--tvm-ink);text-align:left;box-shadow:none}
.oc-event:hover{background:var(--tvm-row-hover);border-color:var(--tvm-line-strong);filter:none}
.oc-selected{border-color:var(--tvm-action);box-shadow:inset 0 0 0 1px var(--tvm-action)}
.oc-grid.oc-day{grid-template-columns:minmax(0,1fr)}
:is(.oc-day,.oc-event) :is(strong,span,small){overflow-wrap:anywhere}
@media(max-width:900px){.operation-calendar>.panel-heading{align-items:flex-start}.oc-grid{grid-template-columns:minmax(0,1fr)}.oc-spacer{display:none}.oc-day{min-height:0;border-right:0}.oc-filters>label:not(:last-child){max-width:none}}


#operation-calendar-view{padding:0;border:0;background:transparent;box-shadow:none}
.operation-calendar{display:grid;gap:14px;color:var(--tvm-ink)}
.oc-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-action);border-radius:var(--tvm-radius-panel);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.oc-heading h2{margin:2px 0 3px;color:var(--tvm-navy);font-size:24px;line-height:1.2}
.oc-heading p{margin:0;color:#4d606e;font-size:14px}
.oc-heading .oc-eyebrow{color:var(--tvm-action);font-size:12px;font-weight:800;letter-spacing:.13em}
.oc-heading-actions{display:flex;align-items:center;gap:7px}
.oc-heading:has(+.oc-summary){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;box-shadow:none}
.oc-summary{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:-8px;padding:8px 14px;border:1px solid var(--tvm-line);border-top:0;border-bottom-right-radius:var(--tvm-radius-panel);border-bottom-left-radius:var(--tvm-radius-panel);background:#fff;box-shadow:var(--tvm-shadow-card)}
.oc-summary-card{display:flex;align-items:center;gap:7px;min-height:36px;padding:5px 10px;border:1.5px solid color-mix(in srgb,var(--oc-color,var(--tvm-action)) 42%,var(--tvm-line));border-radius:7px;background:color-mix(in srgb,var(--oc-color,var(--tvm-action)) 8%,white)}
.oc-summary-card>span{width:10px;height:10px;flex:0 0 10px;border:2px solid #fff;border-radius:50%;background:var(--oc-color,var(--tvm-action));box-shadow:0 0 0 1px var(--oc-color,var(--tvm-action))}
.oc-summary-card div{display:flex;align-items:baseline;gap:6px}.oc-summary-card strong{color:var(--tvm-navy);font-size:18px;font-weight:850;line-height:1}.oc-summary-card small{color:#3f5668;font-size:12px;font-weight:750}
.oc-summary-card--appointment{--oc-color:#9a6800}.oc-summary-card--waiting{--oc-color:#8c5a2b}.oc-summary-card--travel{--oc-color:#0966ba}.oc-summary-card--return{--oc-color:#247a42}.oc-summary-card--active{--oc-color:#173b59}
.oc-shell{overflow:hidden;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.oc-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--tvm-line)}
.oc-navigation,.oc-views{display:flex;align-items:center;gap:5px}.oc-navigation h3{margin:0 0 0 8px;color:var(--tvm-navy);font-size:18px}.oc-calendar-toolbar .ui-button{min-height:38px;padding:7px 12px;border-radius:7px}.oc-navigation [data-step]{width:38px;padding-inline:0;font-size:20px}
.oc-calendar-toolbar>.field{order:2;min-width:176px;margin:0 0 0 auto}.oc-calendar-toolbar>.field>span{font-size:12px}.oc-calendar-toolbar>.oc-views{order:3}.oc-live-status{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.oc-calendar-toolbar>.single-date-picker{order:2;min-width:176px;margin:0 0 0 auto}.oc-calendar-toolbar>.single-date-picker>.date-range-label{display:none}.oc-calendar-toolbar>.single-date-picker>.compact-date-trigger{box-sizing:border-box;height:36px;min-height:36px;padding:4px 10px}.oc-calendar-toolbar>.single-date-picker>.compact-date-trigger .calendar-icon{font-size:20px;line-height:1}.oc-calendar-toolbar>.single-date-picker>.compact-date-trigger strong{font-size:15px;line-height:1.2}
.oc-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:560px}
.oc-sidebar{display:flex;align-items:end;gap:12px;padding:10px 16px;border-bottom:1px solid var(--tvm-line);background:#fff}
.oc-side-title{display:none}
.oc-kind-filters{display:grid;gap:5px;margin-top:10px}.oc-kind{display:grid;grid-template-columns:18px 10px minmax(0,1fr) auto;align-items:center;gap:7px;padding:9px 7px;border-radius:7px;color:var(--tvm-ink);font-size:13px;cursor:pointer}.oc-kind:hover{background:var(--tvm-action-soft)}.oc-kind input{width:16px;height:16px;margin:0}.oc-kind b{color:#4d606e;font-size:12px}.oc-dot{width:9px;height:9px;border-radius:3px;background:var(--tvm-action)}.oc-dot--document{background:#d29308}.oc-dot--consulate{background:#087e86}.oc-dot--delivery{background:#7553a6}.oc-dot--result,.oc-dot--travel{background:#247a42}.oc-dot--return{background:#8c5a2b}
.oc-select-filters{display:flex;align-items:end;gap:10px;margin:0;padding:0;border:0}.oc-select-filters>label{display:grid;gap:4px;margin:0;color:#4d606e;font-size:12px;font-weight:700}.oc-select-filters select{width:190px;min-height:38px;padding:6px 34px 6px 10px}.oc-select-filters .oc-open-only{display:flex;grid-template:none;align-items:center;gap:7px;min-height:38px;font-size:13px}.oc-open-only input{width:18px;height:18px;margin:0}
.oc-waiting-link{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 0 auto;padding:10px;border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface);color:var(--tvm-action);font-size:12px;font-weight:750;text-decoration:none}.oc-waiting-link:hover{background:var(--tvm-action-soft)}
.oc-connection{margin:0;color:#4d606e;font-size:12px}.oc-connection summary{padding:10px 0;color:var(--tvm-navy);font-weight:800;cursor:pointer}.oc-connection p{margin:0 0 7px}.oc-connection small{display:block;line-height:1.45}
.oc-board{width:100%;min-width:0;max-width:none;margin:0;padding:16px}.oc-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.oc-board-head p{margin:0}.oc-period{color:var(--tvm-navy);font-size:17px;font-weight:800}.oc-board-head [role=status]{margin-top:3px;color:#4d606e;font-size:13px}.oc-board-head .field{margin:0;min-width:176px}
.oc-grid{border-radius:7px}.oc-day{min-height:142px;padding:0;background:var(--tvm-surface)}.oc-day-title{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 9px;border-bottom:1px solid var(--tvm-line);color:var(--tvm-navy);text-align:left}.oc-day-title small{font-size:12px;text-transform:capitalize}.oc-day-title strong{font-size:16px}.oc-day-events{display:grid;gap:2px;padding:4px 5px}.oc-today .oc-day-title{background:var(--tvm-action);color:#fff}.oc-selected{box-shadow:inset 0 0 0 2px var(--tvm-action)}
.oc-event{display:flex;align-items:center;gap:5px;min-width:0;min-height:25px;margin:0;padding:3px 6px;border-left-width:3px;border-radius:4px;overflow:hidden;white-space:nowrap}.oc-event time{flex:0 0 auto;color:var(--tvm-action);font-size:11px;font-weight:850}.oc-event strong{min-width:0;overflow:hidden;color:var(--tvm-navy);font-size:12px;text-overflow:ellipsis}.oc-event span{display:flex;align-items:center;gap:3px;flex:0 1 auto;min-width:0;margin-left:auto;overflow:hidden;color:#4d606e;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.oc-event span i{font-style:normal}.oc-event.oc-document{border-left-color:#d29308;background:#fff8e7}.oc-event.oc-consulate{border-left-color:#087e86;background:#ebf8f8}.oc-event.oc-delivery{border-left-color:#7553a6;background:#f4f0fa}.oc-event.oc-result,.oc-event.oc-travel{border-left-color:#247a42;background:#eef8f1}.oc-event.oc-return{border-left-color:#8c5a2b;background:#faf1e9}.oc-empty{display:block;padding:8px 2px;color:#6c7d8a;font-size:12px}.oc-information{margin:14px 0 0;border-top:1px solid var(--tvm-line);color:#4d606e}.oc-information>summary{padding:12px 0;color:var(--tvm-action);font-weight:750}.oc-information p{margin:0;font-size:12px}.oc-updated{margin:10px 0 0;color:#6c7d8a;font-size:11px}
.oc-event-dialog-backdrop{position:fixed;z-index:200;inset:0;display:grid;place-items:center;padding:18px;background:rgba(8,35,59,.28);backdrop-filter:blur(2px)}.oc-event-dialog{position:relative;width:min(440px,100%);padding:22px;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-action);border-radius:12px;background:#fff;box-shadow:0 24px 70px rgba(8,35,59,.3)}.oc-event-dialog-close{position:absolute;top:10px;right:10px;width:34px;height:34px;padding:0;border:1px solid var(--tvm-line);border-radius:50%;background:#fff;color:var(--tvm-navy);font-size:24px;line-height:1}.oc-event-dialog-schedule{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 40px 13px 0;padding:11px 13px;border-left:4px solid var(--tvm-accent);border-radius:7px;background:var(--tvm-accent-soft);color:var(--tvm-navy)}.oc-event-dialog-schedule span{font-size:16px;font-weight:850}.oc-event-dialog-schedule strong{color:var(--tvm-action);font-size:24px;font-weight:900;line-height:1}.oc-event-dialog h3{margin:0 40px 15px 0;color:var(--tvm-navy);font-size:22px}.oc-event-dialog dl{display:grid;gap:0;margin:0 0 18px}.oc-event-dialog dl div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid var(--tvm-line)}.oc-event-dialog dt{color:#60717e;font-size:12px;font-weight:750}.oc-event-dialog dd{margin:0;color:var(--tvm-navy);font-size:14px;font-weight:750}.oc-event-dialog>.ui-button{width:100%}
.operation-calendar{gap:8px}.oc-heading{padding:14px 18px}.oc-heading h2{font-size:22px}.oc-heading p:not(.oc-eyebrow){font-size:13px}.oc-summary-card{min-height:32px;padding:3px 8px;border-color:color-mix(in srgb,var(--oc-color,var(--tvm-action)) 58%,var(--tvm-line));background:color-mix(in srgb,var(--oc-color,var(--tvm-action)) 13%,white)}.oc-summary-card>span{width:11px;height:11px;flex-basis:11px}.oc-summary-card--appointment{--oc-color:#d97706}.oc-summary-card--waiting{--oc-color:#c2410c}.oc-summary-card--travel{--oc-color:#1677c8}.oc-summary-card--return{--oc-color:#15803d}.oc-summary-card--active{--oc-color:#334155}
.oc-calendar-toolbar{padding:7px 10px}.oc-calendar-toolbar .ui-button{min-height:34px;padding:5px 10px}.oc-navigation [data-step]{width:34px}.oc-navigation h3{font-size:16px}.oc-sidebar{padding:6px 10px}.oc-select-filters select,.oc-select-filters .oc-open-only{min-height:34px}.oc-board{padding:8px}.oc-month-weekday{padding:4px 8px}.oc-grid.oc-month .oc-day{min-height:164px}.oc-grid.oc-month .oc-day-title{min-height:26px;padding:4px 7px}.oc-grid.oc-month .oc-day-title small{display:none}.oc-grid.oc-month .oc-day-events{gap:2px;padding:3px 4px}.oc-grid.oc-month .oc-event{display:grid;grid-template-columns:34px minmax(42px,1fr) auto;gap:4px;min-height:20px;padding:1px 4px;border-left-width:2px}.oc-grid.oc-month .oc-event time{font-variant-numeric:tabular-nums}.oc-grid.oc-month .oc-event strong,.oc-grid.oc-month .oc-event span{font-size:12px;line-height:16px}.oc-grid.oc-month .oc-event span{margin-left:0}.oc-grid.oc-month .oc-more{min-height:18px;padding:1px 4px;font-size:11px}
.oc-event-dialog-schedule{display:grid;justify-content:start;gap:3px;margin-bottom:9px;padding:10px 12px;border-left-color:var(--tvm-action);background:var(--tvm-action-soft)}.oc-event-dialog-schedule time{color:var(--tvm-navy);font-size:32px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}.oc-event-dialog-schedule span{color:#3f5668;font-size:14px;font-weight:750}.oc-event-dialog-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 40px 12px 0}.oc-event-dialog-identity h3{margin:0;font-size:19px}.oc-event-dialog-identity>span{padding:4px 7px;border-radius:999px;background:var(--tvm-surface-subtle);color:#3f5668;font-size:13px;font-weight:750}.oc-event-dialog dl div{padding:7px 0}.oc-event-dialog-reference dt,.oc-event-dialog-reference dd{color:#6c7d8a;font-size:12px;font-weight:650}
#operation-calendar-view:fullscreen{overflow:auto;padding:18px;background:var(--tvm-page)}
.oc-event span i{font-style:normal}
.oc-event strong{display:flex;align-items:center;gap:7px;min-width:0}.oc-event time{flex:0 0 auto;color:var(--tvm-action);font-variant-numeric:tabular-nums}.oc-event strong,.oc-event span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-more{width:100%;padding:7px 9px;border:1px dashed var(--tvm-line-strong);border-radius:5px;background:var(--tvm-surface-muted);color:var(--tvm-action);font-size:12px;font-weight:750;text-align:left}.oc-more:hover{background:var(--tvm-row-hover)}
.oc-grid.oc-month .oc-day{min-height:218px}.oc-grid.oc-month .oc-day-events{gap:4px;padding:5px}.oc-grid.oc-month .oc-event{gap:1px;padding:5px 6px}.oc-grid.oc-month .oc-event strong,.oc-grid.oc-month .oc-event span{font-size:12px;line-height:1.25}.oc-grid.oc-month .oc-more{padding:5px 6px}
.oc-month-weekday{padding:8px;border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface-subtle);color:#52677b;font-size:12px;font-weight:800;text-align:center}.oc-month-weekday:nth-child(7){border-right:0}
#operation-calendar-view.oc-expanded .oc-grid.oc-day .oc-day{min-height:calc(100vh - 330px)}#operation-calendar-view.oc-expanded .oc-grid.oc-day .oc-day-events{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-content:start;padding:14px}#operation-calendar-view.oc-expanded .oc-grid.oc-day .oc-event{padding:14px}
.oc-time-grid{width:100%;min-height:720px;border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface);overflow:hidden}.oc-time-row{display:grid;grid-template-columns:74px minmax(0,1fr);min-height:64px;border-bottom:1px solid var(--tvm-line)}.oc-time-row:last-child{border-bottom:0}.oc-time-row>time{padding:10px 12px;border-right:1px solid var(--tvm-line);color:#52677b;font-size:12px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.oc-time-row>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-content:start;gap:8px;padding:7px 10px;background:linear-gradient(to bottom,transparent 49%,color-mix(in srgb,var(--tvm-line) 45%,transparent) 50%,transparent 51%)}.oc-time-row .oc-event{max-width:520px}.oc-time-unscheduled{background:var(--tvm-surface-subtle)}.oc-time-unscheduled>time{color:var(--tvm-action)}
.oc-week-time-grid{display:grid;width:100%;min-width:980px;grid-template-columns:70px repeat(7,minmax(125px,1fr));border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface);overflow:auto}.oc-week-corner,.oc-week-head{position:sticky;top:0;z-index:2;min-height:48px;padding:8px;border:0;border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface-subtle);color:var(--tvm-navy)}.oc-week-corner{display:grid;place-items:center;font-size:12px;font-weight:750}.oc-week-head{display:flex;align-items:center;justify-content:center;gap:6px}.oc-week-head small{font-size:12px;text-transform:capitalize}.oc-week-head strong{font-size:16px}.oc-week-hour{padding:10px 8px;border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);color:#52677b;font-size:12px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.oc-week-slot{min-height:70px;padding:5px;border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);background:linear-gradient(to bottom,transparent 49%,color-mix(in srgb,var(--tvm-line) 45%,transparent) 50%,transparent 51%)}.oc-week-slot:nth-child(8n){border-right:0}.oc-week-slot .oc-event{gap:1px;padding:5px}.oc-week-slot .oc-event strong,.oc-week-slot .oc-event span{font-size:12px;line-height:1.25}.oc-week-unscheduled{background:var(--tvm-surface-subtle)}
#operation-calendar-view.oc-expanded .oc-board{width:100%}#operation-calendar-view.oc-expanded .oc-time-grid{min-height:calc(100vh - 320px)}
#operation-calendar-view.oc-expanded .oc-summary,#operation-calendar-view.oc-expanded .oc-sidebar,#operation-calendar-view.oc-expanded .oc-board-head{display:none}#operation-calendar-view.oc-expanded .oc-layout{grid-template-columns:minmax(0,1fr)}#operation-calendar-view.oc-expanded .oc-heading{padding:10px 14px}#operation-calendar-view.oc-expanded .oc-heading .oc-eyebrow,#operation-calendar-view.oc-expanded .oc-heading p{display:none}#operation-calendar-view.oc-expanded .oc-heading h2{font-size:18px}#operation-calendar-view.oc-expanded .oc-week-time-grid{height:calc(100vh - 190px);min-height:0}#operation-calendar-view.oc-expanded .oc-time-grid{max-height:calc(100vh - 190px);overflow:auto}
#operation-calendar-view:fullscreen .operation-calendar{max-width:1500px;margin:0 auto}
#operation-calendar-view.oc-expanded{position:fixed;z-index:10000;inset:0;overflow:auto;padding:18px;background:var(--tvm-page)}
#operation-calendar-view.oc-expanded .operation-calendar{max-width:none;margin:0 auto}
@media(max-width:1050px){.oc-layout{grid-template-columns:minmax(0,1fr)}.oc-sidebar{flex-wrap:wrap}.oc-board{overflow-x:auto}.oc-grid.oc-week{min-width:850px}}
@media(max-width:720px){.oc-heading{align-items:stretch;flex-direction:column;padding:17px}.oc-heading .ui-button{width:100%}.oc-summary{display:flex;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.oc-summary-card{min-width:175px;scroll-snap-align:start}.oc-calendar-toolbar{align-items:stretch;flex-direction:column}.oc-navigation{display:grid;grid-template-columns:38px 1fr 38px}.oc-navigation h3{grid-column:1/-1;grid-row:1;margin:0;text-align:center}.oc-navigation [data-step],.oc-navigation [data-today]{grid-row:2}.oc-views .ui-button{flex:1}.oc-layout{display:block;min-height:0}.oc-sidebar{border-right:0;border-bottom:1px solid var(--tvm-line)}.oc-kind-filters{display:flex;overflow-x:auto}.oc-kind{min-width:max-content;border:1px solid var(--tvm-line);background:#fff}.oc-select-filters{grid-template-columns:1fr 1fr}.oc-select-filters .oc-open-only{grid-column:1/-1}.oc-board{padding:12px;overflow:visible}.oc-board-head{align-items:stretch;flex-direction:column}.oc-board-head .field{width:100%}.oc-grid,.oc-grid.oc-week{grid-template-columns:1fr;min-width:0}.oc-spacer{display:none}.oc-day{min-height:0;border-right:0}.oc-day-title{justify-content:flex-start;gap:8px}.oc-day-events{padding:8px}.oc-day:has(.oc-empty){display:none}}
@media(max-width:720px){.oc-heading-actions{display:grid;grid-template-columns:1fr 1fr}}


#workspace-overview .workspace-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.workspace-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0}
.workspace-metrics .metric-card{min-width:0;padding:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
.workspace-metrics .metric-card strong{display:block;color:var(--tvm-navy);font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}
.workspace-list{display:grid;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);overflow:hidden}
.workspace-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface)}
.workspace-item:last-child{border-bottom:0}
.workspace-item:hover{background:var(--tvm-row-hover)}
.workspace-item-main,.workspace-item-state{display:grid;min-width:0;gap:3px}
.workspace-item-main :is(strong,span,small),.workspace-item-state :is(strong,span,small){overflow-wrap:anywhere}
.workspace-performance{margin-top:14px;padding:0 14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
.workspace-performance>summary{padding:14px 0;color:var(--tvm-action);cursor:pointer}
#operations-view:has(.workbench.detail-open) #workspace-overview{display:none}
#operations-view:has(#workspace-overview) #counts{display:none}
#operations-view:has(#workspace-overview) :is(#operations-reports-button,#operations-accounts-button,#operations-cash-button){display:none}
@media(max-width:900px){.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-item{align-items:flex-start;flex-wrap:wrap}.workspace-item-state{width:100%}}


#workspace-overview{margin-bottom:18px}
.workspace-approved-layout{display:grid;gap:18px;color:var(--booking-navy)}
.workspace-approved-layout :is(h2,h3,p){margin-top:0}
.workspace-approved-layout :is(button,input,select){font:inherit}
.workspace-today-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:22px;border:1px solid var(--booking-line);border-radius:var(--tvm-radius-card);background:#fff;box-shadow:var(--tvm-shadow-card)}
.workspace-heading h2{margin:3px 0 6px;font-size:clamp(25px,3vw,34px);line-height:1.08}
.workspace-heading p:last-child{margin:0;color:var(--tvm-muted)}
.workspace-header-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.workspace-header-tools #workspace-actions{display:flex;align-items:center;gap:8px}
.workspace-header-tools #new-case{min-height:44px;margin:0;padding:9px 16px;border:1px solid var(--booking-blue-dark);background:var(--booking-blue);color:#fff}
.workspace-assignee{min-width:210px;margin:0!important;text-align:left}
.workspace-assignee select{min-height:44px}
.workspace-approved-layout .workspace-metrics{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.workspace-approved-layout .metric-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-height:76px;padding:13px 14px;border:1px solid #bfd4e6;border-top:3px solid var(--booking-blue);border-radius:8px;background:#f7fbff;box-shadow:none}
.workspace-approved-layout .metric-card strong{grid-row:1/3;color:var(--booking-blue);font-size:29px;line-height:1;font-variant-numeric:tabular-nums}
.workspace-approved-layout .metric-card span{color:var(--booking-navy);font-size:13px;font-weight:750;line-height:1.25}
.workspace-approved-layout .metric-warning{border-top-color:var(--booking-yellow);background:var(--booking-yellow-soft)}
.workspace-approved-layout .metric-warning strong{color:#7c5600}
.workspace-approved-layout .metric-success{border-top-color:var(--tvm-success);background:var(--tvm-success-soft)}
.workspace-approved-layout .metric-success strong{color:var(--tvm-success)}

.workspace-daily-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,26%);gap:18px;align-items:stretch}
.workspace-panel{min-width:0;padding:18px;border:1px solid var(--booking-line);border-radius:var(--tvm-radius-card);background:#fff;box-shadow:var(--tvm-shadow-card)}
.workspace-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.workspace-panel-heading h3{margin:0 0 3px;font-size:19px;color:var(--booking-navy)}
.workspace-panel-heading p{margin:0;color:var(--tvm-muted);font-size:13px}
.workspace-priority-list{display:grid;border:1px solid var(--booking-line);border-radius:8px;overflow:hidden}
.workspace-priority-row{display:grid;grid-template-columns:34px minmax(150px,1fr) minmax(118px,.7fr) minmax(190px,1.15fr) 24px;align-items:center;gap:11px;width:100%;min-width:0;padding:12px;border:0;border-bottom:1px solid var(--booking-line);border-radius:0;background:#fff;color:var(--booking-navy);text-align:left;box-shadow:none}
.workspace-priority-row:last-child{border-bottom:0}.workspace-priority-row:hover{background:#f2f8fe;filter:none}
.workspace-priority-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--booking-sky);color:var(--booking-blue);font-weight:900}
.workspace-priority-mark.tone-danger{background:var(--tvm-danger-soft);color:var(--tvm-danger)}.workspace-priority-mark.tone-warning{background:var(--booking-yellow-soft);color:#7c5600}
.workspace-person,.workspace-next{display:grid;gap:2px;min-width:0}.workspace-person small,.workspace-next small{color:var(--tvm-muted);font-size:11px}.workspace-person strong,.workspace-next strong{overflow-wrap:anywhere;font-size:13px}.workspace-arrow{color:var(--booking-blue);font-size:20px;font-weight:800}
.badge--danger{background:var(--tvm-danger-soft);color:var(--tvm-danger)}.badge--warning{background:var(--booking-yellow-soft);color:#7c5600}.badge--success{background:var(--tvm-success-soft);color:var(--tvm-success)}.badge--info{background:var(--booking-sky);color:var(--booking-blue)}.badge--neutral{background:var(--tvm-surface-subtle);color:var(--tvm-muted)}
.workspace-calendar{display:flex;flex-direction:column}
.workspace-calendar>.workspace-panel-heading{margin-bottom:12px}
.workspace-approved-layout .workspace-calendar .workspace-panel-heading .workspace-calendar-no-today{color:#b42318;font-weight:600}
.workspace-calendar ol{display:grid;align-content:start;gap:4px;margin:0;padding:0;list-style:none}
.workspace-calendar li{border-top:1px solid var(--booking-line)}
.workspace-calendar li:first-child{border-top:0}
.workspace-calendar [hidden]{display:none!important}
.workspace-calendar-day h4{margin:4px 4px 2px;font-size:13px;font-weight:700;line-height:1.4;color:var(--booking-navy)}
.workspace-calendar-day:first-child h4{margin-top:0}
.workspace-calendar-day h4 time{display:inline-block;padding:1px 1ch;border-radius:2px;background:#cce4ff;color:var(--booking-navy)}
.workspace-calendar li button{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:2px 4px;border:0;border-radius:4px;background:transparent;color:var(--booking-navy);text-align:left;box-shadow:none}
.workspace-calendar li button:hover{background:#f2f8fe;filter:none}
.workspace-calendar li .workspace-calendar-when{display:grid;gap:4px;color:var(--booking-blue);font-size:14px}
.workspace-calendar-when strong{font-size:18px;line-height:1.3;font-variant-numeric:tabular-nums}
.workspace-calendar li .workspace-calendar-person{display:grid;gap:2px;min-width:0}
.workspace-calendar li b{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.workspace-calendar li small{color:var(--tvm-muted);font-size:14px;line-height:1.4}
.workspace-approved-layout .workspace-calendar li .workspace-country-flag{display:inline;font-size:20px;line-height:1;vertical-align:baseline}
.workspace-calendar-empty{display:grid;place-content:center;gap:5px;min-height:150px;padding:18px;text-align:center;background:#f7fbff;border-radius:8px}
.workspace-calendar-empty span{color:var(--tvm-muted);font-size:12px}
.workspace-calendar .workspace-calendar-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;align-self:flex-end;width:auto;max-width:100%;min-height:32px;margin-top:4px;margin-right:4px;padding:4px 0;border:0;background:transparent;color:var(--booking-blue);box-shadow:none;text-align:center;font-size:14px;font-weight:700}
.workspace-calendar .workspace-calendar-link:hover{background:transparent;box-shadow:none;text-decoration:underline;filter:none}
@media(max-width:1050px){.workspace-calendar .workspace-calendar-link{min-height:44px}}
.workspace-calendar-link small{font-size:12px;font-weight:400}
@media(min-width:1051px){.workspace-calendar{contain:size;min-height:0}.workspace-calendar ol{flex:1;min-height:0;overflow:hidden}.workspace-calendar>.workspace-panel-heading{flex:none}.workspace-calendar-empty{min-height:0;flex:1}}

.workspace-active{padding:0;overflow:hidden}.workspace-active>.workspace-panel-heading{margin:0;padding:17px 18px;border-bottom:1px solid var(--booking-line)}
.workspace-file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-bottom:1px solid var(--booking-line);background:#f7fbff}
.workspace-stage-filters{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.workspace-stage-filters button{min-height:34px;padding:6px 10px;border:1px solid transparent;background:transparent;color:var(--booking-navy);box-shadow:none}.workspace-stage-filters button:hover{background:var(--booking-sky);filter:none}.workspace-stage-filters button.selected{border-color:var(--booking-blue);background:#fff;color:var(--booking-blue)}
.workspace-search{margin:0!important}.workspace-search input{width:min(310px,100%);min-height:40px;padding:8px 11px;border:2px solid #9ebcd5}.workspace-search input:focus{border-color:var(--booking-blue);outline:3px solid color-mix(in srgb,var(--booking-yellow) 35%,transparent);outline-offset:1px}
.workspace-table-wrap{max-width:100%;overflow-x:auto}.workspace-table{width:100%;min-width:980px;border-collapse:collapse;background:#fff}.workspace-table :is(th,td){padding:12px 11px;border-bottom:1px solid var(--booking-line);text-align:left;vertical-align:middle}.workspace-table th{background:#eaf2f9;color:var(--booking-navy);font-size:11px;letter-spacing:.02em}.workspace-table td{font-size:13px}.workspace-table td strong,.workspace-table td small{display:block}.workspace-table td small{margin-top:3px;color:var(--tvm-muted);font-size:11px}.workspace-table tbody tr:hover{background:#f2f8fe}.workspace-table tbody tr:last-child td{border-bottom:0}.workspace-open-file{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #9ebcd5;background:#fff;color:var(--booking-blue);box-shadow:none}.workspace-open-file:hover{border-color:var(--booking-blue);background:var(--booking-sky);filter:none}
.workspace-active>.workspace-table-wrap>.empty{margin:14px}
.workspace-performance{margin:18px 0 0!important;padding:0 16px!important;border:1px solid var(--booking-line)!important;border-radius:var(--tvm-radius-card)!important;background:#fff!important;box-shadow:var(--tvm-shadow-card)}.workspace-performance>summary{padding:15px 0!important;color:var(--booking-blue)!important}.workspace-performance[open]>summary{border-bottom:1px solid var(--booking-line)}


.manager-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:16px;margin:0 0 18px}
.manager-overview>section{min-width:0;padding:20px;border:1px solid var(--tvm-line);border-top:3px solid var(--tvm-action);border-radius:var(--tvm-radius-panel);background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
.manager-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.manager-section-heading .eyebrow{margin:0 0 5px;color:var(--tvm-action);font-size:11px;font-weight:850;letter-spacing:.12em}
.manager-section-heading h2{margin:0;color:var(--tvm-navy);font-size:22px;line-height:1.15}
.manager-active-passports .manager-section-heading>strong{color:var(--tvm-action);font-size:34px;line-height:1}
.manager-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.manager-kpis article{display:grid;align-content:start;gap:5px;min-height:104px;padding:14px;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface-subtle)}
.manager-kpis article span{color:#425b70;font-size:12px;font-weight:800;line-height:1.25}
.manager-kpis article strong{color:var(--tvm-navy);font-size:28px;line-height:1}
.manager-kpis article small{color:var(--tvm-muted);font-size:11px;line-height:1.35}
.manager-stage-list{display:grid;gap:12px}
.manager-stage{--manager-stage:#1171c2;display:grid;gap:6px}
.manager-stage>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#425b70;font-size:12px;font-weight:750}
.manager-stage>div strong{color:var(--tvm-navy);font-size:14px}
.manager-stage>b{display:block;height:7px;overflow:hidden;border-radius:4px;background:#e7eef4}
.manager-stage>b i{display:block;height:100%;border-radius:inherit;background:var(--manager-stage)}
.manager-stage--waiting{--manager-stage:#c17b00}.manager-stage--preparation{--manager-stage:#1875bd}.manager-stage--submitted{--manager-stage:#7553a6}.manager-stage--ready{--manager-stage:#2e8b57}
@media(max-width:980px){.manager-overview{grid-template-columns:1fr}.manager-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.manager-overview>section{padding:16px}.manager-kpis{grid-template-columns:1fr 1fr}.manager-kpis article{min-height:94px;padding:12px}.manager-section-heading h2{font-size:20px}}

@media(max-width:1050px){.workspace-approved-layout .workspace-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-daily-grid{grid-template-columns:1fr}.workspace-calendar-empty{min-height:100px}}
@media(max-width:760px){
 .workspace-today-card{grid-template-columns:1fr;padding:15px}.workspace-header-tools{justify-content:stretch}.workspace-header-tools>*{width:100%}.workspace-header-tools #workspace-actions,.workspace-header-tools #new-case{width:100%}.workspace-approved-layout .workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-approved-layout .metric-card:first-child{grid-column:1/-1}
 .workspace-panel{padding:14px}.workspace-panel-heading{align-items:stretch;flex-direction:column}.workspace-priority-row{grid-template-columns:30px minmax(0,1fr) 22px;gap:8px}.workspace-priority-row>.badge,.workspace-next{grid-column:2/4}.workspace-arrow{grid-column:3;grid-row:1}
 .workspace-active{padding:0}.workspace-active>.workspace-panel-heading{padding:14px}.workspace-file-toolbar{align-items:stretch;flex-direction:column;padding:10px 14px}.workspace-stage-filters{overflow-x:auto;flex-wrap:nowrap}.workspace-stage-filters button{flex:0 0 auto}.workspace-search input{width:100%}
 .workspace-table{display:block;min-width:0}.workspace-table thead{display:none}.workspace-table tbody{display:grid;gap:10px;padding:12px}.workspace-table tr{display:grid;gap:7px;padding:13px;border:1px solid var(--booking-line);border-left:4px solid var(--booking-blue);border-radius:8px;background:#fff}.workspace-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:0;border:0}.workspace-table td::before{content:attr(data-label);color:var(--tvm-muted);font-size:11px;font-weight:750}.workspace-table td>*{min-width:0}.workspace-table td:last-child{display:block}.workspace-open-file{width:100%;margin-top:4px}
}
@media(max-width:430px){.workspace-approved-layout .workspace-metrics{grid-template-columns:1fr}.workspace-approved-layout .metric-card:first-child{grid-column:auto}.workspace-table td{grid-template-columns:86px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.workspace-priority-row,.workspace-stage-filters button,.workspace-open-file{transition:none}}


.workspace-header-tools #new-case{height:46px;min-height:46px;padding:8px 12px;border:5px solid var(--tvm-accent);border-radius:7px;background:var(--tvm-action);color:var(--tvm-surface);font-size:.94rem;font-weight:800;box-shadow:var(--tvm-shadow-card)}
.workspace-header-tools #new-case:hover{background:var(--tvm-action-hover);border-color:var(--tvm-accent);filter:none}
.office-section-nav{gap:8px;flex-wrap:wrap}
.office-section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid var(--tvm-action);border-radius:7px;background:var(--tvm-surface);color:var(--tvm-navy);font-weight:800;text-decoration:none;box-shadow:none}
.office-section-nav a:hover{background:var(--tvm-action-soft);color:var(--tvm-navy)}
.office-section-nav a:is(.active,[aria-current="page"]){background:var(--tvm-action);border-color:var(--tvm-action);color:var(--tvm-surface)}
.workspace-priority-mark{border-radius:6px}
.workspace-approved-layout .badge{border-radius:5px}

.workspace-country-flag{display:inline-block;flex:none;font-size:24px;line-height:1.15;vertical-align:middle}.workspace-priority-flag{display:grid;place-items:center;width:30px}.workspace-table .workspace-name-with-flag{display:flex;align-items:center;gap:9px}


.workspace-header-tools{align-items:flex-end}
.workspace-header-tools #workspace-actions{margin:0}
.workspace-assignee select{display:block;height:46px;min-height:46px;margin-bottom:0;box-sizing:border-box}
#new-case.ui-add-action::before,#new-case .ui-add-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;line-height:24px;padding:0;box-sizing:border-box;text-align:center;font-family:Arial,sans-serif;align-self:center}

#new-case::before{content:'';display:block;flex:0 0 24px;width:24px;height:24px;padding:0;border-radius:50%;box-sizing:border-box;background:linear-gradient(var(--tvm-action),var(--tvm-action)) center/12px 2px no-repeat,linear-gradient(var(--tvm-action),var(--tvm-action)) center/2px 12px no-repeat,var(--tvm-surface)}

.workspace-priority-row{grid-template-columns:34px minmax(150px,1fr) minmax(142px,.84fr) minmax(190px,1.15fr) 24px}
.workspace-approved-layout :is(.workspace-priority-row,.workspace-table) .badge{display:inline-block;padding:8px 12px;white-space:normal}
@media(max-width:760px){.workspace-priority-row{grid-template-columns:30px minmax(0,1fr) 22px}.workspace-priority-row>.badge{justify-self:start}}


.workspace-approved-layout .metric-navy{border-top-color:var(--tvm-navy);background:color-mix(in srgb,var(--tvm-navy) 7%,white)}
.workspace-approved-layout .metric-warning{border-top-color:var(--tvm-accent);background:var(--tvm-accent-soft)}
.workspace-approved-layout .metric-brown{border-top-color:var(--tvm-warning);background:color-mix(in srgb,var(--tvm-warning) 9%,white)}
.workspace-approved-layout .metric-info{border-top-color:var(--tvm-action);background:var(--tvm-action-soft)}
.workspace-approved-layout .metric-success{border-top-color:var(--tvm-success);background:var(--tvm-success-soft)}

.workspace-priority-row{grid-template-columns:minmax(150px,1fr) minmax(142px,.84fr) minmax(190px,1.15fr) 24px}
.workspace-person .workspace-country-flag{font-size:18px;margin-inline:3px;letter-spacing:0}
.workspace-country-with-flag .workspace-country-flag{font-size:20px;margin-right:5px}
@media(max-width:760px){.workspace-priority-row{grid-template-columns:minmax(0,1fr) 22px}.workspace-priority-row>.badge,.workspace-priority-row .workspace-next{grid-column:1/3}.workspace-priority-row>.workspace-arrow{grid-column:2;grid-row:1}}

@media(min-width:761px){.workspace-table :is(th,td):first-child{padding-left:31px}}

.office-section-nav{gap:4px}
.office-section-nav a{padding-inline:12px}

.office-section-nav>a{height:67px;min-height:67px;box-sizing:border-box;align-self:flex-end}
.workspace-stage-filters{gap:6px}
.workspace-stage-filters button{min-height:38px;padding:7px 12px;border:1px solid var(--tvm-action);border-radius:7px;background:var(--tvm-surface);color:var(--tvm-navy);font-weight:700}
.workspace-stage-filters button:hover{background:var(--tvm-action-soft);border-color:var(--tvm-action-hover)}
.workspace-stage-filters button.selected{background:var(--tvm-action);border-color:var(--tvm-action);color:var(--tvm-surface)}

.workspace-assignee{min-width:0;width:max-content;max-width:100%}
.workspace-assignee select{appearance:none;width:auto;max-width:100%;padding:9px 38px 9px 12px;border:1px solid var(--tvm-action);border-radius:7px;color:var(--tvm-navy);background-color:var(--tvm-surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23123f65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px;box-shadow:none}
.workspace-assignee select:focus-visible{outline:3px solid var(--tvm-action-soft);outline-offset:2px}
@media(max-width:760px){.workspace-header-tools .workspace-assignee{width:max-content;max-width:100%}}

.workspace-approved-layout .workspace-open-file{border:0;background:transparent;box-shadow:none;color:var(--booking-blue);font-size:20px;font-weight:800;line-height:1}
.workspace-approved-layout .workspace-open-file:hover{border:0;background:var(--tvm-action-soft);color:var(--tvm-action-hover)}

#completed-back{margin:0 0 14px;min-height:44px}

.workspace-search input{min-height:44px;border:3px solid var(--tvm-accent);border-radius:7px;padding:8px 12px 8px 40px;background-color:var(--tvm-surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230966ba' stroke-width='2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-size:20px;background-repeat:no-repeat;background-position:12px center;color:var(--tvm-navy)}
.workspace-search input:focus{border-color:var(--tvm-accent);outline:2px solid var(--tvm-action);outline-offset:2px}


.workspace-search input{height:38px;padding:8px 10px}
.workspace-search input{height:44px;padding:9px 12px;border:2px solid #6fa6d6;border-radius:7px;background:#fff;box-shadow:0 3px 10px rgba(0,59,149,.10);font-size:.9rem}
.workspace-search input:hover{border-color:var(--booking-blue)}
.workspace-search input:focus{border-color:var(--booking-blue);box-shadow:0 0 0 3px rgba(255,183,0,.28),0 4px 12px rgba(0,59,149,.12)}
.workspace-search input{padding-left:38px;border:3px solid var(--booking-yellow);box-shadow:inset 0 0 0 1px #d49a00,0 3px 10px rgba(0,59,149,.10)}
.workspace-search input:hover{border-color:#f2a900}
.workspace-search input:focus{border-color:var(--booking-blue);box-shadow:0 0 0 3px rgba(255,183,0,.38),0 4px 12px rgba(0,59,149,.14)}
.workspace-search input{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23003b95' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:19px 19px}
.workspace-search input{height:48px;padding-left:48px;background-position:13px 50%;background-size:25px 25px}
.workspace-search input{transition:border-color .15s ease,box-shadow .15s ease}
@media(prefers-reduced-motion:reduce){.workspace-search input{transition:none}}

.workspace-file-row{cursor:pointer}.workspace-file-row:focus-visible{outline:3px solid var(--tvm-action);outline-offset:2px;background:var(--tvm-action-soft)}

.workspace-search{width:min(496px,100%);flex:0 1 496px}
.workspace-search input{width:100%;box-sizing:border-box}
@media(max-width:760px){.workspace-search{width:100%;flex-basis:auto}}
.workspace-search>.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.workspace-search input:focus::placeholder{color:transparent;opacity:0}
.workspace-file-toolbar{align-items:center}
.workspace-search{display:block}
.workspace-search input{height:38px;min-height:38px;padding-top:5px;padding-bottom:5px}

@media(min-width:761px){.workspace-file-toolbar{padding-block:25px}}
@media(max-width:760px){.workspace-file-toolbar{padding-block:15px}}
.workspace-approved-layout [data-completed]{min-height:44px;padding:9px 14px;border:1px solid var(--tvm-action);border-radius:7px;background:var(--tvm-surface);color:var(--tvm-navy);font-weight:800;box-shadow:none}
.workspace-approved-layout [data-completed]:hover{background:var(--tvm-action-soft);color:var(--tvm-action-hover);filter:none}

.workspace-search input{border-width:1.5px;box-shadow:0 3px 10px rgba(0,59,149,.08)}

.workspace-approved-layout>.workspace-performance{margin:0!important}

@media(max-width:720px){
 .oc-grid.oc-month .oc-day{min-height:0}
 .oc-grid.oc-month .oc-day-title{min-height:36px;padding:7px 8px}
 .oc-grid.oc-month .oc-day-title small{display:inline}
 .oc-grid.oc-month .oc-event{display:flex;min-height:38px;padding:6px 8px;border-left-width:3px}
 .oc-grid.oc-month .oc-event span{margin-left:auto}
 .oc-event-dialog-schedule time{font-size:28px}
 .oc-event-dialog dl div{grid-template-columns:1fr;gap:3px}
}

@media(min-width:721px){
 .oc-calendar-toolbar{min-height:56px}
 .oc-calendar-toolbar>.single-date-picker>.date-range-label{display:none!important}
 .oc-month-weekday{padding:4px 8px}
 .oc-grid.oc-month .oc-day{min-height:164px}
 .oc-grid.oc-month .oc-day-title{min-height:26px;padding:4px 7px}
 .oc-grid.oc-month .oc-day-title small{display:none}
 .oc-grid.oc-month .oc-day-events{gap:2px;padding:3px 4px}
 .oc-grid.oc-month .oc-event{display:grid;grid-template-columns:34px minmax(42px,1fr) auto;gap:4px;min-height:20px;padding:1px 4px;border-left-width:2px}
 .oc-grid.oc-month .oc-event strong,.oc-grid.oc-month .oc-event span{font-size:12px;line-height:16px}
 .oc-grid.oc-month .oc-more{min-height:18px;padding:1px 4px;font-size:11px}
}


.manager-section-heading .eyebrow{font-size:12px;font-weight:800}
.manager-section-heading h2{font-size:24px;line-height:1.25}
.manager-active-passports .manager-section-heading>strong{font-size:32px}
.manager-kpis article{min-height:112px}
.manager-kpis article span,.manager-kpis article small,.manager-stage>div{font-size:14px;line-height:1.4}
.manager-kpis article strong{font-size:32px}.manager-kpis article strong small{font-size:14px;font-weight:400}
.manager-note{margin:12px 0 0;color:#486078;font-size:14px;line-height:1.55}
.manager-text-link{display:inline-flex;align-items:center;min-height:44px;color:var(--tvm-action);font-size:14px;font-weight:700}
.manager-business{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.manager-block{min-width:0;padding:20px;border:1px solid var(--tvm-line);border-radius:7px;background:#fff}
.manager-block-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.manager-block-heading .eyebrow{margin:0 0 5px;font-size:12px;color:var(--tvm-action)}
.manager-block h2{margin:0;font-size:24px;color:var(--tvm-navy)}
.manager-block-heading>strong{font-size:14px;white-space:nowrap;color:var(--tvm-action)}
.manager-finance{grid-column:1/-1}
.manager-currency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}
.manager-currency-grid article{padding:14px;border:1px solid var(--tvm-line);border-radius:7px}
.manager-currency-grid h3{margin:0 0 12px;font-size:18px;color:var(--tvm-action)}
.manager-currency-grid dl,.manager-refunds{margin:0;display:grid;gap:10px}
.manager-currency-grid dl>div,.manager-refunds>div{display:flex;gap:12px;justify-content:space-between;align-items:baseline;font-size:14px}
.manager-block dt{color:#486078}.manager-block dd{margin:0;font-weight:700;text-align:right;color:var(--tvm-navy);font-variant-numeric:tabular-nums}
.manager-block details{margin-top:14px;border-top:1px solid var(--tvm-line);padding-top:10px}
.manager-block summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:var(--tvm-action);font-weight:700}
.manager-block summary::before{content:'+';font-size:18px}.manager-block details[open]>summary::before{content:'−'}
.manager-block summary>span{margin-left:auto;font-weight:400;color:#486078}
.manager-contribution{display:grid;gap:14px}
.manager-contribution article{display:flex;justify-content:space-between;gap:16px;font-size:14px}
.manager-contribution article:last-child{padding-top:14px;border-top:1px solid var(--tvm-line)}
.manager-contribution strong{font-size:18px;color:var(--tvm-navy)}
.manager-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.manager-source-row{margin:0 0 12px}.manager-source-row>div{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.manager-source-row small{font-size:12px;font-weight:400;color:#486078}.manager-source-row meter{display:block;width:100%;height:10px;margin-top:5px;accent-color:var(--tvm-action)}
.manager-source-row meter::-webkit-meter-bar{background:#eaf2fb;border:0}.manager-source-row meter::-webkit-meter-optimum-value{background:var(--tvm-action)}
.manager-customer-counts{display:grid;gap:12px;margin-top:20px;font-size:14px}.manager-customer-counts span{display:flex;justify-content:space-between;gap:12px}
.manager-refunds>div{padding-block:10px;border-bottom:1px solid var(--tvm-line)}
@media(max-width:1000px){.manager-business{grid-template-columns:1fr}.manager-finance{grid-column:auto}}
@media(max-width:600px){.manager-block{padding:16px}.manager-source-grid{grid-template-columns:1fr}.manager-block-heading{flex-wrap:wrap}.manager-block h2,.manager-section-heading h2{font-size:18px}.manager-kpis article{padding:10px}.manager-block summary{flex-wrap:wrap}.manager-block summary>span{width:100%;margin-left:20px}.manager-refunds>div{display:grid;gap:5px}.manager-refunds dd{text-align:left}.manager-currency-grid{grid-template-columns:minmax(0,1fr)}}
.manager-business>.manager-block{grid-column:auto}
#manager-report-back{margin-bottom:16px}
#annual-trend-chart{margin-right:0;max-width:100%}
#annual-trend-chart svg{min-width:540px}
#annual-trend-chart circle:focus{outline:none;fill:var(--tvm-action);stroke-width:4}
.manager-chart-values{margin-top:8px;color:var(--tvm-navy);font-size:14px}
.manager-chart-values summary{min-height:44px;cursor:pointer;display:flex;align-items:center;color:var(--tvm-action)}
.manager-chart-values>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}
.manager-chart-values p{margin:0;padding:8px;background:#f3f8fd;display:flex;justify-content:space-between;gap:6px}


.result-trend-chart{position:relative;overflow-x:auto;min-width:0}
.result-trend-chart svg{display:block;width:100%;min-width:540px;height:auto}
.result-trend-chart .operations-trend-line{fill:none;stroke:var(--tvm-action);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.result-trend-chart .operations-trend-area{fill:var(--tvm-action);opacity:.06}
.result-trend-chart .trend-recent-area{fill:var(--tvm-action-soft)}
.result-trend-chart circle{fill:#fff;stroke:var(--tvm-action);stroke-width:2.5}
.result-trend-chart .recent circle{fill:var(--tvm-action);stroke:#fff}
.result-trend-chart .trend-point text{fill:var(--tvm-ink);font-size:12px;font-weight:700}
.result-trend-chart [data-trend-index]:focus{outline:none;stroke:#ffb000;stroke-width:4}
.result-trend-chart .trend-tooltip i{background:var(--tvm-action)}
.result-trend-chart .comparison-line{stroke:var(--tvm-success);stroke-width:2.5;stroke-dasharray:7 5}
.result-trend-chart .comparison-points circle{fill:var(--tvm-surface);stroke:var(--tvm-success);stroke-width:2}
.annual-trend-legend i.current{border-color:var(--tvm-action)}
.annual-trend-legend i.previous{border-color:var(--tvm-success);border-top-style:dashed}
.trend-comparison-note{margin:0 0 6px;font-size:14px;color:var(--tvm-muted)}
.result-trend-chart .trend-tooltip{width:280px;max-width:calc(100% - 4px)}
.trend-tooltip-comparison{margin:6px 0;padding:7px 0;border-top:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);display:grid;gap:3px;font-size:14px}
.trend-tooltip-comparison strong,.trend-tooltip-comparison b{color:var(--tvm-success)}
.manager-chart-values p{flex-direction:column}
.manager-chart-values p>span{display:flex;justify-content:space-between;gap:8px}
.manager-chart-values .comparison-value{color:var(--tvm-success);font-size:14px}
.ui-radio-choices{margin:0;padding:0;border:0;min-width:0}
.ui-radio-choices legend{padding:0;margin-bottom:5px;font-size:14px;font-weight:700;color:var(--tvm-muted)}
.ui-radio-choices>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-height:60px}
.result-report>.result-filters .ui-radio-choices label{display:inline-flex;align-items:center;gap:5px;margin:0;min-width:0;min-height:36px;font-size:14px;white-space:nowrap;cursor:pointer;font-weight:500}
.ui-radio-choices input[type=radio]{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:var(--tvm-action);cursor:pointer;box-shadow:none}
.ui-radio-choices label:has(input:checked){color:var(--tvm-action);font-weight:700}
.ui-radio-choices input:focus-visible{outline:2px solid var(--tvm-action);outline-offset:3px}
.result-report>.result-filters{grid-template-columns:minmax(160px,1fr) minmax(285px,1.2fr) minmax(270px,1.4fr) auto}
.result-report>.result-filters>label[hidden]{display:none}
.report-date-range .date-range-trigger{gap:10px;padding:8px 10px;border:2px solid var(--tvm-accent);border-radius:5px;background:var(--tvm-surface)}
.report-date-range .date-range-trigger:disabled{opacity:1;background:var(--tvm-surface);border-color:var(--tvm-accent)}
.report-date-range .date-range-trigger small{display:none}
.report-date-range .date-range-trigger .calendar-icon{font-size:20px;line-height:1;color:var(--tvm-action)}
.report-date-range .date-range-trigger strong{font-size:15px;line-height:1.2;color:var(--tvm-navy)}
@media(max-width:1000px){.result-report>.result-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.result-report>.result-filters{grid-template-columns:minmax(0,1fr)}.ui-radio-choices>div{min-height:40px}}


.result-report>.result-filters{--ui-date-toolbar-height:44px;grid-template-columns:minmax(180px,210px) minmax(300px,1fr) 290px 80px;gap:10px;padding:10px 12px}
.result-report>.result-filters :is(select,.date-range-trigger,#period-apply){height:var(--ui-date-toolbar-height);min-height:var(--ui-date-toolbar-height)}
.result-report>.result-filters>label{gap:4px}

.result-report #period-preset{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 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23123f65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
.report-comparison-choices legend{margin-bottom:4px}
.report-comparison-choices>div{min-height:44px}
.result-report>.result-filters .report-comparison-choices label{min-height:44px;font-weight:500}
.report-comparison-choices label:has(input:checked){font-weight:500}
.result-report>.result-filters .report-date-range{grid-column:auto}
.report-date-range .date-range-label{margin-bottom:4px}
.report-date-range .date-range-trigger strong{font-size:14px;line-height:1.3}
.result-comparison>.comparison-periods{justify-content:flex-start;margin:10px 0 8px}
.result-comparison>.comparison-periods span{text-align:left}
@media(min-width:1101px){
 .result-report>.result-filters{grid-template-columns:210px minmax(307px,1fr) 290px 80px}
 .report-comparison-choices{justify-self:center}
 .report-comparison-choices>div{column-gap:24px}
}
@media(min-width:641px) and (max-width:1100px){
 .result-report>.result-filters{grid-template-columns:minmax(0,1fr) minmax(285px,1fr)}
 .result-report>.result-filters #period-apply{width:80px;justify-self:end}
}

.ui-tabs{display:flex;gap:6px;min-width:0;overflow-x:auto;padding:3px 2px 9px;scrollbar-width:thin}
.ui-tabs>[role=tab]{flex:0 0 auto;min-height:44px;white-space:nowrap;border-radius:7px;border:1px solid var(--tvm-action);box-shadow:none}
.ui-tabs>[role=tab][aria-selected=true]{background:var(--tvm-action);color:var(--tvm-surface)}
.ui-tabs>[role=tab]:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
#visa-breakdowns.report-insights{display:block;min-width:0;padding:16px;border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface)}
#visa-breakdowns.report-insights>section{padding:14px 0 0;border:0;border-radius:0}
#visa-breakdowns.report-insights>section[hidden]{display:none}
.report-insight-tabs{border-bottom:1px solid var(--tvm-line)}
.report-insight-tabs>[data-insight=finance]{margin-left:8px}
.report-insight-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:8px}
#visa-breakdowns .report-insight-heading h3{margin:0;font-size:18px}
.report-insight-heading>span{color:var(--tvm-muted);font-size:14px}
.report-distribution-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.report-distribution-row{min-width:0;padding:10px 0;border-bottom:1px solid var(--tvm-line);border-radius:3px;transition:background-color 150ms}
.report-distribution-row:hover{background:var(--tvm-action-soft)}
.report-distribution-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.report-distribution-name{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere;color:var(--tvm-navy)}
.report-country-flag{font-size:20px;line-height:1;flex-shrink:0}
.report-distribution-value{display:flex;align-items:baseline;gap:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.report-distribution-value strong{font-size:16px;color:var(--tvm-navy)}
.report-distribution-value small{font-size:14px;color:var(--tvm-muted);min-width:48px;text-align:right}
.report-share-track{display:block;height:3px;margin-top:8px;background:var(--tvm-action-soft);overflow:hidden;border-radius:2px}
.report-share-track>span{display:block;height:100%;background:var(--tvm-action)}
#result-comparison .result-stat small,#result-comparison .result-stat span{font-size:14px;line-height:1.4}
#result-comparison .result-stat strong{font-size:24px;line-height:1.25}
@media(max-width:640px){#visa-breakdowns.report-insights{padding:12px}.report-distribution-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){#result-comparison .result-stat-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.report-distribution-row{transition:none}}
.manager-overview:has(.manager-profit){grid-template-columns:minmax(250px,1fr) minmax(0,1.3fr) minmax(250px,1fr)}
.manager-overview:has(.manager-profit) .manager-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.manager-profit .manager-block-heading{margin-bottom:10px}
.manager-profit .manager-profit-definition{margin:0 0 12px}
.manager-profit .manager-contribution article:last-child{display:grid;gap:5px}
.manager-profit .manager-contribution article:last-child strong{font-size:32px;color:var(--tvm-action)}

.result-report>#result-comparison{margin:0;padding:12px 12px 0;background:var(--tvm-action-soft);border-radius:7px 7px 0 0}
.result-report>.result-filters{background:var(--tvm-action-soft);border-radius:0 0 7px 7px;padding-top:12px;padding-bottom:12px}
#result-comparison .result-stat-grid{gap:8px}
#result-comparison .result-stat{--result-accent:var(--tvm-action);--result-tint:var(--tvm-surface);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:10px 12px;background:var(--result-tint);border:1px solid var(--tvm-line);border-left:3px solid var(--result-accent);border-radius:5px;min-width:0}
#result-comparison .result-stat[data-result-metric=approved]{--result-accent:var(--tvm-success);--result-tint:var(--tvm-success-soft)}
#result-comparison .result-stat[data-result-metric=refused]{--result-accent:var(--tvm-warning);--result-tint:var(--tvm-accent-soft)}
#result-comparison .result-stat[data-result-metric=rate]{--result-accent:var(--tvm-navy);--result-tint:var(--tvm-surface-info)}
#result-comparison .result-stat strong{margin:0;color:var(--result-accent);font-variant-numeric:tabular-nums}
#result-comparison .result-stat span{grid-column:1/-1;color:var(--tvm-muted)}
@media(max-width:640px){.result-report>#result-comparison{padding:10px 10px 0}#result-comparison .result-stat{grid-template-columns:minmax(0,1fr);gap:3px;padding:8px 10px}}

@media(max-width:1100px){.manager-overview:has(.manager-profit){grid-template-columns:repeat(2,minmax(0,1fr))}.manager-overview:has(.manager-profit) .manager-today{grid-column:1/-1;grid-row:2}.manager-overview:has(.manager-profit) .manager-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.manager-overview:has(.manager-profit){grid-template-columns:minmax(0,1fr)}.manager-overview:has(.manager-profit) .manager-today{grid-column:auto;grid-row:auto}.manager-overview:has(.manager-profit) .manager-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .result-report>.result-filters{grid-template-columns:minmax(0,1fr);padding:10px;gap:8px}
 .result-report>.result-filters #period-apply{width:100%}
}

.manager-contribution-warning{padding:8px 10px;background:var(--tvm-accent-soft);border-left:3px solid var(--tvm-accent);border-radius:4px}
.manager-profit .manager-contribution{gap:10px}
.manager-profit .manager-contribution article{align-items:baseline}
.manager-profit .manager-contribution article:not(:last-child) strong{white-space:nowrap}
.manager-service-breakdown{display:grid;gap:12px}
.manager-service-breakdown h3{margin:0 0 6px;font-size:14px}
.manager-service-breakdown dl{margin:0;display:grid;gap:4px}
.manager-service-breakdown dl>div{display:flex;justify-content:space-between;gap:8px;font-size:14px}

.workspace-calendar-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workspace-calendar-icon .workspace-calendar-dates{fill:currentColor;stroke:none}


.result-report>.result-filters .report-date-range[hidden]{display:none}
@media(min-width:1101px){
 .result-report>.result-filters:not(.has-custom-range){grid-template-columns:210px minmax(307px,1fr) 80px}
}

.catalog-table th:nth-child(1){width:25%}
.catalog-table th:nth-child(2){width:20%}
.catalog-table th:nth-child(3){width:30%}
.catalog-table td{vertical-align:top}
.catalog-table .catalog-scope{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.catalog-table td:nth-child(4){white-space:nowrap}
@media(max-width:640px){
 #catalog-rows{overflow:visible}
 .catalog-table,.catalog-table tbody,.catalog-table tr,.catalog-table td{display:block;width:100%;min-width:0}
 .catalog-table thead{display:none}
 .catalog-table tr{border:1px solid var(--tvm-line);border-radius:7px;margin-bottom:12px;padding:12px;background:var(--tvm-surface)}
 .catalog-table td{border:0;padding:6px 0;white-space:normal}
 .catalog-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:var(--tvm-muted);margin-bottom:3px}
 .catalog-table td:first-child::before{display:none}
}


#quick-sales-view .qs-intro{margin:0 0 16px;color:var(--tvm-muted)}
#quick-sales-view :is(h2,h3){color:var(--tvm-navy);margin:0;font-size:18px}
#quick-sales-view label{margin:0;min-width:0;font-size:14px}
#quick-sales-view :is(input,select){min-width:0;min-height:44px;height:44px;font-size:15px}
#quick-sales-view .ui-button{min-height:44px}
#quick-sales-view .qs-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:16px;align-items:start}
#quick-sales-view .qs-surface,#quick-sales-report{min-width:0;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:7px;padding:20px;box-shadow:var(--tvm-shadow-card)}
#quick-sales-view .qs-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
#quick-sales-view .qs-section-heading>span,#quick-sales-view .qs-section-heading p{margin:4px 0 0;font-size:14px;color:var(--tvm-muted)}
#quick-sales-view .qs-workspace .qs-section-heading>span{font-size:18px;font-weight:700;color:var(--tvm-navy)}
#quick-sales-view .qs-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:10px 14px}
#quick-sales-view .qs-form-grid>label,#quick-sales-view .qs-quantity-field{min-width:0}
#quick-sales-view .qs-form-grid>.qs-wide{grid-column:auto}
#quick-sales-view #qs-seller-control{display:block;width:148px;max-width:100%}
#quick-sales-view #qs-seller-control select{width:100%}
#quick-sales-view .qs-form-grid select[name="currency"]{width:110px;max-width:100%}
#quick-sales-view .qs-wide{grid-column:1/-1}
#quick-sales-view .qs-items{display:grid;gap:10px;margin-top:12px}
#quick-sales-view .qs-item-row{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:8px 14px;padding:10px 0;border-top:1px solid var(--tvm-line);align-items:end}
#quick-sales-view .qs-item-row :is(input,select){width:100%}
#quick-sales-view .qs-item-note{grid-column:1/-1;margin:0}
#quick-sales-view .qs-item-price-group{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;min-width:0}
#quick-sales-view .qs-item-price-group .qs-item-price{flex:1 1 120px;max-width:230px}
#quick-sales-view .qs-item-currency{flex:0 0 110px;width:110px;max-width:100%}
#quick-sales-view .qs-item-currency select{width:110px;max-width:100%}
#quick-sales-view .qs-item-editor-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}
#quick-sales-view .qs-item-editor-actions .ui-button{padding:8px 10px;white-space:nowrap;width:100%}
#quick-sales-view .qs-item-editor-actions .qs-text-action{min-height:44px}
#quick-sales-view .qs-total-main{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
#quick-sales-view .qs-net-total{display:flex;align-items:baseline;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-left:auto;text-align:right}
#quick-sales-view .qs-total-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto;min-width:0}
#quick-sales-view .qs-total-currency select{width:110px;max-width:100%;margin:0}
#quick-sales-view .qs-draft-list{display:grid;gap:0;list-style:none;padding:0;margin:8px 0 0;border:1px solid var(--tvm-line);border-radius:6px;overflow:hidden}
#quick-sales-view .qs-draft-list li{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) auto;align-items:center;gap:6px 12px;padding:8px 10px;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0;background:var(--tvm-surface);transition:background-color .15s ease}
#quick-sales-view .qs-draft-list li:nth-child(even){background:var(--tvm-surface-subtle)}
#quick-sales-view .qs-draft-list li:last-child{border-bottom:0}
#quick-sales-view .qs-draft-list li:is(:hover,:focus-within){background:var(--tvm-row-hover)}
@media(prefers-reduced-motion:reduce){#quick-sales-view .qs-draft-list li{transition:none}}
#quick-sales-view .qs-draft-service{min-width:0;display:grid;gap:3px}
#quick-sales-view .qs-draft-service strong{font-size:18px;overflow-wrap:anywhere}
#quick-sales-view .qs-draft-service small{font-size:14px;color:var(--tvm-muted)}
#quick-sales-view .qs-draft-total{font-size:18px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
#quick-sales-view .qs-draft-actions{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap}
#quick-sales-view .qs-product-subtotal{display:grid;gap:3px;text-align:left;min-width:0}
#quick-sales-view .qs-product-subtotal small{font-size:12px;color:var(--tvm-muted);overflow-wrap:anywhere}
#quick-sales-view .qs-draft-actions .qs-text-action{min-height:36px;padding:4px 5px}
#quick-sales-view .qs-draft-actions .qs-draft-remove{color:var(--tvm-danger)}
#quick-sales-view .qs-draft-help{margin-top:6px}
#quick-sales-view .qs-item-quantity{font-size:14px;font-weight:400;color:var(--tvm-muted);white-space:nowrap}

#quick-sales-view .section-help{font-size:14px;margin:10px 0 0;color:var(--tvm-muted)}
#quick-sales-view .qs-sale-total{display:grid;gap:5px;padding:10px 14px;margin:10px 0;background:var(--tvm-action-soft);border:1px solid var(--tvm-line);border-radius:5px;color:var(--tvm-navy)}
#quick-sales-view .qs-sale-total strong{font-size:24px;font-variant-numeric:tabular-nums}
#quick-sales-view .qs-payment{padding:12px 0 0;border:0;border-top:1px solid var(--tvm-line);margin:0}
#quick-sales-view .qs-payment legend{font-size:16px;font-weight:700;color:var(--tvm-navy);padding-right:10px}
#quick-sales-view .qs-payment .qs-payment-legend{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:0;margin-bottom:12px}
#quick-sales-view .qs-discount-control{display:grid;justify-items:start;gap:4px;font-weight:400;font-size:14px;white-space:nowrap}
#quick-sales-view .qs-discount-control input{width:64px;height:36px;min-height:36px;font-size:14px;margin:0;padding:4px 6px;text-align:center;font-variant-numeric:tabular-nums}
#quick-sales-view .qs-discount-control>label{margin:0}
#quick-sales-view .qs-discount-stepper{display:flex;align-items:center;gap:8px}
#quick-sales-view .qs-discount-stepper button{display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;border:1px solid var(--tvm-line-strong);border-radius:50%;background:var(--tvm-surface);color:var(--tvm-action);box-shadow:none;font-size:18px;line-height:1}
#quick-sales-view .qs-discount-stepper button:disabled{color:var(--tvm-muted);background:var(--tvm-surface-subtle);opacity:.6}
@media(max-width:600px){#quick-sales-view .qs-draft-list li{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}#quick-sales-view .qs-draft-actions{grid-column:1/-1}#quick-sales-view .qs-draft-actions .qs-text-action{min-height:44px}#quick-sales-view .qs-product-subtotal{text-align:right}#quick-sales-view .qs-discount-control input{height:44px;min-height:44px}#quick-sales-view .qs-discount-stepper button{position:relative}#quick-sales-view .qs-discount-stepper button::before{content:"";position:absolute;inset:-8px}}
#quick-sales-view .qs-discount-summary{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin:0;color:var(--tvm-muted);font-size:14px}
#quick-sales-view .qs-sale-total .qs-discount-summary strong{font-size:14px;color:var(--tvm-navy);font-weight:600;font-variant-numeric:tabular-nums}

#quick-sales-view .qs-payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:14px;align-items:start}
#quick-sales-view .qs-payment-grid{display:grid;gap:10px}
#quick-sales-view .qs-payment-grid>label{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:10px}
#quick-sales-view .qs-payment-grid :is(input,select){margin:0;width:100%}
#quick-sales-view .qs-payment-person{min-width:0;padding:0}
#quick-sales-view .qs-payment-person label{display:grid;gap:4px}
#quick-sales-view .qs-payment-person select{width:100%;margin:0}
#quick-sales-view .qs-form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--tvm-line);margin-top:12px;padding-top:12px}
#quick-sales-view .error{margin:10px 0 0;font-size:14px}
#quick-sales-view .error:empty{display:none}
#quick-sales-view .qs-overview{display:grid;gap:16px}
#quick-sales-view .qs-summary-currencies{display:flex;gap:0;flex:0 0 auto;border-bottom:1px solid var(--tvm-line)}
#quick-sales-view .qs-summary-currencies button{width:58px;min-height:32px;height:32px;padding:0 6px;border:0;border-radius:5px 5px 0 0;background:var(--tvm-action);color:var(--tvm-surface);font-size:12px;font-weight:700;line-height:1}
#quick-sales-view .qs-summary-currencies button[aria-pressed=true]{background:var(--tvm-surface-info);color:var(--tvm-navy);box-shadow:inset 0 2px var(--tvm-action)}
@media(max-width:600px){#quick-sales-view .qs-summary-currencies button{min-width:60px;min-height:44px;height:44px}}
#quick-sales-view .qs-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;background:var(--tvm-surface-info);border-radius:5px}
#quick-sales-view .qs-totals article{min-width:0}
#quick-sales-view .qs-totals small,#quick-sales-view .qs-totals span{display:block;font-size:14px;color:var(--tvm-muted);line-height:1.4}
#quick-sales-view .qs-totals strong{display:block;font-size:24px;font-variant-numeric:tabular-nums;margin:7px 0 4px;color:var(--tvm-navy);line-height:1.3;overflow-wrap:anywhere}
#quick-sales-view .qs-cash-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
#quick-sales-view .qs-cash-summary>div{display:grid;gap:3px;border-top:1px solid var(--tvm-line);padding-top:10px}
#quick-sales-view .qs-cash-summary span{font-size:14px;color:var(--tvm-muted)}
#quick-sales-view .qs-cash-summary strong{font-size:16px;color:var(--tvm-navy)}
#quick-sales-view .qs-refund-note{padding:10px;background:var(--tvm-accent-soft);color:var(--tvm-warning);border-radius:5px;font-size:14px}
#quick-sales-view .qs-report-tabs{display:flex;gap:8px;margin:0 0 14px;border-bottom:1px solid var(--tvm-line);padding-bottom:8px}
#quick-sales-view .qs-report-tabs button{min-height:44px;padding:8px 13px;background:var(--tvm-surface);color:var(--tvm-action);border:1px solid var(--tvm-line);font-size:14px}
#quick-sales-view .qs-report-tabs button[aria-selected=true]{background:var(--tvm-action);color:var(--tvm-surface);border-color:var(--tvm-action)}
#quick-sales-view .qs-report-table{width:100%;border-collapse:collapse;font-size:14px}
#quick-sales-view .qs-report-table :is(th,td){padding:9px 5px;text-align:right;border-bottom:1px solid var(--tvm-line);vertical-align:top;font-variant-numeric:tabular-nums}
#quick-sales-view .qs-report-table :is(th,td):first-child{text-align:left}
#quick-sales-view .qs-report-table th{font-size:12px;color:var(--tvm-muted)}
#quick-sales-view .qs-report-table small{display:block;font-size:14px;margin-top:3px;color:var(--tvm-muted)}
#quick-sales-view .qs-sales{margin-top:16px}
#quick-sales-view .qs-search{display:flex;align-items:center;gap:8px;height:48px;width:min(390px,100%);padding:0 12px;border:3px solid var(--tvm-accent);border-radius:7px;background:var(--tvm-surface)}
#quick-sales-view .qs-search svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:var(--tvm-navy);stroke-width:2}
#quick-sales-view .qs-search input{height:40px;min-height:40px;border:0;outline:0;padding:0;margin:0;width:100%;box-shadow:none;background:none}
#quick-sales-view .qs-search:focus-within{outline:2px solid var(--tvm-action);outline-offset:2px}
#quick-sales-view .qs-table-wrap,#quick-sales-report .qs-table-wrap{width:100%;overflow-x:auto}
#quick-sales-view .qs-sales-table :is(th,td){padding:12px 10px;vertical-align:top}
#quick-sales-view .qs-sales-table th{font-size:12px}
#quick-sales-view .qs-sales-table td{font-size:14px}
#quick-sales-view .qs-sales-table :is(th,td):nth-child(n+3):nth-child(-n+5){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#quick-sales-view .qs-sales-table td strong{display:block;font-size:15px;line-height:1.4}
#quick-sales-view .qs-sales-table td:first-child strong{font-size:18px}
#quick-sales-view .qs-sales-table small{display:block;font-size:14px;color:var(--tvm-muted);margin-top:3px}
#quick-sales-view .qs-status{display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}
#quick-sales-view .qs-status::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--tvm-accent)}
#quick-sales-view .qs-status.paid::before{background:var(--tvm-success)}
#quick-sales-view .qs-status.void::before{background:var(--tvm-muted)}
#quick-sales-view .qs-status.refund::before{background:var(--tvm-danger)}
#quick-sales-view .qs-row-actions{display:flex;flex-wrap:wrap;gap:4px;max-width:140px}
#quick-sales-view .qs-row-actions button,#quick-sales-view .qs-text-action{border:0;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:14px;font-weight:600;padding:5px 6px;min-height:36px}
#quick-sales-view .qs-row-actions button:hover,#quick-sales-view .qs-text-action:hover{background:var(--tvm-action-soft);filter:none}
#quick-sales-view .qs-row-actions button[data-qs-cancel]{color:var(--tvm-danger)}
#quick-sales-view .qs-row-actions button:focus-visible,#quick-sales-view .qs-text-action:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
#quick-sales-view .qs-empty{text-align:center;padding:24px;color:var(--tvm-muted)}
#quick-sales-view .qs-bottom-note{font-size:14px;color:var(--tvm-muted);margin:14px 0 24px}
#quick-sales-view .qs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#quick-sales-view dialog{width:min(580px,calc(100% - 28px));max-height:90vh;overflow:auto;padding:22px;border:1px solid var(--tvm-line);border-radius:7px;color:var(--tvm-ink)}
#quick-sales-view dialog::backdrop{background:#102c4566}
#quick-sales-view .qs-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#quick-sales-view .qs-dialog-grid .single-date-picker{align-self:end}
#quick-sales-view .qs-dialog-grid .single-date-picker>.date-range-control{min-height:44px;height:44px}
#quick-sales-view .qs-payment-history article{padding:12px 0;border-bottom:1px solid var(--tvm-line)}
#quick-sales-view .qs-payment-history article>div{display:flex;justify-content:space-between;gap:12px}
#quick-sales-view .qs-payment-history p{margin:4px 0;color:var(--tvm-muted);font-size:14px}
#quick-sales-view .qs-live-status{color:var(--tvm-action);font-size:14px}
#quick-sales-view .qs-live-status:empty{display:none}
#quick-sales-view .qs-stepper{display:flex;align-items:center;gap:8px;margin-top:4px;height:44px;max-width:148px;background:transparent}
#quick-sales-view .qs-stepper button{display:grid;place-items:center;text-align:center;position:relative;flex:0 0 35.2px;width:35.2px;height:35.2px;min-height:35.2px;padding:0;background:var(--tvm-surface);color:var(--tvm-action);border:1.5px solid #c5ceda;border-radius:50%;font-size:19.2px;font-weight:600;line-height:1}
#quick-sales-view .qs-stepper input{flex:0 0 44px;width:44px;min-width:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-field,5px);text-align:center;margin:0;padding:0;height:44px;min-height:44px;font-size:20px;font-weight:700;background:var(--tvm-surface);appearance:textfield;-moz-appearance:textfield}
#quick-sales-view .qs-stepper input::-webkit-inner-spin-button,#quick-sales-view .qs-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#quick-sales-view .qs-stepper button:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
#quick-sales-view .qs-period{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
#quick-sales-view .qs-period>label{min-width:160px}
#quick-sales-view .qs-period>label select,#quick-sales-view .qs-period>.ui-button{height:60px;min-height:60px}
#quick-sales-view .qs-period>.section-help{align-self:center}
#quick-sales-view .qs-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}
#quick-sales-report{margin-top:16px}
#quick-sales-report .heading-with-action{gap:16px;align-items:center}
#quick-sales-report .qs-summary-table{min-width:780px}
#quick-sales-report .qs-summary-table :is(th,td):not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1100px){#quick-sales-view .qs-workspace{grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr)}#quick-sales-view .qs-totals{grid-template-columns:1fr;gap:0;padding:6px 14px}#quick-sales-view .qs-totals article{display:grid;grid-template-columns:1fr auto;gap:0 12px;padding:8px 0;border-bottom:1px solid var(--tvm-line)}#quick-sales-view .qs-totals article:last-child{border:0}#quick-sales-view .qs-totals strong{grid-column:2;grid-row:1/3;margin:0}#quick-sales-view .qs-payment-layout{grid-template-columns:1fr}#quick-sales-view .qs-sales-table{min-width:1030px}}
@media(max-width:900px){#quick-sales-view .qs-workspace{grid-template-columns:1fr}#quick-sales-view .qs-overview{grid-template-columns:1fr 1fr}#quick-sales-view .qs-sales>.qs-section-heading{flex-wrap:wrap}#quick-sales-view .qs-search{width:100%}#quick-sales-view .qs-totals strong{font-size:18px}}
@media(max-width:600px){#quick-sales-view .qs-surface,#quick-sales-report{padding:16px}#quick-sales-view .qs-overview{grid-template-columns:1fr}#quick-sales-view .qs-totals strong{font-size:24px}#quick-sales-view .qs-form-grid{grid-template-columns:minmax(0,1fr)}#quick-sales-view .qs-form-grid>label,#quick-sales-view .qs-quantity-field{grid-column:1}#quick-sales-view .qs-form-actions>button{flex:1;min-width:0}#quick-sales-view .qs-payment-grid>label{grid-template-columns:minmax(0,1fr);gap:4px}#quick-sales-view .qs-payment-person{max-width:200px}#quick-sales-view .qs-section-heading{gap:10px;flex-wrap:wrap}#quick-sales-view .qs-sales-table,#quick-sales-view .qs-sales-table tbody,#quick-sales-view .qs-sales-table tr,#quick-sales-view .qs-sales-table td{display:block;min-width:0;width:100%}#quick-sales-view .qs-sales-table thead{display:none}#quick-sales-view .qs-sales-table tr{border-top:1px solid var(--tvm-line);padding:14px 0}#quick-sales-view .qs-sales-table td{border:0;padding:5px 0;display:flex;justify-content:space-between;gap:14px;text-align:right!important;white-space:normal!important}#quick-sales-view .qs-sales-table td::before{content:attr(data-label);font-size:14px;color:var(--tvm-muted);text-align:left;flex:0 0 95px}#quick-sales-view .qs-sales-table td>div{min-width:0}#quick-sales-view .qs-sales-table td:first-child{display:block}#quick-sales-view .qs-sales-table td:first-child::before{display:none}#quick-sales-view .qs-sales-table td:first-child>div{text-align:left}#quick-sales-view .qs-row-actions{max-width:none;justify-content:flex-end}#quick-sales-view .qs-row-actions button,#quick-sales-view .qs-text-action{min-height:44px}#quick-sales-view .qs-table-wrap{overflow:visible}#quick-sales-view .qs-report-table{table-layout:fixed}#quick-sales-view .qs-report-table th:first-child{width:38%}#quick-sales-view .qs-report-table :is(th,td){padding-left:3px;padding-right:3px;overflow-wrap:anywhere}#quick-sales-view .qs-dialog-grid{grid-template-columns:1fr}#quick-sales-view .qs-period>label,#quick-sales-view #qs-custom-range{width:100%}#quick-sales-view .qs-period>.ui-button{flex:1}#quick-sales-report .heading-with-action{align-items:flex-start;flex-direction:column}}

#quick-sales-view .qs-stepper button:disabled{color:#adb4be;background:#f0f2f5;border-color:#d0d5dc;cursor:default}

body select:not([multiple]):not([size]),body select[size="1"]{
 appearance:none;-webkit-appearance:none;padding-right:42px;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23123f65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 16px center;background-size:16px 16px;
}


@media(max-width:600px){#quick-sales-view .qs-item-row{grid-template-columns:minmax(0,1fr)}#quick-sales-view .qs-item-note{grid-column:1}#quick-sales-view .qs-item-price{max-width:none}#quick-sales-view .qs-item-editor-actions{justify-content:flex-start;width:148px}#quick-sales-view .qs-item-row .qs-stepper{width:148px}}

@media(max-width:600px){#quick-sales-view .qs-total-main{align-items:flex-start}#quick-sales-view .qs-total-controls{margin-left:auto}#quick-sales-view .qs-draft-total{white-space:normal;text-align:right}}

#quick-sales-view .qs-sales-toolbar{display:flex;align-items:center;gap:16px;padding-left:8px;flex-wrap:wrap;margin-bottom:14px}
#quick-sales-view .qs-sales-heading{flex:0 0 auto;min-width:0;margin-right:88px}
#quick-sales-view .qs-sales-heading h2{font-size:18px;font-weight:700;color:var(--tvm-navy);margin:0;line-height:22px}
#quick-sales-view .qs-sales-heading p{font-size:14px;line-height:20px;color:var(--tvm-muted);margin:2px 0 0}
#quick-sales-view .qs-sales-toolbar .qs-search{flex:1 1 230px;width:auto;min-width:200px;max-width:390px;height:44px;border:1px solid var(--tvm-line);border-radius:5px}
#quick-sales-view .qs-sales-toolbar .qs-search input{min-height:40px;height:40px;font-size:14px}
#quick-sales-view .qs-sales-toolbar .qs-search:focus-within{border-color:var(--tvm-action);outline:2px solid var(--tvm-accent);outline-offset:2px}
#quick-sales-view .qs-sales-toolbar .qs-period{display:contents}
#quick-sales-view .qs-sales-toolbar .qs-period-field{flex:0 0 132px;min-width:0;width:132px}
#quick-sales-view .qs-sales-toolbar .qs-period-field select{margin:0;width:100%;font-size:14px}
#quick-sales-view .qs-sales-toolbar :is(.qs-period-field select,.ui-button,.date-range-control){height:44px;min-height:44px}
#quick-sales-view .qs-sales-toolbar .qs-toolbar-scope{margin:0 0 0 auto;text-align:right;font-weight:600;font-size:14px;white-space:nowrap;color:var(--tvm-muted)}
#quick-sales-view .qs-custom-period{display:flex;align-items:center;gap:10px;flex:1 0 100%;padding-top:4px}
#quick-sales-view .qs-custom-period[hidden]{display:none}
#quick-sales-view .qs-custom-period #qs-custom-range{width:auto}
@media(max-width:1100px){#quick-sales-view .qs-sales-heading{margin-right:8px}}
@media(max-width:700px){#quick-sales-view .qs-sales-toolbar{gap:10px}#quick-sales-view .qs-sales-heading{flex:1 0 100%}#quick-sales-view .qs-sales-toolbar .qs-search{flex:1 0 100%;max-width:none;min-width:0}#quick-sales-view .qs-sales-toolbar .qs-period-field{flex:1 1 132px;width:auto}#quick-sales-view .qs-sales-toolbar .qs-period>.ui-button{flex:0 0 auto}#quick-sales-view .qs-sales-toolbar .qs-toolbar-scope{flex:1 0 100%;white-space:normal}#quick-sales-view .qs-custom-period{flex-wrap:wrap}#quick-sales-view .qs-custom-period #qs-custom-range{flex:1 1 100%;width:100%;min-width:0}}


#accounts-view .accounts-browse{display:block;min-width:0}
#accounts-view .accounts-directory-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
#accounts-view .accounts-directory-intro{font-size:15px;color:var(--tvm-muted);margin:0;max-width:620px}
#accounts-view .accounts-directory-context{font-size:14px;flex:0 0 auto;position:relative}
#accounts-view .accounts-directory-context>summary{min-height:44px;display:flex;align-items:center;color:var(--tvm-action);cursor:pointer;white-space:nowrap}
#accounts-view .accounts-directory-context-body{display:grid;gap:10px;position:absolute;right:0;top:44px;width:min(440px,calc(100vw - 40px));padding:14px;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:7px;box-shadow:var(--tvm-shadow-raised);z-index:5}
#accounts-view .accounts-directory-context-body .daily-rate-board{width:100%;height:auto;overflow:visible;padding:12px}
#accounts-view .accounts-directory-context-body .report-notice{padding:10px;margin:0;min-height:0}
#accounts-view .accounts-directory{background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:7px;box-shadow:var(--tvm-shadow-card);overflow:hidden}
#accounts-view .accounts-directory-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--tvm-line)}
#accounts-view .accounts-directory-tools .account-search{display:flex;align-items:center;gap:10px;width:520px;max-width:100%;min-width:0;height:48px;margin:0;padding:0 10px;border:3px solid var(--tvm-accent);border-radius:7px;background:var(--tvm-surface)}
#accounts-view .account-search svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:var(--tvm-navy);stroke-width:2}
#accounts-view .accounts-directory-tools .account-search input{flex:1;min-width:0;width:100%;height:40px;min-height:40px;margin:0;padding:0;border:0;background:transparent;background-image:none;box-shadow:none;font-size:15px}
#accounts-view .account-search:focus-within{outline:2px solid var(--tvm-action);outline-offset:2px}
#accounts-view .accounts-directory-tools .account-search input:focus{outline:none;box-shadow:none}
#accounts-view .accounts-list-heading{display:block;margin:0;text-align:right;min-width:0}
#accounts-view .accounts-list-heading p{font-size:14px;margin:0;color:var(--tvm-muted)}
#accounts-view .account-list{display:block;margin:0;min-width:0}
#accounts-view .account-directory-table-wrap{width:100%;min-width:0;overflow-x:auto}
#accounts-view .account-directory-table{table-layout:fixed;width:100%}
#accounts-view .account-directory-table th{font-size:12px;padding:10px 20px;vertical-align:middle}
#accounts-view .account-directory-table th:first-child{width:25%}
#accounts-view .account-directory-table th:nth-child(2){width:25%}
#accounts-view .account-directory-table th:last-child{width:64px}
#accounts-view .account-directory-table td{padding:10px 20px;vertical-align:middle}
#accounts-view .account-directory-table td:last-child{padding:8px;text-align:center}
#accounts-view .account-column-note{font-weight:400}
#accounts-view .account-directory-open{border:0;background:transparent;box-shadow:none;padding:0;text-align:left;min-height:32px;color:var(--tvm-navy)}
#accounts-view .account-directory-open strong{display:block;font-size:18px;line-height:1.4}
#accounts-view .account-directory-open:hover{background:transparent;color:var(--tvm-action);filter:none}
#accounts-view .account-directory-table small{display:block;font-size:14px;margin-top:2px;color:var(--tvm-muted)}
#accounts-view .account-active-records{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.4}
#accounts-view .account-active-records i{display:block;flex:0 0 7px;width:7px;height:7px;background:var(--tvm-success);border-radius:50%}
#accounts-view .account-active-records.no-active{color:var(--tvm-muted)}
#accounts-view .account-active-records.no-active i{background:var(--tvm-line-strong)}
#accounts-view .account-directory-balances{display:flex;gap:8px 24px;flex-wrap:wrap}
#accounts-view .account-directory-balance{min-width:130px}
#accounts-view .account-directory-balance strong{display:block;font-size:18px;line-height:1.4;color:var(--tvm-navy);font-variant-numeric:tabular-nums;white-space:nowrap}
#accounts-view .account-directory-balance small::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:6px;vertical-align:middle;background:var(--tvm-line-strong)}
#accounts-view .account-directory-balance.due small::before{background:var(--tvm-accent)}
#accounts-view .account-directory-balance.advance small::before{background:var(--tvm-action)}
#accounts-view .account-directory-balance.advance strong{color:var(--tvm-action)}
#accounts-view .account-directory-balance:is(.closed,.no-movement) strong{color:var(--tvm-muted)}
#accounts-view .account-directory-arrow{width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--tvm-action);box-shadow:none;padding:0;font-size:24px}
#accounts-view .account-directory-arrow:hover{background:var(--tvm-action-soft);filter:none}
#accounts-view :is(.account-directory-arrow,.account-directory-open):focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
#accounts-view .account-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;margin:0;border-top:1px solid var(--tvm-line);font-size:14px;color:var(--tvm-muted)}
#accounts-view .account-pagination>div{display:flex;align-items:center;gap:12px}
#accounts-view .account-pagination .ui-button{height:44px;min-height:44px;font-size:14px;padding:8px 12px}
#account-detail{gap:16px;padding:20px;border-radius:7px;background:var(--tvm-surface);box-shadow:var(--tvm-shadow-card)}
#account-detail .account-back-button{justify-self:start;min-height:44px}
#account-detail .account-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:stretch}
#account-detail .account-detail-identity{display:grid;align-content:space-between;gap:16px;padding:18px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:7px;min-width:0}
#account-detail .account-detail-name-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
#account-detail .account-detail-identity h2{font-size:24px;margin:0 0 4px;line-height:1.3}
#account-detail .account-detail-identity p{margin:0;color:var(--tvm-muted);font-size:14px}
#account-detail .account-detail-name-row>.account-detail-identity-tools{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1 0 100%}
#account-detail .account-detail-identity-tools>.account-profile-edit{min-height:44px;padding:9px 12px;font-size:14px}
#account-detail .account-case-links{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin:0}
#account-detail .account-case-links a{font-size:14px;min-height:44px}
#account-detail .account-detail-rates{width:100%;padding:14px;border:1px solid var(--tvm-line);border-radius:7px;box-shadow:none;justify-content:flex-start;background:var(--tvm-surface)}
#account-detail .account-detail-rates .daily-rate-caption{display:grid;gap:3px;font-size:14px;max-width:none;line-height:1.4}
#account-detail .account-detail-rates .daily-rate-caption b{font-size:15px}
#account-detail .account-detail-rates .daily-rate-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
#account-detail .account-detail-rates .daily-rate-values strong{display:grid;gap:3px;min-height:0;font-size:14px;padding:7px 6px;background:var(--tvm-surface-subtle);border:0;border-radius:4px}
#account-detail .account-detail-rates .daily-rate-values strong span{font-size:14px;flex-basis:auto}
#account-detail .account-profile-actions-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px;min-width:0}
#account-detail .account-profile-tabs,#account-detail .account-quick-actions{min-width:0;padding:16px;border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface)}
#account-detail .account-profile-tabs [role=tablist]{display:flex;gap:8px;border-bottom:1px solid var(--tvm-line);padding-bottom:10px;margin-bottom:12px}
#account-detail .account-profile-tabs [role=tab]{min-height:44px;padding:8px 12px;font-size:14px;border:1px solid var(--tvm-line);border-radius:5px;box-shadow:none;color:var(--tvm-navy);background:var(--tvm-surface)}
#account-detail .account-profile-tabs [aria-selected=true]{background:var(--tvm-action-soft);color:var(--tvm-action);border-color:var(--tvm-action);font-weight:700}
#account-detail .account-profile-tabs [role=tab]:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
#account-detail .account-profile-tabs .account-profile-overview{display:block;margin:0;padding:0}
#account-detail .account-profile-overview article{border:0;padding:0;background:transparent}
#account-detail .account-profile-overview article[hidden]{display:none}
#account-detail .account-profile-overview h3{display:none}
#account-detail .account-profile-overview dl{margin:0;display:grid;gap:0}
#account-detail .account-profile-overview dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;border-top:1px solid var(--tvm-line);padding:7px 0}
#account-detail .account-profile-overview dl>div:first-child{border-top:0}
#account-detail .account-profile-overview dt{font-size:14px;color:var(--tvm-muted)}
#account-detail .account-profile-overview dd{font-size:14px;margin:0;font-weight:600;overflow-wrap:anywhere}
#account-detail .account-invoice-heading{justify-content:flex-end;min-height:24px;margin-bottom:5px;font-size:14px}
#account-detail .account-quick-actions h3{font-size:16px;margin:0 0 12px}
#account-detail .account-quick-actions .account-entry-actions{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;border:0}
#account-detail .account-quick-actions :is(button,.account-movements-jump){min-height:44px;font-size:15px;width:100%;padding:9px 12px;justify-content:center}
#account-detail .account-movements-jump{margin-top:10px}
#account-detail>section{margin:0;padding:16px 0 0;border-top:1px solid var(--tvm-line);min-width:0;width:100%}
#account-detail .account-summary-heading{margin-bottom:14px}
#account-detail .account-summary-heading h3,#account-detail .account-section-heading h3,#account-detail .income-results-heading h3{font-size:18px;margin:0}
#account-detail .account-summary-heading .section-help{margin-top:6px;font-size:14px;color:var(--tvm-muted)}
#account-detail .account-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
#account-detail .account-summary-grid article{padding:16px;border:1px solid var(--tvm-line);border-left:3px solid var(--tvm-action);background:var(--tvm-surface);border-radius:7px;box-shadow:none}
#account-detail .account-currency-heading{gap:10px;flex-wrap:wrap;margin:0}
#account-detail .account-currency-icon{width:40px;height:40px;flex:0 0 40px;border-radius:6px;font-size:24px;background:var(--tvm-action-soft);color:var(--tvm-action)}
#account-detail .account-currency-heading>div>strong{font-size:18px}
#account-detail .account-currency-heading small{font-size:14px}
#account-detail .account-currency-balance{margin-left:auto;text-align:right}
#account-detail .account-currency-balance>strong{font-size:14px;color:var(--tvm-muted)}
#account-detail .account-currency-balance>span{font-size:24px;color:var(--tvm-navy);font-variant-numeric:tabular-nums}
#account-detail .account-currency-balance>span.advance{color:var(--tvm-action)}
#account-detail .account-currency-balance>span.closed{color:var(--tvm-muted)}
#account-detail .account-summary-grid dl{grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid var(--tvm-line);padding-top:10px;margin-top:12px}
#account-detail .account-summary-grid dl div{display:block;background:transparent;padding:0;border:0}
#account-detail .account-summary-grid dt{font-size:14px;color:var(--tvm-muted);font-weight:400}
#account-detail .account-summary-grid dd{font-size:16px;font-weight:600;margin:3px 0 0}
#account-detail .account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#account-detail .account-section-heading>span{font-size:14px;color:var(--tvm-muted)}
#account-detail .account-movements-section .income-results-heading{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;padding:0;margin-bottom:14px}
#account-detail .inline-help{font-size:14px;margin:8px 0 0;max-width:500px}
#account-detail .account-statement-form{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;margin:0 0 0 auto;padding:0;border:0;background:transparent;max-width:100%}
#account-detail .account-statement-form .date-range-picker{min-width:240px;margin:0}
#account-detail .account-statement-form .date-range-trigger{width:100%;height:44px;min-height:44px}
#account-detail .account-statement-form>button{height:44px;min-height:44px;width:auto;padding:8px 12px;border:1px solid var(--tvm-line-strong);background:var(--tvm-surface);color:var(--tvm-action);font-size:14px}
#account-detail .account-statement-form>button span{max-width:145px;text-align:left;line-height:1.4}
#account-detail .income-table-wrap,#account-detail .account-files-table-wrap{min-width:0;width:100%;max-width:100%;overflow-x:auto}
#account-detail .account-files-table td span{display:block}
#account-detail .account-files-table small{display:block;font-size:14px;color:var(--tvm-muted);margin-top:3px}
#account-detail .account-files-table td{font-size:14px;vertical-align:top}
#account-detail .account-file-status{font-size:14px;color:var(--tvm-muted);line-height:1.4}
#account-detail .account-file-status.active{color:var(--tvm-navy)}
#account-detail .account-file-status.active::before{content:'';display:inline-block;width:7px;height:7px;background:var(--tvm-success);border-radius:50%;margin-right:6px}
#account-detail .account-files-table .ui-button{white-space:nowrap}
#account-detail .account-movements-table{width:100%;min-width:0}
#account-detail .account-movements-table :is(th,td){padding:12px 10px;vertical-align:top;font-size:14px}
#account-detail .account-movements-table th{font-size:12px}
#account-detail .account-movements-table td strong{font-size:15px;font-weight:600;line-height:1.4}
#account-detail .account-movements-table td small{font-size:14px;line-height:1.4;white-space:normal}
#account-detail .account-movements-table :is(th,td):nth-child(n+4):nth-child(-n+6){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.finance-row-actions :is(.finance-edit-button,.finance-delete-button){background:transparent;border:0;box-shadow:none;border-radius:0;padding:6px 4px;min-height:44px;height:auto;font-size:14px;font-weight:500;text-decoration:none;filter:none}
.finance-row-actions .finance-edit-button{color:var(--tvm-action)}
.finance-row-actions .finance-delete-button{color:var(--tvm-danger)}
.finance-row-actions :is(.finance-edit-button,.finance-delete-button):hover{background:transparent;filter:none;text-decoration:underline}
.finance-row-actions button:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
.finance-row-actions button:disabled{background:transparent;border:0;box-shadow:none;color:var(--tvm-muted);opacity:.55}
.finance-row-actions button:disabled:hover{background:transparent;text-decoration:none}
@media(max-width:1100px){#account-detail .account-detail-head{grid-template-columns:1fr}#account-detail .account-detail-rates .daily-rate-values{grid-template-columns:repeat(3,minmax(0,1fr))}#account-detail .account-movements-section .income-results-heading{flex-direction:column;gap:14px}#account-detail .account-statement-form{align-self:stretch;flex-wrap:wrap}#accounts-view .account-directory-table td,#accounts-view .account-directory-table th{padding-left:14px;padding-right:14px}}
@media(max-width:800px){#accounts-view .accounts-directory-top{flex-wrap:wrap}#accounts-view .accounts-directory-tools{align-items:stretch;flex-direction:column;padding:16px;gap:12px}#accounts-view .accounts-directory-tools .account-search{width:100%}#accounts-view .accounts-list-heading{text-align:left}#accounts-view .account-directory-table,#accounts-view .account-directory-table tbody{display:block;width:100%}#accounts-view .account-directory-table thead{display:none}#accounts-view .account-directory-table tr{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:6px 12px;padding:14px 16px;width:100%;border-bottom:1px solid var(--tvm-line)}#accounts-view .account-directory-table td{display:block;width:auto;border:0;padding:0!important}#accounts-view .account-directory-table td:first-child{grid-column:1}#accounts-view .account-directory-table td:nth-child(2){grid-column:1/-1;grid-row:2}#accounts-view .account-directory-table td:nth-child(3){grid-column:1/-1;grid-row:3;padding-top:10px!important;margin-top:6px;border-top:1px solid var(--tvm-line)}#accounts-view .account-directory-table td:last-child{grid-column:2;grid-row:1;width:44px}#accounts-view .account-directory-table td::before{display:none}#accounts-view .account-pagination{flex-wrap:wrap;padding:14px 16px}#accounts-view .account-pagination>div{justify-content:space-between;gap:8px;width:100%}#account-detail .account-profile-actions-layout{grid-template-columns:1fr}#account-detail .account-files-table{min-width:680px}}
@media(max-width:600px){#account-detail{padding:16px}#account-detail .account-detail-identity{padding:14px}#account-detail .account-summary-grid{grid-template-columns:1fr}#account-detail .account-profile-tabs [role=tablist]{flex-wrap:wrap}#account-detail .account-profile-overview dl>div{grid-template-columns:105px minmax(0,1fr);gap:10px}#account-detail .account-currency-balance{flex:1 0 100%;margin:6px 0 0;padding-left:50px;text-align:left}#account-detail .account-statement-form{display:grid;grid-template-columns:1fr;width:100%}#account-detail .account-statement-form .date-range-picker{min-width:0}#account-detail .account-statement-form>button{height:44px;min-height:44px;width:100%}#account-detail .account-statement-form>button span{max-width:none}#accounts-view .accounts-directory-context-body{position:static;width:100%;margin-top:8px}#accounts-view .accounts-directory-context{width:100%}}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){
 #account-detail .account-detail-head>*,#account-detail .account-detail-name-row>div{min-width:0;max-width:100%}
 #account-detail .account-detail-name-row{flex-direction:column;align-items:stretch;width:100%;min-width:0}
 #account-detail .account-detail-name-row>div:first-child{flex:0 1 auto;width:100%}
 #account-detail .account-detail-name-row>.account-detail-identity-tools{flex:0 1 auto;width:100%;max-width:100%;align-items:stretch;min-width:0}
 #account-detail .account-detail-identity h2{overflow-wrap:anywhere}
 #account-detail .account-detail-identity-tools>.account-profile-edit{width:100%;max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}
 #account-detail .account-case-links{flex-direction:column;width:100%;min-width:0}
 #account-detail .account-case-links a{width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;text-align:left}
}

#accounts-view .account-directory-table tbody tr[data-account-row]{cursor:pointer}
#accounts-view .account-directory-table tbody tr[data-account-row]:hover{background:var(--tvm-surface-info)}


#account-detail{gap:12px;padding:16px}
#account-detail .account-detail-identity{gap:12px;padding:14px}
#account-detail .account-profile-actions-layout{gap:12px}
#account-detail .account-profile-tabs,#account-detail .account-quick-actions{padding:12px}
#account-detail .account-profile-tabs [role=tablist]{padding-bottom:8px;margin-bottom:8px}
#account-detail>section{padding-top:12px}
#account-detail .account-summary-heading,#account-detail .account-section-heading,#account-detail .account-movements-section .income-results-heading{margin-bottom:10px}
#account-detail .account-summary-grid{gap:10px}
#account-detail .account-summary-grid article{padding:12px}
#account-profile-dialog .dialog-head{padding:16px 20px 12px}
#account-profile-dialog .form-section{margin:10px 20px;padding:14px 16px}
#account-profile-dialog .form-section-head{padding-bottom:10px;margin-bottom:0}
#account-profile-dialog .form-grid{gap:12px}
#account-profile-dialog .invoice-type-picker{gap:8px;margin-bottom:10px}
#account-profile-dialog .invoice-type-picker label{padding:10px}
#account-profile-dialog .invoice-individual-note{padding:10px 12px;margin-bottom:10px}
@media(max-width:600px){#account-profile-dialog .dialog-head{padding:14px 12px 10px}#account-profile-dialog .form-section{margin:8px 10px;padding:12px}#account-detail{padding:12px}}

#account-profile-dialog .iban-owner-fields{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}
#account-profile-dialog .iban-owner-choice{display:flex;align-items:center;gap:8px}
#account-profile-dialog .iban-owner-choice input{width:18px;height:18px;min-height:18px;flex:0 0 18px}
#account-profile-dialog [name=iban_owner_name][readonly]{background:var(--tvm-surface-subtle);color:var(--tvm-muted)}
@media(max-width:600px){#account-profile-dialog .iban-owner-fields{grid-template-columns:1fr}}

#account-detail .account-profile-band{display:grid;gap:12px;padding:14px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:7px;min-width:0}
#account-detail .account-profile-band .account-detail-identity{padding:0;border:0;background:transparent}
#account-detail .account-profile-band .account-profile-tabs{padding:0;border:0;background:transparent}
#account-profile-dialog .form-grid>label,#account-profile-dialog .iban-owner-fields>label{margin:0}
@media(max-width:600px){#account-detail .account-profile-band{padding:12px}}

#account-detail .account-profile-band .account-profile-actions-layout{grid-template-columns:minmax(0,1fr) 330px}
@media(max-width:1100px){#account-detail .account-profile-band .account-profile-actions-layout{grid-template-columns:1fr}}


#account-detail .account-detail-name-row{flex-direction:column;align-items:stretch;gap:12px;height:100%;justify-content:space-between}
#account-detail .account-detail-name-row>.account-detail-identity-tools{flex:0 1 auto;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;width:100%;min-width:0}
#account-detail .account-detail-identity-tools .account-case-links{display:contents}
#account-detail .account-detail-identity-tools>.account-profile-edit,#account-detail .account-case-links a{flex:0 1 auto;width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#account-detail .account-detail-name-row{height:auto;justify-content:flex-start}
#account-detail .account-profile-band .account-detail-identity{align-content:start}
#account-detail .account-detail-head>.account-detail-rates{align-self:stretch;height:auto}
#account-detail .account-detail-name-row>div:first-child{flex:0 1 auto;width:100%}
#account-detail .account-detail-head>.account-detail-rates{display:grid;align-content:start}

#account-detail .account-statement-form{align-items:center;gap:8px}
#account-detail .account-statement-form .date-range-picker{min-width:210px}
#account-detail .account-statement-form .date-range-trigger{padding:8px 12px;gap:8px}
#account-detail .account-statement-form .date-range-trigger strong{font-size:14px;white-space:nowrap}
#account-detail .account-statement-form .calendar-icon{font-size:20px}
#account-detail .account-statement-form>button{white-space:nowrap}
#account-detail .account-statement-form>button span{max-width:none;white-space:nowrap}
@media(max-width:600px){#account-detail .account-statement-form .date-range-picker{min-width:0}}

#account-profile-dialog .booking-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#account-profile-dialog .booking-form>*,#account-profile-dialog .address-location-fields>label{min-width:0}
#account-profile-dialog .booking-form label{display:grid;gap:6px}
#account-profile-dialog .booking-form :is(input:not([type=checkbox]),select){width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0;box-sizing:border-box}
#account-profile-dialog .address-location-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#account-profile-dialog .booking-form .iban-owner-choice{display:flex;align-items:center;gap:8px;min-height:32px;margin:0}
#account-profile-dialog .iban-owner-choice input{margin:0}
#account-profile-dialog [name=iban]{font-size:14px;padding-left:10px;padding-right:10px}
@media(max-width:600px){#account-profile-dialog .booking-form{grid-template-columns:1fr}}

#account-profile-dialog .booking-form textarea{width:100%;min-width:0;max-width:100%;min-height:72px;height:72px;margin:0;box-sizing:border-box;resize:vertical;line-height:1.45}

#account-detail .account-profile-overview dl{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
#account-detail .account-profile-overview dl>div{min-width:0;grid-template-columns:90px minmax(0,1fr);gap:8px}
#account-detail .account-profile-overview dl>.account-address-summary{grid-column:1/-1}
#account-detail .account-profile-overview dd{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){#account-detail .account-profile-overview dl{grid-template-columns:1fr}}
#account-detail .account-profile-overview article{width:100%;max-width:none;min-width:0;box-sizing:border-box}
#account-detail .account-profile-tabs .account-profile-overview{display:block!important;width:100%}
#account-detail .account-profile-overview article{background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:6px;padding:12px}

#account-detail .account-profile-tabs [role=tablist]{border-bottom:0;padding-bottom:0;margin-bottom:0;position:relative;gap:6px}
#account-detail .account-profile-tabs [role=tab]{border-radius:6px 6px 0 0;margin-bottom:-1px;position:relative}
#account-detail .account-profile-tabs [aria-selected=true]{background:var(--tvm-surface);border-color:var(--tvm-line);border-bottom-color:var(--tvm-surface);color:var(--tvm-action);z-index:1}
#account-detail .account-profile-overview article{border-top-left-radius:0}
#account-detail .account-profile-overview dl>div{border-top-color:var(--tvm-line)}
@media(min-width:1101px){#account-detail .account-profile-overview dl>div:nth-child(2){border-top:0}}

#case-summary-panel>.case-identity{background:var(--tvm-case-summary-surface,var(--tvm-surface-info));border:1px solid var(--tvm-line);border-top:3px solid var(--tvm-action);margin:12px 0;grid-template-columns:minmax(230px,1.25fr) repeat(3,minmax(0,1fr))}
#case-summary-panel>.case-identity>span{min-width:0;min-height:72px;padding:12px;gap:4px;border-color:var(--tvm-line)}
#case-summary-panel>.case-identity small{font-size:12px;letter-spacing:0;font-weight:600;color:var(--tvm-muted)}
#case-summary-panel>.case-identity strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
#case-summary-panel>.case-identity .country-identity{background:transparent;justify-content:flex-start}
#case-summary-panel>.case-identity .country-identity>b{font-size:36px;flex-shrink:0}
#case-summary-panel>.case-identity .country-identity>span{min-width:0}
#case-summary-panel>.case-identity .country-identity strong{font-size:var(--tvm-type-section);white-space:normal;overflow-wrap:anywhere}
#case-summary-panel>.case-identity #edit-case-profile{min-height:44px}
#participants-section>.case-participants-heading{padding:10px 14px;margin-bottom:8px}
#participants-section>.case-participants-heading h3{font-size:18px}
#participants-section .participant-title{margin-bottom:12px;gap:12px}
#participants-section .participant-title>div>strong{font-size:20px;line-height:1.3}
#participants-section .participant-title>div>small{font-size:13px;color:var(--tvm-muted)}
#participants-section .participant-title-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
#participants-section .participant-title-actions :is(button,a){min-height:44px;white-space:normal}
#participants-section .participant-result-state{margin-top:6px;gap:6px}
#participants-section .participant-title+.participant-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;margin:0 0 12px}
#participants-section .participant-facts>span{min-width:0;background:transparent;overflow-wrap:anywhere;padding:0}
#participants-section .participant-facts>span>small{font-size:12px;color:var(--tvm-muted);margin-bottom:3px}
#participants-section .participant-facts>span>strong{font-size:14px;line-height:1.45;font-weight:600;color:var(--tvm-navy)}
@media(max-width:900px){#case-summary-panel>.case-identity{grid-template-columns:repeat(2,minmax(0,1fr))}#participants-section .participant-title+.participant-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#case-summary-panel>.case-identity{grid-template-columns:1fr}#case-summary-panel>.case-identity>span{min-height:0;padding:10px 12px;border-left:0;border-top:1px solid var(--tvm-line)}#case-summary-panel>.case-identity>span:first-child{border-top:0}#participants-section .participant-title+.participant-facts{grid-template-columns:1fr}#participants-section .participant-title{align-items:stretch}#participants-section .participant-title>div{min-width:0}}


.workspace-daily-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);gap:12px}
.workspace-daily-grid>.workspace-panel{padding:14px;min-width:0}
.workspace-daily-grid .workspace-panel-heading{gap:8px;margin-bottom:10px;flex-wrap:wrap}
.workspace-daily-grid .workspace-panel-heading h3{font-size:18px}
.workspace-daily-grid .workspace-panel-heading p{font-size:14px}
.workspace-daily-grid .workspace-priority-row{grid-template-columns:minmax(0,1fr) auto 20px;gap:6px 8px;padding:10px}
.workspace-daily-grid .workspace-priority-row .workspace-next{grid-column:1/3;grid-row:2}
.workspace-daily-grid .workspace-priority-row .workspace-arrow{grid-column:3;grid-row:1/3}
.workspace-daily-grid .workspace-priority-row .badge{max-width:170px;white-space:normal}
.workspace-refunds{display:flex;flex-direction:column}
.workspace-refund-list{flex:1;min-width:0}
.workspace-refunds .workspace-refund-row{display:grid;gap:4px;width:100%;min-height:44px;padding:10px 0;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0;background:transparent;box-shadow:none;text-align:left;color:var(--tvm-navy);white-space:normal}
.workspace-refunds .workspace-refund-row:hover{background:var(--tvm-action-soft);filter:none}
.workspace-refund-row>strong{font-size:15px;overflow-wrap:anywhere}
.workspace-refund-row small{font-size:14px;color:var(--tvm-muted)}
.workspace-refund-stage{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;font-size:14px}
.workspace-refund-stage b{font-variant-numeric:tabular-nums;color:var(--tvm-action)}
.workspace-refund-link{align-self:flex-end;display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:14px;font-weight:600;color:var(--tvm-action)}
@media(min-width:761px) and (max-width:1100px){.workspace-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-daily-grid>.workspace-priorities{grid-column:1/-1}.workspace-daily-grid>.workspace-calendar{contain:none}.workspace-daily-grid .workspace-calendar ol{overflow:visible}}
@media(max-width:760px){.workspace-daily-grid{grid-template-columns:1fr}.workspace-daily-grid .workspace-priority-row{grid-template-columns:minmax(0,1fr) auto 20px}.workspace-daily-grid .workspace-priority-row .badge{max-width:130px}.workspace-daily-grid>.workspace-calendar{contain:none}.workspace-daily-grid .workspace-calendar ol{overflow:visible}}


#participants-section .participant-facts>.participant-identity-fact>small{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
#participants-section .identity-field-state{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid var(--tvm-line);border-radius:4px;font-size:12px;font-style:normal;font-weight:600;line-height:1.3;color:var(--tvm-muted);background:var(--tvm-surface-subtle)}
#participants-section .identity-missing .identity-field-state{color:var(--tvm-warning);background:var(--tvm-accent-soft);border-color:var(--tvm-accent)}
#participants-section .participant-facts>.identity-missing{border-left:3px solid var(--tvm-accent);padding-left:9px}
#participants-section .participant-facts .identity-complete-action{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:5px 0;margin-top:2px;border:0;border-radius:4px;box-shadow:none;background:transparent;color:var(--tvm-action);font-size:13px;font-weight:600;white-space:normal;text-align:left}
#participants-section .participant-facts .identity-complete-action:hover{background:var(--tvm-action-soft);filter:none}


#participants-section .participant-facts .identity-complete-action{min-height:0;padding:0;margin-top:4px;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:2px}
#participants-section .participant-facts .identity-complete-action[hidden]{display:none}
#participants-section .participant-facts>.identity-missing{border-left-color:var(--tvm-danger)}
#participants-section .identity-missing .identity-field-state{color:var(--tvm-danger);background:var(--tvm-danger-soft);border-color:var(--tvm-danger)}
#participants-section .participant-facts>.identity-missing>small{color:var(--tvm-danger)}
#participants-section .participant-facts .identity-inline-editor{display:grid;gap:8px;min-width:0;margin-top:8px;padding:10px;border:1px solid var(--tvm-line);border-radius:5px;background:var(--tvm-surface-subtle)}
#participants-section .identity-inline-editor label{display:grid;gap:4px;min-width:0;font-size:12px;color:var(--tvm-muted)}
#participants-section .identity-inline-editor :is(input,select,textarea){width:100%;min-width:0;min-height:40px;margin:0;padding:7px 8px;font-size:14px;box-sizing:border-box}
#participants-section .identity-inline-actions{display:flex;gap:6px;flex-wrap:wrap}
#participants-section .identity-inline-actions button{min-height:36px;width:auto;margin:0;padding:5px 9px;font-size:12px}
#participants-section .identity-inline-editor>.error{margin:0;font-size:12px;overflow-wrap:anywhere}
#participants-section .participant-facts .identity-complete-action,#participants-section .identity-inline-editor label,#participants-section .identity-inline-actions button,#participants-section .identity-inline-editor>.error{font-size:14px}
@media(max-width:700px){#participants-section .participant-facts .identity-complete-action{min-height:44px;align-items:center}#participants-section .identity-inline-actions button{min-height:44px}}


#cash-view{gap:12px;min-width:0}
#cash-view .cash-toolbar{gap:8px}
#cash-view>.cash-intro{padding:14px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface-info)}
#cash-view>.cash-intro h2{font-size:24px;line-height:1.3}
#cash-view .cash-intro p{font-size:14px;line-height:1.5}
#cash-view :is(.cash-office-heading,.cash-person-section>h3,.cash-section h3){margin:0 0 8px;font-size:18px;line-height:1.4;color:var(--tvm-navy)}
#cash-view .cash-currency-grid article{padding:12px;gap:8px;border-color:var(--tvm-line);border-left-color:var(--tvm-action);border-radius:var(--tvm-radius-card)}
#cash-view .cash-currency-grid dl>div{padding:7px 0;border-bottom:1px solid var(--tvm-line);background:transparent}
#cash-view .cash-currency-grid dl>div:last-child{border-bottom:0}
#cash-view .cash-total-overview{padding:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface-info)}
#cash-view .cash-total-overview small{font-size:14px;line-height:1.5}
#cash-view .cash-person-card{padding:12px;min-width:0;border-color:var(--tvm-line);border-radius:var(--tvm-radius-card)}
#cash-view .cash-person-heading{margin:-12px -12px 10px;padding:10px 12px;border-color:var(--tvm-line)}
#cash-view .cash-person-heading h4{font-size:18px;line-height:1.4}
#cash-view :is(.cash-section,.cash-person-section){padding:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);min-width:0}
#cash-view .cash-transfer-filter{padding:10px;gap:10px;background:var(--tvm-surface-info);border-color:var(--tvm-line)}
#cash-view .cash-transfer-totals{padding-top:12px}
#cash-view .cash-transfer-totals .cash-total{font-size:24px}
#cash-view :is(.cash-section,.cash-person-card) :is(th,td){padding:10px 12px}
#cash-view .section-help{font-size:14px;line-height:1.5}
@media(max-width:720px){#cash-view .cash-balance-grid{grid-template-columns:1fr}#cash-view .cash-intro>div{min-width:0;max-width:100%}#cash-view .cash-actions{flex-wrap:wrap}#cash-view .income-table-wrap,#cash-view .cash-person-table-wrap{max-width:100%;overflow-x:auto}#cash-view .cash-total-overview>div{gap:8px 16px}}
#participants-section .identity-inline-editor .single-date-picker{width:100%;max-width:100%;min-width:0}
#participants-section .identity-inline-editor .compact-date-trigger{width:100%;min-width:0;min-height:44px;padding:7px 8px}
#participants-section .identity-inline-editor .compact-date-trigger strong{font-size:14px;white-space:normal}


#participants-section .participant-delivery{min-width:0;margin:0 0 12px;border:1px solid var(--tvm-line);border-radius:6px;background:var(--tvm-surface)}
#participants-section .participant-delivery>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-height:44px;padding:9px 12px;color:var(--tvm-navy);cursor:pointer;background:var(--tvm-surface-info);font-size:14px;list-style:none}
#participants-section .participant-delivery>summary::after{content:'⌄';color:var(--tvm-action)}
#participants-section .participant-delivery[open]>summary::after{content:'⌃'}
#participants-section .participant-delivery>summary span{margin-left:auto;color:var(--tvm-muted);font-weight:400}
#participants-section .participant-delivery-body{padding:12px;display:grid;gap:10px}
#participants-section .participant-delivery-registered{padding:9px 10px;background:var(--tvm-surface-subtle);border-radius:4px}
#participants-section .participant-delivery-registered small,#participants-section .participant-delivery-current small{display:block;font-size:14px;color:var(--tvm-muted)}
#participants-section .participant-delivery-registered p,#participants-section .participant-delivery-current{margin:3px 0 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
#participants-section .participant-delivery-form{display:grid;gap:10px;min-width:0}
#participants-section .participant-delivery-form fieldset{margin:0;padding:0;border:0;min-width:0}
#participants-section .participant-delivery-form legend{padding:0;margin-bottom:4px;font-size:14px;font-weight:600;color:var(--tvm-navy)}
#participants-section .participant-delivery-choices{display:flex;flex-wrap:wrap;gap:4px 14px}
#participants-section .participant-delivery-choices label{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;font-size:14px;cursor:pointer}
#participants-section .participant-delivery-choices input{width:16px;min-height:0;margin:0;accent-color:var(--tvm-action)}
#participants-section .participant-delivery-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
#participants-section .participant-delivery-address-grid label{display:grid;gap:4px;margin:0;min-width:0;font-size:14px;color:var(--tvm-muted)}
#participants-section .participant-delivery-address{grid-column:1/-1}
#participants-section .participant-delivery-address-grid :is(input,select,textarea){width:100%;min-width:0;min-height:44px;margin:0;padding:8px 10px;font-size:14px;box-sizing:border-box}
#participants-section .participant-delivery-address-grid textarea{min-height:72px;resize:vertical}
#participants-section .participant-delivery-actions{display:flex;flex-wrap:wrap;gap:8px}
#participants-section .participant-delivery-actions button{width:auto;min-height:44px;margin:0;padding:7px 12px;font-size:14px}
#participants-section .participant-delivery-form>.error{margin:0;font-size:14px}
#participants-section .participant-delivery-different[hidden]{display:none}
@media(max-width:640px){#participants-section .participant-delivery-address-grid{grid-template-columns:minmax(0,1fr)}#participants-section .participant-delivery-choices{display:grid;gap:2px}#participants-section .participant-delivery>summary span{margin-left:0}}
#participants-section .participant-delivery-registered .participant-delivery-address-missing{color:var(--tvm-danger);font-size:14px;margin-top:5px}


.workspace-daily-grid>.workspace-panel{padding:12px}
.workspace-daily-grid .workspace-panel-heading{margin-bottom:8px}
.workspace-daily-grid .workspace-priority-row{gap:3px 8px;padding:8px 10px;min-height:0}
.workspace-daily-grid .workspace-person strong{font-size:16px;line-height:1.35}
.workspace-daily-grid .workspace-person small,.workspace-daily-grid .workspace-next strong{font-size:14px;line-height:1.35}
.workspace-daily-grid .workspace-calendar ol{gap:2px}
.workspace-daily-grid .workspace-calendar li button{gap:8px;padding:2px 4px}
.workspace-daily-grid .workspace-calendar li b{font-size:16px;line-height:1.35}
.workspace-daily-grid .workspace-refund-row{gap:2px;padding:7px 0}
.workspace-daily-grid .workspace-refund-stage{line-height:1.35}
#participants-section .case-service-country-flag{display:inline-block;font-size:18px;line-height:1;vertical-align:middle;margin-right:3px}
#account-finance-dialog form[data-entry-context="participant_extra"] .participant-extra-help{display:block;margin-top:5px;font-size:14px;line-height:1.4;color:var(--tvm-muted)}

.workspace-recent>.workspace-board-heading{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;min-height:44px;font-size:18px;font-weight:700;color:var(--tvm-navy);cursor:pointer}
.workspace-recent>.workspace-board-heading span{font-size:14px;font-weight:400;color:var(--tvm-muted)}
.workspace-recent-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.workspace-recent-list>:is(button,a){display:grid;gap:3px;text-align:left;min-width:0;padding:8px 10px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface-info);color:var(--tvm-navy);cursor:pointer}
.workspace-recent-list>:is(button,a) strong{font-size:16px}.workspace-recent-list>:is(button,a) :is(span,small){font-size:14px;overflow-wrap:anywhere}.workspace-recent-list>:is(button,a) small{color:var(--tvm-muted)}
.workspace-refund-received{color:var(--tvm-success)}
.workspace-daily-grid .workspace-priority-row .badge{white-space:nowrap}
@media(max-width:1050px){.workspace-recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-daily-grid .workspace-priority-row .badge{white-space:normal}}
@media(max-width:600px){.workspace-recent-list{grid-template-columns:minmax(0,1fr)}}


.tvm-province-suggestions{position:fixed;z-index:12000;box-sizing:border-box;max-height:240px;overflow-y:auto;padding:4px;margin:0;border:1px solid var(--tvm-line,#cbd7e2);border-radius:5px;background:var(--tvm-surface,#fff);box-shadow:0 6px 18px #16314b22;list-style:none}.tvm-province-suggestions[hidden]{display:none}.tvm-province-suggestions>li{display:flex;align-items:center;min-height:44px;padding:7px 10px;box-sizing:border-box;font-size:14px;color:var(--tvm-navy,#16314b);cursor:pointer}.tvm-province-suggestions>li[aria-selected=true],.tvm-province-suggestions>li:hover{background:var(--tvm-action-soft,#eaf3ff);color:var(--tvm-action,#0071c2)}.tvm-province-suggestions>.tvm-province-no-match{color:var(--tvm-muted,#607080);cursor:default}

.workspace-recent-list>a{text-decoration:none}
.workspace-board-tabs{display:flex;gap:8px;margin-top:8px}
.workspace-board-tabs>button{min-height:44px;padding:6px 16px;border:1px solid var(--tvm-line);background:var(--tvm-surface);border-radius:4px;color:var(--tvm-navy);font-size:14px}
.workspace-board-tabs>button[aria-selected=true]{background:var(--tvm-surface-info);color:var(--tvm-action);font-weight:700}
#case-passport-panel .case-passport-choices{width:100%;max-width:1120px;margin:0 auto 12px;padding:12px;box-sizing:border-box;border:1px solid var(--tvm-line);border-radius:6px;background:var(--tvm-surface-info)}
#case-passport-panel .case-passport-choices h3{margin:0 0 8px;font-size:18px;color:var(--tvm-navy)}
#case-passport-panel .case-passport-choices>div{display:flex;gap:8px;flex-wrap:wrap}
#case-passport-panel .case-passport-choices button{width:auto;min-height:44px;padding:8px 12px;font-size:14px;white-space:normal;text-align:left}
#case-passport-panel .case-passport-choices p{margin:8px 0 0;font-size:14px;line-height:1.45;color:var(--tvm-muted)}
@media(max-width:640px){#case-passport-panel .case-passport-choices>div{display:grid;grid-template-columns:minmax(0,1fr)}}
#finance-section .case-payment-table tfoot .case-currency-payment-action{display:inline-flex;align-items:center;min-height:44px;width:auto;padding:5px 7px;margin:0;border:0;box-shadow:none;background:transparent;color:var(--tvm-action);font-size:14px;font-weight:600;white-space:normal;text-align:left}
#finance-section .case-payment-table tfoot .case-currency-payment-action:hover{background:transparent;text-decoration:underline;filter:none}


#accounts-browse .account-recently-viewed{padding:12px;margin:0 0 12px;border:1px solid var(--tvm-line);border-radius:7px;background:var(--tvm-surface-info)}
#accounts-browse .account-recently-viewed h3,#accounts-browse .account-search-title{margin:0 0 10px;font-size:18px;line-height:1.3;color:var(--tvm-navy)}
#accounts-browse .account-search-title{padding:12px 16px 0;margin-bottom:0}
#accounts-browse .account-recent-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#accounts-browse .account-recent-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:60px;padding:10px;border:1px solid var(--tvm-line);border-radius:5px;background:var(--tvm-surface);color:var(--tvm-navy);box-shadow:none;text-align:left}
#accounts-browse .account-recent-list button:hover{background:var(--tvm-action-soft);filter:none}
#accounts-browse .account-recent-list button>span:first-child{display:grid;gap:3px;min-width:0}
#accounts-browse .account-recent-list strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#accounts-browse .account-recent-list small{font-size:14px;font-weight:400;color:var(--tvm-muted);overflow-wrap:anywhere}
#accounts-browse .account-recent-arrow{color:var(--tvm-action);font-size:20px}
#accounts-browse .account-recent-empty{margin:0;font-size:14px;color:var(--tvm-muted)}
@media(max-width:1000px){#accounts-browse .account-recent-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){#accounts-browse .account-recent-list{grid-template-columns:minmax(0,1fr)}}
#workspace-actions .workspace-extra-sale{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid var(--tvm-accent);border-radius:var(--tvm-radius-control);background:var(--tvm-accent-soft);color:var(--tvm-navy);font-size:14px;font-weight:600;box-shadow:none;text-decoration:none;white-space:normal}
#workspace-actions .workspace-extra-sale:hover{background:var(--tvm-accent);color:var(--tvm-navy)}
#workspace-actions .workspace-extra-sale[hidden]{display:none}
@media(max-width:700px){#workspace-actions .workspace-extra-sale{width:100%;box-sizing:border-box}}
.workspace-header-tools .workspace-assignee{width:340px;max-width:100%;min-width:0;flex:0 1 340px}
.workspace-header-tools .workspace-assignee select{width:100%;min-width:0;max-width:100%;padding-right:40px;font-size:14px}
#definitions-view .definition-tabs>a[data-office-area="catalog"]{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;box-sizing:border-box;color:var(--tvm-action);font-size:14px;font-weight:600;text-decoration:none;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
#definitions-view .definition-tabs>a[data-office-area="catalog"]:hover{background:var(--tvm-action-soft)}
@media(max-width:760px){.workspace-header-tools .workspace-assignee{width:100%;flex:1 1 100%}}

#app>.toolbar{align-items:center;min-height:64px}
#app>.toolbar h1{margin:0}
.workspace-assignee-toolbar{display:none;min-width:0;max-width:100%;margin-left:auto}
#app:has(#operations-view:not([hidden])) .workspace-assignee-toolbar:has(.workspace-assignee){display:block}
#app:has(.workbench.detail-open) .workspace-assignee-toolbar{display:none}
.workspace-assignee-toolbar>.workspace-assignee{display:grid;gap:3px;width:280px;min-width:0;max-width:100%;margin:0!important;text-align:left}
.workspace-assignee-toolbar>.workspace-assignee>span{font-size:14px;color:var(--tvm-muted)}
.workspace-assignee-toolbar>.workspace-assignee select{width:100%!important;min-width:0;max-width:100%;min-height:40px;height:40px;margin:0;padding:7px 38px 7px 12px;font-size:14px;box-sizing:border-box}
@media(max-width:640px){#app>.toolbar{flex-wrap:wrap;align-items:flex-start;gap:12px}.workspace-assignee-toolbar{flex:1 1 100%;width:100%;margin-left:0}.workspace-assignee-toolbar>.workspace-assignee{width:100%}}


#case-summary-panel>.case-identity>.case-travel-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-left:0;border-top:1px solid var(--tvm-line);min-height:60px}
.case-travel-dates{display:grid;gap:4px;min-width:0}
#case-summary-panel .case-inline-edit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 4px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;flex-shrink:0}
#case-summary-panel .case-inline-edit:hover{background:transparent;color:var(--tvm-navy);text-decoration:underline}
#case-summary-panel .case-inline-edit:focus-visible{outline:2px solid var(--tvm-action);outline-offset:3px}
.case-inline-edit .ui-edit-pencil{width:16px;height:16px;flex-shrink:0}
@media(max-width:640px){#case-summary-panel>.case-identity>.case-travel-summary{flex-wrap:wrap;align-items:flex-end}#case-summary-panel .case-travel-summary .case-inline-edit{margin-left:auto}}


#company-card-definition-panel .staff-actions{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:nowrap}
#company-card-definition-panel .staff-actions .ui-button{width:auto;min-height:44px;margin:0;padding:8px 14px;font-size:14px;line-height:1.2;font-weight:600;white-space:nowrap;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface);color:var(--tvm-navy,#173b54);box-shadow:none}
#company-card-definition-panel .staff-actions .ui-button:hover{background:var(--tvm-blue-soft,#edf5ff);border-color:var(--tvm-blue,#126bbd)}
#company-card-definition-panel .staff-actions .ui-button:focus-visible{outline:2px solid var(--tvm-blue,#126bbd);outline-offset:2px}

#company-card-definition-panel .staff-card{display:flex;align-items:center;gap:20px;padding:12px 16px}
#company-card-definition-panel .staff-summary{display:flex;align-items:center;gap:28px;flex:1;min-width:0}
#company-card-definition-panel .staff-summary>strong{flex:1;min-width:0}
#company-card-definition-panel .staff-summary>span{display:flex;align-items:center;gap:8px;white-space:nowrap}
@media(max-width:700px){#company-card-definition-panel .staff-card{flex-wrap:wrap;gap:10px}#company-card-definition-panel .staff-summary{flex-basis:100%;flex-wrap:wrap;gap:12px}#company-card-definition-panel .staff-summary>strong{flex-basis:100%}}


.workspace-recent-list{grid-template-columns:repeat(5,minmax(0,1fr))}
.workspace-recent-list>:is(button,a){display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:10px;border-radius:5px;background:var(--tvm-surface);box-shadow:none;text-decoration:none}
.workspace-recent-list .workspace-recent-copy{display:grid;gap:3px;min-width:0}
.workspace-recent-list>:is(button,a) strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.workspace-recent-list .workspace-recent-arrow{color:var(--tvm-action);font-size:20px;flex-shrink:0}
.workspace-recent-list>:is(button,a):hover{background:var(--tvm-action-soft);filter:none}
@media(max-width:1000px){.workspace-recent-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.workspace-recent-list{grid-template-columns:minmax(0,1fr)}}
#agency-definition-panel .agency-working-terms{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere}
#agency-definition-panel [name="working_terms"],#agency-edit-dialog [name="working_terms"]{min-height:76px;resize:vertical}
#account-finance-dialog:has(.insurance-sale-compact){max-width:880px}
#account-finance-dialog .insurance-sale-compact .dialog-head{padding:12px 16px}
#account-finance-dialog .insurance-sale-compact>.form-grid{gap:10px 14px;padding:14px 16px}
#account-finance-dialog .insurance-sale-compact .insurance-sale-fields{padding:10px 12px;margin:0}
#account-finance-dialog .insurance-sale-compact .insurance-sale-fields>.form-grid{gap:10px 14px}
#account-finance-dialog .insurance-sale-compact .form-actions{margin-top:10px;padding-top:10px}
#account-finance-dialog .insurance-sale-compact .section-help{margin:6px 0}
#account-finance-dialog .insurance-sale-compact>.form-section{padding:14px 16px}
#account-finance-dialog .insurance-sale-compact .insurance-sale-fields{min-width:0}
@media(max-width:700px){#account-finance-dialog .insurance-sale-compact .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr)}#account-finance-dialog .insurance-sale-compact .insurance-sale-fields>.booking-form>.wide{grid-column:1/-1}}


.agency-form{gap:12px!important}.agency-section{min-width:0;margin:0;padding:12px 14px;border:1px solid #d4e1ed;border-radius:6px;background:#fff}.agency-section legend{color:#173b57;font-weight:700;font-size:15px;padding:0 6px}.agency-section h3{font-size:14px;color:#173b57;margin:0 0 8px}.agency-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.agency-contact-grid section,.agency-section label{min-width:0}.agency-contact-grid label{display:block;margin:0 0 8px}.agency-form input,.agency-form select{min-height:44px;height:44px}.agency-form textarea{min-height:64px;resize:vertical}.agency-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.agency-address-grid .wide{grid-column:1/-1}.agency-catalog-heading{margin:14px 0 10px;gap:12px}.agency-catalog-heading p{margin:0;font-size:13px}.agency-service-row{border-top:1px solid #d4e1ed;padding:12px 0}.agency-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}.agency-service-grid .wide{grid-column:1/-1}.agency-service-remove{border:0;background:none;color:#b22e35;font-size:13px;padding:8px;min-height:44px}.agency-legacy{margin-top:12px}.agency-legacy summary{font-size:13px;color:#52697d}#agency-edit-dialog{width:min(980px,calc(100vw - 32px));max-width:980px}#agency-edit-dialog .dialog-head{padding:12px 16px}#agency-edit-dialog .booking-form{padding:14px 16px}#agency-edit-dialog .actions{padding:10px 16px}@media(max-width:700px){.agency-contact-grid,.agency-service-grid{grid-template-columns:minmax(0,1fr)}.agency-catalog-heading{align-items:flex-start;flex-wrap:wrap}.agency-form,.agency-form fieldset{min-width:0}.agency-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-section{padding:10px}.agency-form input,.agency-form select,.agency-form textarea{width:100%;min-width:0;box-sizing:border-box}}

.agency-disclosure>summary{font-size:15px;font-weight:700;color:#173b57;min-height:32px;cursor:pointer}.agency-disclosure[open]>summary{margin-bottom:10px}.agency-disclosure>summary span{font-size:13px;font-weight:400;color:#52697d;margin-left:12px}.agency-service-row>summary{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;list-style:none}.agency-service-row>summary::before{content:'›';font-size:20px;color:#0866ad}.agency-service-row[open]>summary::before{transform:rotate(90deg)}.agency-service-row>summary span{color:#52697d;font-size:13px}.agency-service-row>summary b{margin-left:auto;color:#173b57;font-size:14px}.agency-service-row[open]>.agency-service-grid{margin-top:10px}.agency-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-service-fee{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:14px}.agency-service-extra>summary{font-size:13px;color:#0866ad;cursor:pointer;min-height:32px}.agency-service-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agency-service-actions{display:flex;justify-content:flex-end}.agency-form label>small{display:inline;font-weight:400;font-size:12px;margin-left:6px}@media(max-width:700px){.agency-service-grid,.agency-service-extra-grid{grid-template-columns:minmax(0,1fr)}.agency-service-row>summary{flex-wrap:wrap;gap:6px 10px}.agency-service-row>summary b{margin-left:0;width:100%}.agency-service-fee{grid-template-columns:minmax(0,1fr) 100px;gap:10px}.agency-disclosure>summary span{display:block;margin-left:0}}

#agency-service-dialog,#catalog-dialog{width:min(720px,calc(100vw - 32px));max-width:720px}#agency-service-dialog form,#catalog-dialog form{padding:16px}#agency-service-dialog .form-grid,#catalog-dialog .form-grid{gap:10px 14px}#agency-service-dialog textarea,#catalog-dialog textarea{min-height:64px}#agency-service-dialog .heading-with-action,#catalog-dialog .heading-with-action{margin-bottom:12px}#agency-service-dialog .heading-with-action h2,#catalog-dialog .heading-with-action h2{font-size:20px}.agency-catalog-table small{display:block;color:#52697d;font-size:12px}.agency-catalog-table td{padding:8px!important}.agency-text-edit{border:0;background:none;color:#0866ad;font-size:13px;padding:8px;min-height:44px}.agency-catalog-table td:last-child{white-space:nowrap}@media(max-width:700px){#agency-service-dialog .form-grid,#catalog-dialog .form-grid{grid-template-columns:minmax(0,1fr)}#agency-service-dialog form,#catalog-dialog form{padding:12px}.agency-catalog-table{min-width:0;font-size:12px}.agency-catalog-table td:last-child{white-space:normal}.agency-text-edit,.agency-service-remove{padding:6px}}

.agency-address-grid{grid-template-columns:160px 160px minmax(0,1fr);align-items:end}.agency-address-grid label{margin:0}.agency-address-line{min-width:0}@media(max-width:700px){.agency-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-address-line{grid-column:1/-1}}

.agency-authority{min-width:0}.agency-authority>label{display:block;margin:0 0 10px}.agency-authority-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agency-authority-contact label{min-width:0;margin:0}.agency-form{align-items:start}@media(max-width:700px){.agency-authority-contact{grid-template-columns:minmax(0,1fr)}}

#agency-edit-dialog{width:min(800px,calc(100vw - 32px));max-width:800px}#agency-edit-dialog .agency-form{gap:10px 16px}#agency-edit-dialog .error{margin:0 16px}#agency-edit-dialog .agency-address-grid{grid-template-columns:140px 140px minmax(0,1fr)}#agency-definition-panel .heading-with-action{margin-bottom:16px}@media(max-width:700px){#agency-edit-dialog .agency-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.agency-form>label{margin:0}.agency-form label>small{display:inline!important}

.b2b-agency-table{width:100%;min-width:0}.b2b-agency-table td{vertical-align:middle;padding:10px 12px!important}.b2b-agency-table small{display:block;color:#52697d;font-size:12px;margin-top:3px}.agency-list-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agency-list-actions .ui-button{min-height:44px;padding:8px 12px;font-size:13px;white-space:nowrap}@media(max-width:700px){.b2b-agency-table{font-size:12px}.b2b-agency-table th,.b2b-agency-table td{padding:8px!important;overflow-wrap:anywhere}.agency-list-actions{gap:4px}.agency-list-actions .ui-button{padding:6px;font-size:12px}}

.b2b-agency-table small.agency-contact-phone{font-size:14px;font-weight:600;color:var(--tvm-navy,#173b57);margin-top:6px;line-height:1.5}.b2b-agency-table small.agency-contact-email,.b2b-agency-table small.agency-location-address{font-size:13px;line-height:1.5;margin-top:4px}


.insurance-card-area{display:grid;grid-template-columns:minmax(160px,1fr) 110px minmax(200px,1fr);gap:10px 16px;align-items:start}
.insurance-card-area>label.wide{grid-column:1 / 3;grid-row:1}
.insurance-card-area>.insurance-purchased-choice{grid-column:3;grid-row:1;align-self:center}
.insurance-card-area>.insurance-refund-choice{grid-column:3;grid-row:2;align-self:center}
.insurance-card-area>[data-insurance-manual]{grid-row:2;min-width:0}
.insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-column:2;max-width:110px}
@media(max-width:800px){.insurance-card-area{grid-template-columns:minmax(0,1fr) 110px}.insurance-card-area>.insurance-purchased-choice{grid-column:1 / -1;grid-row:3}.insurance-card-area>.insurance-refund-choice{grid-column:1 / -1;grid-row:4}}


.insurance-sale-mode .insurance-sale-fields>.booking-form{grid-template-columns:minmax(140px,1fr) minmax(100px,.65fr) minmax(140px,1fr) minmax(100px,.65fr)}
.insurance-sale-mode .insurance-policy-field{grid-column:2;grid-row:1}
.insurance-sale-mode .insurance-sale-fields .finance-date-field{grid-column:3 / 5;grid-row:1}
.insurance-sale-mode .insurance-sale-fields .finance-sale-amount-field{grid-column:1;grid-row:2}
.insurance-sale-mode .insurance-sale-fields .finance-currency-field{grid-column:2;grid-row:2;max-width:110px}
.insurance-sale-mode .insurance-purchase-amount{grid-column:3;grid-row:2}
.insurance-sale-mode .insurance-purchase-currency{grid-column:4;grid-row:2;max-width:110px}
@media(max-width:800px){.insurance-sale-mode .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr) 100px}.insurance-sale-mode .insurance-insurer-field{grid-column:1 / -1;grid-row:1}.insurance-sale-mode .insurance-policy-field{grid-column:1 / -1;grid-row:2}.insurance-sale-mode .insurance-sale-fields .finance-date-field{grid-column:1 / -1;grid-row:3}.insurance-sale-mode .insurance-sale-fields .finance-sale-amount-field{grid-column:1;grid-row:4}.insurance-sale-mode .insurance-sale-fields .finance-currency-field{grid-column:2;grid-row:4}.insurance-sale-mode .insurance-purchase-amount{grid-column:1;grid-row:5}.insurance-sale-mode .insurance-purchase-currency{grid-column:2;grid-row:5}}

.insurance-sale-mode .finance-sale-amount-field{font-weight:700;color:var(--tvm-primary,#0866bd)}
.insurance-sale-mode .finance-sale-amount-field input{font-size:20px;font-weight:700}
.insurance-sale-mode .insurance-purchase-amount{font-weight:500}
.insurance-sale-mode .insurance-purchase-amount input{font-size:16px;font-weight:400}

.insurance-fixed-case select[hidden]{display:none!important}
.insurance-case-name{display:flex;align-items:center;min-height:44px;padding:8px 12px;box-sizing:border-box;border:1px solid var(--tvm-line);border-radius:6px;background:#f7fbfe;font-size:16px;font-weight:600}
.insurance-sale-mode .form-section>.booking-form>.finance-date-field{grid-column:3 / 5;grid-row:1;max-width:none;width:100%}
.insurance-sale-mode .finance-date-field .date-range-trigger{height:44px;min-height:44px;padding:8px 12px;box-sizing:border-box}
.insurance-sale-mode .insurance-insurer-field{grid-column:1 / 3;grid-row:1}
.insurance-sale-mode .insurance-policy-field{grid-column:3 / 5;grid-row:1}
.insurance-options-panel{grid-column:3;grid-row:1 / 3;border:1px solid var(--tvm-line);border-radius:6px;background:#f7fbfe;padding:10px 12px;margin:0;min-width:0}
.insurance-options-panel legend{font-size:13px;font-weight:600}
.insurance-options-panel .check-label{margin:0;min-height:44px;font-size:13px;line-height:1.4}
@media(max-width:800px){.insurance-sale-mode .form-section>.booking-form>.finance-date-field{grid-column:1 / -1;grid-row:2}.insurance-sale-mode .insurance-insurer-field{grid-column:1 / -1;grid-row:1}.insurance-sale-mode .insurance-policy-field{grid-column:1 / -1;grid-row:2}.insurance-options-panel{grid-column:1 / -1;grid-row:3}}

.insurance-card-area>[data-insurance-manual]{align-self:end;margin:0}
.insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){white-space:nowrap}

.insurance-sale-mode .form-section>.booking-form>.finance-date-field{margin-top:11px}
@media(max-width:800px){.insurance-sale-mode .form-section>.booking-form>.finance-date-field{margin-top:0}}

#account-finance-dialog .insurance-sale-mode .insurance-card-area>.form-actions{grid-column:3;grid-row:3;position:static;margin:0;padding:0;border:0;background:transparent;box-shadow:none;display:flex;justify-content:flex-end;align-items:center;gap:8px;min-width:0}
#account-finance-dialog .insurance-card-area>.form-actions button{min-width:0;width:auto;min-height:44px;padding:8px 10px;font-size:13px;white-space:nowrap;flex:0 1 auto}
@media(max-width:800px){#account-finance-dialog .insurance-sale-mode .insurance-card-area>.form-actions{grid-column:1 / -1;grid-row:4}#account-finance-dialog .insurance-card-area>.form-actions button{flex:1}}


#account-finance-dialog .insurance-sale-mode :is(input:not([type="checkbox"]),select,.date-range-trigger,.insurance-case-name){border-radius:6px!important;border-width:1px!important}
#account-finance-dialog .insurance-sale-mode .form-actions button{border-radius:6px!important}

#account-finance-dialog .insurance-sale-mode fieldset{border-radius:6px!important}

#account-finance-dialog .insurance-sale-mode .insurance-card-area>.form-actions{grid-row:2;align-self:end}
@media(max-width:800px){#account-finance-dialog .insurance-sale-mode .insurance-card-area>.form-actions{grid-row:4}}

.insurance-options-panel{grid-row:1}
@media(max-width:800px){.insurance-options-panel{grid-row:3}}


#cash-view .cash-office-band{padding:14px;border:1px solid var(--tvm-line);border-radius:6px;background:var(--tvm-surface-info);min-width:0}
#cash-view .cash-office-top{gap:12px;margin-bottom:12px;align-items:center}
#cash-view .cash-office-top h2{margin:0 0 4px;font-size:24px}
#cash-view .cash-toolbar{align-items:center;justify-content:flex-end;gap:8px}
#cash-view .cash-toolbar form{margin:0;align-items:center}
#cash-view #cash-day-filter .single-date-picker{width:176px}
#cash-view #cash-day-filter .date-range-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#cash-view #cash-day-filter .compact-date-trigger::before{content:none}
#cash-view #cash-day-filter .compact-date-trigger strong{white-space:nowrap}
#cash-view .cash-toolbar :is(button.compact-date-trigger,button#cash-report,button[data-cash-action]){height:36px;min-height:36px;margin:0;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:5px}
#cash-view #cash-day-filter .compact-date-trigger .calendar-icon{font-size:20px;line-height:1}
#cash-view #cash-day-filter .compact-date-trigger strong{font-size:15px;line-height:1.2}
#cash-view :is(.cash-person-card>button,#cash-main-transfer,button[data-cash-handover-action]){height:36px;min-height:36px;padding:4px 10px;border-radius:5px}
@media(max-width:720px){#cash-view .cash-toolbar :is(button.compact-date-trigger,button#cash-report,button[data-cash-action]),#cash-view :is(.cash-person-card>button,#cash-main-transfer,button[data-cash-handover-action]){height:44px;min-height:44px}}
#cash-view .cash-currency-grid article{padding:12px;gap:6px;border-radius:6px}
#cash-view .cash-currency-grid .account-currency-heading{flex-wrap:wrap}
#cash-view .cash-currency-grid .account-currency-icon{width:36px;height:36px;font-size:24px;border-radius:6px}
#cash-view .cash-currency-grid .account-currency-balance{flex-basis:100%;margin-left:0;text-align:left;gap:4px}
#cash-view .cash-currency-grid .account-currency-balance>span{font-size:32px;overflow-wrap:anywhere}
#cash-view .cash-currency-grid dl{gap:0;margin-top:0}
#cash-view .cash-currency-grid dl>div{padding:5px 0}
#cash-view .cash-office-note{margin:10px 0 0}
#cash-view .cash-total-overview{margin-top:12px;background:var(--tvm-surface);border-radius:6px}
#cash-view .cash-people-tabs{display:flex;gap:4px;border-bottom:1px solid var(--tvm-line);margin:12px 0;overflow-x:auto}
#cash-view .cash-people-tabs button{min-height:44px;padding:10px 14px;flex-shrink:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--tvm-muted);box-shadow:none}
#cash-view .cash-people-tabs button[aria-selected=true]{border-bottom-color:var(--tvm-action);color:var(--tvm-action);font-weight:700}
#cash-view .cash-person-card{border-radius:6px}
#cash-view .cash-person-table :is(th,td){padding:9px 6px;font-size:14px}
#cash-view .cash-person-card>button{min-height:36px}
#cash-view .cash-person-pending{font-size:14px}
#cash-view .cash-staff-details>summary{min-height:44px;display:flex;align-items:center;color:var(--tvm-action);cursor:pointer;font-weight:600}
#cash-view .cash-transfer-filter{display:flex;flex-wrap:wrap;align-items:end}
#cash-view .cash-transfer-filter>label{width:230px;max-width:100%}
#cash-view .cash-transfer-filter .date-range-picker{flex:1;min-width:260px}
#cash-view [role=tabpanel][hidden],#cash-view .cash-transfer-filter [hidden]{display:none!important}
@media(max-width:720px){#cash-view .cash-office-band{padding:12px}#cash-view .cash-toolbar{width:100%;justify-content:flex-start;align-items:center}#cash-view .cash-toolbar form{width:auto;max-width:100%}#cash-view #cash-day-filter .single-date-picker{max-width:100%}#cash-view .cash-toolbar>button{width:auto;max-width:100%}#cash-view .cash-currency-grid .account-currency-balance>span{font-size:24px}#cash-view .cash-person-grid{grid-template-columns:1fr}#cash-view .cash-transfer-filter>label,#cash-view .cash-transfer-filter .date-range-picker{width:100%;min-width:0;flex-basis:100%}}

@media(max-width:720px){#cash-view .cash-person-card>button{min-height:44px}}


#accounts-view .accounts-directory-tools{padding:10px 16px;gap:16px;flex-wrap:nowrap}
#accounts-browse .accounts-directory-tools .account-search-title{padding:0;margin:0;white-space:nowrap;font-size:18px;order:0}
#accounts-view .accounts-list-heading{order:1;text-align:left}
#accounts-view .accounts-directory-tools .account-search{order:2;margin-left:auto;width:420px;height:44px;border-width:1px}
#accounts-view .accounts-directory-tools .account-search input{height:40px;min-height:40px}
@media(max-width:800px){#accounts-view .accounts-directory-tools{flex-direction:row;flex-wrap:wrap;gap:8px 12px}#accounts-view .accounts-directory-tools .account-search{width:100%;margin-left:0}#accounts-view .accounts-list-heading{flex:1}}

#accounts-view .account-pagination{justify-content:flex-end}
#accounts-view .accounts-list-heading:has(p[hidden]){display:none}


#app table thead th{font-size:13px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:.02em!important;text-transform:none!important;color:var(--tvm-navy)!important;background:var(--tvm-table-head)!important}


#case-dialog{height:auto;max-height:90dvh;margin:4dvh auto auto}
#case-form .dialog-head{padding:16px 20px}
#case-form .dialog-head h2{margin-bottom:4px}
#case-form .form-section{margin:10px 16px;padding:12px 16px;border-radius:6px}
#case-form .form-section-head{padding-bottom:8px;margin-bottom:8px;gap:10px}
#case-form .form-section-head h3{margin:0}
#case-form .booking-form{gap:8px 14px}
#case-form label{margin:0;gap:4px}
#case-form .primary-field{margin-bottom:8px}
#case-form :is(input:not([type="hidden"]):not([type="checkbox"]),select,.date-range-trigger){height:44px;min-height:44px;padding:8px 12px;border:1px solid var(--tvm-line-strong);border-radius:6px!important;box-sizing:border-box}
#case-form .date-range-trigger{display:flex;align-items:center}
#case-form :is(textarea,button){border-radius:6px!important}
#case-form .date-range-label{margin-bottom:4px}
#case-form .form-actions{margin-top:10px;padding:12px 16px}
#case-form .form-actions button{height:44px;min-height:44px}
#case-form .case-optional-fields{margin-top:4px}
@media(max-width:640px){#case-dialog{height:auto;max-height:96dvh;margin:2dvh auto;width:calc(100% - 16px);border-radius:6px}#case-form .dialog-head{padding:12px}#case-form .form-section{margin:8px;padding:12px}#case-form .booking-form{grid-template-columns:minmax(0,1fr)}}


#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) .dialog-head{padding:12px 16px;margin-bottom:12px}
#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) .booking-form{gap:8px 14px}
#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) label{margin:0;gap:4px}
#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,.date-range-trigger){height:44px;min-height:44px;padding:8px 12px;border:1px solid var(--tvm-line-strong);border-radius:6px!important;box-sizing:border-box}
#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) :is(textarea,button){border-radius:6px!important}
#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) .form-actions{padding:12px 16px;margin-top:12px}


.workspace-recent{position:relative;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:8px;padding:14px 16px}
.workspace-recent>.workspace-board-heading{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:48px;padding-left:344px;font-weight:700;color:var(--tvm-navy);cursor:default}
.workspace-recent>.workspace-board-heading span{font-weight:400;color:var(--tvm-muted);font-size:14px}
.workspace-recent .workspace-board-shell{display:block;margin-top:0}
.workspace-recent .workspace-board-tabs{position:absolute;top:14px;left:16px;display:flex;flex-direction:row;gap:0;margin:0;z-index:1;align-self:start}
.workspace-recent .workspace-board-tabs>button{width:160px;min-height:48px;margin:0;padding:10px 16px;border:0;border-radius:0;background:#287bc1;color:white;box-shadow:none;font-weight:700}
.workspace-recent .workspace-board-tabs>button:hover{background:#287bc1;color:white;filter:none}
.workspace-recent .workspace-board-tabs>button[aria-selected=true],.workspace-recent .workspace-board-tabs>button[aria-selected=true]:hover{background:var(--tvm-surface);color:var(--tvm-action);border:1px solid var(--tvm-line-strong);border-bottom:0;box-shadow:0 3px 0 var(--tvm-surface);filter:none}
.workspace-recent .workspace-recent-list{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:12px;background:var(--tvm-surface);border:1px solid var(--tvm-line-strong);border-radius:0 6px 6px 6px;min-height:104px}
.workspace-recent .workspace-recent-list>:is(button,a){background:var(--tvm-surface);transition:background-color .15s,border-color .15s,box-shadow .15s;align-self:start}
.workspace-recent .workspace-recent-list>:is(button,a):hover{background:var(--tvm-surface);border-color:var(--tvm-action);box-shadow:0 2px 8px #123f650d;filter:none}
.workspace-recent :is(button,a):focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}
@media(max-width:1000px){.workspace-recent .workspace-recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.workspace-recent>.workspace-board-heading{padding-left:200px;font-size:14px}.workspace-recent>.workspace-board-heading span{display:none}.workspace-recent .workspace-board-tabs>button{width:96px;flex:1;padding:8px}.workspace-recent .workspace-recent-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){.workspace-recent>.workspace-board-heading{padding-left:152px}.workspace-recent .workspace-board-tabs>button{width:72px}}
@media(prefers-reduced-motion:reduce){.workspace-recent .workspace-recent-list>:is(button,a){transition:none}}


.oc-calendar-toolbar .ui-button,.oc-calendar-toolbar>.single-date-picker>.compact-date-trigger{box-sizing:border-box;height:36px;min-height:36px;padding:4px 10px}
.oc-navigation [data-step]{width:36px;padding-inline:0}
.oc-board{overflow-x:auto;min-width:0}
#consulate-list .consulate-edit{min-height:44px;padding:8px;border:0;background:transparent;color:var(--tvm-action);font-weight:700;white-space:nowrap;box-shadow:none}
#consulate-list .consulate-edit:hover{text-decoration:underline;background:transparent}
@media(max-width:720px){.oc-calendar-toolbar .ui-button,.oc-calendar-toolbar>.single-date-picker>.compact-date-trigger{height:44px;min-height:44px}.oc-navigation{grid-template-columns:44px 1fr 44px}.oc-navigation [data-step]{width:44px}.oc-board{overflow-x:auto}.oc-time-row{grid-template-columns:54px minmax(0,1fr)}.oc-time-row>time{padding:10px 6px}.oc-time-row>div{min-width:0;grid-template-columns:minmax(0,1fr);padding:7px 6px}.oc-event{max-width:100%}.oc-select-filters{flex-wrap:wrap;min-width:0}.oc-select-filters>label{flex:1;min-width:0}.oc-select-filters select{width:100%;min-width:0}}


.oc-summary-card strong{flex:0 0 3ch;min-width:3ch;text-align:center;font-variant-numeric:tabular-nums}
.oc-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;width:100%;box-sizing:border-box}
.oc-summary-card{width:auto;min-width:0;min-height:44px;max-width:100%;padding-left:8px;padding-right:calc(8px + 1ch);gap:8px;box-sizing:border-box}
.oc-summary-card div{min-width:0;align-items:center;gap:8px}
.oc-summary-card small{overflow-wrap:anywhere}
@media(max-width:1050px){.oc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.oc-summary{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.oc-summary-card{min-width:0;min-height:44px}.oc-summary-card:last-child{grid-column:1/-1}}
@media(max-width:380px){.oc-summary{grid-template-columns:1fr}.oc-summary-card:last-child{grid-column:auto}}

.operation-calendar :is(.oc-day-title,.oc-week-head):is(:hover,:focus,:active){background:var(--tvm-action-soft);color:var(--tvm-navy);filter:none}
.operation-calendar :is(.oc-day-title,.oc-week-head) :is(strong,small){color:inherit}
.operation-calendar .oc-today .oc-day-title,
.operation-calendar .oc-today .oc-day-title:is(:hover,:focus,:active){background:var(--tvm-action);color:#fff;filter:none}


#case-dialog{height:fit-content;min-height:0;padding:0}
#case-form{min-height:0;margin:0;padding:0}
#case-form label>span{display:block}
#case-form #case-account-query{padding-left:44px;background-position:12px 50%;background-size:22px 22px}
#case-form .date-range-picker{margin:0}
#case-form .date-range-trigger{gap:8px}
#case-form .date-range-trigger small{display:none}
#case-form .date-range-trigger .calendar-icon{font-size:20px;line-height:1}
#case-form .date-range-trigger strong{font-size:15px;line-height:1.2}
#case-form .form-actions{margin-bottom:0}
#case-form label.wide small{font-size:14px}


#app:has(#quick-sales-view:not([hidden]))>.toolbar.qs-page-toolbar{align-items:center;gap:12px;flex-wrap:wrap}
#app>.toolbar>.qs-intro{display:none;max-width:58ch;margin:0;color:var(--tvm-muted);font-size:14px;line-height:1.4;text-align:right}
#quick-sales-view .qs-discount-legacy{font-size:12px;color:var(--tvm-muted);white-space:normal;max-width:210px}
@media(max-width:600px){#app>.toolbar>.qs-intro{text-align:left}#quick-sales-view .qs-summary-currencies button{width:60px}}

#app:has(#quick-sales-view:not([hidden]))>.toolbar>.qs-intro{display:block}

@media(max-width:600px){#quick-sales-view .qs-stepper button::after{content:"";position:absolute;inset:-4.4px;border-radius:50%}}


#app>.office-section-nav>.qs-intro{display:none;margin:0 0 0 auto;max-width:58ch;flex:0 1 auto;align-self:flex-end;color:var(--tvm-muted);font-size:14px;line-height:1.4;text-align:right}
#app:has(#quick-sales-view:not([hidden]))>.office-section-nav>.qs-intro{display:block}
@media(max-width:900px){#app>.office-section-nav>.qs-intro{flex:1 1 100%;text-align:left}}

#app>.office-section-nav>.qs-intro{color:var(--tvm-navy);font-weight:500;text-align:right}
@media(max-width:900px){#app>.office-section-nav>.qs-intro{text-align:right}}


.oc-grid.oc-month>.oc-spacer{border-right:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface)}
.oc-grid.oc-month>.oc-spacer:nth-child(7n){border-right:0}


.operation-calendar :is(.oc-month-weekday,.oc-day-title,.oc-week-head){background:var(--tvm-surface-info);color:var(--tvm-navy)}
.operation-calendar .oc-today .oc-day-title{background:var(--tvm-action);color:var(--tvm-surface)}

.operation-calendar .oc-month-weekday{background:#dbe9f8;color:var(--tvm-navy)}

.operation-calendar :is(.oc-day-title,.oc-week-head){transition:background-color .15s ease,color .15s ease}
.operation-calendar :is(.oc-day-title,.oc-week-head):is(:hover,:focus-visible){background:#d5e5f7;color:var(--tvm-navy);filter:none}
.operation-calendar .oc-today .oc-day-title:is(:hover,:focus-visible){background:#245595;color:var(--tvm-surface)}
@media(prefers-reduced-motion:reduce){.operation-calendar :is(.oc-day-title,.oc-week-head){transition:none}}


#account-finance-dialog .account-finance-add:not(.insurance-sale-mode) .form-actions{position:static;background:transparent;border:0;box-shadow:none;padding:0;margin-top:12px}


body.accounts-active .account-statement-form>button{background:var(--tvm-accent);border-color:var(--tvm-accent);color:var(--tvm-navy);box-shadow:none}
body.accounts-active .account-statement-form>button:hover{background:var(--tvm-accent);filter:brightness(.96)}
#account-detail .account-statement-form>button{background:var(--tvm-accent);border-color:var(--tvm-accent);color:var(--tvm-navy);box-shadow:none}
#account-detail .account-statement-form>button:hover{background:var(--tvm-accent);filter:brightness(.96)}

#account-detail .account-profile-tabs [role=tablist]{gap:0;flex-wrap:nowrap}
#account-detail .account-profile-tabs [role=tab]{min-width:160px;min-height:48px;margin:0;padding:10px 16px;border:0;border-radius:0;background:#287bc1;color:white;box-shadow:none;font-weight:700}
#account-detail .account-profile-tabs [role=tab]:hover{background:#287bc1;color:white;filter:none}
#account-detail .account-profile-tabs [role=tab][aria-selected=true]{background:var(--tvm-surface);color:var(--tvm-action);border:1px solid var(--tvm-line-strong);border-bottom:0;box-shadow:0 3px 0 var(--tvm-surface);z-index:1}
#account-detail .account-profile-overview article{border-color:var(--tvm-line-strong)}
@media(max-width:600px){#account-detail .account-profile-tabs [role=tab]{min-width:0;flex:1;padding:10px 8px}}


.office-footer{margin-top:24px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;padding:16px 24px;border-top:1px solid var(--tvm-line,#d4dfea);color:var(--tvm-muted,#52677b);background:#fff;font-size:14px;line-height:1.5}
.office-footer img{width:121px;height:25px;object-fit:contain}.office-version{white-space:nowrap}
@media(max-width:600px){.office-footer{gap:8px 16px;padding:16px;font-size:14px}.office-footer span{max-width:100%;text-align:center}}





.oc-heading h2{margin:0;font-size:20px;line-height:1.3;color:var(--tvm-navy)}


.office-footer{justify-content:flex-start}
.office-footer img{order:2;margin-left:auto;width:85px;height:17.5px}
@media(max-width:600px){.office-footer img{margin-left:auto}}

.visa-rule-editor{padding:24px}.passport-check{display:grid;gap:4px;padding:10px 12px;border-left:3px solid #8295a8;background:#f1f5fa;font-size:14px;margin:8px 0}.passport-check--fail{border-color:#b42318;background:#fff0ed}.passport-check--warning{border-color:#b77908;background:#fff8e8}.passport-check--pass{border-color:#25834c;background:#eff8f1}

.staff-summary>strong .staff-owner-note{display:inline-block;font-size:12px;font-weight:500;color:var(--tvm-muted);margin-inline-start:6px;vertical-align:baseline}

.staff-admin-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#eaf2fc;color:#174a75;font-size:12px;font-weight:700;white-space:nowrap}.staff-admin-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:#397dc0}

.app-loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:180px;color:#49677f;font-size:14px}.app-loading-spinner{width:22px;height:22px;border:3px solid #dce9f7;border-top-color:#1564ac;border-radius:50%;animation:office-loading-spin .8s linear infinite}@keyframes office-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.app-loading-spinner{animation:none}}


#accounts-view .accounts-directory-tools .account-search{order:0;margin-left:0;flex:0 1 420px}
#accounts-view .accounts-directory-tools #new-account{order:2;margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:46px;min-height:46px;padding:8px 12px;border:5px solid var(--tvm-accent);border-radius:7px;background:var(--tvm-action);color:var(--tvm-surface);font-size:.94rem;font-weight:800;box-shadow:var(--tvm-shadow-card);white-space:nowrap}
#accounts-view #new-account:hover{background:var(--tvm-action-hover);border-color:var(--tvm-accent)}
#accounts-view #new-account::before{content:'';display:block;flex:0 0 24px;width:24px;height:24px;padding:0;border-radius:50%;box-sizing:border-box;background:linear-gradient(var(--tvm-action),var(--tvm-action)) center/12px 2px no-repeat,linear-gradient(var(--tvm-action),var(--tvm-action)) center/2px 12px no-repeat,var(--tvm-surface)}
@media(max-width:800px){#accounts-view .accounts-directory-tools .account-search{flex:1 1 240px;width:auto}#accounts-view .accounts-directory-tools #new-account{margin-left:auto}}


#new-account-dialog{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
#new-account-dialog .form-section{margin:16px;padding:16px;box-sizing:border-box}
#new-account-dialog .booking-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:start}
#new-account-dialog .booking-form>*{min-width:0}
#new-account-dialog label{display:grid;gap:6px;min-width:0;margin:0}
#new-account-dialog :is(input,select,.compact-date-trigger){width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0}
#new-account-dialog .address-location-fields{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#new-account-dialog .form-actions{padding:12px 24px;margin:0;position:static}
#new-account-dialog .error{margin:0 24px}
@media(max-width:600px){#new-account-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}#new-account-dialog .form-section{margin:10px;padding:12px}#new-account-dialog .booking-form,#new-account-dialog .address-location-fields{grid-template-columns:minmax(0,1fr)}#new-account-dialog .form-actions{padding:12px 22px}}

#case-form .case-travel-range{min-width:0;grid-column:auto;align-self:end}
#case-form .case-travel-range .date-range-trigger{width:100%;min-width:0}


@media(min-width:701px){
.service-sale-layout:not(.insurance-sale-mode) .form-section>.booking-form{grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) minmax(140px,.85fr) 96px}
.service-sale-layout:not(.insurance-sale-mode) .catalog-choice{grid-column:1 / -1;grid-row:1}
.service-sale-layout:not(.insurance-sale-mode) .finance-case-field{grid-column:1 / 3;grid-row:2}
.service-sale-layout:not(.insurance-sale-mode) .finance-participant-field{grid-column:1 / 3;grid-row:3}
.service-sale-layout:not(.insurance-sale-mode) .finance-sale-amount-field{grid-column:3;grid-row:2}
.service-sale-layout:not(.insurance-sale-mode) .finance-currency-field{grid-column:4;grid-row:2}
.service-sale-layout:not(.insurance-sale-mode) .catalog-price{grid-column:3;grid-row:3}
.service-sale-layout:not(.insurance-sale-mode) .catalog-discount{grid-column:1;grid-row:4}
.service-sale-layout:not(.insurance-sale-mode) .catalog-staff{grid-column:2;grid-row:4}
.service-sale-layout:not(.insurance-sale-mode) .finance-date-field{grid-column:3 / 5;grid-row:4;min-width:0}
.service-sale-layout:not(.insurance-sale-mode) .finance-date-field .date-range-trigger{width:100%;min-width:0;white-space:nowrap}
}
.service-sale-layout .catalog-price input{background:#f1f6fc;color:#526b80}


.payment-debt-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #bdd6ec;border-radius:8px;background:#edf5fc;color:#17476b}.payment-debt-suggestion[hidden]{display:none}.payment-debt-suggestion strong{min-width:0;line-height:1.5}.payment-debt-suggestion button{flex:none;font-size:13px;min-height:36px;padding:6px 10px}@media(max-width:700px){.payment-debt-suggestion{flex-wrap:wrap}.payment-debt-suggestion button{min-height:44px}}


.intake-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.intake-heading h2{font-size:var(--tvm-type-section);margin:0 0 6px}
.intake-heading .section-help{margin:0}
.intake-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.intake-filters button{gap:10px}
.intake-filters .active{background:var(--tvm-action);border-color:var(--tvm-action);color:var(--tvm-surface)}
.intake-filter-count{font-variant-numeric:tabular-nums;min-width:18px;text-align:center}
.intake-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px}
.intake-toolbar .account-search{width:min(520px,100%);display:grid;gap:8px}
.intake-toolbar .section-help{margin:0 0 12px;white-space:nowrap}
.intake-table{width:100%;table-layout:fixed}
.intake-table th:nth-child(1){width:27%}.intake-table th:nth-child(2){width:24%}.intake-table th:nth-child(3){width:12%}.intake-table th:nth-child(4){width:24%}.intake-table th:nth-child(5){width:13%}
.intake-table td{vertical-align:top;overflow-wrap:anywhere;padding-top:18px;padding-bottom:18px}
.intake-table td>strong,.intake-table td>span,.intake-table td>small{display:block}
.intake-table td>span{margin-top:4px}.intake-table td>small{margin-top:6px;color:var(--tvm-muted);font-size:var(--tvm-type-support)}
.intake-table td>.intake-status{display:inline-flex;margin:0}
.intake-status{padding:4px 8px;border-radius:var(--tvm-radius-control);background:var(--tvm-surface-subtle);color:var(--tvm-muted);font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold)}
.intake-status[data-status=new]{background:var(--tvm-accent-soft);color:var(--tvm-warning)}
.intake-status[data-status=reviewed]{background:var(--tvm-action-soft);color:var(--tvm-navy)}
.intake-status[data-status=accepted]{background:var(--tvm-success-soft);color:var(--tvm-success)}
.intake-row-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
.intake-row-actions .ui-button{white-space:normal;text-align:center;max-width:100%}
.intake-empty{padding:32px 16px;text-align:center;background:var(--tvm-surface-subtle);border-radius:var(--tvm-radius-control)}
.intake-empty h3{font-size:var(--tvm-type-emphasis)}
.intake-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px}
.intake-pagination>div{display:flex;align-items:center;gap:12px;font-variant-numeric:tabular-nums}
.intake-review-dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;box-sizing:border-box}
.intake-review-dialog .editor-heading{padding:20px 24px;background:var(--tvm-surface-info);margin:0;align-items:center}
.intake-review-dialog .editor-heading h2{font-size:var(--tvm-type-section);margin:4px 0 0;overflow-wrap:anywhere}
.intake-review-dialog .editor-heading span{font-size:var(--tvm-type-support)}
.intake-review-content{padding:24px}
.intake-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.intake-review-dialog h3{font-size:var(--tvm-type-body);margin:0 0 16px}
.intake-facts{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.3fr);gap:10px 12px;margin:0;font-size:var(--tvm-type-support)}
.intake-facts dt{color:var(--tvm-muted);font-weight:var(--tvm-weight-regular)}
.intake-facts dd{margin:0;overflow-wrap:anywhere}
.intake-review-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--tvm-line)}
.intake-people{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.intake-people li{display:flex;justify-content:space-between;gap:12px;font-size:var(--tvm-type-support);flex-wrap:wrap}
.intake-people span{color:var(--tvm-muted)}
.intake-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.intake-review-dialog label{display:grid;gap:8px;font-size:var(--tvm-type-support)}
.intake-review-dialog textarea{width:100%;box-sizing:border-box;min-height:100px;resize:vertical;font-size:var(--tvm-type-body)}
.intake-review-dialog .editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;background:var(--tvm-surface);padding:16px 24px;margin:0;border-top:1px solid var(--tvm-line)}
.intake-close-reason{margin-top:20px;padding:16px;background:var(--tvm-danger-soft);border-radius:var(--tvm-radius-control)}
.intake-review-dialog .error:empty{display:none}
.intake-new-count{background:var(--tvm-danger);color:var(--tvm-surface)}
@media(max-width:800px){.intake-toolbar{align-items:stretch;flex-direction:column;gap:12px}.intake-toolbar .account-search{width:100%}.intake-toolbar .section-help{margin:0}.intake-table thead{display:none}.intake-table,.intake-table tbody{display:block}.intake-table tr{display:block;padding:12px 0;border-bottom:1px solid var(--tvm-line)}.intake-table td{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(0,1.4fr);gap:4px 12px;border:0!important;padding:6px 12px}.intake-table td::before{content:attr(data-label);grid-column:1;grid-row:1;color:var(--tvm-muted);font-size:var(--tvm-type-support)}.intake-table td>*{grid-column:2}.intake-table td>.intake-status{justify-self:start}.intake-table td>span,.intake-table td>small{margin:0}.intake-row-actions{flex-direction:row;flex-wrap:wrap}.intake-review-grid{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:600px){.intake-heading{flex-direction:column;gap:12px}.intake-heading>button{align-self:flex-start}.intake-view{padding:16px}.intake-filters{gap:6px}.intake-filters button{flex:1 1 135px}.intake-pagination{flex-direction:column;align-items:start}.intake-review-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.intake-review-dialog .editor-heading,.intake-review-content{padding:16px}.intake-review-dialog .editor-actions{padding:12px 16px}.intake-review-dialog .editor-actions button{flex:1 1 140px}.intake-facts{grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)}}


.service-sale-layout .finance-fixed-value{display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:8px 12px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info);color:var(--tvm-muted);font-size:var(--tvm-type-body);font-weight:var(--tvm-weight-regular);overflow-wrap:anywhere}
.service-sale-layout .finance-fixed-value[hidden],.service-sale-layout select[hidden]{display:none}
.service-sale-layout .finance-currency-field .finance-fixed-value{justify-content:center;white-space:nowrap}
.service-sale-layout .catalog-staff input[readonly]{background:var(--tvm-surface-info);color:var(--tvm-muted)}
@media(max-width:700px){.service-sale-layout:not(.insurance-sale-mode) .finance-sale-amount-field{grid-column:1;grid-row:auto}.service-sale-layout:not(.insurance-sale-mode) .finance-currency-field{grid-column:2;grid-row:auto}.service-sale-layout:not(.insurance-sale-mode) .form-section>.booking-form{grid-template-columns:minmax(0,1fr) 96px}.service-sale-layout:not(.insurance-sale-mode) .finance-case-field,.service-sale-layout:not(.insurance-sale-mode) .finance-participant-field,.service-sale-layout:not(.insurance-sale-mode) .finance-date-field,.service-sale-layout:not(.insurance-sale-mode) .catalog-staff{grid-column:1 / -1}.service-sale-layout:not(.insurance-sale-mode) .catalog-price{grid-column:1}.service-sale-layout:not(.insurance-sale-mode) .catalog-discount{grid-column:1 / -1}}


#consulate-list>p{grid-template-columns:minmax(0,1fr) minmax(100px,160px) auto;gap:12px}
#consulate-list .consulate-row-actions{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;justify-self:end}
#consulate-list .consulate-row-actions>button{width:auto;min-height:44px;margin:0;padding:8px;white-space:nowrap}
@media(max-width:640px){#consulate-list>p{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}#consulate-list>p>b{grid-column:1;grid-row:2;overflow-wrap:anywhere}#consulate-list .consulate-row-actions{grid-column:2;grid-row:1/3}}


#account-finance-dialog .insurance-sale-mode .dialog-head{padding:12px 16px}
#account-finance-dialog .insurance-sale-mode .form-section{padding:16px}
#account-finance-dialog .insurance-sale-mode .booking-form{gap:12px 14px}
#account-finance-dialog .insurance-sale-mode label{margin:0;font-size:14px;line-height:1.4;gap:4px}
#account-finance-dialog .insurance-sale-mode :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,.date-range-trigger){height:44px;min-height:44px;padding:8px 12px;font-size:16px;box-sizing:border-box;border:1px solid var(--tvm-line-strong);border-radius:6px!important}
#account-finance-dialog .insurance-sale-mode .finance-sale-amount-field input{font-size:18px}
#account-finance-dialog .insurance-sale-mode .section-help,#account-finance-dialog .insurance-sale-mode small{font-size:14px;line-height:1.4}
#account-finance-dialog .insurance-sale-mode .finance-note-field{grid-column:1/-1}
#account-finance-dialog .insurance-sale-mode .service-rate-box{grid-column:1/-1;display:grid;gap:8px;margin:0;padding:12px;border:1px solid var(--tvm-line);border-radius:6px;background:var(--tvm-surface-info)}
#account-finance-dialog .insurance-sale-mode .service-rate-status{margin:0;font-size:14px;line-height:1.4;color:var(--tvm-muted)}
#account-finance-dialog .insurance-sale-mode .service-rate-box>.check-label{min-height:32px}
#account-finance-dialog .insurance-sale-mode .service-rate-manual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px;margin:0;padding:0}
#account-finance-dialog .insurance-sale-mode .service-rate-manual label{display:block}
#account-finance-dialog .insurance-sale-mode .service-rate-manual input{display:block;width:100%;margin-top:4px}
#account-finance-dialog .insurance-sale-mode .service-currency-label{display:inline;font-size:inherit;color:inherit}
#account-finance-dialog .insurance-sale-mode>.form-actions{position:static;display:flex;justify-content:flex-end;gap:8px;margin:0;padding:12px 16px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface);box-shadow:none}
#account-finance-dialog .insurance-sale-mode>.form-actions button{min-height:44px;width:auto;padding:8px 14px;font-size:14px}
@media(max-width:600px){#account-finance-dialog .insurance-sale-mode .service-rate-manual{grid-template-columns:minmax(0,1fr)}#account-finance-dialog .insurance-sale-mode>.form-actions button{flex:1}}

#account-finance-dialog .insurance-sale-mode .form-section>.booking-form>.finance-case-field{grid-column:1 / 3;grid-row:1}
#account-finance-dialog .insurance-sale-mode .form-section>.booking-form>.finance-date-field{margin-top:0;align-self:end}
#account-finance-dialog .insurance-sale-mode .form-section>.booking-form>.finance-participant-field{grid-column:1/-1;grid-row:2}
@media(max-width:800px){#account-finance-dialog .insurance-sale-mode .form-section>.booking-form>.finance-case-field{grid-column:1/-1;grid-row:1}#account-finance-dialog .insurance-sale-mode .form-section>.booking-form>.finance-participant-field{grid-row:3}}


body:has(#login:not([hidden])){min-height:100dvh;display:flex;flex-direction:column}
body:has(#login:not([hidden]))>header,body:has(#login:not([hidden])) .office-footer{display:none}
body:has(#login:not([hidden]))>main{width:100%;max-width:none;flex:1;display:flex;flex-direction:column;justify-content:center;padding:24px 16px clamp(24px,12vh,120px);margin:0}
.login{width:100%;max-width:470px;margin:0 auto;padding:32px 40px 28px}
.login-site-brand{margin-bottom:24px}
.login-site-brand img{display:block;width:190px;max-width:100%;height:auto;margin:0 auto}
.login h1{font-size:var(--tvm-text-24,24px);line-height:1.3;text-align:left;margin:0 0 6px}
.login>p{text-align:left;color:var(--tvm-muted);font-size:var(--tvm-text-14,14px);margin:0 0 20px}
.login form :is(input,button){min-height:44px}
.login-branding{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;color:var(--tvm-muted);font-size:14px;line-height:1.5}
.login-branding img{width:85px;height:18px;object-fit:contain}
@media(max-width:500px){.login{padding:28px 24px 24px}}

.country-schengen-choice{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:14px;white-space:nowrap}.country-schengen-choice input{width:18px;height:18px;margin:0}
.selected-country{flex-wrap:wrap}.country-schengen-choice{flex-basis:100%}
.schengen-rule-note{display:grid;gap:6px;padding:12px 16px;margin-bottom:16px;background:#eaf2fc;color:#173f68;border-left:3px solid #145da0;font-size:14px}


.whiteboard-card>header{height:auto;background:transparent;padding:0 0 12px;gap:16px;align-items:center;border-bottom:1px solid var(--tvm-line)}
.whiteboard-card>header h3{margin:0 0 4px;font-size:18px}.whiteboard-card>header p{margin:0;font-size:14px;color:var(--tvm-muted)}
.whiteboard-card>header button{min-height:44px;flex-shrink:0;padding:8px 14px;font-size:14px}
.whiteboard-notes{display:grid;gap:10px;margin-top:12px}.whiteboard-notes>article{padding:12px 16px;border:1px solid var(--tvm-line);border-radius:6px;background:#fff}
.whiteboard-notes>article>header{height:auto;display:flex;flex-wrap:wrap;gap:4px 16px;align-items:start;background:transparent;padding:0 0 8px;border-bottom:1px solid var(--tvm-line)}
.whiteboard-notes>article>header strong{font-size:16px}.whiteboard-notes>article>header span,.whiteboard-notes>article>header small{font-size:12px;color:var(--tvm-muted)}
.whiteboard-note-content.ql-editor{padding:10px 0 0;min-height:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.whiteboard-note-content.ql-editor p{margin:0 0 6px}.whiteboard-note-content.ql-editor p:last-child{margin-bottom:0}
.whiteboard-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff}
.whiteboard-dialog-heading{padding:20px 24px 16px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}.whiteboard-dialog-heading h2{font-size:24px;margin:0}.whiteboard-dialog-heading .eyebrow{margin-bottom:4px}
.whiteboard-dialog #whiteboard-form{padding:16px 24px 20px}.whiteboard-dialog label{font-size:14px;margin:0}.whiteboard-dialog input{min-height:44px;font-size:16px}.whiteboard-dialog .whiteboard-entry-meta{gap:14px;margin-bottom:14px}
.whiteboard-dialog .whiteboard-editor .ql-editor{min-height:180px;font-size:16px}.whiteboard-dialog .whiteboard-save-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.whiteboard-dialog .whiteboard-save-actions button{min-height:44px;font-size:14px}
@media(max-width:600px){.whiteboard-card>header{flex-wrap:wrap}.whiteboard-dialog #whiteboard-form{padding:16px}.whiteboard-dialog-heading{padding:16px}.whiteboard-dialog .whiteboard-entry-meta{grid-template-columns:1fr}}


.detail-group>summary::before{content:'';flex:0 0 22px;width:22px;height:22px;padding:0;line-height:1;align-self:center;background:linear-gradient(#fff,#fff) center/10px 2px no-repeat,linear-gradient(#fff,#fff) center/2px 10px no-repeat,var(--booking-blue);border-radius:50%}
.detail-group[open]>summary::before{content:'';background:linear-gradient(#fff,#fff) center/10px 2px no-repeat,var(--booking-blue)}


#case-status-dialog{background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);color:var(--tvm-ink)}
#case-status-dialog form{margin:0;padding:0}
#case-status-dialog .dialog-head{padding:0;margin:0 0 16px;border:0;background:transparent}
#case-status-dialog .dialog-head h2{font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-medium);line-height:var(--tvm-leading-tight);margin:0;letter-spacing:0}
#case-status-dialog .dialog-head p{font-size:var(--tvm-type-support);color:var(--tvm-muted);margin:6px 0 0;overflow-wrap:anywhere}
#case-status-dialog .form-grid{margin:0;gap:12px}
#case-status-dialog label{margin:0;font-size:var(--tvm-type-support)}
#case-status-dialog input,#case-status-dialog select{height:44px;min-height:44px;font-size:var(--tvm-type-body);padding:8px 10px}
#case-status-dialog .actions{margin:16px 0 0;padding:0;gap:8px;justify-content:flex-end}
#case-status-dialog .actions button{min-height:44px}
#case-status-dialog .error:empty{display:none}


.passport-check--compact{display:flex;align-items:center;gap:8px;padding:6px 10px;margin:6px 0}
#passport-rule-control{padding:0;margin:12px 0;border:0;background:transparent}
.passport-rule-details{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}
.passport-rule-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-medium);cursor:pointer}
.passport-rule-details>summary small{font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-regular);color:var(--tvm-action);white-space:nowrap}
.passport-rule-details--pass{background:#eff8f1;border-color:#bad9c4}.passport-rule-details--warning,.passport-rule-details--unknown{background:#fff8e8;border-color:#e4cc94}.passport-rule-details--fail{background:#fff0ed;border-color:#e8b6ae}
.passport-rule-detail-body{padding:0 12px 12px}.passport-rule-detail-body>.schengen-rule-note{margin:0 0 12px}
.passport-rule-details>summary:focus-visible{outline:3px solid var(--tvm-action);outline-offset:2px}

#case-cost-dialog{width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);background:var(--tvm-surface);color:var(--tvm-ink)}
#case-cost-dialog::backdrop{background:rgba(15,35,65,.42)}
#case-cost-dialog #finance-add{margin:0;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}
#case-cost-dialog .editor-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin:0;padding:16px 20px;border-bottom:1px solid var(--tvm-line);background:var(--tvm-surface-info)}
#case-cost-dialog .editor-heading strong{font-size:var(--tvm-type-emphasis);line-height:var(--tvm-leading-title)}
#case-cost-dialog .editor-heading span{display:block;margin-top:5px;font-size:var(--tvm-type-support);line-height:1.45}
#case-cost-dialog .form-grid{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px 14px;margin:0;padding:16px 20px;align-items:end}
#case-cost-dialog .form-grid>label,#case-cost-dialog .form-grid>.single-date-picker,#case-cost-dialog .form-grid>details,#case-cost-dialog .cost-split-preview{grid-column:1/-1;min-width:0;margin:0}
#case-cost-dialog .form-grid>.cost-amount-field{grid-column:1}#case-cost-dialog .form-grid>.cost-currency-field{grid-column:2}
#case-cost-dialog :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,.date-range-trigger){width:100%;min-height:44px;box-sizing:border-box;font-size:var(--tvm-type-body);border-radius:var(--tvm-radius-control)}
#case-cost-dialog label{font-size:var(--tvm-type-support);line-height:1.4}#case-cost-dialog .cost-amount-field input{font-size:var(--tvm-type-emphasis)}
#case-cost-dialog .editor-actions{display:flex;justify-content:flex-end;padding:12px 20px;margin:0;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
#case-cost-dialog .error{margin:0 20px 12px}#case-cost-dialog .error:empty{display:none}#case-cost-dialog .editor-actions button{min-height:44px;min-width:100px}
@media(max-width:480px){#case-cost-dialog .form-grid{grid-template-columns:minmax(0,1fr) 96px;padding:14px;gap:12px 10px}#case-cost-dialog .editor-heading,#case-cost-dialog .editor-actions{padding:14px}.passport-rule-details>summary{align-items:flex-start;flex-wrap:wrap}.service-product-label{column-gap:8px}}


.passport-check--unknown{border-color:#b77908;background:#fff8e8}

#case-cost-dialog #finance-add{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
#case-cost-dialog .editor-heading,#case-cost-dialog .editor-actions{flex-shrink:0}
#case-cost-dialog .form-grid{overflow-y:auto;min-height:0;overscroll-behavior:contain}


.case-sponsor-summary .customer-requirement-rows article>div>span{display:block;color:var(--tvm-muted);font-size:14px;margin-top:3px}
#sponsor-dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card)}
#sponsor-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 30px)}
#sponsor-dialog .dialog-head{padding:18px 20px;margin:0;border-bottom:1px solid var(--tvm-line);flex-shrink:0}
#sponsor-dialog .dialog-head h2{font-size:24px;margin:0}
#sponsor-dialog .dialog-head p{font-size:14px;margin:5px 0 0;color:var(--tvm-muted)}
#sponsor-dialog .sponsor-form-body{padding:18px 20px;overflow-y:auto;min-height:0}
#sponsor-dialog label{display:block;font-size:14px;margin:0}
#sponsor-dialog :is(input,select,textarea){width:100%;min-width:0;font-size:15px;min-height:44px;margin:6px 0 0}
#sponsor-dialog .sponsor-present-fields{margin-top:16px;gap:14px 16px}
#sponsor-dialog .sponsor-note{margin-top:16px}
#sponsor-dialog .section-help{font-size:14px;line-height:1.5;margin:14px 0 0}
#sponsor-dialog .form-actions{padding:12px 20px;margin:0;border-top:1px solid var(--tvm-line);flex-shrink:0}
#sponsor-dialog .error:empty{display:none}
@media(max-width:480px){#sponsor-dialog .dialog-head,#sponsor-dialog .sponsor-form-body,#sponsor-dialog .form-actions{padding:14px}#sponsor-dialog .form-grid{grid-template-columns:minmax(0,1fr)}}

#sponsor-dialog .sponsor-preparation-groups{margin-top:14px;padding:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-action-soft);font-size:14px;line-height:1.5}
#sponsor-dialog .sponsor-preparation-groups ul{margin:7px 0 0;padding-left:20px}
.case-sponsor-summary .sponsor-preparation-summary{font-size:14px;margin:7px 0 0;line-height:1.5;max-width:720px}



body.customer-portal{background:var(--tvm-site-tint,#f2f6f6)}
.customer-live-shell{--portal-ink:var(--tvm-site-ink,#102b39);--portal-muted:var(--tvm-site-muted,#52656c);--portal-brand:var(--tvm-site-teal,#006c70);--portal-line:var(--tvm-site-line,#d8e1e3);max-width:960px;margin:24px auto;padding:24px;color:var(--portal-ink);font-family:var(--tvm-font-ui)}
.customer-live-shell>header{display:flex;align-items:center;gap:32px;justify-content:space-between;height:auto;min-height:0;padding:0 0 24px;border-bottom:1px solid var(--portal-line)}
.customer-live-shell>header img{width:200px;max-width:100%;height:auto}.customer-live-shell h1{font-size:var(--tvm-type-page);margin:0 0 8px;color:var(--portal-ink)}
.customer-live-shell :is(h2,h3){color:var(--portal-ink)}.customer-live-shell h2{font-size:24px;margin:0 0 16px}.customer-live-shell h3{font-size:18px;margin:0}
.customer-live-shell p{line-height:1.5;margin:8px 0;color:var(--portal-muted)}
.customer-live-shell>section:not(#customer-dashboard),.customer-live-card{background:#fff;border:1px solid var(--portal-line);border-radius:12px;padding:24px;margin:20px 0;box-shadow:none}
.customer-live-shell :is(#customer-login,#customer-link){max-width:560px;margin:32px auto}
.customer-live-shell label{display:grid;gap:8px;font-weight:600;font-size:14px}.customer-live-shell input{max-width:100%;min-width:0;box-sizing:border-box;min-height:44px;border:1px solid var(--portal-line);border-radius:7px;background:#fff;color:var(--portal-ink)}
.customer-live-shell form{display:grid;gap:16px;margin-top:20px}
.customer-live-shell button{background:var(--portal-brand);border:1px solid var(--portal-brand);border-radius:7px;color:#fff;min-height:44px;padding:10px 18px;font-size:16px;line-height:1.5;box-shadow:none;width:fit-content}
.customer-live-shell button:hover{background:var(--tvm-site-teal-hover,#005b5f);border-color:var(--tvm-site-teal-hover,#005b5f)}
.customer-live-shell button.secondary{background:#fff;color:var(--portal-brand);border-color:var(--portal-line)}.customer-live-shell button.secondary:hover{background:#f2f6f6;border-color:var(--portal-brand)}
.customer-live-shell :is(a,button,input,summary):focus-visible{outline:3px solid var(--tvm-accent);outline-offset:3px}.customer-live-shell button:disabled{opacity:.6;cursor:wait}
.customer-live-shell a{color:var(--portal-brand);text-decoration:underline;overflow-wrap:anywhere}
.customer-live-shell #customer-dashboard{border:0;background:transparent;padding:0;margin:20px 0}
.customer-portal-toolbar{display:flex;justify-content:flex-end}
.customer-case-summary{border-left:4px solid var(--portal-brand)}
.customer-document-row{border-top:1px solid var(--portal-line);padding:20px 0}.customer-document-row:last-child{padding-bottom:0}
.customer-document-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.customer-document-state{display:inline-block;border-radius:6px;background:#f2f6f6;padding:5px 10px;font-size:14px;line-height:1.5;font-weight:600;color:var(--portal-ink)}
.customer-document-state[data-status=correction],.customer-document-state[data-status=expired]{background:var(--tvm-danger-soft);color:var(--tvm-danger)}.customer-document-state[data-status=checked]{background:var(--tvm-success-soft);color:var(--tvm-success)}
.customer-document-row .customer-review-note{border-left:3px solid var(--tvm-danger);padding:8px 12px;color:var(--tvm-danger);background:var(--tvm-danger-soft)}
.customer-upload-list{margin:12px 0;padding:12px 16px;background:#f7f9f9;border-radius:7px}.customer-upload-list a{font-weight:600}.customer-upload-list p{font-size:14px}
.customer-live-shell details{border:0;box-shadow:none;background:transparent;padding:0}.customer-live-shell summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;color:var(--portal-brand)}
.customer-live-shell .customer-upload-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.customer-live-shell input[type=file]{width:100%;font-size:14px;padding:10px}
.customer-live-shell .customer-inline-error{grid-column:1/-1;color:var(--tvm-danger);font-size:14px;margin:0}.customer-inline-error:empty{display:none}.customer-live-shell .customer-upload-result{color:var(--tvm-success);font-size:14px}.customer-upload-result:empty{display:none}.customer-document-heading h3:focus{outline:3px solid var(--tvm-accent);outline-offset:4px}
.customer-live-shell footer{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--portal-line);padding-top:24px}.customer-live-shell footer img{width:120px;height:auto}.customer-live-shell footer p{font-size:14px}
.customer-live-shell [hidden]{display:none!important}.customer-live-shell #customer-message:not(:empty){padding:14px 16px;background:var(--tvm-surface-info);border-radius:7px;color:var(--portal-ink)}
.customer-live-shell #customer-message:empty{display:none}
@media(max-width:700px){.customer-live-shell{padding:16px;margin:0}.customer-live-shell>header{align-items:flex-start;flex-direction:column;gap:24px}.customer-live-shell>header img{width:180px}.customer-live-shell>section:not(#customer-dashboard),.customer-live-card{padding:18px}.customer-live-shell .customer-upload-form{grid-template-columns:minmax(0,1fr)}.customer-document-heading{flex-wrap:wrap}.customer-live-shell button{max-width:100%}.customer-live-shell footer{align-items:flex-start;flex-wrap:wrap}}



.catalog-icon{width:30px;height:30px;vertical-align:middle;margin-right:8px;flex-shrink:0}
.catalog-drag{touch-action:none;cursor:grab;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--ink,#164b72);font-size:24px}
#catalog-print{display:none}
@media print{
 @page{size:A4;margin:12mm}
 body:has(#catalog-print)>*:not(#catalog-print){display:none!important}
 #catalog-print{display:block!important;box-sizing:border-box;width:90%;margin-inline:5%;color:#16344a;font-family:Arial,sans-serif}
 #catalog-print h1{font-size:24pt;margin:0 0 5mm}#catalog-print h2{font-size:18pt}
 #catalog-print table{width:100%;border-collapse:collapse;font-size:12pt}
 #catalog-print td{padding:4mm 2mm;border-bottom:1px solid #cdd6dd}#catalog-print td:last-child{text-align:right;white-space:nowrap}
 #catalog-print td strong{font-size:18pt;line-height:1.2}
 #catalog-print tr{break-inside:avoid}#catalog-print small{display:block;font-size:10pt;margin-top:2mm}
}


#case-summary-panel .fingerprint-requirement-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 16px;padding:10px 14px;background:#fff8e5;border:1px solid #ead79b;border-radius:var(--tvm-radius-control);box-shadow:none}
#case-summary-panel .fingerprint-requirement-card>header{margin:0;padding:0;border:0;align-self:center}
#case-summary-panel .fingerprint-requirement-card>header h3{margin:0;font-size:14px;line-height:1.4;color:#725719}
#case-summary-panel .fingerprint-requirement-card .customer-requirement-rows{min-width:0}
#case-summary-panel .fingerprint-requirement-card .customer-requirement-rows article{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;border:0}
#case-summary-panel .fingerprint-requirement-card .customer-requirement-rows article+article{margin-top:8px}
#case-summary-panel .fingerprint-requirement-card article>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0}
#case-summary-panel .fingerprint-requirement-card article p{flex-basis:100%;margin:0;font-size:13px}
#case-summary-panel .fingerprint-requirement-card button{flex:none;min-height:44px;padding:6px 12px}
#case-summary-panel .fingerprint-requirement-card>.muted{grid-column:1/-1;margin:0;font-size:12px;line-height:1.4;color:#725719}
@media(max-width:600px){#case-summary-panel .fingerprint-requirement-card{grid-template-columns:minmax(0,1fr);gap:6px}#case-summary-panel .fingerprint-requirement-card article strong{font-size:13px}#case-summary-panel .fingerprint-requirement-card .fingerprint-decision{font-size:12px}}


#participants-section .participant-insurance{padding:10px 14px;margin-top:12px;border:1px solid #ead79b;border-radius:var(--tvm-radius-control);background:#fff8e5;box-shadow:none}
#participants-section .participant-insurance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0}
#participants-section .participant-insurance-heading h4{margin:0;font-size:14px;color:#725719}
#participants-section .participant-insurance-list{margin:0;padding:0}
#participants-section .participant-insurance-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;margin:0;background:transparent;border:0}
#participants-section .participant-insurance-list article>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-width:0}
#participants-section .participant-insurance-list p{margin:2px 0;font-size:13px;background:transparent;border:0;padding:0}
#participants-section .participant-insurance .case-inline-edit{min-height:44px}
@media(max-width:600px){#participants-section .participant-insurance-list article{align-items:flex-start;flex-wrap:wrap}}


.identity-update-dialog .identity-edit-grid{align-items:start}
.identity-update-dialog .identity-edit-grid>label{align-content:start;align-self:start}
.identity-update-dialog .identity-edit-grid .single-date-picker{width:100%;max-width:none;min-width:0;margin:0}
.identity-update-dialog .identity-edit-grid .date-range-control{height:44px;min-height:44px;padding:6px 10px}
.identity-update-dialog .identity-edit-grid .date-range-control strong{font-size:15px}
#participants-section .participant-facts strong{color:var(--tvm-action,#0966ba);font-size:16px;font-weight:700;line-height:1.5}
#participants-section .fingerprint-requirement-card{margin:8px 0 0}
#case-summary-panel .fingerprint-requirement-card>header{height:auto;min-height:0;background:transparent}
#case-summary-panel .fingerprint-requirement-card article p,#case-summary-panel .fingerprint-requirement-card>.muted,#case-summary-panel .fingerprint-requirement-card .fingerprint-decision,#participants-section .participant-insurance-list p{font-size:14px}
#participants-section .participant-insurance-list{background:transparent;border:0;box-shadow:none}
#participants-section .participant-facts>span>strong{color:var(--tvm-action,#0966ba);font-size:16px!important;font-weight:700}


@media(min-width:701px){
 #participants-section .participant-insurance{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:5px 12px}
 #participants-section .participant-insurance-heading{display:contents}
 #participants-section .participant-insurance-heading h4{grid-column:1;grid-row:1}
 #participants-section .participant-insurance-heading>button{grid-column:3;grid-row:1}
 #participants-section .participant-insurance-list{grid-column:2;grid-row:1}
 #participants-section .participant-insurance-list article{padding:0;gap:8px}
 #participants-section .participant-insurance-list article>div:first-child{gap:2px 8px}
 #participants-section .participant-insurance .case-inline-edit{min-height:32px;padding:3px 6px}
 #case-summary-panel .fingerprint-requirement-card{padding:4px 12px;gap:0 12px}
 #case-summary-panel .fingerprint-requirement-card button{min-height:32px;padding:3px 10px}
 #case-summary-panel .fingerprint-requirement-card article>div>strong{display:none}
 #case-summary-panel .fingerprint-requirement-card article p{flex-basis:auto}
}
@media(max-width:700px){
 #participants-section .participant-insurance{padding:6px 10px}
 #participants-section .participant-insurance-list article{padding:0;gap:4px}
 #case-summary-panel .fingerprint-requirement-card{padding:6px 10px;gap:2px}
 #case-summary-panel .fingerprint-requirement-card article>div>strong{display:none}
}
#participants-section .insurance-source-label{display:inline-block;padding:2px 6px;background:#e5edf6;color:#194f79;border-radius:var(--tvm-radius-control);font-size:14px;font-weight:700;line-height:1.4}
.insurance-profile-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;box-sizing:border-box;overflow:auto;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.insurance-profile-dialog form{padding:20px;min-width:0;box-sizing:border-box}
.insurance-profile-dialog .dialog-head{margin:-20px -20px 16px;padding:16px 20px}
.insurance-profile-dialog h2{margin:0;font-size:24px}.insurance-profile-dialog p{font-size:14px;line-height:1.5}
.insurance-profile-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.insurance-profile-dialog label{min-width:0;font-size:14px}
.insurance-profile-dialog input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;min-height:44px;font-size:16px}
.insurance-profile-dialog .check-label{display:flex;align-items:center;gap:8px}
.insurance-profile-dialog .actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.insurance-profile-dialog form{padding:14px}.insurance-profile-dialog .dialog-head{margin:-14px -14px 14px;padding:14px}.insurance-profile-dialog .form-grid{grid-template-columns:minmax(0,1fr)}}


.insurance-source-dialog{width:min(420px,calc(100vw - 28px));padding:20px;box-sizing:border-box;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
.insurance-source-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:0;background:transparent}
.insurance-source-dialog h2{font-size:20px;margin:0}
.insurance-source-dialog [aria-label="Kapat"]{min-width:40px;min-height:40px;font-size:26px;padding:0}
.insurance-source-options{display:grid;gap:10px}
.insurance-source-options button{width:100%;min-height:48px;text-align:left;font:inherit;border-radius:var(--tvm-radius-control)}

.insurance-source-dialog{aspect-ratio:1;max-height:calc(100dvh - 28px);overflow:auto}
.insurance-source-dialog .insurance-source-options{margin-top:24px;gap:14px}
.insurance-source-dialog .insurance-source-options button{min-height:76px}
@media(max-height:440px){.insurance-source-dialog{aspect-ratio:auto}}


#case-summary-panel .fingerprint-requirement-card>header h3{font-family:inherit;font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-bold,700);color:#111827;line-height:1.4}
#case-summary-panel .fingerprint-requirement-card .fingerprint-decision[data-decision="required"]{display:inline-block;background:#b42318;color:#fff;padding:4px 8px;border-radius:var(--tvm-radius-control);font-weight:700;line-height:1.4}

.identity-update-dialog .passport-dates-stack{display:grid;gap:8px;min-width:0;align-self:start}
.identity-update-dialog .passport-dates-stack label{display:grid;gap:4px;min-width:0}
.identity-update-dialog .passport-dates-stack .date-range-control{height:36px;min-height:36px;padding:4px 10px}
@media(pointer:coarse){.identity-update-dialog .passport-dates-stack .date-range-control{height:44px;min-height:44px}}

.identity-update-dialog>.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.identity-update-dialog .identity-invitation-status{flex:0 0 15ch;width:15ch;min-width:0;display:grid;gap:6px;margin-top:27px;font-size:14px}
.identity-update-dialog .identity-invitation-status select{width:100%;min-width:0;min-height:36px;padding:6px 8px;font-size:14px;box-sizing:border-box}
.identity-update-dialog .passport-dates-stack{grid-column:2}
@media(max-width:600px){.identity-update-dialog>.dialog-head{flex-wrap:wrap}.identity-update-dialog .identity-invitation-status{margin-top:0;margin-left:auto}.identity-update-dialog .passport-dates-stack{grid-column:1 / -1}}

.identity-update-dialog .identity-edit-grid>.iban-edit-field{grid-column:1;align-self:start}
.identity-update-dialog .passport-dates-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.identity-update-dialog .passport-dates-stack label{font-size:13px;line-height:1.4}
.identity-update-dialog .passport-dates-stack .date-range-control{padding:4px 6px}
.identity-update-dialog .passport-dates-stack .date-range-control strong{font-size:13px}
@media(max-width:760px){.identity-update-dialog .passport-dates-stack{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.identity-update-dialog .identity-edit-grid>.iban-edit-field{grid-column:1 / -1}.identity-update-dialog .passport-dates-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.identity-update-dialog .passport-dates-stack{grid-template-columns:minmax(0,1fr)}}


#whiteboard-section .whiteboard-notes{display:block}
#whiteboard-section .whiteboard-notes>article{margin:0;padding:16px 0;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0;box-shadow:none;background:transparent}
#whiteboard-section .whiteboard-notes>article:last-child{border-bottom:0}
#whiteboard-section .whiteboard-notes>article>header{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding:0;margin:0 0 6px;border:0;background:transparent}
#whiteboard-section .whiteboard-notes>article>header>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}
#whiteboard-section .whiteboard-note-content{padding:0;min-height:0;border:0;font-size:15px;line-height:1.6}
#whiteboard-section .whiteboard-notes .editor-actions{margin:6px 0 0;padding:0;border:0;justify-content:flex-end;gap:8px}
#whiteboard-section .whiteboard-notes .editor-actions button{min-height:32px;padding:3px 8px;background:transparent;font-size:13px}
.case-new-passport-action[hidden]{display:none!important}

.case-heading-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex-shrink:0}
.case-heading-actions .case-new-passport-action{width:100%;justify-content:center}


.case-identity .case-appointment-summary{min-width:0;max-width:100%;padding:8px 12px;background:#fff1f0;border:1px solid #f2b8b5;border-radius:var(--tvm-radius-control,6px)}
.case-identity .case-appointment-summary strong{color:#a51d26;white-space:normal;overflow-wrap:anywhere}
.fingerprint-center,.fingerprint-appointment{display:block;overflow-wrap:anywhere}



.case-identity>.case-appointment-summary{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;margin:10px 12px}
.case-identity>.case-appointment-summary>small,.case-identity>.case-appointment-summary>strong{grid-column:1}
.case-identity>.case-appointment-summary>#edit-route{grid-column:2;grid-row:1/3;margin:0;min-height:36px;padding:5px 8px;color:#a51d26}
#participants-section{background:#edf5fd;border:1px solid #b9cfe5;border-radius:var(--tvm-radius-card,8px);padding:0 10px 10px}
#participants-section>.section-title{margin:0 -10px;padding:12px;border-radius:0;border-bottom:1px solid #b9cfe5}
#participants-section .participant-card{margin-top:10px;background:#fff}
.participant-sponsor-details{margin:10px 0;border-top:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line)}
.participant-sponsor-details>summary{display:flex;align-items:center;gap:12px;padding:9px 0;cursor:pointer;list-style:none;font-size:14px}
.participant-sponsor-details>summary:after{content:'⌄';margin-left:auto;color:var(--tvm-muted)}
.participant-sponsor-details[open]>summary:after{content:'⌃'}
.participant-sponsor-details>summary>span{color:var(--tvm-muted);min-width:0;overflow-wrap:anywhere}
.participant-sponsor-body{padding:0 0 10px;font-size:14px}
.participant-sponsor-body p{margin:0 0 8px}
@media(max-width:700px){.case-identity>.case-appointment-summary{grid-template-columns:minmax(0,1fr)}.case-identity>.case-appointment-summary>#edit-route{grid-column:1;grid-row:auto;justify-self:start}.participant-sponsor-details>summary{flex-wrap:wrap}}

#case-summary-panel>.case-identity{grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr)) auto}
.case-banner-tools{grid-column:5;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px}
.case-banner-tools .case-inline-edit{min-height:36px;margin:0;padding:5px 8px;white-space:nowrap}
@media(max-width:1000px){#case-summary-panel>.case-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.case-banner-tools{grid-column:1/-1;grid-row:auto;flex-direction:row;justify-content:flex-end}}
@media(max-width:640px){#case-summary-panel>.case-identity{grid-template-columns:minmax(0,1fr)}.case-banner-tools{flex-wrap:wrap}.case-banner-tools .case-inline-edit{min-height:44px}}


.case-top-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.case-top-navigation .back-button{margin:0}
.case-assignee-summary{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.case-assignee-summary>span{display:flex;flex-direction:column;gap:2px}
.case-assignee-summary small{font-size:12px;color:var(--tvm-text-muted,#63748a)}
.case-assignee-summary strong{font-size:15px;color:var(--tvm-text,#172b45)}
.case-assignee-summary .case-inline-edit{min-height:44px}
.case-assignee-dialog{max-width:420px;width:calc(100% - 32px)}
.case-participants-heading-actions{display:flex;align-items:center;gap:12px}
.case-participants-heading-actions .case-new-passport-action{min-height:44px;white-space:nowrap}
#case-summary-panel>.case-identity{grid-template-columns:minmax(0,1.1fr) minmax(70px,.6fr) minmax(0,.9fr) minmax(0,1.6fr) auto}
@media(max-width:1000px){#case-summary-panel>.case-identity{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.case-top-navigation{align-items:flex-start;flex-wrap:wrap}.case-assignee-summary{margin-left:auto}.case-participants-heading{flex-wrap:wrap;gap:8px}.case-participants-heading-actions{margin-left:auto;flex-wrap:wrap}#case-summary-panel>.case-identity{grid-template-columns:minmax(0,1fr)}}
#participants-section>.case-participants-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#case-summary-panel>.case-identity>.case-travel-summary{grid-column:4;grid-row:1;display:flex;align-items:center;border-top:0;border-left:1px solid var(--tvm-line);min-height:72px}
@media(max-width:1000px){#case-summary-panel>.case-identity>.case-travel-summary{grid-column:2;grid-row:2}}
@media(max-width:640px){#case-summary-panel>.case-identity>.case-travel-summary{grid-column:1;grid-row:auto;border-left:0;border-top:1px solid var(--tvm-line)}}


#participant-add{max-width:none}
#participant-add fieldset{margin:0;padding:12px 0;border:0;border-top:1px solid var(--tvm-line)}
#participant-add legend{padding:0 0 8px;font-weight:700}
#participant-add :is(.passport-person-grid,.passport-contact-grid,.passport-address-grid,.passport-identity-grid,.passport-date-grid,.passport-application-grid,.passport-funding-grid,.passport-external-grid){display:grid;gap:10px 14px;margin-bottom:10px;align-items:start}
#participant-add .passport-person-grid{grid-template-columns:1fr 1fr .8fr 1fr}
#participant-add .passport-contact-grid{grid-template-columns:.8fr 1fr 1.4fr}
#participant-add .passport-identity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#participant-add :is(.passport-address-grid,.passport-date-grid,.passport-application-grid,.passport-funding-grid,.passport-external-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
#participant-add label{min-width:0;gap:5px}
#participant-add :is(input:not([type=checkbox]),select,.single-date-button){min-height:40px;padding:8px 10px;width:100%;font-size:14px}
#participant-add textarea{min-height:64px;resize:vertical}
#participant-add .passport-same-address{display:flex;flex-direction:row;align-items:center;gap:8px;margin:8px 0;min-height:44px}
#participant-add .passport-same-address input{width:18px;height:18px}
#participant-add .passport-address-summary{margin:0 0 10px;padding:8px 10px;background:var(--tvm-surface-info);border-radius:var(--tvm-radius-control)}
#participant-add .sponsor-fields>label+label{margin-top:10px}
#participant-add .sponsor-fields{padding:0;border:0;background:transparent}
#participant-add .passport-form-intro{margin:0 0 10px}
#participant-add .case-passport-actions{padding-top:10px}
@media(max-width:900px){#participant-add .passport-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#participant-add :is(.passport-person-grid,.passport-contact-grid,.passport-address-grid,.passport-identity-grid,.passport-date-grid,.passport-application-grid,.passport-funding-grid,.passport-external-grid){grid-template-columns:minmax(0,1fr)}#participant-add :is(input:not([type=checkbox]),select,.single-date-button){min-height:44px}}

#participant-add .passport-invalid-field :is(input,select,textarea,.date-range-trigger){border:2px solid #bc2731;background:#fff4f4}
#participant-add .passport-field-error{display:block;color:#a71925;font-size:13px;line-height:1.4;font-weight:600}
#participant-add .passport-add-error:not(:empty){padding:10px 12px;background:#fff0f0;border:1px solid #c3343e;border-radius:var(--tvm-radius-control);color:#9d1c24}


.release-history{max-width:960px;margin:0 auto;padding:32px 24px 48px}.release-back{display:inline-block;margin-bottom:22px}.release-history h1{margin-bottom:12px}.release-intro,.release-history-note{color:var(--color-text-secondary,#526b82);line-height:1.6}.release-entry{padding:28px 0;border-bottom:1px solid #d5e2ed}.release-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:#526b82;font-size:.9rem}.release-meta span{font-weight:700;color:#165b94}.release-entry h2{margin:12px 0 18px;font-size:1.4rem}.release-entry :is(ul,ol){padding-left:24px;margin:0}.release-entry li{margin:0 0 14px;line-height:1.7;color:#253f53}.release-entry li strong{color:#163f60}.release-history-note{margin-top:28px}.office-footer a.office-version{text-decoration:underline;text-underline-offset:3px}.office-version:focus-visible,.release-back:focus-visible{outline:3px solid #1266ae;outline-offset:4px}@media(max-width:600px){.release-history{padding:24px 16px 36px}.release-entry{padding:22px 0}.release-entry h2{font-size:1.2rem}.release-entry li{line-height:1.65}.office-footer a.office-version{padding:10px 0}}


.sponsor-picker-dialog,#sponsor-dialog{width:min(600px,calc(100vw - 28px));padding:0;border:1px solid var(--tvm-line);border-radius:12px;box-shadow:0 18px 55px #163b5926}
.sponsor-picker-dialog::backdrop,#sponsor-dialog::backdrop{background:#163b5966}
.sponsor-picker-dialog form{margin:0;padding:0}
.sponsor-picker-dialog .dialog-head,#sponsor-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;background:var(--tvm-action-soft);border-bottom:1px solid var(--tvm-line)}
.sponsor-picker-dialog .dialog-head h2,#sponsor-dialog .dialog-head h2{margin:0;font-size:21px;color:var(--tvm-navy)}
.sponsor-picker-dialog .dialog-head p,#sponsor-dialog .dialog-head p{margin:5px 0 0;font-size:14px;color:var(--tvm-muted)}
.sponsor-picker-dialog .dialog-head .plain,#sponsor-dialog .dialog-head .plain{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:25px;border:1px solid var(--tvm-line);border-radius:6px;background:#fff;color:var(--tvm-navy)}
.sponsor-picker-dialog .sponsor-picker-body{padding:20px}
.sponsor-picker-dialog label{display:block;font-size:14px;font-weight:700}
.sponsor-picker-dialog select,#sponsor-dialog :is(input,select,textarea){box-sizing:border-box;border:1px solid var(--tvm-line-strong);border-radius:6px;background:#fff;color:var(--tvm-navy);padding:8px 10px;width:100%;min-height:44px}
.sponsor-picker-dialog select{margin-top:6px}
.sponsor-picker-dialog .form-actions{margin:0;padding:12px 20px;border-top:1px solid var(--tvm-line);display:flex;justify-content:flex-end}
#sponsor-dialog .sponsor-form-body{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;padding:16px 20px}
#sponsor-dialog .sponsor-form-body>div,#sponsor-dialog .sponsor-note,#sponsor-dialog .section-help,#sponsor-dialog .error{grid-column:1 / -1}
#sponsor-dialog .sponsor-present-fields,#sponsor-dialog .sponsor-note,#sponsor-dialog .sponsor-preparation-groups{margin-top:0}
#sponsor-dialog .section-help{margin:0;font-size:13px}
@media(max-width:560px){#sponsor-dialog .sponsor-form-body,#sponsor-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.sponsor-picker-dialog .dialog-head,#sponsor-dialog .dialog-head{padding:14px}}


.case-identity>.case-appointment-summary{grid-template-columns:auto minmax(0,1fr) auto;padding:6px 10px;gap:4px 12px;margin:6px 12px}
.case-identity>.case-appointment-summary>small{grid-column:1;grid-row:1;font-size:14px;font-weight:700}
.case-identity>.case-appointment-summary>strong{grid-column:2;grid-row:1;font-size:15px}
.case-identity>.case-appointment-summary>.appointment-center-summary{grid-column:2;grid-row:2;font-size:13px;color:var(--tvm-muted)}
.case-identity>.case-appointment-summary>#edit-route{grid-column:3;grid-row:1/3;min-height:44px}
:is(#case-route-dialog,.identity-update-dialog) .date-range-trigger{min-height:44px;height:auto;padding:8px 10px;border:1px solid var(--tvm-line-strong);border-radius:6px;gap:8px}
:is(#case-route-dialog,.identity-update-dialog) .date-range-trigger .calendar-icon{font-size:20px;line-height:1;color:var(--tvm-action)}
:is(#case-route-dialog,.identity-update-dialog) .date-range-trigger strong{font-size:15px;line-height:1.3}
:is(#case-route-dialog,.identity-update-dialog) .date-range-trigger small{display:none}
#case-route-dialog{padding:0;width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 28px);border-radius:12px;border:1px solid var(--tvm-line)}
#case-route-dialog #route-form{margin:0;padding:0;max-width:none;max-height:calc(100dvh - 30px);display:flex;flex-direction:column}
#case-route-dialog #route-form[hidden]{display:none}
#case-route-dialog .editor-heading{padding:16px 20px;background:var(--tvm-action-soft);border-bottom:1px solid var(--tvm-line);margin:0}
#case-route-dialog #route-form>.form-grid{overflow-y:auto;padding:16px 20px;gap:12px 16px;min-height:0}
#case-route-dialog .appointment-tracking-editor{padding:0;border:0;background:transparent;margin:0}
#case-route-dialog .appointment-auto-values{display:none}
#case-route-dialog .appointment-tracking-editor>.form-grid{gap:12px 16px}
#case-route-dialog .appointment-status-help{font-size:13px;margin:8px 0 0}
#case-route-dialog :is(input,select){box-sizing:border-box;min-height:44px;border:1px solid var(--tvm-line-strong);border-radius:6px;padding:8px 10px}
#case-route-dialog .editor-actions{padding:12px 20px;border-top:1px solid var(--tvm-line);margin:0}
#case-route-dialog details{border-top:1px solid var(--tvm-line);padding:8px 0}
#case-route-dialog details summary{font-size:14px;font-weight:700;color:var(--tvm-action);cursor:pointer;min-height:32px}
#case-route-dialog details[open] summary{margin-bottom:8px}
@media(max-width:700px){.case-identity>.case-appointment-summary{grid-template-columns:minmax(0,1fr) auto}.case-identity>.case-appointment-summary>small{grid-column:1;grid-row:1}.case-identity>.case-appointment-summary>strong{grid-column:1;grid-row:2}.case-identity>.case-appointment-summary>.appointment-center-summary{grid-column:1;grid-row:3}.case-identity>.case-appointment-summary>#edit-route{grid-column:2;grid-row:1/4;font-size:13px;max-width:130px}}
@media(max-width:480px){#case-route-dialog .form-grid{grid-template-columns:minmax(0,1fr)}#case-route-dialog .editor-heading,#case-route-dialog #route-form>.form-grid{padding:14px}}
#case-route-dialog #route-form label{margin:0;min-width:0}
#case-route-dialog #route-form .date-range-label{margin:0 0 5px}
#case-route-dialog #route-form details{margin:0;padding:6px 0}
#case-route-dialog .date-range-popover{padding:12px;border-radius:8px;border:1px solid var(--tvm-line);box-shadow:0 12px 32px #163b5926}
#case-route-dialog .calendar-months{gap:12px}
#case-route-dialog .calendar-head{margin-bottom:8px}
#case-route-dialog .calendar-nav{width:44px;height:44px;border-radius:6px;font-size:22px}
#case-route-dialog .month-grid button{height:40px;border-radius:6px;font-size:14px}
#case-route-dialog .calendar-help{font-size:12px;line-height:1.4}
@media(max-width:600px){#case-route-dialog .month-grid button{height:44px}}

.case-identity>.case-appointment-summary>small{font-size:16px;font-weight:800;line-height:1.3;text-transform:uppercase;letter-spacing:.025em;color:#171d24}

.case-identity>.case-appointment-summary>#edit-route{grid-row:1}
@media(max-width:700px){.case-identity>.case-appointment-summary>#edit-route{grid-row:1/3}}

.case-identity>.case-appointment-summary{padding:3px 10px;margin:4px 12px;gap:3px 10px}
.case-identity>.case-appointment-summary>#edit-route{color:var(--tvm-action);padding:4px 6px}

.case-identity .case-banner-tools{display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-right:10px}
.case-identity .case-banner-tools>.case-inline-edit{margin:0;padding:4px 6px;min-height:36px;justify-content:flex-end}
.case-identity>.case-appointment-summary>#edit-route{justify-self:end;justify-content:flex-end}
@media(max-width:600px){.case-identity .case-banner-tools>.case-inline-edit{min-height:44px}}


.ui-update-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;font-size:14px;line-height:1.3}
.ui-update-action .ui-edit-pencil{width:16px;height:16px;flex-shrink:0}
.participant-header-edit.ui-update-action{min-width:168px}
.case-inline-edit.ui-update-action{justify-content:flex-end}
.case-new-passport-action span,.case-new-passport-action .ui-add-icon{color:var(--tvm-danger,#bc2731)!important}

.sponsor-picker-dialog,#sponsor-dialog{width:min(450px,calc(100vw - 28px))}


#case-assignee-dialog.sponsor-picker-dialog{max-width:450px;max-height:calc(100dvh - 28px)}
#case-assignee-dialog .error:empty{display:none}
#edit-case-assignee.case-inline-edit{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--tvm-action);padding:8px 10px;min-width:0}
.case-top-navigation .case-assignee-summary{margin-right:30px;gap:10px}
#case-profile-dialog{padding:0;width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 28px);border:1px solid var(--tvm-line);border-radius:12px}
#case-profile-dialog form{margin:0;padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 30px)}
#case-profile-dialog .dialog-head{padding:16px 20px;margin:0;display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--tvm-action-soft);border-bottom:1px solid var(--tvm-line)}
#case-profile-dialog .dialog-head h2{font-size:21px;margin:0;color:var(--tvm-navy)}
#case-profile-dialog .dialog-head p{font-size:14px;color:var(--tvm-muted);margin:5px 0 0}
#case-profile-dialog .dialog-head .eyebrow{display:none}
#case-profile-dialog .dialog-head .plain{width:44px;min-width:44px;height:44px;padding:0;font-size:25px;border:1px solid var(--tvm-line);border-radius:6px;background:#fff;color:var(--tvm-navy)}
#case-profile-dialog .form-section{padding:16px 20px;margin:0;overflow-y:auto;min-height:0}
#case-profile-dialog label{margin:0;min-width:0}
#case-profile-dialog :is(select,input:not([type=radio])){box-sizing:border-box;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--tvm-line-strong);border-radius:6px}
#case-profile-dialog .actions{margin:0;padding:12px 20px;border-top:1px solid var(--tvm-line)}
@media(max-width:600px){.case-top-navigation .case-assignee-summary{margin-right:0}}

.case-file-tabs [data-case-view=summary]{--case-tab-ink:var(--tvm-action);--case-tab-bg:var(--tvm-action-soft)}
.case-file-tabs [data-case-view=operation]{--case-tab-ink:var(--tvm-warning);--case-tab-bg:var(--tvm-accent-soft)}
.case-file-tabs [data-case-view=documents]{--case-tab-ink:var(--tvm-success);--case-tab-bg:var(--tvm-success-soft)}
.case-file-tabs [data-case-view=whiteboard]{--case-tab-ink:var(--tvm-navy);--case-tab-bg:var(--tvm-table-head)}
.case-file-tabs [data-case-view]{color:var(--case-tab-ink);background:var(--case-tab-bg);border-bottom:3px solid transparent;min-height:44px}
.case-file-tabs [data-case-view].active{color:var(--case-tab-ink);background:var(--case-tab-bg);border-bottom-color:var(--case-tab-ink)}
.case-file-tabs [data-case-view]:hover{color:var(--case-tab-ink);background:var(--case-tab-bg);filter:brightness(.97)}
.case-new-passport-action::before{color:var(--tvm-danger)!important}
.participant-header-edit.ui-update-action{white-space:nowrap;width:auto}


.case-identity>.case-appointment-summary{padding:7px 8px;margin:4px 8px;gap:4px 10px}
.case-identity>.case-appointment-summary>small{font-size:18px;color:#171d24}
.case-appointment-summary .appointment-center-inline{color:#171d24;font-weight:600}
.case-assignee-summary small{color:var(--tvm-navy);font-weight:700}
.case-assignee-summary strong{color:var(--tvm-navy);font-weight:800}
#case-assignee-dialog.sponsor-picker-dialog{width:min(315px,calc(100vw - 28px));max-width:315px}
#case-assignee-dialog .form-actions{align-items:flex-end}
.case-identity .case-banner-tools{gap:0;padding-right:8px;padding-left:8px}
.case-identity .case-banner-tools>.case-inline-edit{min-height:32px;padding:3px 6px}
.case-identity>.case-appointment-summary>#edit-route{padding-right:6px}
.participant-header-edit.ui-update-action{min-width:112px;gap:8px;padding:8px 14px;border:1px solid var(--tvm-line-strong);box-shadow:none}
@media(max-width:600px){.case-identity .case-banner-tools>.case-inline-edit{min-height:44px}}

.case-identity .case-banner-tools{padding-right:21px}


#case-summary-panel [data-fingerprint-edit]{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--tvm-action);display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:8px;min-height:44px;padding:6px 12px}
#case-summary-panel [data-fingerprint-edit]:hover{background:transparent!important;text-decoration:underline}


#detail :is(.case-inline-edit,[data-fingerprint-edit]){cursor:pointer;transition:color .15s ease,text-decoration-color .15s ease;text-underline-offset:4px;text-decoration-thickness:2px}
#detail :is(.case-inline-edit,[data-fingerprint-edit]):hover{color:var(--tvm-navy)!important;text-decoration:underline}
#detail :is(.case-inline-edit,[data-fingerprint-edit]):focus-visible{color:var(--tvm-navy)!important;text-decoration:underline;outline:2px solid var(--tvm-action);outline-offset:3px;border-radius:4px}
#detail :is(.case-inline-edit,[data-fingerprint-edit]):active{color:var(--tvm-action)!important}

.case-top-navigation .case-assignee-summary{margin-right:0;margin-left:auto;text-align:right}
.case-assignee-summary>span{align-items:flex-end}
#edit-case-assignee.case-inline-edit{padding:4px 0;min-height:36px;gap:8px;font-weight:700}
.participant-result-state .workspace-status-action{display:inline-flex;align-items:center;gap:7px}
.participant-result-state .workspace-status-action .ui-edit-pencil{width:14px;height:14px;flex:none}


.case-top-navigation .case-assignee-summary{margin-right:21px}

.case-identity>.case-appointment-summary>small{font-size:18px!important;font-weight:700!important;line-height:1.3!important;color:#171d24!important;text-transform:uppercase}
.case-identity .case-banner-tools{gap:5px!important}
.case-identity .case-banner-tools>.case-inline-edit{min-height:24px!important;padding-top:0!important;padding-bottom:0!important;line-height:19.6px}
@media(max-width:600px){.case-identity .case-banner-tools>.case-inline-edit{min-height:44px!important}}


.case-identity>.case-appointment-summary{padding-top:3px!important;padding-bottom:3px!important;row-gap:1px!important;min-height:0}

.case-identity>.case-appointment-summary{min-height:0!important;padding-top:6px!important;padding-bottom:6px!important}

.case-identity>.case-appointment-summary{padding-top:3px!important;padding-bottom:3px!important}


.office-navigation-row{display:flex;align-items:flex-end;gap:16px}
.office-navigation-row>.office-section-nav{flex:1;min-width:0;margin-bottom:0}
.office-navigation-row .workspace-assignee-toolbar{flex:0 0 168px;margin-left:auto}
.office-navigation-row .workspace-assignee-toolbar>.workspace-assignee{width:168px}
.office-navigation-row .workspace-assignee-toolbar select{height:44px;min-height:44px}
@media(max-width:760px){.office-navigation-row{flex-wrap:wrap}.office-navigation-row>.office-section-nav{flex-basis:100%}.office-navigation-row .workspace-assignee-toolbar{flex-basis:168px}}

.office-navigation-row .workspace-assignee-toolbar{margin-bottom:11px}

.workspace-recent .workspace-board-tabs>button:first-child{border-top-left-radius:var(--tvm-radius-card)}
.workspace-recent .workspace-board-tabs>button:last-child{border-top-right-radius:var(--tvm-radius-card)}

#workspace-overview .workspace-status-action{display:inline-flex;align-items:center;gap:6px}
.workspace-status-action .ui-edit-pencil{width:14px;height:14px;flex:none}


@media(min-width:701px){
.case-identity>.case-appointment-summary{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:1.5em!important;padding-top:2px!important;padding-bottom:2px!important;align-items:center}
.case-identity>.case-appointment-summary>small{grid-column:1;grid-row:1;align-self:center}
.case-identity>.case-appointment-summary>strong{grid-column:2;grid-row:1;align-self:center}
.case-identity>.case-appointment-summary>#edit-route{grid-column:3;grid-row:1;min-height:36px!important}
}


#participants-section>.case-participants-heading{border:0!important;box-shadow:none!important;background:transparent!important}

#participants-section>.case-participants-heading{margin-bottom:0!important}
#participants-section .participant-card{margin-top:4px}
#case-summary-panel>.case-identity{padding-bottom:8px}


body:has(#login:not([hidden])) .office-footer{display:none!important}

.office-version{text-decoration:none}.office-version:hover,.office-version:focus-visible{text-decoration:underline}
.passport-check--pass.passport-check--compact{display:flex!important;align-items:center;gap:8px;padding:3px 10px!important;margin:4px 0!important;min-height:0!important;font-size:14px;line-height:20px}


.insurance-source-dialog{padding:0!important;background:#fff!important;width:min(340px,calc(100vw - 28px))!important;aspect-ratio:1;border-radius:12px!important}
.insurance-source-dialog .dialog-head{padding:14px 18px!important;margin:0!important;background:var(--tvm-primary-soft,#edf4fc)!important;border-bottom:1px solid var(--tvm-line)}
.insurance-source-dialog .insurance-source-options{padding:18px!important;margin:0!important;gap:12px!important}.insurance-source-dialog .insurance-source-options button{min-height:64px!important;background:#fff;color:var(--tvm-primary);font-weight:600}
.insurance-profile-dialog .dialog-head{background:var(--tvm-primary-soft,#edf4fc)}


#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_from"]){grid-column:1 / 3;grid-row:3;min-width:0}
#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_to"]){grid-column:3 / 5;grid-row:3;min-width:0}
#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_from"]) button,
#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_to"]) button{width:100%;white-space:nowrap;min-height:44px;box-sizing:border-box}
#account-finance-dialog .insurance-options-panel{padding:0 12px 10px;margin-top:0;align-self:start}
#account-finance-dialog .insurance-options-panel legend{padding:0;font-size:14px;line-height:20px;color:var(--tvm-ink,#173f60)}
@media(max-width:800px){
#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_from"]){grid-column:1 / -1;grid-row:6}
#account-finance-dialog .insurance-sale-mode .insurance-sale-fields label:has([name="insurance_valid_to"]){grid-column:1 / -1;grid-row:7}
}


#participants-section .participant-insurance,
#case-summary-panel .fingerprint-requirement-card{display:block;padding:0;margin-top:10px;border:1px solid #e2ca81;border-radius:8px;overflow:hidden;background:#fff9e9}
#participants-section .participant-insurance-heading,
#case-summary-panel .fingerprint-requirement-card>header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;margin:0;background:#f4e4b8;border-bottom:1px solid #e2ca81;min-height:0;height:auto}
#participants-section .participant-insurance-heading h4,
#case-summary-panel .fingerprint-requirement-card>header h3{font-size:16px;font-weight:700;line-height:1.4;color:#182f42;margin:0}
#participants-section .participant-insurance-list{padding:10px 12px}
#participants-section .participant-insurance-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:0}
#participants-section .participant-insurance-list article+article{border-top:1px solid #ead79b;margin-top:10px;padding-top:10px}
#participants-section .participant-insurance-list article>.insurance-policy-details{display:block;min-width:0}
.insurance-company-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.insurance-company-line>strong{font-size:16px;color:#182f42}
.insurance-company-line .insurance-source-label{font-size:13px;color:#594918}
.insurance-policy-details dl{margin:0;display:grid;gap:4px}
.insurance-policy-details dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px}
.insurance-policy-details dt{font-size:13px;color:#594918;font-weight:600}
.insurance-policy-details dd{margin:0;color:#182f42;font-size:14px;font-weight:600;overflow-wrap:anywhere}
#participants-section .insurance-policy-actions{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
#participants-section .insurance-policy-actions button{margin:0;min-height:32px;white-space:nowrap}
#participants-section .participant-insurance-list .insurance-coverage-notice{display:flex;flex-direction:column;gap:2px;margin:8px 0 0;padding:6px 8px;border-left:3px solid #b57b00;background:#fff2cb;font-size:13px;line-height:1.45}
#participants-section .insurance-coverage-notice.insurance-coverage-valid{border-color:#4d8863;background:#edf6ef;color:#285b38}
#participants-section .insurance-coverage-notice.insurance-coverage-warning{border-color:#bf2830;background:#fff0f0;color:#9a2028}
#case-summary-panel .fingerprint-requirement-card .customer-requirement-rows{padding:10px 12px}
#case-summary-panel .fingerprint-requirement-card article>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
#case-summary-panel .fingerprint-requirement-card article>div>strong{display:none}
#case-summary-panel .fingerprint-requirement-card article p{flex-basis:auto}
#case-summary-panel .fingerprint-requirement-card>.muted{padding:0 12px 10px;margin:0}
@media(max-width:600px){#participants-section .participant-insurance-list article{grid-template-columns:minmax(0,1fr)}#participants-section .insurance-policy-actions{align-items:flex-start;gap:4px}#participants-section .insurance-policy-actions button{min-height:44px}.insurance-policy-details dl>div{grid-template-columns:110px minmax(0,1fr)}}


#participants-section .operation-disclosure{background:#fff;padding:0;border:1px solid #e4d7ae;border-radius:8px;overflow:hidden;margin:10px 0}
.operation-disclosure>summary{display:flex;align-items:center;gap:14px;background:#faf3dc;padding:10px 12px;cursor:pointer;color:#182f42;list-style:none}
.operation-disclosure>summary::-webkit-details-marker{display:none}
.operation-disclosure>summary:before{content:'›';font-size:23px;line-height:1;transition:transform .15s}
.operation-disclosure[open]>summary:before{transform:rotate(90deg)}
.operation-disclosure>summary strong{font-size:16px;white-space:nowrap}
.operation-disclosure>summary span{font-size:14px;font-weight:500}
.operation-disclosure>summary .operation-summary-warning{color:#a52b32}
.operation-disclosure>summary:hover{background:#f4eacd}
.operation-disclosure>summary:focus-visible{outline:2px solid #0969bc;outline-offset:-3px}
#participants-section .operation-disclosure .participant-insurance-heading{background:#fff;border:0;padding:0 12px;justify-content:flex-end}
#participants-section .operation-disclosure .participant-insurance-heading:empty{display:none}
#case-summary-panel .fingerprint-requirement-card article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}
#case-summary-panel .fingerprint-requirement-card article>button,#participants-section .insurance-policy-actions button{align-self:start;margin:0;min-height:32px;padding:4px 0;background:transparent;border:0}
@media(max-width:600px){.operation-disclosure>summary{flex-wrap:wrap;gap:6px}.operation-disclosure>summary span{flex-basis:100%;padding-left:22px}#case-summary-panel .fingerprint-requirement-card article{grid-template-columns:minmax(0,1fr)}#case-summary-panel .fingerprint-requirement-card article>button{min-height:44px}}


#insurance-purchase-card-dialog{width:min(450px,calc(100vw - 28px));max-width:450px;padding:0!important;background:#fff;border-radius:12px;overflow:hidden}
#insurance-purchase-card-dialog form{padding:0;margin:0}
#insurance-purchase-card-dialog .dialog-head{margin:0;padding:16px 20px;background:var(--tvm-primary-soft,#edf4fc);border-bottom:1px solid var(--tvm-line);align-items:start}
#insurance-purchase-card-dialog h2{font-size:22px;color:var(--tvm-ink,#183e5b);margin:0}
#insurance-purchase-card-dialog .dialog-head p{font-size:13px;margin:5px 0 0;color:#536a7a}
#insurance-purchase-card-dialog .booking-form{padding:18px 20px;margin:0;gap:14px;grid-template-columns:minmax(0,1fr) 110px}
#insurance-purchase-card-dialog label{min-width:0}
#insurance-purchase-card-dialog input,#insurance-purchase-card-dialog select{width:100%;box-sizing:border-box}
#insurance-purchase-card-dialog .actions{padding:12px 20px;margin:0;border-top:1px solid var(--tvm-line);display:flex;justify-content:flex-end;gap:8px}
#insurance-purchase-card-dialog .error{margin:0;padding:0 20px 12px}
#insurance-purchase-card-dialog .error:empty{display:none}
@media(max-width:480px){#insurance-purchase-card-dialog .booking-form{grid-template-columns:minmax(0,1fr)}}


.insurance-operational-cancel{color:#ad2530!important}
.insurance-operational-cancel:hover{color:#7f1720!important;text-decoration:underline}
.insurance-policy-history{padding:12px;border-top:1px solid #e4d7ae}
.insurance-policy-history>summary{font-weight:600;cursor:pointer}
.participant-submission-summary{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d4e1ec;border-radius:8px;margin:10px 0;background:#f5f9fc;font-size:14px}
.participant-submission-summary button{margin-left:auto}
.participant-submission-summary.submission-awaiting{border-color:#e4d7ae;background:#faf3dc}
.refund-credit-preview{border:1px solid #d4e1ec;border-radius:6px;padding:10px;background:#f5f9fc}
.finance-entry-error:empty,.appointment-editor-error:empty{display:none}
@media(max-width:600px){.participant-submission-summary{flex-wrap:wrap}.participant-submission-summary button{min-height:44px}}


.document-template-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.document-template-preview{padding:12px 16px;background:var(--ui-surface-soft,#f3f7fb);border-radius:8px;overflow-wrap:anywhere}
.document-template-preview ol{padding-left:22px;margin:8px 0}
.document-template-preview li+li{margin-top:8px}
.requirement-edit-dialog{height:fit-content;min-height:0;margin:auto;box-sizing:border-box;background:var(--tvm-surface,#fff)}
.requirement-edit-dialog .dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.requirement-edit-dialog .dialog-head .plain{flex:0 0 44px;min-height:44px}
.requirement-edit-dialog [role=status]:empty,.requirement-edit-dialog [role=alert]:empty{display:none}
.requirement-edit-dialog .form-actions{display:flex;flex-wrap:wrap;margin-top:20px;justify-content:flex-end;gap:12px}
.requirement-edit-dialog .dialog-head h2{color:var(--tvm-navy)}


:is(#customer-document-requests,.customer-live-shell) .document-person-group{margin:20px 0 0;min-width:0}
:is(#customer-document-requests,.customer-live-shell) .document-person-group> :is(h3,h4){margin:0;padding:10px 12px;background:var(--tvm-action-soft);border-radius:6px;color:var(--tvm-navy);font-size:16px;font-weight:700;line-height:1.5}
:is(#customer-document-requests,.customer-live-shell) .document-request-row{display:block;margin:0;padding:16px 0;border:0;border-bottom:1px solid var(--tvm-line);background:transparent;box-shadow:none;min-width:0}
:is(#customer-document-requests,.customer-live-shell) .document-request-heading{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
:is(#customer-document-requests,.customer-live-shell) .document-request-heading>:is(strong,h4){margin:0;font-size:16px;font-weight:600;flex:1;min-width:140px;color:var(--tvm-ink)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status{font-size:var(--tvm-type-support,14px);line-height:1.5;font-weight:600;color:var(--tvm-muted)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status[data-status=checked]{color:var(--tvm-success)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status:is([data-status=correction],[data-status=expired]){color:var(--tvm-danger)}
:is(#customer-document-requests,.customer-live-shell) .document-file{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:8px 0;min-width:0}
:is(#customer-document-requests,.customer-live-shell) .document-file-icon{position:relative;display:grid;place-items:center;align-self:flex-start;flex:0 0 36px;width:36px;height:44px;border:1px solid var(--tvm-line-strong);border-radius:4px;background:var(--tvm-surface);color:var(--tvm-action);font-size:10px;font-weight:700;letter-spacing:.02em;padding-top:8px;box-sizing:border-box}
:is(#customer-document-requests,.customer-live-shell) .document-file-icon::after{content:'';position:absolute;right:-1px;top:-1px;width:10px;height:10px;background:var(--tvm-action-soft);border-left:1px solid var(--tvm-line-strong);border-bottom:1px solid var(--tvm-line-strong);border-radius:0 4px 0 2px}
:is(#customer-document-requests,.customer-live-shell) .document-file-info{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;flex:1;min-width:0}
:is(#customer-document-requests,.customer-live-shell) .document-file-name{display:inline-block;color:var(--tvm-action);font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
:is(#customer-document-requests,.customer-live-shell) .document-file-info small{display:block;font-size:var(--tvm-type-support,14px);color:var(--tvm-muted);line-height:1.5}
:is(#customer-document-requests,.customer-live-shell) .document-text-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:6px 10px;border:0;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:14px;font-weight:600;white-space:nowrap}
:is(#customer-document-requests,.customer-live-shell) .document-text-action:hover{background:var(--tvm-action-soft);text-decoration:underline}
:is(#customer-document-requests,.customer-live-shell) :is(.document-empty,.document-footnote,.document-physical){display:block;font-size:var(--tvm-type-support,14px);line-height:1.5;color:var(--tvm-muted);margin:8px 0}
:is(#customer-document-requests,.customer-live-shell) .document-review-note{font-size:14px;line-height:1.5;color:var(--tvm-danger);margin:6px 0;overflow-wrap:anywhere}
:is(#customer-document-requests,.customer-live-shell) :is(.document-previous,.document-replace){border:0;border-radius:0;background:transparent;box-shadow:none;margin:4px 0 0;padding:0}
:is(#customer-document-requests,.customer-live-shell) :is(.document-previous,.document-replace)>summary{min-height:44px;box-sizing:border-box;padding:12px 0;font-size:14px;color:var(--tvm-action);cursor:pointer;font-weight:600;background:transparent}
.customer-live-shell .document-request-row .customer-upload-form{margin-top:8px;gap:12px}
.customer-live-shell .document-request-row .customer-upload-form label{font-size:var(--tvm-type-support,14px)}
.customer-live-shell [data-document-title]:focus{outline:3px solid var(--tvm-action);outline-offset:4px}
#customer-document-requests [data-upload-error]:empty{display:none}
.requirement-edit-dialog [hidden]{display:none!important}
.requirement-edit-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}
.requirement-edit-dialog>.dialog-head{flex:none}
.requirement-edit-dialog>form{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}
.requirement-edit-dialog>form>.requirement-edit-fields{min-height:0;overflow-y:auto;padding:20px 24px}
.requirement-edit-dialog>form>:is(.actions,.form-actions){flex:none;margin:0;padding:12px 24px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
.requirement-edit-dialog>form>:is(.actions,.form-actions)>button{min-height:44px}
.requirement-edit-dialog>form>:is([role=alert],[role=status]){flex:none;margin:0;padding:8px 24px}
:is(#customer-document-requests,.customer-live-shell) .document-file-info>.document-review-note{flex-basis:100%}
:is(#customer-document-requests,.customer-live-shell) .document-request-row>small{font-size:var(--tvm-type-support,14px)}
@media(max-width:600px){.requirement-edit-dialog>form>.requirement-edit-fields{padding:16px}.requirement-edit-dialog>form>:is(.actions,.form-actions,[role=alert],[role=status]){padding:12px 16px}:is(#customer-document-requests,.customer-live-shell) .document-file-info{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){:is(#customer-document-requests,.customer-live-shell) .document-file{flex-wrap:wrap}#customer-document-requests .document-file{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start}#customer-document-requests .document-file>.document-text-action{grid-column:2;justify-self:start;margin-left:0}.customer-live-shell .document-request-row .customer-upload-form{grid-template-columns:minmax(0,1fr)}#customer-document-requests>header{flex-wrap:wrap}}

#agency-cases-dialog{width:min(900px,calc(100vw - 32px));max-width:900px;height:fit-content;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;background:var(--tvm-surface);color:var(--tvm-ink);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel)}
#agency-cases-dialog[open]{display:flex;flex-direction:column}
#agency-cases-dialog .dialog-head{position:relative;flex-shrink:0;align-items:center;gap:16px;margin:0;padding:16px 20px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
#agency-cases-dialog .dialog-head>div{min-width:0;overflow-wrap:anywhere}
#agency-cases-dialog .dialog-head h2{margin:0;color:var(--tvm-navy)}
#agency-cases-dialog .dialog-head p{margin:6px 0 0;color:var(--tvm-muted)}
#agency-cases-dialog .agency-cases-close{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:var(--tvm-type-section);line-height:1}
#agency-cases-dialog .agency-cases-body{min-height:0;padding:20px;overflow:auto;background:var(--tvm-surface)}
#agency-cases-dialog .agency-cases-table{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);overflow:auto}
#agency-cases-dialog .agency-cases-table:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
#agency-cases-dialog .ui-table{min-width:640px}
#agency-cases-dialog .ui-table td{vertical-align:middle;overflow-wrap:anywhere}
#agency-cases-dialog .ui-table td:last-child{white-space:nowrap}
#agency-cases-dialog .ui-table tbody tr:last-child td{border-bottom:0}
#agency-cases-dialog .agency-cases-empty{margin:0;color:var(--tvm-muted)}
@media(max-width:640px){#agency-cases-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#agency-cases-dialog .dialog-head,#agency-cases-dialog .agency-cases-body{padding:16px}}


.workspace-daily-grid .workspace-priority-actions-row{grid-template-columns:minmax(0,1fr) auto 44px;column-gap:36px;row-gap:8px;cursor:default}
.workspace-daily-grid .workspace-priority-actions-row>.workspace-priority-details{display:grid;grid-column:1;grid-row:1;gap:3px;min-width:0;min-height:44px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:var(--tvm-navy);text-align:left;white-space:normal;cursor:pointer}
.workspace-daily-grid .workspace-priority-details .workspace-next{grid-area:auto}
.workspace-daily-grid .workspace-priority-actions-row>.badge{grid-column:2;grid-row:1;justify-self:end}
.workspace-daily-grid .workspace-priority-actions-row>.workspace-priority-open{display:flex;align-items:center;justify-content:center;grid-column:3;grid-row:1;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:20px;font-weight:800;line-height:1;cursor:pointer}
.workspace-daily-grid .workspace-priority-open:hover{background:transparent;color:var(--tvm-action-hover);filter:none}
.workspace-daily-grid .workspace-priority-details:hover{background:transparent;filter:none}
.workspace-daily-grid .workspace-priority-details:hover strong{text-decoration:underline}
.workspace-priority-actions-row>button:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
@media(max-width:600px){.workspace-daily-grid .workspace-priority-actions-row{grid-template-columns:minmax(0,1fr) 44px;row-gap:12px}.workspace-daily-grid .workspace-priority-actions-row>.workspace-priority-details{grid-column:1/-1;grid-row:1}.workspace-daily-grid .workspace-priority-actions-row>.badge{grid-column:1;grid-row:2;justify-self:start}.workspace-daily-grid .workspace-priority-actions-row>.workspace-priority-open{grid-column:2;grid-row:2}}

@media(max-width:760px){
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case]){background:var(--tvm-canvas)}
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case])>header{padding:10px 16px;min-height:60px;gap:12px;flex-wrap:nowrap}
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case])>header .brand-official-logo{width:128px;height:auto}
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case])>header .header-context,
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case])>header .brand small,
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case]) #app>.toolbar{display:none}
 body:has(#operations-view:not([hidden]) #detail[data-mobile-case])>main{padding:0 12px 24px}
 .case-mobile-office-menu{margin:8px 0;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control)}
 .case-mobile-office-menu>summary{padding:10px 14px;min-height:44px;box-sizing:border-box;color:var(--tvm-navy);font-size:14px;font-weight:700;cursor:pointer}
 .case-mobile-office-menu .office-navigation-row{margin:0;padding:8px;display:block}
 .case-mobile-office-menu .office-section-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .case-mobile-office-menu .office-section-nav a{min-height:44px;font-size:14px;white-space:normal}
 .case-mobile-office-menu .workspace-assignee-toolbar{width:100%;max-width:none;margin:12px 0 0}
 .workbench.detail-open:has(#detail[data-mobile-case]){padding:0;border:0;background:transparent;box-shadow:none;margin:0}
 .workbench.detail-open:has(#detail[data-mobile-case])>.layout{display:block;margin:0;padding:0}
 #detail[data-mobile-case]{min-width:0;width:100%;padding:0!important;margin:0;border:0!important;background:transparent;box-shadow:none}
 #detail[data-mobile-case] [hidden]{display:none!important}
 #detail[data-mobile-case] .case-file-nav{display:none!important}
 #detail[data-mobile-case] .case-top-navigation{gap:8px;align-items:center;flex-wrap:nowrap;margin:0;padding:0;min-height:44px}
 #detail[data-mobile-case] .case-top-navigation #back-to-list{font-size:14px;min-height:44px;width:auto;padding:8px 0;border:0;background:transparent}
 #detail[data-mobile-case] .case-assignee-summary{width:auto;min-width:0;margin-left:auto}
 #detail[data-mobile-case] .case-assignee-summary>span{display:flex;align-items:center;gap:6px}
 #detail[data-mobile-case] .case-assignee-summary strong{font-size:14px}
 #detail[data-mobile-case] .case-assignee-summary button{font-size:14px;min-height:44px;padding:4px 0}
 #detail[data-mobile-case] .case-file-heading{min-height:0!important;background:transparent;box-shadow:none;display:flex;align-items:flex-start;gap:12px;padding:8px 0 12px;margin:0;border:0}
 #detail[data-mobile-case] .case-file-heading>div:first-child{min-width:0;flex:1;display:grid;gap:4px}
 #detail[data-mobile-case] .case-file-title{font-size:24px!important;line-height:1.25;margin:0!important;color:var(--tvm-navy);overflow-wrap:anywhere}
 #detail[data-mobile-case] .case-file-heading small{font-size:12px;font-weight:700;color:var(--tvm-muted)}
 #detail[data-mobile-case] .case-heading-actions{display:flex;margin:12px 0}
 #detail[data-mobile-case] .case-mobile-nav{position:sticky;top:0;z-index:15;background:var(--tvm-canvas);padding:0 0 12px;margin:0}
 #detail[data-mobile-case] .case-mobile-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);overflow:hidden}
 #detail[data-mobile-case] .case-mobile-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--tvm-muted);font-size:14px;font-weight:700;padding:10px 2px;min-width:44px;min-height:48px;box-shadow:none;margin:0}
 #detail[data-mobile-case] .case-mobile-tabs button[aria-selected=true]{background:var(--tvm-action-soft);border-bottom-color:var(--tvm-action);color:var(--tvm-action)}
 #detail[data-mobile-case] .case-file-panel,#detail[data-mobile-case] .case-mobile-panel{margin:0;padding:0;min-width:0;scroll-margin-top:64px}
 #detail[data-mobile-case] .case-mobile-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 14px;margin-bottom:0;border-radius:var(--tvm-radius-card);background:var(--tvm-action-soft);font-size:14px;color:var(--tvm-navy)}
 #detail[data-mobile-case] .case-mobile-status strong{font-size:15px}
 #detail[data-mobile-case] .case-identity{display:grid!important;grid-template-columns:1fr 1fr!important;padding:14px!important;gap:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-case-summary-surface,var(--tvm-surface));margin:0}
 #detail[data-mobile-case] .case-identity>span{padding:0!important;border:0!important;min-height:0!important;grid-column:auto!important;grid-row:auto!important;min-width:0}
 #detail[data-mobile-case] .case-identity>.country-identity{grid-column:1/-1!important;display:flex;align-items:center;gap:10px}
 #detail[data-mobile-case] .country-identity strong{font-size:18px}
 #detail[data-mobile-case] .case-identity small{font-size:14px;color:var(--tvm-muted)}
 #detail[data-mobile-case] .case-identity strong{font-size:15px;line-height:1.45;overflow-wrap:normal}
 #detail[data-mobile-case] .case-identity>.case-travel-summary{grid-column:1/-1!important;display:block!important}
 #detail[data-mobile-case] .case-travel-dates{display:grid;gap:4px}
 #detail[data-mobile-case] .case-banner-tools{grid-column:1/-1;grid-row:auto;display:flex;flex-direction:row;justify-content:flex-start;gap:20px;border-top:1px solid var(--tvm-line);padding:4px 0 0!important;margin:0}
 #detail[data-mobile-case] .case-identity>.case-appointment-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 12px!important;margin:0!important;padding:12px!important;border-radius:var(--tvm-radius-control);grid-column:1/-1!important;grid-row:auto!important;background:var(--tvm-danger-soft);min-height:0!important;height:auto!important;width:auto!important}
 #detail[data-mobile-case] .case-appointment-summary>small{font-size:14px!important;color:var(--tvm-ink)!important;grid-column:1;line-height:1.4!important}
 #detail[data-mobile-case] .case-appointment-summary>strong{font-size:15px!important;grid-column:1;line-height:1.5!important;white-space:normal}
 #detail[data-mobile-case] .case-appointment-summary #edit-route{grid-column:2;grid-row:1/3;align-self:center;min-height:44px;margin:0;padding:6px 0;font-size:14px}
 #detail[data-mobile-case] .case-mobile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}
 #detail[data-mobile-case] .case-mobile-section-heading h3,#detail[data-mobile-case] .case-mobile-balances h3{margin:0;font-size:18px}
 #detail[data-mobile-case] .case-mobile-section-heading>span{font-size:14px;color:var(--tvm-muted)}
 #detail[data-mobile-case] .case-mobile-person-link{display:flex;text-align:left;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:14px;margin:0 0 8px;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);color:var(--tvm-ink);box-shadow:none;min-height:64px}
 #detail[data-mobile-case] .case-mobile-person-link>span:first-child{min-width:0;display:grid;gap:5px}
 #detail[data-mobile-case] .case-mobile-person-link strong{font-size:16px;line-height:1.4}
 #detail[data-mobile-case] .case-mobile-person-link small{font-size:14px;font-weight:400;line-height:1.45;color:var(--tvm-muted)}
 #detail[data-mobile-case] .case-mobile-person-link .case-mobile-attention{color:var(--tvm-danger);font-weight:500}
 #detail[data-mobile-case] .case-mobile-section-title{font-size:18px;margin:12px 0}
 #detail[data-mobile-case] .participant-facts>.participant-identity-fact.identity-missing{grid-template-columns:88px minmax(0,1fr) auto;align-items:center}
 #detail[data-mobile-case] .participant-facts>.identity-missing button{grid-column:3;grid-row:1;min-height:44px;padding:8px 0;margin:0}
 #detail[data-mobile-case] .participant-facts .identity-field-state{font-size:12px;margin:3px 0 0}
 #detail[data-mobile-case] .case-finance-actions{margin:0 0 16px!important}
 #detail[data-mobile-case] .case-mobile-pager{scroll-margin-top:72px}
 #detail[data-mobile-case] dialog button{min-height:44px}
 #detail[data-mobile-case] .case-mobile-chevron{font-size:24px;color:var(--tvm-action)}
 #detail[data-mobile-case] .case-mobile-document-link{background:var(--tvm-action-soft);color:var(--tvm-navy);padding:14px;width:100%;display:grid;gap:6px;text-align:left;border:1px solid var(--tvm-line);font-size:14px;margin:16px 0;box-shadow:none}
 #detail[data-mobile-case] .case-mobile-document-link strong{font-size:16px}
 #detail[data-mobile-case] .case-mobile-balances{padding:14px;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card)}
 #detail[data-mobile-case] .case-mobile-balances>div{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--tvm-line);font-size:14px}
 #detail[data-mobile-case] .case-mobile-balances strong{font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}
 #detail[data-mobile-case] .case-mobile-text-action{box-sizing:border-box;width:max-content;min-width:0;max-width:100%;min-height:44px;background:transparent;border:0;color:var(--tvm-action);font-size:14px;font-weight:700;padding:10px 12px;margin:4px 0 0;gap:8px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:left;flex-wrap:nowrap} #detail[data-mobile-case] .case-mobile-text-action>.tvm-icon{flex:0 0 auto}
 #detail[data-mobile-case] .case-participants-heading{padding:8px 0;margin:0;gap:8px;align-items:center}
 #detail[data-mobile-case] .case-participants-heading h3{font-size:18px}
 #detail[data-mobile-case] .case-participants-heading-actions b{display:none}
 #detail[data-mobile-case] .case-participants-heading-actions button{min-height:44px;font-size:14px;padding:8px}
 #detail[data-mobile-case] #participants-section{margin:0;padding:0;border:0;background:transparent}
 #detail[data-mobile-case] #participants-section>.detail-group-body{padding:0}
 #detail[data-mobile-case] .case-mobile-person-picker{display:grid;gap:6px;margin:8px 0 16px;font-size:14px;color:var(--tvm-muted)}
 #detail[data-mobile-case] .case-mobile-person-picker select{width:100%;min-height:48px;padding:10px 12px;background:var(--tvm-surface);font-size:16px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control)}
 #detail[data-mobile-case] .participant-list{display:block}
 #detail[data-mobile-case] .participant-card{margin:0;padding:14px;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);box-shadow:none;min-width:0}
 #detail[data-mobile-case] .participant-title{display:block;padding:0;margin:0 0 12px}
 #detail[data-mobile-case] .participant-title strong{font-size:18px;line-height:1.4}
 #detail[data-mobile-case] .participant-title small{font-size:14px}
 #detail[data-mobile-case] .participant-title-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}
 #detail[data-mobile-case] .participant-title-actions button,#detail[data-mobile-case] .participant-title-actions a{width:auto;min-height:44px;font-size:14px}
 #detail[data-mobile-case] .participant-facts{display:grid;grid-template-columns:1fr;gap:0;margin:14px 0}
 #detail[data-mobile-case] .participant-facts>span{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:6px 12px;border:0;border-bottom:1px solid var(--tvm-line);padding:12px 0;background:transparent;min-width:0}
 #detail[data-mobile-case] .participant-facts small{font-size:14px;color:var(--tvm-muted)}
 #detail[data-mobile-case] .participant-facts strong{font-size:15px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
 #detail[data-mobile-case] .participant-facts button{grid-column:2;justify-self:start;min-height:44px;font-size:14px}
 #detail[data-mobile-case] .participant-facts .identity-inline-editor{grid-column:1/-1}
 #detail[data-mobile-case] .case-mobile-disclosure{margin-top:14px;border-top:1px solid var(--tvm-line);background:transparent;min-width:0}
 #detail[data-mobile-case] .case-mobile-disclosure>summary{font-size:16px;font-weight:700;color:var(--tvm-navy);padding:14px 0;min-height:48px;box-sizing:border-box;cursor:pointer}
 #detail[data-mobile-case] .case-service-table-wrap,#detail[data-mobile-case] .case-payment-table-wrap{width:100%;overflow:visible;border:0;background:transparent}
 #detail[data-mobile-case] table.case-service-table,#detail[data-mobile-case] table.case-payment-table{display:block;width:100%;min-width:0;table-layout:auto;border:0;background:transparent}
 #detail[data-mobile-case] table.case-payment-table{display:flex;flex-direction:column}
 #detail[data-mobile-case] table.case-payment-table tfoot{order:-1}
 #detail[data-mobile-case] .participant-title-actions{flex-direction:row!important}
 #detail[data-mobile-case] .participant-title-actions>*{flex:1 1 0!important;min-width:0!important;width:auto!important}
 #detail[data-mobile-case] table.case-service-table colgroup,#detail[data-mobile-case] table.case-service-table thead,#detail[data-mobile-case] table.case-payment-table thead{display:none}
 #detail[data-mobile-case] table.case-service-table caption{display:block;font-size:16px;margin:0 0 12px;text-align:left}
 #detail[data-mobile-case] table.case-service-table tbody,#detail[data-mobile-case] table.case-payment-table tbody,#detail[data-mobile-case] table.case-payment-table tfoot{display:block;width:100%}
 #detail[data-mobile-case] table.case-service-table tr,#detail[data-mobile-case] table.case-payment-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;margin-bottom:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface)}
 #detail[data-mobile-case] table.case-service-table td,#detail[data-mobile-case] table.case-payment-table td,#detail[data-mobile-case] table.case-payment-table th{display:block;min-width:0;width:auto!important;max-width:none;padding:0!important;border:0!important;text-align:left!important;font-size:14px;line-height:1.5;overflow-wrap:normal;word-break:normal;white-space:normal}
 #detail[data-mobile-case] table td::before{position:static;display:block;font-size:14px;line-height:1.4;font-weight:400;color:var(--tvm-muted);margin-bottom:3px;white-space:normal;width:auto;text-align:left}
 #detail[data-mobile-case] table.case-service-table td:first-child{grid-column:1/-1}
 #detail[data-mobile-case] table.case-service-table td:first-child::before{display:none}
 #detail[data-mobile-case] table.case-service-table td:first-child strong{font-size:16px}
 #detail[data-mobile-case] table.case-service-table td[data-label="Net tutar"]{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--tvm-line)!important;padding-top:10px!important}
 #detail[data-mobile-case] table.case-service-table td[data-label="Net tutar"] strong{font-size:18px;white-space:nowrap}
 #detail[data-mobile-case] table td[data-label="İşlem"]{grid-column:1/-1}
 #detail[data-mobile-case] table td[data-label="İşlem"] button{min-height:44px;margin:0 12px 0 0;padding:8px 0;font-size:14px}
 #detail[data-mobile-case] table.case-payment-table td[data-label="Açıklama"]{grid-column:1/-1;grid-row:1}
 #detail[data-mobile-case] table.case-payment-table td[data-label="Açıklama"] strong{font-size:16px}
 #detail[data-mobile-case] table.case-payment-table td[data-label="Açıklama"] small{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 #detail[data-mobile-case] table.case-payment-table td[data-label="Bakiye"]{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;padding-top:8px!important;border-top:1px solid var(--tvm-line)!important;font-weight:700;white-space:nowrap}
 #detail[data-mobile-case] table.case-payment-table tfoot tr{background:var(--tvm-action-soft)}
 #detail[data-mobile-case] table.case-payment-table tfoot th{grid-column:1/-1;font-size:16px}
 #detail[data-mobile-case] table.case-payment-table tfoot td[data-label="Son bakiye"]{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
 #detail[data-mobile-case] table.case-payment-table tfoot td[data-label="Son bakiye"]::before{display:none}
 #detail[data-mobile-case] table.case-payment-table tfoot td strong{font-size:18px;white-space:nowrap}
 #detail[data-mobile-case] table.case-payment-table tfoot td[data-label="Tahsilat"]{grid-column:1/-1}
 #detail[data-mobile-case] .case-person-footer{display:flex;flex-direction:column-reverse;gap:12px}
 #detail[data-mobile-case] .case-person-service-actions{display:grid;gap:8px;grid-template-columns:1fr}
 #detail[data-mobile-case] .case-person-totals{width:100%;max-width:none}
 #detail[data-mobile-case] .case-person-total-values{display:flex;gap:16px;flex-wrap:wrap}
 #detail[data-mobile-case] .case-person-total-values strong{white-space:nowrap}
 #detail[data-mobile-case] #finance-section{margin:0;background:transparent;border:0;padding:0}
 #detail[data-mobile-case] #finance-section>summary{pointer-events:none;padding:12px 0;font-size:18px;background:transparent;list-style:none}
 #detail[data-mobile-case] #finance-section>summary::after{display:none}
 #detail[data-mobile-case] #finance-section>.detail-group-body{padding:0}
 #detail[data-mobile-case] .case-finance-account{display:grid;gap:12px;padding:14px;margin-bottom:16px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface)}
 #detail[data-mobile-case] .case-finance-account strong{font-size:16px;overflow-wrap:anywhere}
 #detail[data-mobile-case] .case-finance-account a{width:auto;min-height:44px;font-size:14px}
 #detail[data-mobile-case] .case-finance-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
 #detail[data-mobile-case] .case-finance-actions button{min-height:44px;font-size:14px;padding:10px}
 #detail[data-mobile-case] .case-mobile-pager{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0;font-size:14px}
 #detail[data-mobile-case] .case-mobile-pager button{min-height:44px;background:var(--tvm-surface);color:var(--tvm-action);border:1px solid var(--tvm-line);font-size:14px;padding:8px}
 #detail[data-mobile-case] .case-mobile-more-choices{display:grid;gap:12px}
 #detail[data-mobile-case] .case-mobile-more-choices button,#detail[data-mobile-case] .case-mobile-more-back{min-height:48px;text-align:left;background:var(--tvm-surface);color:var(--tvm-action);border:1px solid var(--tvm-line);font-size:16px;padding:12px 14px}
 #detail[data-mobile-case] .case-mobile-more-back{margin-bottom:16px;font-size:14px}
 #detail[data-mobile-case] button:focus-visible,#detail[data-mobile-case] a:focus-visible,#detail[data-mobile-case] summary:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
 #detail[data-mobile-case] dialog[open]{max-width:calc(100vw - 24px)!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);margin:auto;overflow-y:auto;box-sizing:border-box}
 #detail[data-mobile-case] dialog input,#detail[data-mobile-case] dialog select,#detail[data-mobile-case] dialog textarea{font-size:16px;min-height:44px;max-width:100%}
}


.tvm-icon{display:inline-block;vertical-align:middle;flex-shrink:0;width:var(--tvm-icon-size,24px);height:var(--tvm-icon-size,24px);overflow:visible}
.tvm-icon.catalog-icon{--tvm-icon-size:32px;margin-right:10px}
.tvm-icon--small{--tvm-icon-size:20px;stroke-width:1.9}
.tvm-icon--large{--tvm-icon-size:48px;stroke-width:1.4}
.tvm-icon--mono{--tvm-icon-accent:var(--tvm-icon-ink,currentColor);--tvm-icon-ink:currentColor}
.ui-button--primary .tvm-icon{--tvm-icon-ink:currentColor}
.ui-button--danger .tvm-icon{--tvm-icon-ink:currentColor;--tvm-icon-accent:currentColor}
@media(forced-colors:active){.tvm-icon{--tvm-icon-ink:CanvasText;--tvm-icon-accent:CanvasText}}

body.icon-reference{background:var(--tvm-canvas);color:var(--tvm-ink);margin:0}
.icon-reference main{display:block;max-width:1280px;margin:0 auto;padding:40px 36px}
.icon-reference-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:0 0 24px;border:0;background:transparent;box-shadow:none;color:var(--tvm-ink);min-height:0}
.icon-reference-heading h1{font-size:36px;margin:8px 0}
.icon-reference-heading p{color:var(--tvm-muted);margin:8px 0;font-size:16px}
.icon-reference-heading .icon-reference-eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--tvm-action)}
.icon-reference-count{display:grid;text-align:right;white-space:nowrap;gap:4px;font-size:14px;color:var(--tvm-muted)}
.icon-reference-count strong{font-size:36px;color:var(--tvm-navy);font-weight:500}
.icon-reference-intro{border-top:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.icon-reference-intro>div{display:flex;gap:28px}
.icon-reference-intro p{font-size:14px;color:var(--tvm-muted);margin:0}
.icon-reference-controls{display:flex;align-items:end;flex-wrap:wrap;gap:20px;margin:28px 0}
.icon-reference-controls>label{display:grid;gap:8px;font-size:14px;color:var(--tvm-muted);margin:0}
.icon-reference-controls label:first-child{flex:1;min-width:220px}
.icon-reference-controls input[type=search],.icon-reference-controls select{height:44px;min-height:44px;background:var(--tvm-surface);padding:8px 12px;border:1px solid var(--tvm-line-strong);border-radius:7px;color:var(--tvm-ink);font-size:16px;margin:0;box-sizing:border-box}
.icon-reference-controls .icon-reference-toggle{display:flex;align-items:center;min-height:44px;gap:8px}
.icon-reference-controls input[type=checkbox]{width:18px;height:18px;accent-color:var(--tvm-action);margin:0}
.icon-reference-controls output{font-size:14px;color:var(--tvm-muted);line-height:44px;min-width:62px}
.icon-reference-groups{--tvm-icon-size:32px;display:grid;gap:20px}
.icon-reference-groups>section{border:1px solid var(--tvm-line);background:var(--tvm-surface);border-radius:10px;overflow:hidden;padding:0}
.icon-reference-groups h2{font-size:16px;font-weight:600;padding:16px 22px;margin:0;border-bottom:1px solid var(--tvm-line);color:var(--tvm-navy)}
.icon-reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));padding:12px}
.icon-reference-grid figure{margin:0;padding:18px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:110px;box-sizing:border-box}
.icon-reference-grid figcaption{font-size:14px;line-height:1.4;color:var(--tvm-ink);text-align:center;max-width:150px}
.icon-reference-groups.is-mono{--tvm-icon-accent:var(--tvm-navy)}
.icon-reference-context{margin-top:28px;padding:24px;border:1px solid var(--tvm-line);border-radius:10px;background:var(--tvm-surface)}
.icon-reference-context h2{font-size:18px;margin:0 0 8px}.icon-reference-context p,.icon-reference-context small{font-size:14px;color:var(--tvm-muted)}
.icon-reference-examples{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.icon-reference-examples button{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px}
.icon-reference footer{margin-top:24px;text-align:center;font-size:14px;color:var(--tvm-muted)}
@media(max-width:650px){.icon-reference main{padding:24px 16px}.icon-reference-heading h1{font-size:32px}.icon-reference-heading{align-items:flex-start}.icon-reference-intro{display:block}.icon-reference-intro>div{justify-content:space-between;gap:12px}.icon-reference-intro .tvm-icon{--tvm-icon-size:32px}.icon-reference-intro p{margin-top:20px}.icon-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}.icon-reference-grid figure{padding:16px 4px}.icon-reference-grid figcaption{font-size:14px}.icon-reference-controls{gap:14px}.icon-reference-controls label:first-child{flex-basis:100%}.icon-reference-count strong{font-size:32px}}


.oc-mobile-agenda,.office-mobile-order {display:none}
@media screen and (max-width:760px) {
 body.tvm-office {font-size:15px;line-height:1.5;background:var(--color-page,#f4f7fa)}
 body.tvm-office *,body.tvm-office *::before,body.tvm-office *::after {box-sizing:border-box}
 body.tvm-office > header {padding:12px 16px;gap:12px;align-items:center;flex-wrap:wrap}
 body.tvm-office > header .brand {min-width:0;flex:1}
 body.tvm-office .header-context {display:none}
 body.tvm-office .header-actions {gap:8px;flex-shrink:0}
 body.tvm-office main:not(.oc-board) {padding:16px 12px;max-width:100%;min-width:0}
 body.tvm-office .toolbar {align-items:center;gap:12px;flex-wrap:wrap}
 body.tvm-office #page-heading {font-size:24px;line-height:1.25;margin:4px 0 12px}
 body.tvm-office :is(h2,h3) {overflow-wrap:anywhere}
 body.tvm-office :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {font-size:16px;max-width:100%;min-width:0;min-height:44px}
 body.tvm-office :is(button,.ui-button,.office-section-nav a,.definition-tabs button,summary) {min-height:44px;touch-action:manipulation}
 body.tvm-office :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid #0966ba;outline-offset:3px}
 body.tvm-office :is(.plain,.icon-button,.dialog-head > button,[data-cancel]) {min-width:44px}
 body.tvm-office :is(small,.muted,.badge,label,.eyebrow) {font-size:14px}
 body.tvm-office :is(.form-grid,.booking-form,.income-filter-grid,.account-profile-grid,.staff-form-grid) {grid-template-columns:minmax(0,1fr)!important;gap:16px}
 body.tvm-office :is(.form-grid,.booking-form) > * {min-width:0;grid-column:auto!important}
 body.tvm-office .wide {max-width:100%}
 body.tvm-office :is(.actions,.form-actions) {flex-wrap:wrap;gap:10px}
 body.tvm-office .office-navigation-row {display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 16px}
 body.tvm-office .office-mobile-menu {border:1px solid #c8d8e5;border-radius:12px;background:#fff;width:100%;margin:0}
 body.tvm-office .office-mobile-menu > summary {padding:12px 16px;font-weight:700;color:#123f65;cursor:pointer}
 body.tvm-office .office-mobile-menu .office-section-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:8px;border:0;box-shadow:none;min-width:0}
 body.tvm-office .office-mobile-menu .office-section-nav a {margin:0;white-space:normal;text-align:left;display:flex;align-items:center;padding:10px 12px;border-radius:8px}
 body.tvm-office #workspace-assignee-toolbar {width:100%;max-width:none;margin:0}
 body.tvm-office .office-mobile-tabs {display:flex;gap:4px;padding:4px;background:#eaf2fa;border:1px solid #cfdeeb;border-radius:12px;margin:0 0 12px;grid-column:1/-1}
 body.tvm-office .office-mobile-tabs button {flex:1;min-width:0;border:0;background:transparent;box-shadow:none;border-radius:8px;color:#123f65;padding:10px 4px;font-size:14px;font-weight:700;white-space:normal}
 body.tvm-office .office-mobile-tabs button[aria-selected=true] {background:#123f65;color:#fff}
 body.tvm-office .office-mobile-panel-hidden,body.tvm-office .office-mobile-paged-out {display:none!important}
 body.tvm-office [hidden],body.tvm-office .hidden {display:none!important}
 body.tvm-office .office-mobile-fold {margin:12px 0;border:1px solid #d4e0ea;border-radius:12px;background:#fff;min-width:0}
 body.tvm-office .office-mobile-fold > summary {padding:12px 14px;font-size:15px;font-weight:700;color:#123f65;cursor:pointer}
 body.tvm-office .office-mobile-fold[open] > summary {border-bottom:1px solid #e1e9f0;margin-bottom:12px}
 body.tvm-office .office-mobile-fold > :not(summary) {margin:0;padding:0 12px 14px;max-width:100%}
 body.tvm-office .office-mobile-pager {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:14px}
 body.tvm-office .office-mobile-pager button {padding:8px 12px}
 body.tvm-office :is(.table-wrap,.table-scroll,.income-table-wrap,.account-table-wrap) {max-width:100%;min-width:0}
 body.tvm-office table.office-mobile-table {display:block;width:100%;min-width:0!important;border:0;border-collapse:separate}
 body.tvm-office table.office-mobile-table thead {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 body.tvm-office table.office-mobile-table :is(tbody,tfoot) {display:block;width:100%}
 body.tvm-office table.office-mobile-table tr {display:block;background:#fff;border:1px solid #d4e0ea;border-radius:12px;margin:0 0 12px;padding:8px 12px;max-width:100%}
 body.tvm-office table.office-mobile-table :is(td,tbody th,tfoot th) {display:grid;grid-template-columns:minmax(80px,.7fr) minmax(0,1.3fr);column-gap:12px;align-items:center;min-width:0;width:auto!important;padding:8px 0!important;border:0;border-bottom:1px solid #eef2f6;font-size:15px;line-height:1.5;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
 body.tvm-office table.office-mobile-table td::before {content:attr(data-label);color:#50667b;font-size:14px;font-weight:500;text-align:left}
 body.tvm-office table.office-mobile-table td:first-child {color:#123f65;font-weight:700}
 body.tvm-office table.office-mobile-table td:last-child {border-bottom:0}
 body.tvm-office table.office-mobile-table td > * {min-width:0;max-width:100%;grid-column:2}
 body.tvm-office table.office-mobile-table td > :first-child {grid-row:1}
 body.tvm-office table.office-mobile-table td.office-mobile-wide-cell {display:block}
 body.tvm-office table.office-mobile-table td.office-mobile-wide-cell::before {display:none}
 body.tvm-office table.office-mobile-scroll-table {display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 body.tvm-office .workspace-header {display:block;padding:16px}
 body.tvm-office :is(.workspace-metrics,.oc-summary) {display:flex;gap:10px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x proximity}
 body.tvm-office :is(.workspace-metrics > *,.oc-summary > *) {flex:0 0 130px;min-width:0;scroll-snap-align:start}
 body.tvm-office .workspace-daily-grid {display:block}
 body.tvm-office .workspace-panel {width:100%;margin:0 0 16px;min-width:0}
 body.tvm-office .workspace-calendar {height:auto!important;max-height:none!important;min-height:0!important}
 body.tvm-office .workspace-panel-heading {gap:10px;align-items:flex-start;flex-wrap:wrap}
 body.tvm-office :is(.workspace-priority-row,.workspace-calendar-item,.workspace-refund-row) {padding:14px 12px;gap:12px}
 body.tvm-office .workspace-priority-actions-row {gap:16px;min-width:0}
 body.tvm-office .workspace-board-header {display:block}
 body.tvm-office .workspace-stage-filters {display:flex;flex-wrap:wrap;gap:8px}
 body.tvm-office :is(.oc-heading,.oc-calendar-toolbar,.oc-layout) {display:block}
 body.tvm-office .oc-heading-actions {display:flex;gap:8px;flex-wrap:wrap}
 body.tvm-office .oc-navigation {display:flex;flex-wrap:wrap;gap:8px}
 body.tvm-office .oc-navigation h3 {flex-basis:100%;font-size:18px;margin:12px 0}
 body.tvm-office .oc-views {display:flex;gap:8px;margin:12px 0}
 body.tvm-office .oc-views button {flex:1}
 body.tvm-office :is(.oc-board,.oc-sidebar) {padding:12px;max-width:100%;min-width:0;width:auto;border:0}
 body.tvm-office .oc-desktop-calendar {display:none}
 body.tvm-office .oc-mobile-agenda {display:block}
 body.tvm-office .oc-agenda-day {margin-bottom:18px}
 body.tvm-office .oc-agenda-day h3 {margin:0 0 8px;font-size:15px}
 body.tvm-office .oc-agenda-day h3 button {border:0;background:transparent;color:#123f65;box-shadow:none;padding:4px 0;text-align:left;font-weight:700}
 body.tvm-office .oc-agenda-day .oc-event {display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 12px;padding:14px 12px;min-height:72px;font-size:15px;width:100%;text-align:left;margin:8px 0;background:#edf5fc;border:1px solid #cbddec;border-radius:10px}
 body.tvm-office .oc-agenda-day .oc-event time {grid-row:1/3;font-size:16px;color:#123f65;font-weight:700}
 body.tvm-office .oc-agenda-day .oc-event strong {font-size:16px;white-space:normal}
 body.tvm-office .oc-agenda-day .oc-event span {grid-column:2;font-size:14px;white-space:normal}
 body.tvm-office .oc-event-dialog {width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px}
 body.tvm-office :is(.accounts-directory-tools,.account-detail-head,.account-profile-actions-layout,.account-summary-grid,.account-profile-overview,.account-detail-rates,.cash-office-top,.cash-balance-grid,.cash-total-overview,.cash-currency-grid,.cash-person-grid,.cash-transfer-grid,.qs-workspace,.qs-overview,.report-breakdowns,.income-summary,.report-summary-grid,.manager-grid,.consulate-workspace) {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;min-width:0;max-width:100%}
 body.tvm-office :is(.account-quick-actions,.account-profile-tabs,.cash-people-tabs) {display:flex;gap:8px;flex-wrap:wrap}
 body.tvm-office .account-quick-actions > * {flex:1 1 140px;white-space:normal}
 body.tvm-office :is(.account-profile-band,.account-movements-section,.account-summary-section,.cash-office-band,.cash-section,.qs-surface) {padding:16px 12px;min-width:0}
 body.tvm-office :is(.account-detail-identity,.account-profile-actions-layout > *,.cash-intro > *,.qs-workspace > *) {min-width:0;max-width:100%}
 body.tvm-office :is(.result-filters,.income-search,.catalog-toolbar,.catalog-filters,.report-toolbar) {display:flex;flex-direction:column;align-items:stretch;gap:12px}
 body.tvm-office :is(.annual-trend-panel,.manager-overview,.income-monthly) {max-width:100%;min-width:0;overflow-x:auto}
 body.tvm-office .definition-tabs {display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:4px 0 12px;scroll-snap-type:x proximity}
 body.tvm-office .definition-tabs button {flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
 body.tvm-office :is(.staff-card,.agency-card,.company-card,.definition-item) {max-width:100%;min-width:0;flex-wrap:wrap;gap:12px}
 body.tvm-office .office-mobile-order {display:inline-flex;gap:8px;align-items:center}
 body.tvm-office .office-mobile-order button {width:44px;height:44px;padding:0;background:#edf4fb;color:#123f65;border:1px solid #c9d9e8;border-radius:8px}
 body.tvm-office [data-mobile-order] {display:none!important}
 body.tvm-office dialog {width:calc(100vw - 24px)!important;min-width:0!important;max-width:600px!important;max-height:calc(100dvh - 24px)!important;margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border-radius:16px}
 body.tvm-office dialog form {max-width:100%;min-width:0}
 body.tvm-office dialog :is(.dialog-head,.dialog-header) {padding:18px 16px;gap:12px;align-items:flex-start}
 body.tvm-office dialog .dialog-head h2 {font-size:24px;line-height:1.25}
 body.tvm-office dialog :is(.form-section,.dialog-body,.modal-body) {padding:16px;min-width:0}
 body.tvm-office dialog .form-actions {padding:16px;background:#fff;border-top:1px solid #d6e2ed}
 body.tvm-office dialog .form-actions button {flex:1 1 120px}
 body.tvm-office .date-range-picker {max-width:100%;min-width:0}
 body.tvm-office .office-footer {padding:20px 16px;gap:12px;flex-wrap:wrap;max-width:100%}
 body.tvm-office-settings .office-main {max-width:600px;margin:auto}
 body.tvm-office-settings form {padding:20px 16px;background:#fff;border:1px solid #d4e0ea;border-radius:12px;margin:20px 0}
 body.tvm-office-settings form button {margin-top:16px;width:100%}
 body.tvm-office-history .release-entry {padding:20px 16px}
 body.tvm-office-history .release-meta {flex-wrap:wrap;gap:8px}
 body.tvm-office-history .release-entry li {font-size:15px;margin-bottom:12px}
}
@media screen and (max-width:760px) {
 body.tvm-office .office-navigation-row #workspace-assignee-toolbar {flex:0 0 auto}
 body.tvm-office #workspace-assignee-toolbar > .workspace-assignee {width:100%}
 body.tvm-office .workspace-overview .workspace-header {display:block;min-height:0}
 body.tvm-office .workspace-header-tools {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;align-items:stretch}
 body.tvm-office .workspace-header-tools #new-case {grid-column:1/-1;min-height:44px;height:auto;justify-content:center;padding:12px 16px;font-size:16px;white-space:normal;background:#0966ba;border-color:#0966ba;box-shadow:none}
 body.tvm-office .workspace-header-tools .workspace-extra-sale {width:100%;height:auto;min-height:44px;justify-content:center;padding:10px;font-size:14px;white-space:normal}
 body.tvm-office .oc-summary .oc-summary-card {display:flex;align-items:center;flex:0 0 148px;min-width:148px;gap:10px;padding:12px}
 body.tvm-office .oc-summary .oc-summary-card > div {display:block;min-width:0}
 body.tvm-office .oc-summary .oc-summary-card small {display:block;white-space:normal;word-break:normal;font-size:14px;line-height:1.4}
 body.tvm-office .oc-summary .oc-summary-card strong {display:block;font-size:24px}
 body.tvm-office #case-status-dialog {padding:18px 16px}
 body.tvm-office #channel-management-dialog .channel-row-actions button {min-height:44px;min-width:44px}
 body.tvm-office .oc-agenda-day .oc-event span {display:block;text-align:left}
}
@media screen and (max-width:760px) {
 body.tvm-office .staff-card {display:grid;grid-template-columns:minmax(0,1fr);padding:16px}
 body.tvm-office .staff-card .staff-summary {grid-column:1;min-width:0}
 body.tvm-office .staff-card .staff-actions {grid-column:1;display:flex;flex-wrap:wrap;gap:8px}
 body.tvm-office .office-mobile-order {min-width:96px;flex-shrink:0}
 body.tvm-office .office-mobile-order button {min-width:44px!important;flex:0 0 44px!important}
 body.tvm-office .account-profile-tabs {display:block}
 body.tvm-office .account-profile-tabs > [role=tablist] {display:flex;flex-wrap:wrap;gap:8px}
}
@media screen and (max-width:760px) {
 body.tvm-office dialog {min-height:0!important}
 body.tvm-office dialog:not(.statement-preview-dialog) {height:fit-content!important}
 body.tvm-office .office-mobile-filter-fields {display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
 body.tvm-office .income-filter-grid > .office-mobile-fold {grid-column:1/-1;margin:0}
 body.tvm-office .catalog-toolbar {gap:12px}
}
@media screen and (max-width:760px) {
 body.tvm-office :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {font-size:16px!important;min-height:44px!important}
}

@media screen and (max-width:760px) {
 body.tvm-office > header {padding:10px 12px}
 body.tvm-office > header .brand-official img {width:120px;height:auto}
 body.tvm-office > header .brand-official small {display:none}
 body.tvm-office > header .header-actions button {padding:8px 10px}
 body.tvm-office #app > .toolbar {margin:0;padding:0;min-height:0;display:block}
 body.tvm-office #app #page-heading {margin:0 0 12px}
 body.tvm-office .office-navigation-row {margin:0 0 12px;gap:10px}
 body.tvm-office .workspace-today-card {padding:12px!important}
 body.tvm-office #workspace-overview .workspace-today-card {display:block!important}
 body.tvm-office .workspace-overview > .workspace-performance {order:2}
 body.tvm-office .workspace-priorities .workspace-panel-heading p {display:none}
 body.tvm-office .workspace-today-card h2 {font-size:18px;margin:4px 0}
 body.tvm-office .workspace-today-card .workspace-heading > p:not(.eyebrow) {display:none}
 body.tvm-office .workspace-header-tools {display:block;margin:10px 0}
 body.tvm-office #workspace-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;width:100%}
 body.tvm-office #workspace-actions #new-case {grid-column:1/-1;min-height:44px;height:44px;width:100%;margin:0;white-space:nowrap;display:flex;align-items:center;justify-content:center;font-size:16px;padding:8px 12px;background:#0966ba;border:1px solid #0966ba;box-shadow:none}
 body.tvm-office #workspace-actions .workspace-extra-sale {height:44px;min-height:44px;padding:8px;white-space:nowrap;box-shadow:none}
 body.tvm-office .workspace-metrics {flex-wrap:nowrap;gap:8px;padding-bottom:6px;margin-top:10px}
 body.tvm-office .workspace-metrics .metric-card {min-height:72px;padding:10px;flex-basis:130px}
 body.tvm-office .workspace-today-card > .office-mobile-fold {margin:8px 0 0}
 body.tvm-office .workspace-today-card > .office-mobile-fold > summary {padding:8px 12px}
 body.tvm-office .oc-summary {flex-wrap:nowrap;gap:8px;margin:12px 0;padding:0 0 8px}
 body.tvm-office .oc-heading .oc-heading-actions {display:flex;flex-wrap:nowrap;gap:8px}
 body.tvm-office .oc-heading .ui-button {width:auto;flex:1;min-height:44px}
 body.tvm-office .oc-layout {display:flex;flex-direction:column}
 body.tvm-office .oc-layout > .oc-board {order:0;width:100%}
 body.tvm-office .oc-layout > .oc-sidebar {order:1;width:100%}
 body.tvm-office .office-mobile-pager {scroll-margin-top:12px}
 body.tvm-office dialog {scroll-padding:90px 0 140px}
 body.tvm-office dialog :is(.dialog-head,.dialog-header) {position:sticky;top:0;z-index:3;background:#eaf3fc}
 body.tvm-office dialog :is(.form-actions,.dialog-actions,.modal-actions),body.tvm-office dialog form > .actions {position:sticky;bottom:0;z-index:3;margin:0;padding:12px 16px;background:#fff;border-top:1px solid #d4e0ea;box-shadow:0 -6px 14px #123f6508}
 body.tvm-office #catalog-dialog {padding:0!important;background:#fff}
 body.tvm-office #catalog-form {padding:0}
 body.tvm-office #catalog-form > .heading-with-action {display:flex;flex-direction:row;align-items:center;gap:12px;position:sticky;top:0;z-index:3;padding:16px;margin:0;background:#eaf3fc}
 body.tvm-office #catalog-form > .heading-with-action h2 {font-size:24px;line-height:1.25;margin:0;flex:1}
 body.tvm-office #catalog-form > .heading-with-action button {width:auto;flex:0 0 auto}
 body.tvm-office #catalog-form > .form-grid {padding:16px;margin:0}
 body.tvm-office #catalog-form > .error:not(:empty) {padding:0 16px}
}


body.tvm-office .tvm-icon,body.customer-portal .tvm-icon{--tvm-icon-ink:currentColor;pointer-events:none}
body.tvm-office :is(button,a,summary)>.tvm-icon{width:20px;height:20px;vertical-align:middle;flex:none}
body.tvm-office .tvm-icon-control,body.customer-portal .tvm-icon-control{display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.tvm-office .office-section-nav>a.tvm-icon-control{gap:8px}
body.tvm-office .office-section-nav>a>.tvm-icon{width:24px;height:24px}
body.tvm-office .ui-edit-pencil.tvm-icon{width:18px;height:18px;stroke-width:1.8}
body.tvm-office .workflow-label .tvm-icon{width:24px;height:24px;fill:none;stroke:var(--tvm-icon-ink,currentColor);stroke-width:1.6}
body.tvm-office :is(.workspace-calendar-icon,.calendar-icon) .tvm-icon,body.tvm-office .workspace-calendar-icon.tvm-icon{width:24px;height:24px;fill:none}
.tvm-icon--left{transform:rotate(180deg)}.tvm-icon--up{transform:rotate(-90deg)}.tvm-icon--down{transform:rotate(90deg)}
body.tvm-office :is(.workspace-priority-open,.workspace-arrow,.account-open,.account-recent-arrow,.workspace-recent-arrow) .tvm-icon{width:24px;height:24px}
body.tvm-office :is(.ui-add-action,#new-case).tvm-icon-control::before,body.tvm-office .ui-add-action:has(.tvm-icon)::before,body.tvm-office #new-case:has(.tvm-icon)::before{content:none}
body.tvm-office .ui-add-icon>.tvm-icon,body.tvm-office .ui-add-icon.tvm-icon{color:var(--tvm-danger);--tvm-icon-accent:currentColor;width:20px;height:20px;background:none;border:0;box-shadow:none}
body.tvm-office .ui-button--primary .ui-add-icon{color:inherit}
body.tvm-office .staff-drag-handle>span{display:inline-flex}
body.tvm-office :is(.staff-drag-handle,[data-catalog-drag],.service-order-handle) .tvm-icon{width:24px;height:24px}
body.tvm-office .settings-button>span:empty{display:none}
body.tvm-office .account-search>svg.tvm-icon,body.tvm-office .qs-search>svg.tvm-icon{width:20px;height:20px;fill:none;stroke-width:1.6}
body.tvm-office .account-search input{background-image:none}
body.tvm-office :is(.workspace-search input,#case-account-query){background-image:url('/icons/tvm/search.svg');background-size:22px 22px;background-repeat:no-repeat;background-position:11px center;padding-left:40px}
body.tvm-office select:not([multiple]):not([size]),body.tvm-office select[size="1"]{background-image:url('/icons/tvm/chevron-down.svg');background-size:18px 18px;background-repeat:no-repeat;background-position:right 14px center}
body.tvm-office details>summary{list-style:none}
body.tvm-office details>summary::-webkit-details-marker{display:none}
body.tvm-office details>summary::marker{content:''}
body.tvm-office details>summary::before{content:'';display:inline-block;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin-right:8px;vertical-align:middle;border:0;border-radius:0;background:currentColor;mask:url('/icons/tvm/chevron-down.svg') center/contain no-repeat;transform:rotate(-90deg);transition:transform .15s}
body.tvm-office details[open]>summary::before{content:'';transform:rotate(0)}
body.tvm-office :is(.participant-delivery,.participant-sponsor-details)>summary::after{content:none!important}
:is(body.tvm-office,body.customer-portal) .document-file-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:40px;min-width:40px;height:auto;padding:0;border:0!important;background:transparent!important;box-shadow:none;color:var(--tvm-navy)}
:is(body.tvm-office,body.customer-portal) .document-file-icon::after{content:none!important}
:is(body.tvm-office,body.customer-portal) .document-file-icon>.tvm-icon{width:32px;height:32px}
:is(body.tvm-office,body.customer-portal) .document-file-icon>small{font-size:12px;line-height:1.2;font-weight:700}
body.tvm-office .office-mobile-order button>.tvm-icon{width:20px;height:20px}
@media screen and (max-width:760px){body.tvm-office .office-section-nav>a.tvm-icon-control{justify-content:flex-start}body.tvm-office .case-file-tabs .tvm-icon{width:18px;height:18px}body.tvm-office .definition-tabs .tvm-icon{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){body.tvm-office details>summary::before{transition:none}}
@media screen and (min-width:761px){body.tvm-office .office-section-nav>a.tvm-icon-control{flex-direction:column;gap:4px;padding:6px 10px;min-height:67px;height:67px}body.tvm-office .office-section-nav>a.intake-nav-link{padding-right:24px}}
.tvm-icon--chevron-left{transform:rotate(90deg)}.tvm-icon--chevron-right{transform:rotate(-90deg)}
body.tvm-office .calendar-icon>.tvm-icon{width:24px;height:24px}
body.tvm-office .ui-add-icon.tvm-icon,body.tvm-office .ui-add-icon>.tvm-icon{color:inherit}
body.tvm-office :is(.secondary,.ui-button--secondary) .ui-add-icon{color:var(--tvm-danger)}


@media screen and (max-width:760px){
 body.tvm-office :is(.case-mobile-tabs,.office-mobile-tabs) button.tvm-icon-control{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;padding:8px 2px;font-size:14px;line-height:1.3}
 body.tvm-office :is(.case-mobile-tabs,.office-mobile-tabs) button>.tvm-icon{width:22px;height:22px;flex:none}
 body.tvm-office .case-mobile-chevron.tvm-icon{width:22px;height:22px;flex:none;color:var(--tvm-action)}
 body.tvm-office .case-mobile-more-choices button.tvm-icon-control{justify-content:flex-start}
}


@media screen and (max-width:760px){
 body.tvm-office:has(.office-mobile-menu) #page-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 body.tvm-office .office-mobile-menu{margin:0;background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:12px;box-shadow:none;overflow:hidden}
 body.tvm-office .office-mobile-menu>.office-mobile-menu-toggle{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:64px;box-sizing:border-box;list-style:none}
 body.tvm-office .office-mobile-menu>.office-mobile-menu-toggle::before{content:none}
 body.tvm-office .office-mobile-menu>.office-mobile-menu-toggle::after{content:'';width:18px;height:18px;flex:0 0 18px;margin-left:auto;background:var(--tvm-navy);mask:url('/icons/tvm/chevron-down.svg') center/contain no-repeat;transform:rotate(0)}
 body.tvm-office .office-mobile-menu[open]>.office-mobile-menu-toggle::after{transform:rotate(180deg)}
 body.tvm-office .office-mobile-section-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;background:var(--tvm-action-soft);border-radius:8px;color:var(--tvm-navy)}
 body.tvm-office .office-mobile-section-symbol>.tvm-icon{width:26px;height:26px}
 body.tvm-office .office-mobile-menu-copy{display:grid;gap:3px;min-width:0}
 body.tvm-office .office-mobile-menu-title{font-size:16px;line-height:1.3;color:var(--tvm-navy)}
 body.tvm-office .office-mobile-menu-hint{font-size:14px;line-height:1.35;font-weight:400;color:var(--tvm-muted);overflow-wrap:anywhere}
 body.tvm-office .office-mobile-menu.has-active-assignee .office-mobile-menu-hint{color:var(--tvm-action);font-weight:600}
 body.tvm-office .office-mobile-menu .office-section-nav{padding:8px 12px 12px;gap:8px}
 body.tvm-office .office-mobile-menu .office-section-nav>a{height:auto;min-height:60px;border:1px solid var(--tvm-line);border-radius:10px;box-shadow:none;font-size:14px;line-height:1.3;padding:10px;gap:10px;min-width:0;flex-direction:row;justify-content:flex-start}
 body.tvm-office .office-mobile-menu .office-section-nav>a>.tvm-icon{width:26px;height:26px;flex:none}
 body.tvm-office .office-mobile-menu .office-section-nav>a[aria-current=page]{color:#fff;background:var(--tvm-navy);border-color:var(--tvm-navy)}
 body.tvm-office .office-mobile-menu #workspace-assignee-toolbar:not(:empty){display:block;width:auto;margin:0 12px 12px;padding:12px 0 0;border-top:1px solid var(--tvm-line)}
 body.tvm-office .office-mobile-menu #workspace-assignee-toolbar>.workspace-assignee{width:100%;min-width:0}
 body.tvm-office .office-navigation-row{margin-bottom:16px}
 body.tvm-office .office-mobile-tabs,#detail[data-mobile-case] .case-mobile-tabs{gap:4px;padding:4px;background:#fff;border:1px solid var(--tvm-line);border-radius:12px;overflow:hidden;box-shadow:none}
 body.tvm-office .office-mobile-tabs button.tvm-icon-control,#detail[data-mobile-case] .case-mobile-tabs button.tvm-icon-control{min-height:64px;padding:8px 2px;border:0;border-radius:8px;gap:4px;font-size:14px;line-height:1.3;color:var(--tvm-navy);background:transparent;box-shadow:none}
 body.tvm-office .office-mobile-tabs button[aria-selected=true],#detail[data-mobile-case] .case-mobile-tabs button[aria-selected=true]{color:#fff;background:var(--tvm-navy);border-color:transparent;box-shadow:none}
 body.tvm-office .office-mobile-tabs button>.tvm-icon,#detail[data-mobile-case] .case-mobile-tabs button>.tvm-icon{width:22px;height:22px;--tvm-icon-ink:currentColor}
 #detail[data-mobile-case] .case-mobile-nav{padding-bottom:12px}
 body.tvm-office :is(.office-mobile-menu-toggle,.office-mobile-tabs button,.case-mobile-tabs button):focus-visible{outline:3px solid var(--tvm-action);outline-offset:-3px}
}

@media screen and (min-width:761px){body.tvm-office .office-section-nav>a>.tvm-icon{width:26px;height:26px}}


body.tvm-office .ui-button--secondary {background:var(--tvm-normal-surface);color:var(--tvm-normal-ink);border-color:var(--tvm-normal-border);box-shadow:none}
body.tvm-office .ui-button--secondary:hover {background:var(--tvm-normal-hover);color:var(--tvm-action);border-color:var(--tvm-action);filter:none}
body.tvm-office .ui-button--secondary:active {background:var(--tvm-normal-pressed);color:var(--tvm-action-hover);border-color:var(--tvm-action-hover)}
body.tvm-office .office-section-nav>a[aria-current=page],
body.tvm-office .office-section-nav>a[aria-current=page]:hover,
body.tvm-office .case-file-tabs [data-case-view].active,
body.tvm-office .case-file-tabs [data-case-view].active:hover {
 color:var(--tvm-surface);background:var(--tvm-navy);border-color:var(--tvm-navy);filter:none;
}
body.tvm-office .workbench.detail-open .case-file-heading {box-shadow:inset 4px 0 0 var(--tvm-action),var(--tvm-shadow-card)}
body.tvm-office .ui-button:disabled,body.tvm-office .ui-button[aria-disabled=true] {
 background:var(--tvm-disabled-surface);color:var(--tvm-disabled-ink);border-color:var(--tvm-line);opacity:1;box-shadow:none;
}
body.tvm-office :is(button,a,summary,input,select,textarea):focus-visible {outline-color:var(--tvm-action)}


body.tvm-office.accounts-active .account-entry-actions button[data-account-finance],
body.tvm-office .case-finance-actions button[data-case-finance]{border:1px solid var(--tvm-normal-border);background:var(--tvm-normal-surface);color:var(--tvm-normal-ink);box-shadow:none}
body.tvm-office.accounts-active .account-entry-actions button[data-account-finance]:hover,
body.tvm-office .case-finance-actions button[data-case-finance]:hover{background:var(--tvm-normal-hover);color:var(--tvm-action-hover);border-color:var(--tvm-action);box-shadow:none}
body.tvm-office.accounts-active .account-entry-actions button[data-account-finance="payment"],
body.tvm-office .case-finance-actions button[data-case-finance="payment"]{background:var(--tvm-action);border-color:var(--tvm-action);color:#fff;box-shadow:none}
body.tvm-office.accounts-active .account-entry-actions button[data-account-finance="payment"]:hover,
body.tvm-office .case-finance-actions button[data-case-finance="payment"]:hover{background:var(--tvm-action-hover);border-color:var(--tvm-action-hover);color:#fff;box-shadow:none}

body.tvm-office :is(.staff-drag-handle,[data-catalog-drag],.service-order-handle){display:inline-grid;place-items:center;min-width:30px;min-height:38px;width:30px;height:38px;padding:0;border:0;background:transparent;color:var(--tvm-muted);box-shadow:none;cursor:grab;line-height:1;touch-action:none}
body.tvm-office :is(.staff-drag-handle,[data-catalog-drag],.service-order-handle):is(:hover,:focus-visible){background:var(--tvm-normal-hover);color:var(--tvm-navy);border:0;box-shadow:none}
body.tvm-office :is(.staff-drag-handle,[data-catalog-drag],.service-order-handle):active{background:var(--tvm-normal-pressed);cursor:grabbing}
@media(max-width:760px){body.tvm-office :is(.staff-drag-handle,[data-catalog-drag],.service-order-handle){min-width:44px;min-height:44px;width:44px;height:44px}}


body.tvm-office .catalog-heading{align-items:center;gap:20px;margin-bottom:0}
body.tvm-office .catalog-heading>div:first-child{min-width:0}
body.tvm-office .catalog-heading .section-help{margin:6px 0 0}
body.tvm-office .catalog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.tvm-office .catalog-actions .ui-button{min-height:48px;margin:0;white-space:nowrap}
body.tvm-office .catalog-filters{display:grid;grid-template-columns:minmax(490px,1.3fr) minmax(220px,1fr) minmax(180px,.55fr);gap:16px;align-items:end;margin:24px 0 16px}
body.tvm-office .catalog-filters>label{display:grid;gap:6px;min-width:0;margin:0}
body.tvm-office .catalog-filters :is(input[type="search"],select){height:48px;min-height:48px;margin:0;width:100%;min-width:0}
body.tvm-office .catalog-filters .choice-segment-field legend{margin:0 0 6px;font-weight:var(--tvm-weight-medium)}
body.tvm-office .catalog-filters .choice-segment{min-height:48px}
body.tvm-office .catalog-filters .choice-segment label{min-width:0}
body.tvm-office .catalog-filters .choice-segment span{padding-inline:10px}
body.tvm-office .catalog-filters .catalog-kind-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;border:0;background:transparent}
body.tvm-office .catalog-kind-options .catalog-kind-button{gap:8px;min-height:48px;padding:8px 10px;border:1px solid var(--tvm-normal-border);border-radius:var(--tvm-radius-control);background:var(--tvm-normal-surface);color:var(--tvm-normal-ink);box-shadow:none;line-height:var(--tvm-leading-compact)}
body.tvm-office .catalog-kind-options .tvm-icon{width:24px;height:24px;flex:none}
body.tvm-office .catalog-kind-options input:not(:checked)+.catalog-kind-button:hover{background:var(--tvm-normal-hover);border-color:var(--tvm-action);color:var(--tvm-action-hover)}
body.tvm-office .catalog-kind-options input:checked+.catalog-kind-button{background:var(--tvm-navy);border-color:var(--tvm-navy);color:#fff;box-shadow:none}
body.tvm-office #catalog-count{margin:0 0 12px;font-size:var(--tvm-type-support)}
body.tvm-office .catalog-table th:first-child{width:30%}
body.tvm-office .catalog-table th:nth-child(3){width:25%}
body.tvm-office .catalog-service-identity{display:flex;align-items:center;gap:10px;min-width:0}
body.tvm-office .catalog-service-identity>[data-catalog-drag]{flex-shrink:0}
body.tvm-office .catalog-service-identity>.catalog-icon{margin:0;flex:none}
body.tvm-office .catalog-service-copy{flex:1;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
body.tvm-office .catalog-service-copy>strong{font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-bold);line-height:var(--tvm-leading-title);color:var(--tvm-navy)}
body.tvm-office .catalog-service-copy>small{font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-regular);line-height:var(--tvm-leading-compact);margin-top:4px}
body.tvm-office .catalog-country-package .catalog-country-title{display:flex;align-items:center;gap:8px;color:var(--tvm-navy);font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-bold);line-height:var(--tvm-leading-title)}
body.tvm-office .catalog-country-package .catalog-country-flag{flex:none;font-size:22px;line-height:1}
body.tvm-office .catalog-country-package .catalog-country-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){
 body.tvm-office .catalog-filters{grid-template-columns:minmax(0,1fr) minmax(180px,.45fr)}
 body.tvm-office .catalog-filters>.choice-segment-field{grid-column:1/-1;grid-row:1}
 body.tvm-office .catalog-filters .choice-segment{max-width:620px}
}
@media(max-width:760px){
 body.tvm-office .catalog-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 body.tvm-office .catalog-actions{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px;justify-content:stretch}
 body.tvm-office .catalog-actions .ui-button{width:100%;white-space:normal;padding-inline:10px}
 body.tvm-office .catalog-actions>.ui-button:only-child{grid-column:1/-1}
 body.tvm-office .catalog-filters{grid-template-columns:minmax(0,1fr);gap:14px;margin:20px 0 16px}
 body.tvm-office .catalog-filters>.choice-segment-field{grid-column:auto;grid-row:auto}
 body.tvm-office .catalog-filters .choice-segment{max-width:none}
 body.tvm-office .catalog-filters .choice-segment span{min-height:44px;padding:6px;font-size:var(--tvm-type-support)}
 body.tvm-office .catalog-filters .catalog-kind-options .catalog-kind-button{flex-direction:column;gap:6px;min-height:88px;padding:8px 6px}
 body.tvm-office .catalog-table.office-mobile-table td:first-child{display:block}
 body.tvm-office .catalog-table.office-mobile-table td:first-child::before{display:none}
 body.tvm-office .catalog-service-identity{gap:8px}
}


.intake-review-content{background:var(--tvm-surface-info)}
.intake-review-grid{gap:16px}
.intake-review-grid>section,.intake-review-section{background:#fff;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);padding:18px}
.intake-review-section{margin-top:16px}
.intake-review-dialog h3{color:var(--tvm-navy,#173e68);font-weight:700;margin-bottom:12px}
.intake-facts dd{font-weight:600;color:var(--tvm-ink,#173e68)}
.intake-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.intake-people li{padding:12px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);flex-direction:column}
.intake-people strong{font-size:var(--tvm-type-body);color:var(--tvm-navy,#173e68)}
.intake-customer-note{border-left:4px solid var(--tvm-primary,#1675c9)}
.intake-customer-note .intake-preserve-lines{margin:0;line-height:1.6;color:var(--tvm-ink,#173e68)}
@media(max-width:600px){.intake-review-content{padding:16px}.intake-people{grid-template-columns:minmax(0,1fr)}.intake-review-grid>section,.intake-review-section{padding:14px}}


.intake-review-grid .intake-facts dd,.intake-people strong,.intake-people span,.intake-customer-note .intake-preserve-lines{color:#155fa0}

.intake-people span{font-weight:600}


.manual-date-fields{display:flex;gap:10px;margin-bottom:6px;min-width:0}
.manual-date-field{display:grid;gap:4px;flex:1;min-width:0;font-size:12px;font-weight:650;color:var(--muted)}
.manual-date-input{width:100%;min-width:0;min-height:44px!important;padding:9px 10px!important;background:#fff!important;color:var(--booking-blue)!important;border:1px solid var(--booking-line)!important;border-radius:5px;font-size:16px!important;font-weight:600}
.manual-date-input:focus{outline:2px solid var(--booking-blue);outline-offset:1px}
.manual-date-input:user-invalid{border-color:#a74444!important}
.manual-date-input:disabled{opacity:.6}

.single-date-picker[data-ready]{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:6px;align-items:end}
.single-date-picker[data-ready]>.date-range-label{grid-column:1/-1;margin:0}
.single-date-picker[data-ready]>.manual-date-fields{margin:0}
.single-date-picker[data-ready] .manual-date-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.single-date-picker[data-ready]>.compact-date-trigger{width:46px!important;height:46px!important;min-height:46px!important;padding:8px!important;justify-content:center;gap:0}
.single-date-picker[data-ready]>.compact-date-trigger>span:nth-child(2){display:none}
.single-date-picker[data-ready]>.compact-date-trigger .calendar-icon{font-size:24px}

.login>.login-session-notice{margin:0 0 16px;padding:8px 10px;border:1px solid #a74444;border-radius:7px;background:#fff5f3;color:#8d3434;font-size:var(--tvm-text-14,14px);line-height:1.4;font-weight:600;text-align:left;overflow-wrap:break-word}


.single-date-picker[data-ready]{align-items:center}
.single-date-picker[data-ready]>.manual-date-fields .manual-date-input{box-sizing:border-box;height:46px!important;margin:0!important}
.single-date-picker[data-ready]>.compact-date-trigger{box-sizing:border-box;margin:0!important;display:inline-flex;align-items:center;align-self:center}
.single-date-picker[data-ready]>.compact-date-trigger .calendar-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.oc-calendar-toolbar>.single-date-picker[data-ready]>.manual-date-fields .manual-date-input,.oc-calendar-toolbar>.single-date-picker[data-ready]>.compact-date-trigger{height:36px!important;min-height:36px!important}
@media(max-width:720px){.oc-calendar-toolbar>.single-date-picker[data-ready]>.manual-date-fields .manual-date-input,.oc-calendar-toolbar>.single-date-picker[data-ready]>.compact-date-trigger{height:44px!important;min-height:44px!important}}
.workspace-document-alert{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;margin-top:4px;border:1px solid var(--tvm-danger);border-radius:5px;background:#fff5f3;color:var(--tvm-danger);font-size:14px;font-weight:600;line-height:1.3}


.case-appointment-summary .appointment-countdown{display:inline-flex;align-items:center;margin-left:12px;padding:3px 8px;border:1px solid var(--tvm-action);border-radius:5px;background:var(--tvm-action-soft);color:var(--tvm-action);font-size:15px;font-weight:700;white-space:nowrap}

body.tvm-office #app > #workspace-actions.office-global-quick-actions{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-end;gap:8px;width:100%;margin:0 0 16px}
body.tvm-office #app > #workspace-actions.office-global-quick-actions[hidden]{display:none}
body.tvm-office #app > #workspace-actions.office-global-quick-actions > .ui-button{width:208px;max-width:100%;min-height:44px;height:44px;white-space:nowrap}
body.tvm-office #app > #workspace-actions.office-global-quick-actions #new-case{width:208px;max-width:100%;grid-column:auto;font-size:16px}
body.tvm-office > header .header-actions #workspace-assignee-toolbar:not([hidden]):has(.workspace-assignee){display:block;width:200px;max-width:100%;margin:0}
body.tvm-office #workspace-assignee-toolbar[hidden]{display:none!important}
body.tvm-office > header .header-actions #workspace-assignee-toolbar > .workspace-assignee{width:100%}
body.tvm-office .catalog-context-options{border:1px solid var(--ui-line);border-radius:8px;padding:16px}
body.tvm-office .catalog-context-options label{display:flex;gap:10px;align-items:center;min-height:44px}
body.tvm-office .catalog-context-options input[type=checkbox],body.tvm-office .qs-anonymous input{width:20px;height:20px;margin:0;flex:none}
body.tvm-office .catalog-context-status{white-space:nowrap;color:var(--ui-ink)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-workspace{display:block}
body.tvm-office #quick-sales-view.qs-cart-screen #qs-sale-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-products,body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout{min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout{padding:20px;border:1px solid #c4d8e8;border-radius:8px;background:#f2f7fb}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout h3{margin:0 0 16px;color:#123f65}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-total-main,body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-layout,body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid{display:grid;grid-template-columns:1fr;gap:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-anonymous{display:flex;align-items:center;gap:8px;grid-column:1/-1;min-height:44px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-quick-selection,body.tvm-office #quick-sales-view.qs-cart-screen .qs-view-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-quick-selection .ui-button{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:44px;font-size:14px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-quick-selection svg{width:24px;height:24px;flex:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner{padding:12px 16px;background:#edf5fb;color:#123f65;border:1px solid #c4d8e8;border-radius:8px;margin-bottom:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-overview[hidden],body.tvm-office #quick-sales-view.qs-cart-screen .qs-sales[hidden],body.tvm-office #quick-sales-view.qs-cart-screen .qs-surface[hidden]{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-overview:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{border:1px solid #0869ba;border-radius:8px;padding:16px;background:white}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-service select{color:#0869ba;font-weight:600}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-form-actions{flex-wrap:wrap;gap:8px}
@media(max-width:760px){body.tvm-office #app > #workspace-actions.office-global-quick-actions{justify-content:flex-start;align-items:flex-end}body.tvm-office #app > #workspace-actions.office-global-quick-actions > .ui-button{flex:0 0 auto;max-width:100%;font-size:14px}body.tvm-office #app > #workspace-actions.office-global-quick-actions #new-case{flex:0 0 auto;font-size:16px}body.tvm-office #quick-sales-view.qs-cart-screen #qs-sale-form,body.tvm-office #quick-sales-view.qs-cart-screen .qs-overview:not([hidden]){grid-template-columns:1fr}body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout{padding:16px}body.tvm-office #quick-sales-view.qs-cart-screen .qs-view-tabs .ui-button{flex:1 1 auto;font-size:14px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>label{grid-template-columns:1fr;gap:4px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-total-main{grid-template-columns:1fr}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{grid-template-columns:minmax(0,1fr) 136px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row .qs-stepper{width:136px}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{grid-template-columns:1fr}body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-editor-actions{width:auto}}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-products > .qs-form-grid{margin-bottom:28px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-product-panel{padding:20px;border:1px solid #c4d8e8;border-radius:10px;background:linear-gradient(135deg,#edf5fc 0%,#f7fafc 75%,#fff 100%)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading .qs-view-tabs{margin:0;gap:0;border:1px solid #c4d8e8;border-radius:8px;overflow:hidden;background:#f4f8fc}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-view-tabs .ui-button{border:0;border-radius:0;min-height:44px;box-shadow:none}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading .qs-view-tabs{width:100%}body.tvm-office #quick-sales-view.qs-cart-screen .qs-product-panel{padding:14px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner[hidden],body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading > span[hidden]{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records{margin:20px 0;border:1px solid #c4d8e8;border-radius:10px;background:white;padding:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records > summary{min-height:44px;cursor:pointer;color:#123f65;font-weight:700;padding:10px 0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records[open] > summary{margin-bottom:16px;border-bottom:1px solid #c4d8e8}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading h2{margin:0;min-width:0;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-section-heading .qs-view-tabs{max-width:100%;flex-wrap:wrap}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-view-tabs .ui-button{white-space:normal;overflow-wrap:anywhere;padding:10px 14px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-product-panel .ui-button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-quick-selection .ui-button{flex:0 1 auto;text-align:left}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner .qs-view-tabs{margin:0 0 0 auto;max-width:100%;gap:8px}
body.tvm-office #quick-sales-view.qs-cart-screen #qs-day-summary{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner .ui-button{border:1px solid #afcbe2;border-radius:8px;white-space:normal;max-width:100%}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner .qs-view-tabs{width:100%}body.tvm-office #quick-sales-view.qs-cart-screen .qs-day-banner .ui-button{flex:1 1 120px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-report-tabs[hidden]{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records > .qs-period{margin:8px 0 20px;display:flex;flex-wrap:wrap;gap:10px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-overview:not([hidden]){grid-template-columns:1fr}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-report-table{width:100%;table-layout:fixed}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-report-table th,body.tvm-office #quick-sales-view.qs-cart-screen .qs-report-table td{overflow-wrap:anywhere}

body.tvm-office .workspace-document-alert{display:inline-flex;width:max-content;max-width:100%;padding:2px 6px;border:0;background:#fff7f6;color:var(--tvm-danger);font-size:13px;line-height:18px;font-weight:600;min-height:0;white-space:normal;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-anonymous input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;max-height:20px;padding:0;margin:0;flex:0 0 20px;appearance:auto;accent-color:var(--tvm-action);box-shadow:none;transition:none;transform:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-anonymous input[type=checkbox]:focus{box-shadow:none;outline:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-anonymous input[type=checkbox]:focus-visible{outline:2px solid var(--tvm-action);outline-offset:3px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-anonymous{transition:none;transform:none;background:transparent}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-net-total{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-net-total strong{font-size:32px;line-height:1.2;color:#123f65;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout > .qs-discount-control{margin:16px 0 24px;padding-top:16px;border-top:1px solid #c4d8e8}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-discount-control input{width:120px;max-width:100%;height:44px;min-height:44px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-quick-selection:not(:empty){padding:14px;background:#e6f0f9;border:1px solid #b7d0e5;border-radius:8px;gap:10px;margin-bottom:20px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:18px;align-items:start}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row .qs-item-service{grid-column:1;margin:0;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row .qs-quantity-field{grid-column:2;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:18px;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group label{min-width:0;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-editor-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start;width:100%;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-editor-actions > *{flex:0 1 auto;width:auto;max-width:100%;min-height:44px;margin:0;white-space:normal}
body.tvm-office #quick-sales-view.qs-cart-screen [data-qs-cancel-item]{display:inline-flex;align-items:center;color:var(--tvm-danger);background:transparent;border:0;box-shadow:none;padding:8px 10px}
body.tvm-office #quick-sales-view.qs-cart-screen [data-qs-cancel-item][hidden]{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-note{grid-column:1/-1;margin:0}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{grid-template-columns:1fr}body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row .qs-item-service,body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row .qs-quantity-field{grid-column:1}body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-template-columns:minmax(0,1fr) 100px;gap:12px}}


body.tvm-office #app{position:relative}
body.tvm-office #app > .toolbar{min-height:148px;padding-right:232px;box-sizing:border-box;align-items:flex-start}
body.tvm-office #app > #workspace-actions.office-global-quick-actions{position:absolute;top:0;right:0;width:208px;max-width:100%;margin:0}
@media(max-width:480px){body.tvm-office #app > .toolbar{padding-right:220px}body.tvm-office #app > .toolbar h1{font-size:24px;overflow-wrap:anywhere}}
body.tvm-office > header{align-items:flex-end}
body.tvm-office > header .header-actions{display:flex;align-items:flex-end;gap:8px}
body.tvm-office > header .header-actions > button{min-height:44px;height:44px;box-sizing:border-box;margin-bottom:0}
body.tvm-office > header .workspace-assignee-toolbar{margin-bottom:0}
@media(min-width:761px){body.tvm-office #app > .toolbar{min-height:44px;margin-bottom:8px}body.tvm-office #app > .office-section-nav{padding-right:232px;min-height:96px;box-sizing:border-box;align-content:flex-start;margin-bottom:8px}}
@media(min-width:761px){body.tvm-office #app > .office-section-nav{min-height:104px!important}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-overview .qs-section-heading h2{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-overview .qs-section-heading{margin-bottom:8px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-overview > .qs-surface{border:0;box-shadow:none;padding:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-overview{gap:8px;margin:0}

@media(min-width:761px){body.tvm-office #app > .office-navigation-row{padding-right:232px;min-height:104px;box-sizing:border-box;margin-bottom:8px}body.tvm-office #app > .office-navigation-row .office-section-nav{margin:0;padding-right:0;min-height:0}}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-sales-heading{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-records .qs-sales{border:0;box-shadow:none;padding:0}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-list-total{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:14px 0;color:#123f65;border-top:1px solid #c4d8e8}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-list-total small{flex-basis:100%;text-align:right;color:var(--tvm-muted)}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-template-columns:minmax(140px,180px) 110px;justify-content:start;gap:12px;width:100%;max-width:302px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group input{width:100%;min-width:0;font-variant-numeric:tabular-nums}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group select{width:100%;min-width:0}
@media(max-width:380px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-template-columns:minmax(0,1fr) 90px;gap:10px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control{padding:0;margin-top:10px;border:0;width:100%}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control label{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:5px;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control input{width:100px;margin-left:8px;min-height:38px;height:38px}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-row{gap:12px;padding:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-template-columns:140px 100px minmax(150px,1fr);max-width:none;align-items:start;gap:10px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group .qs-item-editor-actions{grid-column:3;padding-top:25px;gap:6px;align-items:flex-start}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group .qs-item-editor-actions button{padding:8px 10px;min-height:44px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control label{width:100%;justify-content:flex-end}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group{grid-template-columns:minmax(0,140px) 100px}body.tvm-office #quick-sales-view.qs-cart-screen .qs-item-price-group .qs-item-editor-actions{grid-column:1/-1;padding-top:0;flex-direction:row;width:auto}}

body.tvm-office #quick-sales-view .qs-sale-success{padding:14px;margin-bottom:16px;border:1px solid #0869ba;border-left:4px solid #0869ba;border-radius:8px;background:#eef6fc;color:#174568}body.tvm-office #quick-sales-view .qs-sale-success strong{font-size:20px}body.tvm-office #quick-sales-view .qs-sale-success p{margin:6px 0 0;font-size:14px}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total{display:flex;flex-direction:column;align-items:flex-end;gap:12px;padding:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-summary{margin:0;padding:0;display:block;text-align:right}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-summary[hidden]{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-original-price{font-size:23px;color:#5e7180;text-decoration:line-through;text-decoration-color:#b34444;text-decoration-thickness:2px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control{margin:0;width:100%}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-total-main{margin:0;width:100%;text-align:right}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-net-total{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-net-total strong{font-size:32px;color:#174568}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label{min-width:0;font-size:13px;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid input,body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid select{width:100%;min-width:0;padding:8px;font-size:14px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-person{display:none}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{grid-template-columns:85px minmax(0,1fr)}body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label:last-child{grid-column:1/-1}}


body.tvm-office #quick-sales-view.qs-cart-screen #qs-sale-form{grid-template-columns:minmax(0,2.125fr) minmax(280px,1fr)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{grid-template-columns:90px minmax(0,1fr);gap:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label:last-child{grid-column:1/-1}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control{margin-bottom:8px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-summary{margin-bottom:-8px}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen #qs-sale-form{grid-template-columns:1fr}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-original-price{font-size:16px;color:#b34444;text-decoration-color:#b34444}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-hidden-amount{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-collector-field{grid-column:1}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-method-field{grid-column:2}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label.qs-method-field:last-child{grid-column:2}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-entry[hidden]{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-toggle{font-size:14px;gap:8px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-toggle input{width:18px;height:18px;min-height:18px;margin:0;accent-color:#0869ba}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-entry{margin-top:10px}

body.tvm-office #quick-sales-view .qs-hidden-seller{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-form-grid{grid-template-columns:1fr}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin:6px 0 0;width:auto;max-width:100%}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-control label{width:auto;margin:0;font-size:13px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-sale-total .qs-discount-entry input{width:90px;margin-left:0}

body.tvm-office #quick-sales-view .qs-hidden-collector{display:none!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-form-grid{grid-template-columns:minmax(0,1fr) 150px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{grid-column:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:auto;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control label{display:flex;align-items:center;gap:6px;width:auto;margin:0;font-size:13px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry[hidden]{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle input{width:18px;min-height:18px;height:18px;margin:0;accent-color:#0869ba}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry input{width:90px;margin:0}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-form-grid{grid-template-columns:1fr}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{min-height:38px;padding:8px 10px;font-size:13px;width:auto}body.tvm-office #quick-sales-view.qs-cart-screen .qs-discount-control>input[hidden]{display:none!important}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total{align-items:stretch;text-align:left}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total .qs-total-main{width:100%;text-align:left}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total .qs-net-total{align-items:flex-start;text-align:left}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary{text-align:left;align-self:flex-start}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{align-items:start;column-gap:16px;row-gap:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{min-width:0;max-width:100%;gap:10px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{max-width:100%;white-space:normal}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry{display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:100%;min-width:0;gap:4px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry input{flex:0 0 90px;width:90px;max-width:100%;box-sizing:border-box}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label.qs-method-field{min-width:0;max-width:100%}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{grid-template-columns:1fr;gap:16px;align-items:start}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label.qs-method-field:last-child{grid-column:1}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{grid-column:1;width:100%;gap:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{font-size:14px;min-height:44px;padding:10px 14px;align-self:flex-start}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry{width:100%;justify-content:flex-start;gap:12px;font-size:14px;color:#174568}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry input{width:90px;flex:0 0 90px;height:44px;min-height:44px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label.qs-method-field{font-size:14px;color:#174568}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total .qs-net-total{margin-left:0;margin-right:0;width:100%;justify-self:start;justify-content:flex-start}

body.tvm-office #quick-sales-view.qs-cart-screen #qs-sale-form :is(input:not([type="checkbox"]):not([type="hidden"]),select,textarea,button){border-radius:var(--tvm-radius-control)}

body.tvm-office .workspace-document-alert{font-size:12px;line-height:1.4;padding:4px 9px;border:0;white-space:nowrap;overflow-wrap:normal;min-height:0;box-sizing:border-box}

body.tvm-office #app>#workspace-actions.office-global-quick-actions .workspace-extra-sale{background:var(--tvm-accent-soft);border-color:var(--tvm-accent);color:var(--tvm-navy)}

body.tvm-office #app>#workspace-actions.office-global-quick-actions a[href="/office/?view=quick-sales"]{background:var(--tvm-accent-soft);border-color:var(--tvm-accent);color:var(--tvm-navy)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:12px;min-height:44px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;box-shadow:none;padding:0;min-height:44px;flex:0 0 auto;white-space:nowrap;color:var(--tvm-action);font-size:14px;font-weight:600}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle svg{width:20px;height:20px;flex:0 0 20px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry{width:auto;display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin:0;flex:0 1 auto}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry input{width:80px;flex:0 0 80px}
@media(max-width:380px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{gap:8px}body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{font-size:13px}body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry input{width:65px;flex-basis:65px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total{min-height:132px;box-sizing:border-box;justify-content:flex-end}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total{min-height:100px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary{align-self:flex-end;text-align:right}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total .qs-net-total{flex-direction:row;justify-content:space-between;align-items:baseline;flex-wrap:nowrap;gap:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-net-total>span{font-size:14px;text-align:left}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-net-total>strong{margin-left:auto;text-align:right;white-space:nowrap}


body.tvm-office #quick-sales-view.qs-cart-screen .qs-net-total>span{margin-left:38px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-bank-field{grid-column:1/-1;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-bank-field select{width:100%}
body.tvm-office #quick-sales-view.qs-cart-screen #qs-period-form :is(select,button){height:44px;min-height:44px;box-sizing:border-box}
body.tvm-office #quick-sales-view.qs-cart-screen #qs-refresh{display:inline-flex;align-items:center;gap:8px}
body.tvm-office #quick-sales-view.qs-cart-screen #qs-refresh svg{width:20px;height:20px}
@media(max-width:600px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-net-total>span{margin-left:20px}}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-layout{display:block}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid label.qs-method-field{grid-column:1/-1;grid-row:auto;width:100%}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid>.qs-discount-control{height:44px;grid-column:1/-1;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{white-space:normal;flex:0 0 106px;text-align:left;line-height:1.3}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-entry{justify-content:flex-start;flex:0 0 auto}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-person{display:none}

body.tvm-office #quick-sales-view .qs-record-controls{display:flex;align-items:flex-start;gap:16px;padding:16px 0}
body.tvm-office #quick-sales-view .qs-record-controls #qs-period-form{display:flex;align-items:center;flex-wrap:wrap;gap:12px;flex:1;margin:0;padding:0;min-width:0}
body.tvm-office #quick-sales-view .qs-record-controls .qs-search{margin-left:auto;flex:0 1 380px;min-width:200px;height:44px;box-sizing:border-box}
body.tvm-office #quick-sales-view .qs-record-controls .qs-search input{height:42px;min-height:0}
body.tvm-office #quick-sales-view .qs-record-controls .qs-period-field{margin:0;width:160px;flex:0 0 160px}
body.tvm-office #quick-sales-view .qs-record-controls #qs-range-label{margin:0;white-space:nowrap}
@media(max-width:760px){body.tvm-office #quick-sales-view .qs-record-controls{flex-wrap:wrap}body.tvm-office #quick-sales-view .qs-record-controls #qs-period-form{flex:1 1 100%}body.tvm-office #quick-sales-view .qs-record-controls .qs-search{flex:1 1 100%;margin:0;min-width:0}}

body.tvm-office #quick-sales-view .qs-cancelled-filter{display:flex;align-items:center;gap:8px;font-size:13px;margin:4px 0 12px}
body.tvm-office #quick-sales-view .qs-cancelled-filter input{width:18px;height:18px;min-height:0;margin:0}

body.tvm-office #quick-sales-view.qs-cart-screen .qs-payment-grid .qs-discount-toggle{white-space:nowrap;flex:0 0 auto}


body.tvm-office #bank-account-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:calc(100dvh - 32px);padding:0;box-sizing:border-box;overflow:auto}
body.tvm-office #bank-account-dialog form{margin:0;padding:0;min-width:0}
body.tvm-office #bank-account-dialog .dialog-head{padding:20px 24px;border-bottom:1px solid var(--tvm-line);gap:16px}
body.tvm-office #bank-account-dialog .dialog-head h2{margin:0;font-size:22px;line-height:1.3}
body.tvm-office #bank-account-dialog .bank-account-body{padding:24px;min-width:0}
body.tvm-office #bank-account-dialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:0;padding:0}
body.tvm-office #bank-account-dialog .form-grid>label{min-width:0;margin:0;display:grid;gap:8px}
body.tvm-office #bank-account-dialog .form-grid>.wide{grid-column:1/-1}
body.tvm-office #bank-account-dialog :is(input,select){width:100%;max-width:100%;min-width:0;min-height:44px;margin:0;box-sizing:border-box}
body.tvm-office #bank-account-dialog input[name="iban"]{letter-spacing:.03em}
body.tvm-office #bank-account-dialog .error:empty{display:none}
body.tvm-office #bank-account-dialog .bank-account-actions{display:flex;justify-content:flex-end;gap:12px;margin:0;padding:16px 24px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
body.tvm-office #bank-account-dialog .bank-account-actions button{min-height:44px;margin:0}
@media(max-width:600px){body.tvm-office #bank-account-dialog .dialog-head{padding:16px}body.tvm-office #bank-account-dialog .dialog-head h2{font-size:20px}body.tvm-office #bank-account-dialog .bank-account-body{padding:16px}body.tvm-office #bank-account-dialog .form-grid{grid-template-columns:minmax(0,1fr);gap:16px}body.tvm-office #bank-account-dialog .form-grid>.wide{grid-column:auto}body.tvm-office #bank-account-dialog .bank-account-actions{padding:16px}}


body.tvm-office #definitions-view button.definition-update-action{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-height:30px;height:auto;padding:5px 7px;border:0;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap}
body.tvm-office #definitions-view button.definition-update-action:hover{background:transparent;text-decoration:underline;box-shadow:none}
body.tvm-office .definition-update-action:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px}

body.tvm-office .bank-account-row{display:grid;grid-template-columns:minmax(200px,2fr) 46px minmax(200px,1.6fr) max-content;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--tvm-line);min-width:0}
body.tvm-office .bank-account-identity{min-width:0;display:grid;gap:5px;overflow-wrap:anywhere}
body.tvm-office .bank-account-identity strong{font-size:18px;color:var(--tvm-navy)}
body.tvm-office .bank-account-identity small{color:var(--tvm-muted);font-size:13px}
body.tvm-office .bank-account-iban{min-width:0;overflow-wrap:anywhere;font-size:14px;font-variant-numeric:tabular-nums}
body.tvm-office .bank-account-row-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;width:max-content}
body.tvm-office .bank-account-delete{display:inline-flex;align-items:center;gap:6px;width:auto;padding:5px 7px;min-height:30px;border:0;background:transparent;box-shadow:none;color:var(--tvm-danger);font-size:14px;font-weight:700}
body.tvm-office .bank-account-delete:hover{background:transparent;text-decoration:underline}
body.tvm-office .bank-passive-filter{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0;color:var(--tvm-muted)}
body.tvm-office .bank-passive-filter input{width:auto;margin:0}
body.tvm-office #bank-account-delete-dialog{width:min(560px,calc(100vw - 32px));padding:0;max-width:100%;box-sizing:border-box}
body.tvm-office #bank-account-delete-dialog .dialog-head,body.tvm-office #bank-account-delete-dialog .form-section,body.tvm-office #bank-account-delete-dialog .form-actions{padding:16px 24px;margin:0}
body.tvm-office #bank-account-delete-dialog .form-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--tvm-line)}
@media(max-width:900px){body.tvm-office .bank-account-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}body.tvm-office .bank-account-iban{grid-column:1/-1}body.tvm-office .bank-account-row-actions{grid-column:1/-1;justify-self:end}}

body.tvm-office #bank-account-movements-dialog{width:min(860px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
body.tvm-office #bank-account-movements-dialog .dialog-head,body.tvm-office #bank-account-movements-dialog .form-section{padding:20px 24px;margin:0;min-width:0}
body.tvm-office #bank-account-movements-dialog .ui-table small{display:block;margin-top:4px;color:var(--tvm-muted)}
body.tvm-office .bank-account-row-actions [data-bank-movements]{min-height:30px;padding:5px 7px;font-size:14px}
@media(max-width:600px){body.tvm-office #bank-account-movements-dialog .dialog-head,body.tvm-office #bank-account-movements-dialog .form-section{padding:16px}body.tvm-office .bank-account-row-actions{gap:6px;flex-wrap:wrap;max-width:100%}}


body.tvm-office .bank-account-row{grid-template-columns:30px minmax(180px,2fr) 46px minmax(190px,1.6fr) max-content}
body.tvm-office .company-card-list .staff-card{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:12px;align-items:center}
body.tvm-office .company-card-list .staff-summary{grid-column:auto}
body.tvm-office .company-card-list .staff-actions{grid-column:auto}
body.tvm-office :is(#company-card-delete-dialog) .form-section,body.tvm-office #company-card-delete-dialog .form-actions{padding:24px}
@media(max-width:1100px){body.tvm-office .bank-account-row{grid-template-columns:30px minmax(0,1fr) auto}body.tvm-office .bank-account-iban{grid-column:2/-1}body.tvm-office .bank-account-row-actions{grid-column:2/-1}}
@media(max-width:760px){body.tvm-office :is(.definition-update-action,.bank-account-delete,[data-bank-movements]){min-height:44px}body.tvm-office .bank-account-row{grid-template-columns:44px minmax(0,1fr) auto}body.tvm-office .company-card-list .staff-card{grid-template-columns:44px minmax(0,1fr)}body.tvm-office .company-card-list .staff-actions{grid-column:1/-1}body.tvm-office .bank-account-row-actions{width:auto;max-width:100%;flex-wrap:wrap}}


body.tvm-office .participant-operation-warning{display:flex;flex-direction:column;gap:6px;border:1px solid var(--tvm-line);border-left:5px solid #a24545;background:#fff7f6;color:#173b56;border-radius:7px;padding:14px 16px;margin:12px 0;font-size:14px;overflow-wrap:anywhere}
body.tvm-office .participant-operation-warning strong{font-size:18px;color:#943c3c;letter-spacing:.03em}
body.tvm-office .participant-operation-warning.on_hold{background:#fff9e9;border-left-color:#b78320}
body.tvm-office .participant-operation-warning.on_hold strong{color:#785416}
body.tvm-office #participant-operation-dialog{width:min(600px,calc(100vw - 32px))}
body.tvm-office #participant-operation-dialog .form-section,body.tvm-office #participant-operation-dialog .form-actions{padding:24px}
body.tvm-office #participant-operation-dialog label{display:block;margin-bottom:12px}
body.tvm-office #participant-operation-dialog input[type=checkbox]{display:inline;width:auto}
@media(max-width:600px){body.tvm-office #participant-operation-dialog .form-section,body.tvm-office #participant-operation-dialog .form-actions{padding:16px}}

@media(max-width:760px){body.tvm-office #definitions-view button.definition-update-action{min-height:44px}}

body.tvm-office .workspace-operation-note{color:#943c3c;font-weight:700}


body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker){display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:end;min-width:0}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.date-range-label{grid-column:1/-1;margin:0}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.manual-date-fields{margin:0;gap:6px}
body.tvm-office .manual-date-input{font-variant-numeric:tabular-nums;letter-spacing:0;max-width:100%}
body.tvm-office .manual-date-caption{font-size:14px}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.date-range-trigger{display:none!important}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker) .manual-date-field{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px 6px;align-items:end}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker) .manual-date-caption{grid-column:1/-1}
body.tvm-office .manual-date-calendar{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;margin:0;border:1px solid var(--booking-line);background:#fff;color:var(--booking-blue);border-radius:7px}
body.tvm-office .manual-date-calendar .tvm-icon{width:22px;height:22px}
@media(max-width:600px){body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.manual-date-fields{flex-direction:column}}
body.tvm-office .date-range-picker[hidden]{display:none!important}


.videx-editor-dialog{width:min(1280px,96vw);max-width:96vw;height:92vh;max-height:92vh;padding:0;overflow:hidden}
.videx-editor-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}
.videx-editor-dialog iframe{display:block;width:100%;height:calc(100% - 76px);border:0}


body.tvm-office #catalog-dialog{width:min(820px,calc(100vw - 32px));max-width:820px;border:2px solid var(--ui-primary,#0866ad);border-radius:12px}
body.tvm-office #catalog-form > .form-grid{gap:16px 20px}
body.tvm-office #catalog-form .catalog-visa-options{min-width:0;margin:4px 0 0;padding:16px;border:1px solid var(--ui-line,#d4e1ed);border-left:4px solid var(--ui-primary,#0866ad);border-radius:8px;background:#f2f7fb;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
body.tvm-office #catalog-form .catalog-visa-options[hidden]{display:none}
body.tvm-office #catalog-form .catalog-visa-options legend{padding:0 6px;font-weight:700;color:#173b57}
body.tvm-office #catalog-form .catalog-visa-options > label:first-of-type,body.tvm-office #catalog-form .catalog-visa-options .section-help{grid-column:1/-1}
body.tvm-office #catalog-form .catalog-visa-options label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:48px;padding:10px;background:#fff;border:1px solid var(--ui-line,#d4e1ed);border-radius:6px}
body.tvm-office #catalog-form .catalog-visa-options input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0;flex:none;accent-color:#0866ad}
body.tvm-office #catalog-form > .actions{position:sticky;bottom:0;margin:0;padding:14px 16px;background:#fff;border-top:1px solid var(--ui-line,#d4e1ed);display:flex;justify-content:flex-end;gap:10px}
@media(max-width:600px){body.tvm-office #catalog-form .catalog-visa-options{grid-template-columns:minmax(0,1fr)}}
@media(min-width:761px){body.tvm-office .office-section-nav>a[data-office-area="calendar"]{flex:0 0 auto;min-width:76px;width:auto;padding-inline:10px}}
body.tvm-office .visa-package-picker{width:min(680px,calc(100vw - 32px));padding:0;border:2px solid #0866ad;border-radius:12px}
body.tvm-office .visa-package-picker .dialog-head{padding:18px;background:#eaf3fc;display:flex;align-items:center;justify-content:space-between;gap:16px}
body.tvm-office .visa-package-picker h2{margin:0;font-size:22px}
.visa-package-picker-body{padding:20px}.visa-package-picker-body [data-packages]{display:grid;gap:12px;margin-top:16px}
body.tvm-office .visa-package-choice{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:16px;background:#fff;color:#173b57;border:1px solid #bfd2e3;border-radius:8px;text-align:left}
body.tvm-office .visa-package-choice:hover{background:#eaf3fc;border-color:#0866ad}.visa-package-choice span{font-size:14px;font-weight:400}
@media(min-width:1101px){body.tvm-office #app>.office-navigation-row{padding-right:440px;min-height:100px}body.tvm-office #app>#workspace-actions.office-global-quick-actions{top:56px;width:420px;display:flex;flex-direction:row;gap:8px}body.tvm-office #workspace-actions>*{flex:1;min-width:0;min-height:68px;height:auto;white-space:normal;text-align:center;justify-content:center}}
@media(max-width:1100px){body.tvm-office #app>.toolbar{padding-right:0;min-height:44px}body.tvm-office #app>.office-navigation-row{padding-right:0;min-height:0}body.tvm-office #app>#workspace-actions.office-global-quick-actions{position:static;width:100%;display:flex;flex-direction:row;gap:8px;margin:12px 0}body.tvm-office #workspace-actions>*{flex:1;min-width:0;min-height:56px;white-space:normal;justify-content:center}}
body.tvm-office #app>#workspace-actions[hidden]{display:none!important}

@media(min-width:761px){body.tvm-office .office-section-nav>a{min-width:76px;box-sizing:border-box;white-space:nowrap}body.tvm-office .office-section-nav>a[data-office-area="cash"]{width:76px;min-width:76px;padding-inline:10px}}
@media(min-width:1101px){body.tvm-office #app>.office-navigation-row{padding-right:0;padding-left:440px}body.tvm-office #app>.office-navigation-row .office-section-nav{justify-content:flex-end}body.tvm-office #app>#workspace-actions.office-global-quick-actions{left:0;right:auto}}


@media(min-width:761px){
 body.tvm-office .office-section-nav>a,body.tvm-office .office-section-nav>a[data-office-area="cash"],body.tvm-office .office-section-nav>a[data-office-area="calendar"]{min-width:90px;width:auto;padding-inline:10px;flex:0 0 auto}
 body.tvm-office .office-section-nav>a.intake-nav-link{padding-inline:10px}
 body.tvm-office .intake-new-count[hidden]{display:none!important}
 body.tvm-office > header{display:flex;gap:20px;align-items:end;flex-wrap:wrap}
 body.tvm-office > header .header-context{position:static;transform:none;flex:1;min-width:160px;text-align:left}
 body.tvm-office > header .header-actions{margin-left:auto;align-items:end;flex-wrap:wrap}
 body.tvm-office > header .header-actions>.ui-button,body.tvm-office > header .header-actions>button,body.tvm-office > header .header-actions select{height:44px;min-height:44px;box-sizing:border-box}
 body.tvm-office > header .header-actions #workspace-assignee-toolbar:not([hidden]):has(.workspace-assignee){width:160px}
 body.tvm-office #app>.office-navigation-row .office-section-nav{justify-content:flex-end}
}
@media(min-width:1101px){
 body.tvm-office #app{display:grid;grid-template-columns:auto auto minmax(0,1fr);column-gap:20px;align-items:end}
 body.tvm-office #app[hidden]{display:none}
 body.tvm-office #app>*{grid-column:1/-1}
 body.tvm-office #app>.toolbar{grid-column:1;grid-row:1;min-height:0;padding:0;margin:0 0 16px;align-self:end}
 body.tvm-office #app>.toolbar h1{margin:0;font-size:30px;line-height:1.15}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions{grid-column:2;grid-row:1;position:static;width:auto;margin:0 0 16px;display:flex;gap:8px;align-items:end}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{width:auto;min-width:100px;min-height:67px;height:67px;padding:8px 12px;flex:0 0 auto}
 body.tvm-office #app>.office-navigation-row{grid-column:3;grid-row:1;padding:0;min-height:0;margin:0 0 16px;align-self:end}
}

body.tvm-office > header .header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;max-width:100%}
body.tvm-office #office-session-name{flex:0 0 100%;text-align:right;font-size:14px;font-weight:600;color:var(--tvm-navy);line-height:1.4}
body.tvm-office #office-session-name[hidden]{display:none}
body.tvm-office > header .header-actions>:is(a.ui-button,button){display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;min-height:44px;padding:8px 14px;margin:0;box-sizing:border-box;line-height:1.2;white-space:nowrap}
body.tvm-office > header .header-actions>[hidden]{display:none!important}

body.tvm-office > header .header-actions>#definitions-nav,body.tvm-office > header .header-actions>#logout{height:44px;min-height:44px;padding:8px 14px}
@media(min-width:1101px){
 body.tvm-office #app{column-gap:12px}
 body.tvm-office #app>.toolbar h1{font-size:26px}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{width:104px;min-width:104px;max-width:104px;height:67px;min-height:67px;padding:8px;white-space:normal}
}

@media(min-width:1101px){body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{height:44px;min-height:44px}}
@media(min-width:1101px){body.tvm-office #app>.office-navigation-row .office-section-nav{padding-bottom:0;border-bottom:0}body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{width:auto;min-width:110px;max-width:none;white-space:nowrap}}

@media(min-width:1101px){
 body.tvm-office #app{grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:12px}
 body.tvm-office #app>.toolbar{grid-column:1;grid-row:1;margin:0;text-align:left;justify-self:start}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions{grid-column:2;grid-row:2;justify-self:end;justify-content:flex-end;margin:0 0 16px}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{min-width:132px;padding-inline:14px}
 body.tvm-office #app>.office-navigation-row{grid-column:1;grid-row:2;align-self:end;margin:0 0 16px;justify-self:start}
}

body.tvm-office > header .header-context strong{color:var(--booking-blue,#0866ad);font-size:1.4rem;line-height:1.25;letter-spacing:0;font-weight:700;white-space:normal}
@media(min-width:801px){body.tvm-office > header .header-context{position:static;transform:none;flex:1 1 auto;text-align:center;align-self:center;margin:0;min-width:180px}body.tvm-office > header .header-actions{flex:0 0 auto;margin-left:0}}

body.tvm-office #app:has(>#operations-view:not([hidden]))>.toolbar{display:none}
@media(min-width:1101px){body.tvm-office #app:has(>#operations-view:not([hidden]))>#workspace-actions.office-global-quick-actions{grid-row:1}body.tvm-office #app:has(>#operations-view:not([hidden]))>.office-navigation-row{grid-row:1}}

body.tvm-office{--office-section-accent:var(--tvm-navy,#123f65);--office-section-radius:12px}
body.tvm-office :is(.oc-heading,.oc-board,.workspace-panel,.workspace-hero,.accounts-directory,.report-panel,.catalog-table-wrap,.workspace-table-wrap,.income-table-wrap,.account-files-table-wrap,.qs-surface){border-top:4px solid var(--office-section-accent);border-top-left-radius:var(--office-section-radius);border-top-right-radius:var(--office-section-radius)}
body.tvm-office :is(.workspace-table-wrap,.income-table-wrap,.catalog-table-wrap)>table{border-top:0}

@media(min-width:801px){body.tvm-office > header .header-actions{margin-bottom:6px}}
body.tvm-office #app .office-section-nav>a.intake-nav-link.tvm-icon-control{padding-right:10px;padding-left:10px}
body.tvm-office #app .office-section-nav>a.intake-nav-link.tvm-icon-control:has(.intake-new-count:not([hidden])){padding-right:28px}

@media(min-width:1280px){body.tvm-office > header{padding-inline:max(24px,calc((100% - 1280px)/2 + 24px))}}

body.tvm-office .visa-package-dropdown{position:fixed;inset:auto;margin:0;width:360px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:16px;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-navy);border-radius:12px;background:#fff;color:var(--tvm-ink);box-shadow:0 10px 30px #123f6526;overflow:auto}
.visa-package-dropdown-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.visa-package-dropdown-heading button{background:transparent;color:#123f65;border:0;box-shadow:none;min-width:36px;min-height:36px;padding:4px;font-size:24px}
.visa-package-dropdown label{display:grid;gap:6px}.visa-package-dropdown select{width:100%;min-height:44px}.visa-package-dropdown [data-packages]{display:grid;gap:8px;margin-top:12px}

.visa-files-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}.visa-files-filters label{display:grid;gap:6px;flex:1;min-width:180px}.visa-files-filters input,.visa-files-filters select{min-height:44px}

#detail[data-appointment-tracking="false"] .case-appointment-summary,#detail[data-appointment-tracking="false"] #edit-route{display:none!important}


body.tvm-office .catalog-center-options{border:1px solid var(--ui-line);border-left:4px solid #14746b;border-radius:8px;padding:16px;min-width:0;background:#f2f9f7}
body.tvm-office [data-package-centers]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
body.tvm-office .package-center-choice{display:flex;align-items:center;gap:8px;padding:8px;background:white;border:1px solid var(--ui-line);border-radius:6px}
body.tvm-office .package-center-choice input{width:18px;height:18px;min-height:18px;margin:0;flex:none}
body.tvm-office .catalog-center-options details{margin-top:12px}
body.tvm-office .catalog-price-dialog{width:min(640px,calc(100vw - 32px));padding:24px}
@media(max-width:600px){body.tvm-office [data-package-centers]{grid-template-columns:1fr}}

.catalog-package-cost-options{display:grid;gap:12px;border:1px solid var(--ui-border,#ccd9e4);border-radius:12px;padding:16px}.catalog-package-cost-options label{display:flex;align-items:center;gap:10px}.catalog-package-cost-options input[type="checkbox"]{width:20px;height:20px;min-height:20px}

.catalog-package-suppliers{border:1px solid #ccd9e4;border-radius:12px;padding:16px}.catalog-package-suppliers label{display:flex;align-items:center;gap:10px;margin:10px 0}.catalog-package-suppliers input[type="checkbox"]{width:20px;height:20px;min-height:20px}


body.tvm-office .catalog-price-dialog .form-grid > label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
body.tvm-office .catalog-price-dialog [data-sales-tariff]{padding:12px 0;border-bottom:1px solid var(--ui-border,#ccd9e4)}

body.customer-portal{background:var(--tvm-site-background);color:var(--tvm-site-ink);--tvm-action:var(--tvm-site-primary);--tvm-action-hover:#103c32;--tvm-ink:var(--tvm-site-ink);--tvm-line:var(--tvm-site-line);--tvm-muted:var(--tvm-site-muted)}
.customer-portal .customer-live-shell{max-width:1120px}
.customer-portal .customer-live-shell>header{border-bottom:1px solid var(--tvm-line);padding-bottom:24px;gap:24px}
.customer-portal .customer-case-summary{background:var(--tvm-site-primary);color:white;border:0}
.customer-portal .customer-case-summary :is(h2,p,strong){color:white}
.customer-portal .customer-next-actions{border-left:4px solid var(--tvm-site-secondary);background:white}
.customer-portal .customer-next-actions h2{font-size:24px}
.customer-portal .customer-next-actions ul{padding:0;list-style:none;display:flex;gap:10px;flex-wrap:wrap}
.customer-portal .customer-document-jump{min-height:44px;background:#edf3ee;color:var(--tvm-site-primary);border:1px solid #a8bdb1;font-size:14px;text-align:left}
.customer-portal .document-request-status{font-size:14px;line-height:1.5;padding:6px 10px;border-radius:18px;white-space:normal;max-width:100%}
.customer-portal .document-request-status[data-status="waiting"],.customer-portal .document-request-status[data-status="expired"]{background:#fff3db;color:#80591b;border-color:#dac798}
.customer-portal .document-request-status[data-status="correction"]{background:#fbeeee;color:#a33131;border-color:#e2b7b7}
.customer-portal .document-request-status:is([data-status="uploaded"],[data-status="reviewing"]){background:#edf3f8;color:#264d6c;border-color:#b9cddd}
.customer-portal .document-request-status[data-status="checked"]{background:#edf6ef;color:#246847;border-color:#a9ccb4}
.customer-portal .document-request-status[data-status="withdrawn"]{background:#f1f2f1;color:#566960;border-color:#cbd5cd}
.customer-portal .document-request-heading{align-items:start;flex-wrap:wrap;gap:12px}
.customer-portal .document-request-heading h4{font-size:18px;line-height:1.4}
.customer-portal :is(button,input,select){min-height:44px;font-size:16px}
.customer-portal #customer-link-sent ol{padding-left:24px;line-height:1.7}
.customer-portal #customer-message:empty{display:none}
.customer-portal .customer-inline-error{font-size:14px}
@media(max-width:640px){.customer-portal .customer-live-shell{width:calc(100% - 32px);padding:20px 0;margin:0 auto}.customer-portal .customer-live-shell>header{flex-direction:column;align-items:start;gap:20px}.customer-portal .customer-next-actions h2{font-size:24px}.customer-portal .customer-next-actions ul{display:grid;grid-template-columns:1fr}.customer-portal .customer-document-jump{width:100%}.customer-portal .document-card-grid{grid-template-columns:1fr}.customer-portal .customer-live-card{padding:20px}.customer-portal .customer-live-shell input{max-width:100%;box-sizing:border-box}}


.dubai-editor-dialog{width:min(1280px,calc(100vw - 32px));max-height:92vh;overflow:auto;background:#f3f6f8}
.dubai-editor-dialog .dialog-head{position:static!important;background:#fff;padding:16px 24px;border-bottom:1px solid #d6e1e9}
.dubai-editor-dialog [data-body]{padding:16px 24px 24px}
.dubai-form-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:22px;align-items:start}
.dubai-section-nav{position:sticky;top:12px;display:grid;gap:10px}
.dubai-section-nav button{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px 10px;border:1px solid #b7cbdc;border-left:5px solid #0968b9;border-radius:7px;background:#edf5fc;color:#163f60;text-align:left;font-size:14px;white-space:normal}
.dubai-form-section{--section-accent:#0968b9;--section-tint:#edf5fc;background:#fff;border:1px solid #d6e1e9;border-top:4px solid var(--section-accent);border-radius:10px;padding:24px;margin-bottom:18px;scroll-margin-top:16px}
.dubai-form-section:nth-child(2){--section-accent:#246b49;--section-tint:#e6f4eb}
.dubai-form-section:nth-child(3){--section-accent:#435e91;--section-tint:#f0f3fa}
.dubai-form-section:nth-child(4){--section-accent:#87621e;--section-tint:#fcf7eb}
.dubai-form-section:nth-child(5){--section-accent:#73528d;--section-tint:#f6f1f9}
.dubai-form-section h3{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:15px;border-radius:7px;background:var(--section-tint);color:#163f60;font-size:18px}
.dubai-section-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;border-radius:50%;background:var(--section-accent);color:#fff;font-size:16px}
.dubai-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dubai-editor-dialog .dubai-form-grid label{min-width:0;margin:0;font-size:14px;font-weight:600}
.dubai-form-grid :is(input,select,textarea){max-width:100%;min-width:0;border:1px solid #b7cbdc;border-radius:6px;background:#fff;color:#0868b9;font-size:16px;padding:11px}
.dubai-form-grid textarea{resize:vertical}
.dubai-editor-dialog .dubai-check{display:flex;align-items:center;gap:10px;margin:12px 0;padding:10px;background:#f1f6fa;border-radius:6px;font-size:14px}
.dubai-check input{width:18px;height:18px;flex:none}
.dubai-document{min-width:0;overflow-wrap:anywhere}
.dubai-document button{margin:8px 0}
.dubai-editor-dialog .manual-date-caption{display:none}
.dubai-editor-dialog .manual-date-fields{margin:0}
.dubai-editor-dialog [aria-invalid=true]{border-color:#ba3030}
.dubai-editor-dialog .form-actions{padding:15px;background:#fff;border-top:1px solid #d6e1e9;display:flex;justify-content:flex-end;gap:12px}
.dubai-editor-dialog [data-check-summary]{font-size:14px;color:#526477}
@media(max-width:750px){
 .dubai-form-layout{grid-template-columns:1fr;gap:16px}
 .dubai-section-nav{position:static;display:flex;overflow-x:auto;padding-bottom:4px}
 .dubai-section-nav button{flex:0 0 auto;white-space:nowrap}
 .dubai-form-grid{grid-template-columns:1fr}
 .dubai-form-section{padding:16px}
 .dubai-form-section h3{padding:12px;font-size:16px}
 .dubai-editor-dialog [data-body]{padding:12px}
 .dubai-editor-dialog .dialog-head{padding:16px}
 .dubai-editor-dialog .form-actions{flex-wrap:wrap}
}


.dubai-print-page{margin:0;background:#eef2f5;color:#163f60;font:14px Arial,sans-serif}
.dubai-print-page main{max-width:186mm;margin:20px auto;padding:12mm;background:white}
.dubai-print-page header{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid #163f60;padding-bottom:16px}
.dubai-print-page header img{width:170px;height:auto}
.dubai-print-page h1{font-size:24px;margin:0 0 6px}.dubai-print-page header p{margin:0}
.dubai-print-page h2{font-size:16px;padding:9px;background:#edf5fc;border-bottom:1px solid #d6e1e9;margin:20px 0 8px;break-after:avoid}
.dubai-print-page dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0}
.dubai-print-field{padding:8px 0;border-bottom:1px solid #e1e7ec;break-inside:avoid;overflow-wrap:anywhere}
.dubai-print-page dt{font-size:12px;color:#526477;margin-bottom:4px}.dubai-print-page dd{margin:0;white-space:pre-wrap}
.dubai-print-date,.dubai-print-page footer{font-size:12px;color:#526477}
.dubai-print-page footer{margin-top:24px;padding-top:12px;border-top:1px solid #d6e1e9}
.dubai-print-tools{padding:12px;text-align:center;background:white}
@media(max-width:600px){.dubai-print-page main{margin:0;padding:20px}.dubai-print-page header{flex-wrap:wrap}.dubai-print-page dl{grid-template-columns:1fr}}
@media print{@page{size:A4;margin:12mm}.dubai-print-page{background:white}.dubai-print-page main{max-width:none;margin:0;padding:0}.dubai-print-tools{display:none!important}.dubai-print-page dl{grid-template-columns:1fr 1fr}.dubai-print-page header{flex-wrap:nowrap}}

.dubai-print-dialog{width:min(960px,96vw);height:92vh;padding:0}.dubai-print-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}.dubai-print-dialog iframe{display:block;width:100%;height:calc(100% - 80px);border:0}


.account-new-visa-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;padding:0;border:1px solid var(--tvm-line,#d6e1e9);border-radius:12px;overflow:auto;color:var(--tvm-ink,#163f60);background:#fff}
.account-new-visa-dialog form{display:block;min-width:0;margin:0;padding:0}
.account-new-visa-dialog .dialog-head{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px 20px;background:var(--tvm-surface-info,#edf5fc);border-bottom:1px solid var(--tvm-line,#d6e1e9)}
.account-new-visa-dialog .dialog-head h2{min-width:0;margin:0;font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.account-new-visa-dialog .dialog-head button{flex-shrink:0}
.account-new-visa-body{padding:20px;min-width:0}
.account-new-visa-payer{margin:0 0 20px;overflow-wrap:anywhere;color:#526477}
.account-new-visa-payer strong{display:block;margin-top:4px;color:#163f60}
.account-new-visa-dialog label{display:block;margin:0;font-size:14px;font-weight:600}
.account-new-visa-dialog select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;margin-top:8px;border:1px solid #b7cbdc;border-radius:6px;padding:10px 34px 10px 12px;background-color:#fff;color:#0868b9;font-size:16px}
.account-new-visa-dialog .section-help{font-size:14px;line-height:1.5;margin:12px 0 0;color:#526477}
.account-new-visa-dialog .actions{position:static;display:flex;justify-content:flex-end;margin:0;padding:14px 20px;border-top:1px solid #d6e1e9;background:#fff}
@media(max-width:600px){.account-new-visa-dialog .dialog-head{padding:14px}.account-new-visa-dialog .dialog-head h2{font-size:18px}.account-new-visa-body{padding:16px}.account-new-visa-dialog .actions{padding:14px 16px}.account-new-visa-dialog .actions button{width:100%;white-space:normal}}

body.tvm-office .visa-package-modal{position:fixed;inset:0;margin:auto!important;box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85dvh;height:fit-content;overflow:auto;padding:20px;border:1px solid #b7cbdc;border-radius:12px;background:#fff;box-shadow:0 16px 48px #163f6033}
.visa-package-modal::backdrop,.account-new-visa-dialog::backdrop{background:rgba(22,45,65,.32);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
body.tvm-office .visa-package-modal label,body.tvm-office .visa-package-modal .form-grid{min-width:0}
body.tvm-office .visa-package-modal select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
@media(max-width:600px){body.tvm-office .visa-package-modal{padding:16px}body.tvm-office .visa-package-modal .form-grid{grid-template-columns:1fr}}



html { font-size: 16px; }
body,
button,
input,
select,
textarea { font-family: var(--tvm-font-ui); font-synthesis: none; }
body {
  font-size: var(--tvm-type-body);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


h1,h2,h3,h4,h5,h6 { font-family: var(--tvm-font-ui); font-weight: var(--tvm-weight-bold); }
h1,.toolbar h1 { font-size: var(--tvm-type-page); line-height: var(--tvm-leading-tight); letter-spacing: -.025em; }
h2,.dialog-head h2 { font-size: var(--tvm-type-section); line-height: var(--tvm-leading-tight); letter-spacing: -.015em; }
h3,.form-section-head h3 { font-size: var(--tvm-type-section); line-height: var(--tvm-leading-title); }
h4 { font-size: var(--tvm-type-body); line-height: var(--tvm-leading-compact); }
.eyebrow {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-heavy);
  line-height: var(--tvm-leading-title);
  letter-spacing: .12em;
}
.workbench.detail-open .detail-head h2,
.identity-profile h2,
body.accounts-active .account-detail-identity h2 {
  font-size: var(--tvm-type-customer);
  font-weight: var(--tvm-weight-bold);
  line-height: 1.15;
}
.dialog-head p,.form-section-head p,.inline-actions p {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}


p,li,dt,dd { line-height: var(--tvm-leading-body); }
small,.muted,.section-help,.calendar-help,.finance-delete-help,
.finance-allocation-notice small,.insurance-accounting-note {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
.error,[role="alert"] {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-medium);
  line-height: var(--tvm-leading-compact);
}
label,.date-range-label,.result-report>.result-filters>label,
.income-filter-grid label,.account-statement-form label {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-medium);
  line-height: var(--tvm-leading-compact);
}
label small,.form-section label small {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}


input,select,textarea {
  font-size: var(--tvm-type-body);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-body);
}
button,.ui-button,body.accounts-active .account-entry-actions .ui-button,.case-finance-actions .ui-button,.office-section-nav a,.primary-nav a,.report-tabs a {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-compact);
}
#new-case { font-size: var(--tvm-type-body); font-weight: var(--tvm-weight-bold); }


.workflow-tab span { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.workflow-tab strong { font-size: var(--tvm-type-emphasis); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-tight); }
.case-main>strong { font-size: var(--tvm-type-emphasis); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.case-route { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-compact); }
.case-summary small,.case-tags b,.badge {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-medium);
  line-height: var(--tvm-leading-compact);
}
.case-summary strong,.total-badge { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-compact); }
.workbench>#counts .count span,#app>.toolbar>#counts .count span {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-medium);
  line-height: var(--tvm-leading-title);
}
.workbench>#counts .count strong,#app>.toolbar>#counts .count strong {
  font-size: var(--tvm-type-emphasis);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-tight);
}


.case-identity small,.identity-facts small,.identity-side small {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-compact);
}
.case-identity strong,.identity-facts strong,.identity-side strong {
  font-size: var(--tvm-type-body);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-title);
}
.country-identity strong { font-size: var(--tvm-type-section); font-weight: var(--tvm-weight-bold); }
.account-row small { font-size: var(--tvm-type-overline); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.account-row-heading strong { font-size: var(--tvm-type-emphasis); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.account-row>span:nth-child(2)>strong { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-medium); line-height: var(--tvm-leading-compact); }
body.accounts-active .account-detail-name-row .account-billing-address {
  font-size: var(--tvm-type-address);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-body);
}
body.accounts-active .account-detail-contact {
  font-size: var(--tvm-type-body);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
body.accounts-active .account-detail-contact span { font-weight: var(--tvm-weight-bold); }
body.accounts-active .account-detail-code { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-heavy); }
body.accounts-active .account-search { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
body.accounts-active .account-profile-edit,
body.accounts-active .account-statement-form>button { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
body.accounts-active .accounts-finance-label { font-size: var(--tvm-type-address); font-weight: var(--tvm-weight-heavy); line-height: var(--tvm-leading-title); }
body.accounts-active .account-statement-form .date-range-trigger small { font-size: var(--tvm-type-support); }
body.accounts-active .account-statement-form .date-range-trigger strong { font-size: var(--tvm-type-emphasis); }
body.accounts-active .accounts-browse>.report-notice strong,
body.accounts-active .accounts-browse>.report-notice span { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.account-currency-heading strong { font-size: var(--tvm-type-section); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.account-currency-heading small,body.accounts-active .account-summary-grid article>small {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
}
.account-currency-balance>strong { font-size: var(--tvm-type-overline); font-weight: var(--tvm-weight-bold); }
.account-currency-balance>span,
:is(body.accounts-active .account-summary-grid,.cash-currency-grid) article>span {
  font-size: var(--tvm-type-section);
  font-weight: var(--tvm-weight-heavy);
  line-height: var(--tvm-leading-tight);
}
:is(body.accounts-active .account-summary-grid,.cash-currency-grid) dl {
  font-size: var(--tvm-type-support);
  line-height: var(--tvm-leading-compact);
}


.finance-entry-row>p,.detail-group-body>.compact-list p,.finance-history p {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-body);
}
.finance-entry-row>p>strong,.detail-group-body>.compact-list p>strong,.finance-original-summary strong {
  font-size: var(--tvm-type-body);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-title);
  font-variant-numeric: tabular-nums;
}
.finance-entry-row small,.finance-history small,.finance-original-summary small {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
.finance-original-summary span { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
.finance-row-actions button { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
.finance-allocation-notice { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.finance-allocation-notice strong,.finance-history summary { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
.account-finance-dialog .finance-money-field { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-bold); }
.account-finance-dialog .finance-money-field input,
.account-finance-dialog .finance-money-field select {
  font-size: var(--tvm-type-emphasis);
  font-weight: var(--tvm-weight-bold);
  font-variant-numeric: tabular-nums;
}


.income-table,.cash-person-table,.monthly-income-table,.report-panel table {
  font-size: var(--tvm-type-support);
  line-height: var(--tvm-leading-compact);
}
.income-table th,.cash-person-table thead th,.monthly-income-table th,.report-panel table th {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-title);
  letter-spacing: .035em;
}
.income-table td,.cash-person-table td,.monthly-income-table td,.report-panel table td {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
.income-table td strong,.cash-person-table td strong,.monthly-income-table td strong,.report-panel table td strong { font-weight: var(--tvm-weight-medium); }
.income-table td small,.monthly-income-table td small,.report-panel table td small {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
.cash-person-heading h4 { font-size: var(--tvm-type-section); font-weight: var(--tvm-weight-bold); line-height: var(--tvm-leading-title); }
.cash-person-heading>span,.cash-person-pending { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-regular); }
.cash-person-table .cash-person-held { font-weight: var(--tvm-weight-bold); }
.result-stat small { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-medium); }
.result-stat strong { font-size: var(--tvm-type-section); font-weight: var(--tvm-weight-heavy); line-height: var(--tvm-leading-tight); }
.result-stat span,.report-notice span,.report-breakdowns p {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-compact);
}
.report-breakdowns h3,.income-search-heading h3 { font-size: var(--tvm-type-body); font-weight: var(--tvm-weight-bold); }


.staff-summary>strong { font-size: var(--tvm-type-emphasis); font-weight: var(--tvm-weight-bold); }
.staff-summary>span { font-size: var(--tvm-type-support)!important; font-weight: var(--tvm-weight-regular); line-height: var(--tvm-leading-compact); }
.staff-summary small { font-size: var(--tvm-type-overline); font-weight: var(--tvm-weight-bold); }
.staff-actions button,.staff-edit,.staff-password,.staff-archive-action,.staff-restore,.staff-delete {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-bold);
}
.insurance-refund-summary .insurance-refund-title { font-size: var(--tvm-type-body); font-weight: var(--tvm-weight-bold); }
.insurance-refund-summary .insurance-refund-alert { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-medium); }
.insurance-refund-summary .insurance-refund-alert #home-insurance-count { font-size: var(--tvm-type-emphasis); font-weight: var(--tvm-weight-heavy); }
#insurance-refund-summary #home-insurance-amounts,
#insurance-refund-summary #home-insurance-amounts small { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.insurance-policy-title strong,.insurance-stage strong { font-size: var(--tvm-type-body); font-weight: var(--tvm-weight-bold); }
.insurance-policy-title small,.insurance-stage small,.insurance-policy-facts dt,.insurance-policy-facts dd {
  font-size: var(--tvm-type-support);
  line-height: var(--tvm-leading-compact);
}


.date-range-trigger small,.compact-date-trigger small { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-medium); }
.date-range-trigger strong,.compact-date-trigger strong {
  font-size: var(--tvm-type-emphasis);
  font-weight: var(--tvm-weight-bold);
  font-variant-numeric: tabular-nums;
}
.calendar-month h4 { font-size: var(--tvm-type-body); font-weight: var(--tvm-weight-bold); }
.weekdays span { font-size: var(--tvm-type-overline); font-weight: var(--tvm-weight-bold); }
.month-grid button { font-size: var(--tvm-type-support); font-weight: var(--tvm-weight-medium); font-variant-numeric: tabular-nums; }
.daily-rate-board small,body.accounts-active .daily-rate-board small,
body.accounts-active .account-detail-rates .daily-rate-caption {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-regular);
  line-height: var(--tvm-leading-title);
}
.daily-rate-values strong,body.accounts-active .daily-rate-values strong {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-title);
  font-variant-numeric: tabular-nums;
}
.daily-rate-values strong span,body.accounts-active .daily-rate-values strong span {
  font-size: var(--tvm-type-overline);
  font-weight: var(--tvm-weight-bold);
}
.completed-search p,
#income-report-panel .income-filter-grid label,
.income-search-heading p,
.income-search-heading span,
.income-results-heading span { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.brand-official>small { font-size: var(--tvm-type-overline); font-weight: var(--tvm-weight-bold); }


.cash-intro h2,
.operations-trend-head h2,
.annual-trend-heading h3,
.definition-heading h2,
.catalog-heading h2 { font-size: var(--tvm-type-section); line-height: var(--tvm-leading-title); }
.cash-total,
.cash-total-overview span strong { font-size: var(--tvm-type-section); line-height: var(--tvm-leading-tight); }
.cash-toolbar .compact-date-trigger strong { font-size: var(--tvm-type-emphasis); }

.counts .count span,
.operations-side>.counts .count span,
.workflow-action-row>.counts .count span,
.operations-overview>.operations-side>.counts .count span {
  font-size: var(--tvm-type-support);
  font-weight: var(--tvm-weight-medium);
  line-height: var(--tvm-leading-title);
}
.counts .count strong,
.operations-side>.counts .count strong,
.workflow-action-row>.counts .count strong,
.operations-overview>.operations-side>.counts .count strong {
  font-size: var(--tvm-type-emphasis);
  font-weight: var(--tvm-weight-bold);
  line-height: var(--tvm-leading-tight);
}

.header-context p,
.operations-trend-head p,
.annual-trend-heading p,
.operations-trend-period button,
.annual-trend-period button,
.operations-trend-metric small,
.annual-trend-metric small,
.trend-tooltip>span,
.trend-tooltip>div>span,
.insurance-refund-row small,
.insurance-refund-summary p,
.insurance-refund-summary p>strong,
.insurance-refund-summary>a,
.operations-overview>.operations-side>.insurance-refund-summary>a,
.account-lookup-results button span,
.selected-account-notice span,
.accounts-list-heading p,
.inline-help,
.allocation-quote,
.service-rate-status,
.account-finance-dialog .allocation-summary {
  font-size: var(--tvm-type-support);
  line-height: var(--tvm-leading-compact);
}
.header-context p strong,
.workflow-label,
.operations-trend-legend,
.annual-trend-legend { font-size: var(--tvm-type-overline); line-height: var(--tvm-leading-title); }
.operations-trend-metric strong,
.annual-trend-metric strong { font-size: var(--tvm-type-emphasis); line-height: var(--tvm-leading-tight); }
.trend-tooltip>strong { font-size: var(--tvm-type-body); line-height: var(--tvm-leading-title); }

.record-row span,
.participant-facts dt,
.participant-facts dd,
.biometric-history small,
.linked-person small,
.inherited-note,
.editor-heading span,
.editor-subsection>span,
.plain-sensitive,
.definition-card small,
.catalog-card small { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.record-row strong,
.participant-facts strong,
.biometric-history strong,
.linked-person strong,
.editor-heading strong,
.editor-subsection strong,
.definition-card strong,
.catalog-card strong { font-size: var(--tvm-type-body); line-height: var(--tvm-leading-title); }
.participant-title strong { font-size: var(--tvm-type-emphasis); line-height: var(--tvm-leading-title); }
.result-badge,.finance-participant-detail summary { font-size: var(--tvm-type-support); }

:is(body.accounts-active .account-summary-grid,.cash-currency-grid) article>strong {
  font-size: var(--tvm-type-body);
  line-height: var(--tvm-leading-title);
}
:is(body.accounts-active .account-summary-grid,.cash-currency-grid) article>span {
  font-size: var(--tvm-type-section);
  line-height: var(--tvm-leading-tight);
}
.account-currency-heading strong { font-size: var(--tvm-type-section); }
.account-currency-heading small,
.inline-help,
.allocation-quote,
.service-rate-status,
.account-finance-dialog .allocation-summary { font-size: var(--tvm-type-support); }

.insurance-refund-summary .insurance-refund-title { font-size: var(--tvm-type-body); }
.insurance-refund-summary .insurance-refund-alert { font-size: var(--tvm-type-support); line-height: var(--tvm-leading-compact); }
.insurance-refund-summary .insurance-refund-alert #home-insurance-count { font-size: var(--tvm-type-emphasis); }
#insurance-refund-summary #home-insurance-amounts,
#insurance-refund-summary #home-insurance-amounts small { font-size: var(--tvm-type-support); }


.account-balance strong,.account-currency-balance,.account-summary-grid article>span,
.cash-total,.cash-total-overview span strong,.finance-summary strong,.result-stat strong,
.income-table td:nth-last-child(-n+2),.monthly-income-table td:not(:first-child),
.cash-person-table td:not(:first-child) { font-variant-numeric: tabular-nums; }

@media(max-width:640px) {
  h1,.toolbar h1 { font-size: var(--tvm-type-customer); }
  .workbench.detail-open .detail-head h2,.identity-profile h2,
  body.accounts-active .account-detail-identity h2 { font-size: var(--tvm-type-section); }
}


@media print { body { font-family: Arial,sans-serif; font-size: 12px; line-height: 1.4; } }


.insurance-report-heading h2{font-size:var(--tvm-type-section);line-height:var(--tvm-leading-compact)}
#insurance-refund-total{font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-bold)}
#insurance-refund-total small,.insurance-legacy-row>span:last-child{font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-medium)}
.insurance-legacy-row,.insurance-legacy>summary{font-size:var(--tvm-type-body);line-height:var(--tvm-leading-body)}


.daily-rate-caption .rate-fallback-notice,
.exchange-rate-status {
  font-size: var(--tvm-type-support);
  line-height: var(--tvm-leading-compact);
}


.workspace-approved-layout{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1d3e57}
.workspace-approved-layout :is(.workspace-heading h2,.workspace-panel-heading h3){font-size:20px;line-height:1.2;font-weight:700;color:#173b59}
.workspace-approved-layout :is(.workspace-heading p:last-child,.workspace-panel-heading p){font-size:14px;line-height:1.5;color:#60788a}
.workspace-approved-layout :is(.workspace-person strong,.workspace-next strong){font-size:14px;font-weight:700;line-height:1.5}
.workspace-approved-layout :is(.workspace-person small,.workspace-next small){font-size:11.667px;line-height:1.5;color:#60788a}
.workspace-approved-layout .workspace-next strong{color:#075494}
.workspace-approved-layout .metric-card strong,.oc-summary-card strong{font-size:23px;line-height:1;font-weight:700;color:#173b59}
.workspace-approved-layout .metric-card span,.oc-summary-card small{font-size:14px;font-weight:800;line-height:1.5}
.oc-summary-card{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.workspace-approved-layout .workspace-table .workspace-name-with-flag{font-size:14px;line-height:1.5;font-weight:700;color:#1d3e57}

.workspace-approved-layout .workspace-person strong,
.workspace-approved-layout .workspace-table .workspace-name-with-flag{font-size:18px;line-height:1.2;font-weight:700;color:#173b59;overflow-wrap:anywhere}

.workspace-approved-layout .workspace-next strong,
.workspace-approved-layout .workspace-table td[data-label="Sonraki eylem"]>strong{font-size:14px;line-height:1.4}
.workspace-approved-layout :is(.workspace-priority-row,.workspace-table) .badge{font-size:12px;line-height:1.4}

.workspace-approved-layout .workspace-heading .eyebrow{font-size:var(--tvm-type-overline);font-weight:var(--tvm-weight-heavy);line-height:var(--tvm-leading-title);letter-spacing:.12em;color:var(--tvm-action)}

.workspace-approved-layout .workspace-person small{font-size:14px;line-height:1.5;font-weight:400;letter-spacing:normal;color:#60788a}

.workspace-approved-layout :is(.workspace-next small,.workspace-table td small,.workspace-calendar li small,.workspace-calendar-empty span){font-size:14px;line-height:1.5;font-weight:400;letter-spacing:normal;color:#60788a}

.workspace-approved-layout :is(.workspace-heading p:last-child,.workspace-panel-heading p,.workspace-person small,.workspace-next small,.workspace-table td small,.workspace-calendar li small,.workspace-calendar-empty span){color:#4d606e}
.workspace-approved-layout .workspace-table td{font-size:14px;line-height:1.5}
.workspace-approved-layout .workspace-table th{font-size:13px;line-height:1.4}


[data-application-stage]{--stage-bg:#eaf3ff;--stage-ink:#14548a;--stage-line:#9fbfdf}
[data-application-stage="waiting_appointment"]{--stage-bg:#fff4d5;--stage-ink:#775300;--stage-line:#e4bd58}
[data-application-stage="opened"]{--stage-bg:#e8f5f3;--stage-ink:#17685f;--stage-line:#92c5bc}
[data-application-stage="under_review"]{--stage-bg:#efedfa;--stage-ink:#504581;--stage-line:#b4acd5}
[data-application-stage="result_received"]{--stage-bg:#eaf5e8;--stage-ink:#32652b;--stage-line:#a0c69a}
.badge[data-application-stage],.workspace-approved-layout .metric-card[data-application-stage]{background:var(--stage-bg);color:var(--stage-ink);border:1px solid var(--stage-line);border-radius:var(--tvm-radius-control,7px)}
.workspace-approved-layout .metric-card[data-application-stage]{text-align:left;border-top:3px solid var(--stage-ink);cursor:pointer}
.workspace-approved-layout .metric-card[data-application-stage] strong,.workspace-approved-layout .metric-card[data-application-stage] span{color:var(--stage-ink)}
.workspace-approved-layout .metric-card small{font-size:12px;color:var(--stage-ink)}
.workspace-approved-layout .metric-card:hover{filter:brightness(.96)}
.workspace-approved-layout .metric-card:focus-visible{outline:3px solid var(--booking-blue);outline-offset:3px}
.workspace-approved-layout .metric-card[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--stage-ink)}
@media(max-width:720px){.workspace-approved-layout .workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-approved-layout .metric-card:first-child{grid-column:auto}.workspace-approved-layout .metric-card:last-child{grid-column:1/-1}.workspace-approved-layout .metric-card{min-height:82px;padding:12px;gap:6px}.workspace-approved-layout .metric-card span{font-size:13px}}

.center-name-preview{padding:14px 16px;border:1px solid #b9d3e8;border-radius:7px;background:#eef6ff;display:grid;gap:5px;min-width:0}.center-name-preview[hidden]{display:none}.center-name-preview strong{color:var(--booking-navy);overflow-wrap:anywhere}.center-name-preview p{margin:0;font-size:13px;color:#526779}#consulate-create label[hidden],#consulate-update-form label[hidden]{display:none}#consulate-create select,#consulate-update-form select{width:100%;min-height:44px}

.channel-management{margin:24px 0;padding:18px;border:1px solid #cbd9e5;border-radius:7px;background:#fff}.channel-management summary{cursor:pointer;font-weight:700}.channel-management form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.channel-management label{flex:1;min-width:180px}.channel-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5edf4}.channel-row strong{margin-right:auto}.channel-row small{color:#60788c}@media(max-width:600px){.channel-row{flex-wrap:wrap}.channel-row strong{flex-basis:60%}}
body:has(#login:not([hidden])) .office-footer{display:flex;justify-content:space-between;align-items:center}body:has(#login:not([hidden])) .office-footer span:not(.office-version){display:none}body:has(#login:not([hidden])) .office-footer .office-version{order:0;margin:0}body:has(#login:not([hidden])) .office-footer img{order:1;margin:0}

.channel-manage-button{margin:12px 0;font-size:13px!important;padding:8px 12px!important}dialog.channel-management{margin:auto;padding:0;width:min(680px,calc(100vw - 32px));max-height:85dvh;overflow:auto}.channel-management .channel-row button{font-size:12px!important;padding:7px 9px!important}.channel-management .channel-row{gap:8px}.channel-management .form-section>p{font-size:13px;margin-top:0}.channel-management .dialog-head{padding:18px 20px}.channel-management h2{font-size:20px}


#channel-management-dialog{width:min(600px,calc(100vw - 32px));border:0;border-radius:var(--tvm-radius-panel);box-shadow:var(--tvm-shadow-dialog);background:#fff}
#channel-management-dialog::backdrop{background:#122b4266;backdrop-filter:blur(3px)}
#channel-management-dialog .dialog-head{background:#fff;border-bottom:1px solid var(--tvm-line);padding:22px 24px}
#channel-management-dialog .dialog-head h2{color:var(--tvm-ink);font-size:var(--tvm-type-section);margin:0;font-weight:var(--tvm-weight-medium)}
#channel-management-dialog .dialog-head .plain{border:0;background:var(--tvm-surface-subtle);border-radius:var(--tvm-radius-control);width:32px;height:32px;padding:0;color:var(--tvm-muted);font-size:var(--tvm-type-section)}
#channel-management-dialog .form-section{border:0;border-radius:0;padding:20px 24px;margin:0;background:white}
#channel-management-dialog .form-section>p{color:var(--tvm-muted);margin:0 0 20px;font-size:var(--tvm-type-support);line-height:1.5}
#channel-create{padding:0 0 22px;border-bottom:1px solid var(--tvm-line);gap:10px}#channel-create label{margin:0;font-size:var(--tvm-type-overline);color:var(--tvm-muted);font-weight:600}#channel-create input{margin-top:6px;height:42px;border-radius:var(--tvm-radius-control);border:1px solid var(--tvm-line-strong);font-size:var(--tvm-type-support)}#channel-create>button{height:42px;border-radius:var(--tvm-radius-control);padding:0 15px;font-size:var(--tvm-type-support)}
.channel-list-heading{display:flex;align-items:center;gap:8px;font-size:var(--tvm-type-overline);letter-spacing:.07em;text-transform:uppercase;color:var(--tvm-muted);padding:18px 0 4px;font-weight:var(--tvm-weight-medium)}.channel-list-heading span,.channel-archive summary span{background:var(--tvm-surface-subtle);border-radius:var(--tvm-radius-control);padding:2px 6px;font-size:var(--tvm-type-overline);letter-spacing:0}
#channel-management-dialog .channel-row{padding:14px 0;gap:12px;border-bottom:1px solid var(--tvm-line);display:flex;flex-wrap:nowrap}.channel-identity{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.channel-monogram{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:var(--tvm-radius-card);background:var(--tvm-surface-info);color:var(--tvm-action);font-size:var(--tvm-type-address);font-weight:var(--tvm-weight-bold)}.channel-identity strong{display:block;font-size:var(--tvm-type-support);font-weight:var(--tvm-weight-medium);color:var(--tvm-ink)}.channel-identity small{display:block;margin-top:3px;font-size:var(--tvm-type-overline);color:var(--tvm-muted)}.channel-row-actions{display:flex;align-items:center;gap:3px}#channel-management-dialog .channel-row-actions button{border:0;background:transparent;box-shadow:none;padding:7px 8px!important;min-height:32px;color:var(--tvm-muted);border-radius:var(--tvm-radius-control);font-size:var(--tvm-type-overline)!important}#channel-management-dialog .channel-row-actions button:hover{background:var(--tvm-action-soft);color:var(--tvm-action)}#channel-management-dialog .channel-row-actions .plain-delete{color:var(--tvm-danger)}
.channel-archive{margin-top:16px}.channel-archive summary{display:flex;align-items:center;gap:8px;color:var(--tvm-muted);font-size:var(--tvm-type-overline);cursor:pointer;padding:9px 0}.channel-archive .channel-monogram{background:var(--tvm-surface-subtle);color:var(--tvm-muted)}
@media(max-width:480px){#channel-management-dialog .dialog-head{padding:18px}#channel-management-dialog .form-section{padding:16px 18px}#channel-management-dialog .channel-row{flex-wrap:wrap}.channel-row-actions{margin-left:48px}.channel-management .channel-row strong{flex-basis:auto}}

#channel-management-dialog{font-family:var(--tvm-font-ui);color:var(--tvm-ink)}#channel-management-dialog .dialog-head{background:var(--tvm-surface-info)}#channel-management-dialog .channel-row-actions button{min-height:36px}#channel-management-dialog button:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}#consulate-create input,#consulate-update-form input{width:100%;min-width:0;box-sizing:border-box;border-radius:var(--tvm-radius-control)}.center-name-preview{border-color:var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-info)}.center-name-preview p{font-size:var(--tvm-type-support);color:var(--tvm-muted)}


#case-status-dialog{background:var(--tvm-surface);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);color:var(--tvm-ink)}
#case-status-dialog form{margin:0;padding:0}
#case-status-dialog .dialog-head{padding:0;margin:0 0 16px;border:0;background:transparent}
#case-status-dialog .dialog-head h2{font-size:var(--tvm-type-emphasis);font-weight:var(--tvm-weight-medium);line-height:var(--tvm-leading-tight);margin:0;letter-spacing:0}
#case-status-dialog .dialog-head p{font-size:var(--tvm-type-support);color:var(--tvm-muted);margin:6px 0 0;overflow-wrap:anywhere}
#case-status-dialog .form-grid{margin:0;gap:12px}
#case-status-dialog label{margin:0;font-size:var(--tvm-type-support)}
#case-status-dialog input,#case-status-dialog select{height:44px;min-height:44px;font-size:var(--tvm-type-body);padding:8px 10px}
#case-status-dialog .actions{margin:16px 0 0;padding:0;gap:8px;justify-content:flex-end}
#case-status-dialog .actions button{min-height:44px}
#case-status-dialog .error:empty{display:none}


.customer-live-shell #customer-link-sent{max-width:560px;margin:32px auto;border-top:4px solid var(--portal-brand)}
.customer-live-shell #customer-link-sent ol{padding-left:22px;line-height:1.6;margin:20px 0}.customer-live-shell #customer-link-sent li+li{margin-top:10px}
.customer-sent-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.customer-live-shell #customer-resend:disabled{cursor:not-allowed}


:is(#customer-document-requests,.customer-live-shell) .document-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}
:is(#customer-document-requests,.customer-live-shell) .document-card-grid>.document-request-row{padding:10px;border:1px solid var(--tvm-line);border-radius:10px;background:var(--tvm-surface,#fff);overflow-wrap:anywhere}
:is(#customer-document-requests,.customer-live-shell) .document-group-picker{font-size:14px;display:flex;align-items:center;gap:8px;min-width:0;margin:0 auto}
:is(#customer-document-requests,.customer-live-shell) .document-group-picker select{width:200px;max-width:100%;min-height:44px}
#customer-document-requests [data-document-groups],.customer-live-shell .customer-live-card{container-type:inline-size}
@container(min-width:850px){:is(#customer-document-requests,.customer-live-shell) .document-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(min-width:1100px){:is(#customer-document-requests,.customer-live-shell) .document-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#customer-document-requests .customer-upload-form{display:grid;gap:8px;margin-top:8px}#customer-document-requests .customer-upload-form input[type=file]{max-width:100%;min-width:0;width:100%}
.customer-live-shell{width:min(1240px,calc(100% - 80px));max-width:none;padding:0}
@media(max-width:1100px){.customer-live-shell{width:calc(100% - 48px)}}
@media(max-width:760px){:is(#customer-document-requests,.customer-live-shell) .document-card-grid{grid-template-columns:minmax(0,1fr)}:is(#customer-document-requests,.customer-live-shell) .document-group-picker{flex-wrap:wrap;width:100%;margin:8px 0}#customer-document-requests>header{flex-wrap:wrap}.customer-live-shell{width:calc(100% - 40px)}}


.document-editor-dialog{border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);box-shadow:var(--tvm-shadow-dialog);color:var(--tvm-ink);font-family:var(--tvm-font-ui)}
.document-editor-dialog .dialog-head{padding:16px 20px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line);gap:12px}
.document-editor-dialog .dialog-head h2{font-size:var(--tvm-type-emphasis);line-height:var(--tvm-leading-tight);margin:0;font-weight:var(--tvm-weight-medium)}
.document-editor-dialog .eyebrow{display:none}
.document-editor-dialog form{padding:16px 20px}
.document-editor-dialog .requirement-edit-fields{gap:10px}
.document-editor-dialog .requirement-edit-fields label{margin:0;color:var(--tvm-ink);font-size:var(--tvm-type-support);line-height:1.5;min-width:0}
.document-editor-dialog :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface);color:var(--tvm-ink);font:inherit;padding:8px 10px}
.document-editor-dialog textarea{min-height:64px;resize:vertical}
.document-editor-dialog .muted{margin:0;color:var(--tvm-muted);font-size:var(--tvm-type-support);line-height:1.5}
.document-editor-dialog :is(.requirement-copy-choice,.physical-receipt-choice){min-height:44px}
.document-editor-dialog .actions{margin:14px 0 0;gap:8px;padding:0;justify-content:flex-end}
.document-editor-dialog button{min-height:44px;border-radius:var(--tvm-radius-control)}
:is(.document-editor-dialog,#customer-document-requests,.customer-live-shell) :is(input,select,textarea,button,summary):focus-visible{outline:3px solid var(--tvm-action);outline-offset:2px}
:is(#customer-document-requests,.customer-live-shell) .document-card-grid>.document-request-row{border-radius:var(--tvm-radius-card);padding:12px;box-shadow:none}
:is(#customer-document-requests,.customer-live-shell) .document-request-heading{gap:6px 8px}
:is(#customer-document-requests,.customer-live-shell) .document-request-row :is(.document-empty,.document-review-note){margin:8px 0;font-size:var(--tvm-type-support);line-height:1.5}
:is(#customer-document-requests,.customer-live-shell) .customer-upload-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;padding:10px 0 0;border-top:1px solid var(--tvm-line);background:transparent}
:is(#customer-document-requests,.customer-live-shell) .customer-upload-form label{margin:0;font-size:var(--tvm-type-support);min-width:0}
:is(#customer-document-requests,.customer-live-shell) .customer-upload-form input[type=file]{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface);font:inherit;padding:8px;color:var(--tvm-ink)}
:is(#customer-document-requests,.customer-live-shell) .customer-upload-form button{min-height:44px;border-radius:var(--tvm-radius-control);justify-self:start;max-width:100%}
:is(#customer-document-requests,.customer-live-shell) .customer-upload-form [role=alert]:empty{display:none}
:is(#customer-document-requests,.customer-live-shell) .document-group-picker select{border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface);color:var(--tvm-ink);font:inherit;padding:8px 10px}
@media(max-width:760px){.document-editor-dialog .dialog-head,.document-editor-dialog form{padding:14px 16px}.document-editor-dialog .actions{flex-wrap:wrap}.document-editor-dialog .actions button{flex:1}}

.new-document-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--tvm-danger);vertical-align:middle}.document-editor-dialog [data-list] details{border-bottom:1px solid var(--tvm-line);padding:8px 0}.document-editor-dialog [data-list] summary{min-height:44px;cursor:pointer;line-height:1.5}.document-editor-dialog [data-grip]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--tvm-muted);cursor:grab}.document-editor-dialog [data-editor]{display:grid;gap:10px}.document-editor-dialog [data-editor][hidden]{display:none}.document-editor-dialog .library-item{padding:12px 0;border-bottom:1px solid var(--tvm-line);display:grid;gap:8px}.document-editor-dialog [data-list] small{color:var(--tvm-muted)}


:is(#customer-document-requests,.customer-live-shell) .document-request-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--tvm-line);border-radius:7px;font-size:13px;font-weight:650;line-height:1.4;white-space:normal;color:var(--tvm-ink);background:var(--tvm-surface-subtle)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status::before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:currentColor}
:is(#customer-document-requests,.customer-live-shell) .document-request-status[data-status="waiting"]{color:var(--tvm-warning);background:var(--tvm-accent-soft);border-color:var(--tvm-accent)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status:is([data-status="uploaded"],[data-status="reviewing"]){color:var(--tvm-action);background:var(--tvm-surface-info);border-color:var(--tvm-line-strong)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status[data-status="checked"]{color:var(--tvm-success);background:var(--tvm-success-soft);border-color:var(--tvm-success-line)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status:is([data-status="correction"],[data-status="expired"]){color:var(--tvm-danger);background:var(--tvm-danger-soft);border-color:var(--tvm-danger-line)}
:is(#customer-document-requests,.customer-live-shell) .document-request-status[data-status="withdrawn"]{color:var(--tvm-muted);background:var(--tvm-surface-subtle);border-color:var(--tvm-line)}


#customer-document-requests .document-card-grid>.document-request-row{display:flex;flex-direction:column}
#customer-document-requests .document-card-grid>.document-request-row>.customer-upload-form{margin-top:auto;padding-top:12px}
#customer-document-requests .customer-upload-form>button{background:var(--tvm-surface);color:var(--tvm-navy);border:1px solid var(--tvm-line-strong);box-shadow:none;min-height:44px}
#customer-document-requests .customer-upload-form>button:hover{background:var(--tvm-surface-info);border-color:var(--tvm-action)}


:is(#customer-document-requests,.customer-live-shell) .document-card-grid>.document-request-row{border:2px solid var(--tvm-action);background:var(--tvm-surface);border-radius:var(--tvm-radius-card)}
#customer-document-requests .document-card-grid>.document-request-row{row-gap:10px}
#customer-document-requests .document-card-grid>.document-request-row>.customer-upload-form{margin-top:auto;padding:12px;gap:12px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);background:var(--tvm-surface-subtle)}
#customer-document-requests .customer-upload-form>button{justify-self:end}

:is(#customer-document-requests,.customer-live-shell) .document-card-grid{padding:0;background:transparent;border:0;border-radius:0}


.whiteboard-notes .whiteboard-note-record{padding:0;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);overflow:hidden}
.whiteboard-notes .whiteboard-note-record>summary{cursor:pointer;padding:14px;list-style-position:inside;background:var(--tvm-surface-subtle)}
.whiteboard-notes .whiteboard-note-record>summary>header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.whiteboard-note-preview{margin:8px 0;color:var(--tvm-muted);line-height:1.5;overflow-wrap:anywhere}
.whiteboard-note-open-label{font-size:13px;color:var(--tvm-action);font-weight:600}
.whiteboard-note-record[open] .whiteboard-note-open-label{display:none}
.whiteboard-note-record>.whiteboard-note-content,.whiteboard-note-record>.editor-actions,.whiteboard-note-record>p{padding:14px;margin:0}
.whiteboard-note-record>summary:focus-visible{outline:3px solid var(--tvm-action);outline-offset:-3px}

.whiteboard-notes .whiteboard-note-record>summary>header{padding:0;margin:0;border:0;background:transparent}
.whiteboard-notes .whiteboard-note-record>summary>header>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.whiteboard-note-record[open] .whiteboard-note-preview{display:none}


#whiteboard-section .whiteboard-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.whiteboard-notes .whiteboard-note-record>summary{padding:14px;min-height:56px}
.whiteboard-notes .whiteboard-note-record>summary>header strong{font-size:18px;font-weight:700;line-height:1.4;color:var(--tvm-navy);overflow-wrap:anywhere}
.whiteboard-notes .whiteboard-note-record>summary>header>small{display:none}
.whiteboard-notes .whiteboard-note-record>summary>header span{font-size:13px;color:var(--tvm-muted);font-weight:400}
@media(max-width:700px){#whiteboard-section .whiteboard-notes{grid-template-columns:minmax(0,1fr)}}

.whiteboard-notes .whiteboard-note-record[open]>summary>header>small{display:block}


.whiteboard-notes .whiteboard-note-record>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;min-height:44px;list-style:none}
.whiteboard-notes .whiteboard-note-record>summary::-webkit-details-marker{display:none}
.whiteboard-notes .whiteboard-note-record>summary::marker{content:""}
.whiteboard-notes .whiteboard-note-record>summary>header strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:18px;line-height:1.35}
.whiteboard-notes .whiteboard-note-record:not([open])>summary>header>div>span{display:none}
.whiteboard-notes .whiteboard-note-record>summary>header>div{display:block}
.whiteboard-notes .whiteboard-note-record .whiteboard-note-open-label{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface);color:var(--tvm-action);font-size:13px;font-weight:650;white-space:nowrap}
.whiteboard-note-chevron{width:18px;height:18px;display:inline-flex;flex:0 0 18px}
.whiteboard-note-chevron :is(img,svg){width:18px;height:18px}
.whiteboard-note-close-text{display:none}
.whiteboard-note-record[open] .whiteboard-note-close-text{display:inline}
.whiteboard-note-record[open] .whiteboard-note-open-text{display:none}
.whiteboard-note-record[open] .whiteboard-note-chevron{transform:rotate(90deg)}


.whiteboard-notes .whiteboard-note-record>summary>header{min-height:0;height:auto;display:block}
.whiteboard-note-disclosure{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--tvm-navy)}
.whiteboard-note-disclosure .whiteboard-note-chevron{width:22px;height:22px;transform:rotate(90deg)}
.whiteboard-note-record[open] .whiteboard-note-disclosure .whiteboard-note-chevron{transform:rotate(-90deg)}
.whiteboard-notes .whiteboard-note-record>summary::before,.whiteboard-notes .whiteboard-note-record>summary::after{content:none;display:none}
.whiteboard-notes .whiteboard-note-record>summary>header{text-align:left;grid-column:1;grid-row:1}
.whiteboard-notes .whiteboard-note-record>summary>.whiteboard-note-disclosure{grid-column:2;grid-row:1}
#whiteboard-section .whiteboard-note-record>.whiteboard-note-content{padding:14px!important;height:auto;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
#whiteboard-section .whiteboard-note-record>.editor-actions{padding:10px 14px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
.whiteboard-notes .whiteboard-note-record>summary:focus-visible{outline:2px solid var(--tvm-action);outline-offset:-2px;border-radius:var(--tvm-radius-card)}

@media(min-width:1101px){body.tvm-office #app>.office-navigation-row .office-section-nav{justify-content:flex-start}}

.visa-files-filters[hidden]{display:none}.visa-files-filters>[data-details]{align-self:end;min-height:44px}.visa-files-dialog{width:min(560px,calc(100vw - 32px));box-sizing:border-box;padding:24px;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-navy);border-radius:12px}.visa-files-dialog::backdrop{background:#123f6566}.visa-files-dialog .form-grid{grid-template-columns:1fr}.visa-files-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:24px}


body.tvm-office #visa-files-view .visa-files-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,280px) auto;align-items:end;gap:16px;padding:16px;margin:16px 0 12px;background:var(--tvm-action-soft,#edf4f8);border:1px solid var(--tvm-line,#d6e1e8);border-radius:8px}
body.tvm-office #visa-files-view .visa-files-filters[hidden]{display:none}
body.tvm-office #visa-files-view .visa-files-filters label{min-width:0;margin:0;color:var(--tvm-navy,#123f65);font-weight:600}
body.tvm-office #visa-files-view .visa-files-filters :is(input:not([type=hidden]),select),body.tvm-office .visa-files-dialog select{box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;border:1px solid var(--tvm-line,#b8cbd8);border-radius:8px;background-color:var(--tvm-surface,#fff);color:var(--tvm-ink,#243e50);padding:10px 12px;font:inherit}
body.tvm-office #visa-files-view [data-details]{height:44px;min-height:44px;margin:0;white-space:nowrap}
body.tvm-office #visa-files-view [data-custom-dates]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:503.5px;margin-left:auto}
body.tvm-office #visa-files-view :is(input,select):focus-visible,body.tvm-office .visa-files-dialog select:focus-visible{outline:2px solid var(--tvm-action,#0966bd);outline-offset:2px}
body.tvm-office #visa-files-view [data-filter-summary]{color:var(--tvm-muted,#607587);margin:12px 0 16px}
body.tvm-office #visa-files-view [data-date-error]:empty{display:none}
body.tvm-office #visa-files-view [data-empty]{padding:24px;text-align:center;color:var(--tvm-muted,#607587)}
body.tvm-office .visa-files-dialog{background:var(--tvm-surface,#fff);color:var(--tvm-ink,#243e50);box-shadow:0 16px 48px #123f6533;max-height:calc(100dvh - 32px);overflow:auto}
body.tvm-office .visa-files-dialog h2{margin:0 0 24px;color:var(--tvm-navy,#123f65);font-size:var(--tvm-type-h3,20px)}
body.tvm-office .visa-files-dialog label{color:var(--tvm-navy,#123f65);gap:6px}
body.tvm-office .visa-files-dialog-actions{border-top:1px solid var(--tvm-line,#d6e1e8);padding-top:16px}
body.tvm-office .visa-files-dialog-actions button{height:44px;min-height:44px;margin:0}
@media(max-width:760px){body.tvm-office #visa-files-view .visa-files-filters,body.tvm-office #visa-files-view [data-custom-dates]{grid-template-columns:minmax(0,1fr);max-width:none}body.tvm-office #visa-files-view [data-details]{width:100%}body.tvm-office .visa-files-dialog-actions button{flex:1 1 auto}}


body.tvm-office #visa-files-view .workspace-panel>.visa-files-filters{grid-template-columns:minmax(220px,1fr) minmax(200px,280px) auto}
body.tvm-office #visa-files-view .visa-files-dialog [data-custom-dates]{width:100%;box-sizing:border-box;margin:0;max-width:none;padding:12px;gap:12px}
body.tvm-office .visa-files-dialog [data-date-error]{color:#a74444;margin:0}
@media(max-width:760px){body.tvm-office #visa-files-view .workspace-panel>.visa-files-filters{grid-template-columns:minmax(0,1fr)}}


body.tvm-office input[type="search"] {
  box-sizing:border-box!important;
  height:44px!important;min-height:44px!important;
  border:1px solid #f2a900!important;border-radius:7px!important;
  padding:9px 13px 9px 40px!important;
  background:#fff url('/icons/tvm/search.svg') no-repeat 11px center!important;
  background-size:22px 22px!important;
  color:var(--tvm-ink,#243e50)!important;
  font-size:var(--tvm-type-body,16px)!important;font-weight:400!important;
  box-shadow:none!important;
}
body.tvm-office input[type="search"]::placeholder{color:#728697!important;opacity:1}
body.tvm-office input[type="search"]:focus{outline:2px solid var(--tvm-action,#0966bd)!important;outline-offset:2px!important}
body.tvm-office :is(.account-search,.qs-search):has(>input[type="search"]){border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;gap:0!important}
body.tvm-office :is(.account-search,.qs-search):has(>input[type="search"])::after{content:none!important}
body.tvm-office :is(.account-search,.qs-search):has(>input[type="search"])>svg,
body.tvm-office :is(.account-search,.qs-search):has(>input[type="search"])>[data-tvm-icon="search"]{display:none!important}
body.tvm-office :is(.account-search,.qs-search):has(>input[type="search"]):focus-within{outline:none!important}


body.tvm-office #cash-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-navy);border-radius:12px;background:var(--tvm-surface,#fff);color:var(--tvm-ink);overflow:auto}
body.tvm-office #cash-dialog>form{display:flex;flex-direction:column;box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:0;margin:0;gap:0}
body.tvm-office #cash-dialog>form>*{box-sizing:border-box;min-width:0;max-width:100%}
body.tvm-office #cash-dialog .dialog-head{display:flex;position:static;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:16px 24px;background:var(--tvm-surface-info,#edf4f8);border-bottom:1px solid var(--tvm-line)}
body.tvm-office #cash-dialog .dialog-head>div{min-width:0}
body.tvm-office #cash-dialog .dialog-head h2{margin:0;color:var(--tvm-navy);font-size:24px;line-height:1.3;overflow-wrap:anywhere}
body.tvm-office #cash-dialog .dialog-head>button{position:static;flex:0 0 44px;width:44px;min-width:44px;height:44px;margin:0;padding:10px;border:1px solid var(--tvm-line);border-radius:7px;background:#fff;color:var(--tvm-navy)}
body.tvm-office #cash-dialog>form>:not(.dialog-head):not(.actions):not(.form-actions){margin:0 24px 16px;width:auto;max-width:calc(100% - 48px)}
body.tvm-office #cash-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.tvm-office #cash-dialog :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0}
body.tvm-office #cash-dialog :is(.actions,.form-actions){display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:4px 0 0;padding:16px 24px;border-top:1px solid var(--tvm-line);background:#fff}
body.tvm-office #cash-dialog :is(.actions,.form-actions)>button{margin:0;min-height:44px}
body.tvm-office #cash-dialog .error:empty{display:none}
@media(max-width:600px){body.tvm-office #cash-dialog .form-grid{grid-template-columns:minmax(0,1fr)}body.tvm-office #cash-dialog .dialog-head,body.tvm-office #cash-dialog :is(.actions,.form-actions){padding:16px}body.tvm-office #cash-dialog>form>:not(.dialog-head):not(.actions):not(.form-actions){margin-left:16px;margin-right:16px;max-width:calc(100% - 32px)}}


body.tvm-office #cash-dialog .dialog-head>button[aria-label="Kapat"]{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;box-shadow:none;outline:none}
body.tvm-office #cash-dialog .dialog-head>button[aria-label="Kapat"]>.tvm-icon{display:block;width:20px;height:20px;margin:0;position:static;transform:none}
body.tvm-office #cash-dialog .dialog-head>button[aria-label="Kapat"]:focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px;box-shadow:none}


body.tvm-office dialog.package-start-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-navy);border-radius:12px;background:#fff;overflow:auto}
body.tvm-office .package-start-dialog>form{display:flex;flex-direction:column;width:100%;min-width:0;margin:0;padding:0;gap:0;box-sizing:border-box}
body.tvm-office .package-start-dialog .heading-with-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:20px 24px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
body.tvm-office .package-start-dialog h2{margin:0;min-width:0;font-size:24px;line-height:1.3;color:var(--tvm-navy);overflow-wrap:anywhere}
body.tvm-office .package-start-dialog [data-cancel]{flex-shrink:0;margin:0}
body.tvm-office .package-start-dialog form>p{margin:20px 24px;color:var(--tvm-muted);overflow-wrap:anywhere}
body.tvm-office .package-start-dialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;margin:0;padding:0 24px}
body.tvm-office .package-start-dialog .form-grid>label{min-width:0;margin:0;color:var(--tvm-navy)}
body.tvm-office .package-start-dialog .form-grid>[hidden]{display:none}
body.tvm-office .package-start-dialog select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px}
body.tvm-office .package-start-dialog .actions{display:flex;justify-content:flex-end;gap:12px;margin:0;padding:16px 24px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface-info)}
body.tvm-office .package-start-dialog .actions>button{margin:0;min-height:44px}
@media(max-width:600px){body.tvm-office .package-start-dialog .form-grid{grid-template-columns:minmax(0,1fr);padding:0 16px}body.tvm-office .package-start-dialog .heading-with-action{align-items:flex-start;padding:16px;flex-wrap:wrap}body.tvm-office .package-start-dialog form>p{margin:16px}body.tvm-office .package-start-dialog .actions{padding:16px}}


body.tvm-office .fingerprint-history-fields{grid-column:1/-1;min-width:0;padding:0 0 20px;border-bottom:1px solid var(--tvm-line)}
body.tvm-office .fingerprint-history-fields h3{font-size:24px;color:var(--tvm-navy);border-left:4px solid var(--tvm-action);padding-left:12px;margin:16px 0}
body.tvm-office .fingerprint-history-fields label{display:block;color:var(--tvm-navy)}
body.tvm-office .fingerprint-history-fields select{width:100%;margin-top:8px;min-height:44px}
body.tvm-office .fingerprint-history-fields [hidden]{display:none}


body.tvm-office .catalog-package-list{table-layout:auto;width:100%}
body.tvm-office .catalog-package-list th:nth-child(1){width:29%}
body.tvm-office .catalog-package-list th:nth-child(2){width:17%}
body.tvm-office .catalog-package-list th:nth-child(3){width:18%}
body.tvm-office .catalog-package-list th:nth-child(4){width:16%}
body.tvm-office .catalog-package-list th:nth-child(5){width:20%}
body.tvm-office .catalog-package-list td{vertical-align:top;padding-top:16px;padding-bottom:16px}
body.tvm-office .catalog-package-list .catalog-country-name,body.tvm-office .catalog-package-list .catalog-service-copy{word-break:normal;overflow-wrap:normal}
body.tvm-office .catalog-row-actions .definition-update-action{display:flex;width:max-content;max-width:100%;margin:0 0 6px;padding:4px 0;border:0;background:transparent;box-shadow:none}
body.tvm-office .catalog-scope-details summary{cursor:pointer;color:var(--color-brand-navy,#163f60)}
body.tvm-office .catalog-scope-details .catalog-scope{margin-top:8px;max-width:32ch}

body.tvm-office .catalog-row-actions .definition-update-action{color:#163f60!important}body.tvm-office .catalog-row-actions .definition-update-action:hover{color:#0968bd!important;background:#eaf3fb}body.tvm-office .catalog-row-actions .definition-update-action[data-catalog-archive]{color:#a34444!important}


body.tvm-office .catalog-tabs-line{display:flex;align-items:center;gap:24px;border-bottom:1px solid #d7e2e9;margin:8px 0 20px;flex-wrap:wrap}
body.tvm-office .catalog-list-tabs{display:flex;gap:24px}
body.tvm-office .catalog-list-tabs [role=tab]{border:0;border-radius:0;background:transparent;color:#617589;padding:12px 2px;box-shadow:none;font-weight:650;border-bottom:3px solid transparent}
body.tvm-office .catalog-list-tabs [role=tab][aria-selected=true]{color:#163f60;border-bottom-color:#163f60}
body.tvm-office .catalog-list-tabs [role=tab]:focus-visible{outline:2px solid #0968bd;outline-offset:2px}
body.tvm-office .catalog-filters-simple{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}
body.tvm-office .catalog-filters-simple .catalog-search-field{flex:1 1 320px}
body.tvm-office .catalog-filters-simple>label:not(.catalog-search-field){flex:0 1 230px}
body.tvm-office #catalog-print-button{background:transparent;color:#163f60;border:0;box-shadow:none;padding:8px}
body.tvm-office .catalog-more{position:relative;margin-top:4px;font-size:14px;color:#617589}
body.tvm-office .catalog-more summary{cursor:pointer;width:max-content;padding:5px 0}
body.tvm-office .catalog-more[open]{background:#fff;border-radius:6px;padding:4px 8px;box-shadow:0 3px 12px #163f6020}
@media(max-width:600px){body.tvm-office .catalog-tabs-line{gap:8px}body.tvm-office .catalog-list-tabs{gap:18px}body.tvm-office .catalog-filters-simple>label:not(.catalog-search-field){flex:1 1 140px}}


body.tvm-office #catalog-rows:has(.catalog-country-group){overflow:visible;border:0}
body.tvm-office .catalog-country-group{border:1px solid #d5e1e9;border-radius:10px;margin:0 0 12px;background:#fff;overflow:hidden}
body.tvm-office .catalog-country-group>summary{display:flex;align-items:center;gap:16px;cursor:pointer;padding:18px 20px;background:#edf3f7;color:#163f60;list-style:none}
body.tvm-office .catalog-country-group>summary::-webkit-details-marker{display:none}
body.tvm-office .catalog-country-group>summary:before{content:'›';font-size:24px;line-height:1;transition:transform .15s}
body.tvm-office .catalog-country-group[open]>summary:before{transform:rotate(90deg)}
body.tvm-office .catalog-group-name{font-weight:700;font-size:18px}
body.tvm-office .catalog-group-count{margin-left:auto;font-size:14px;color:#617589}
body.tvm-office .catalog-country-group .income-table-wrap{margin:0}
body.tvm-office .catalog-country-group th:nth-child(2),body.tvm-office .catalog-country-group td:nth-child(2){display:none}
body.tvm-office .catalog-country-group th:nth-child(1){width:38%}
body.tvm-office .catalog-country-group th:nth-child(3){width:22%}
body.tvm-office .catalog-country-group th:nth-child(4){width:18%}
body.tvm-office .catalog-country-group th:nth-child(5){width:22%}
body.tvm-office .catalog-archive-separate{border-top:1px solid #d7e2e9;margin-top:12px;padding-top:8px;max-width:185px}


body.tvm-office #catalog-dialog.single-service-editor{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:90dvh;overflow:auto;padding:0!important;border:1px solid #ccdbe6;border-top:5px solid #163f60;border-radius:12px;background:#fff}
body.tvm-office #catalog-dialog.single-service-editor form{padding:0!important;margin:0}
body.tvm-office #catalog-dialog.single-service-editor .heading-with-action{padding:16px 22px;margin:0 0 18px;background:#eaf1f6;border-bottom:1px solid #d7e2e9;gap:16px;align-items:center}
body.tvm-office #catalog-dialog.single-service-editor h2{color:#163f60;font-size:21px;margin:0;line-height:1.3}
body.tvm-office #catalog-dialog.single-service-editor .form-grid{padding:0 22px;gap:14px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.tvm-office #catalog-dialog.single-service-editor label{margin:0;gap:6px;font-size:14px;color:#244357}
body.tvm-office #catalog-dialog.single-service-editor input:not([type=checkbox]),body.tvm-office #catalog-dialog.single-service-editor select{height:42px;min-height:42px;padding:8px 12px;border:1px solid #b7cbdc;border-radius:7px;margin:6px 0 0;font-size:15px;background:#fff;color:#163f60}
body.tvm-office #catalog-dialog.single-service-editor textarea{min-height:72px;height:72px;padding:10px 12px;border:1px solid #b7cbdc;border-radius:7px;margin-top:6px;font-size:15px;resize:vertical}
body.tvm-office #catalog-dialog.single-service-editor .catalog-context-options{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:12px 14px;margin:2px 0 0;border:1px solid #d7e2e9;border-radius:8px;background:#f5f8fa;min-width:0}
body.tvm-office #catalog-dialog.single-service-editor .catalog-context-options legend{font-size:14px;font-weight:650;color:#163f60;padding:0 6px}
body.tvm-office #catalog-dialog.single-service-editor .catalog-context-options label{display:flex;align-items:center;gap:9px;padding:4px 0}
body.tvm-office #catalog-dialog.single-service-editor input[type=checkbox]{appearance:auto;width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:0;accent-color:#0968bd}
body.tvm-office #catalog-dialog.single-service-editor .section-help{grid-column:1/-1;margin:2px 0 0;font-size:12px;line-height:1.5;color:#617589}
body.tvm-office #catalog-dialog.single-service-editor .actions{margin:18px 0 0;padding:14px 22px;border-top:1px solid #d7e2e9;background:#f8fafc;gap:12px}
body.tvm-office #catalog-dialog.single-service-editor button{min-height:40px;padding:8px 14px}
body.tvm-office #catalog-dialog.single-service-editor form>.error:empty{display:none}
body.tvm-office #catalog-dialog.single-service-editor form>.error:not(:empty){margin:12px 22px}
@media(max-width:520px){body.tvm-office #catalog-dialog.single-service-editor .form-grid,body.tvm-office #catalog-dialog.single-service-editor .catalog-context-options{grid-template-columns:minmax(0,1fr)}body.tvm-office #catalog-dialog.single-service-editor .heading-with-action{padding:14px 16px}body.tvm-office #catalog-dialog.single-service-editor .form-grid{padding:0 16px}}

body.tvm-office .catalog-table th.catalog-two-line{white-space:nowrap;word-break:normal;overflow-wrap:normal;line-height:1.35;vertical-align:middle}body.tvm-office .catalog-table thead th{vertical-align:middle;padding-top:12px;padding-bottom:12px}

body.tvm-office #catalog-print-button{display:inline-flex;align-items:center;gap:1ch}

body.tvm-office .catalog-row-actions [data-catalog-edit]{display:inline-flex;align-items:center;gap:1ch}


body.tvm-office :is(button,a):has(> .tvm-icon){display:inline-flex;align-items:center;column-gap:1ch!important}
body.tvm-office :is(button,a):has(> .tvm-icon)>.tvm-icon{margin-inline:0!important}


.country-profile-dialog{width:min(820px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid #c9d9e6;border-top:4px solid #153f60;border-radius:12px;box-sizing:border-box;overflow:auto}
.country-profile-dialog .dialog-head,.country-profile-dialog .form-section,.country-profile-dialog .actions{padding:20px 24px}
.country-profile-dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;background:#eaf1f5}
.country-profile-dialog .dialog-head .plain{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;flex-shrink:0}
.visa-country-card{border:1px solid #cbdbe7;border-radius:10px;margin:16px 0;overflow:hidden}
.visa-country-heading{display:flex;align-items:center;background:#eaf1f5;padding:8px 16px;gap:16px}
.visa-country-toggle{display:flex;align-items:center;gap:20px;flex:1;text-align:left;border:0;background:transparent;color:#153f60;min-height:52px;padding:8px 0}
.visa-country-toggle>span:first-child{font-weight:700;font-size:18px;flex:1}
.visa-country-toggle small{font-size:14px}
.visa-country-card>section{padding:20px}
.country-visa-workspace{padding:0;border:0}
.visa-country-card td small{display:block;margin-top:6px}
@media(max-width:640px){.visa-country-toggle{flex-wrap:wrap;gap:8px}.visa-country-toggle small{width:100%}.visa-country-card>section{padding:12px}.country-profile-dialog .form-grid{grid-template-columns:1fr}}

@media(max-width:640px){body:has(#definitions-view:not([hidden])) #workspace-actions{display:flex;flex-wrap:wrap!important;width:100%;min-width:0}body:has(#definitions-view:not([hidden])) #workspace-actions>*{min-width:0!important;width:auto!important;flex:1 1 100px!important}#definitions-view .definition-tabs,#definitions-view nav{max-width:100%;overflow-x:auto}#country-visa-workspace .heading-with-action{flex-wrap:wrap}#country-visa-workspace .income-table-wrap{max-width:100%;overflow-x:auto}.visa-country-card{min-width:0}.visa-country-heading{gap:8px}.visa-country-toggle{min-width:0}.visa-country-toggle>span:first-child{overflow-wrap:anywhere}}


.visa-type-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; }
.visa-type-choice { display:flex!important; align-items:flex-start; gap:12px; padding:16px; border:1px solid #ccdbe6; border-radius:8px; background:#fff; cursor:pointer; }
.visa-type-choice:has(input:checked) { border-color:#0869be; background:#edf5fc; }
.visa-type-choice input { width:18px!important; height:18px!important; flex:0 0 18px; margin-top:3px; }
.visa-type-choice strong,.visa-type-choice small { display:block; }
.visa-type-choice small { margin-top:6px; color:#5c7181; font-size:14px; line-height:1.5; }
.visa-types-library { margin-top:24px; padding:20px; border:1px solid #ccdbe6; border-radius:10px; }
.visa-types-library summary { cursor:pointer; font-weight:600; color:#153f60; }
dialog button.ui-dialog-close { display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:8px!important; width:auto!important; min-width:96px!important; height:44px!important; padding:8px 12px!important; flex:0 0 auto; position:static!important; margin:0!important; border:1px solid #ccdbe6; border-radius:8px; color:#153f60; background:#fff; font-size:14px!important; line-height:1.2!important; }
dialog button.ui-dialog-close [data-tvm-icon],dialog button.ui-dialog-close .tvm-icon { color:#bd3b38!important; --tvm-icon-accent:#bd3b38; width:20px!important; height:20px!important; }
.country-profile-dialog { box-sizing:border-box; width:min(900px,calc(100vw - 32px)); max-height:90dvh; padding:0; overflow:auto; }
.country-profile-dialog .dialog-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px; }
.country-profile-dialog .form-section { padding:24px; }
.country-profile-dialog .actions { padding:20px 24px; }
.country-profile-dialog fieldset { min-width:0; padding:20px; margin:8px 0; border:1px solid #ccdbe6; border-radius:8px; }
@media(max-width:600px){.country-profile-dialog .dialog-head,.country-profile-dialog .form-section {padding:16px;} .country-profile-dialog .form-grid{grid-template-columns:1fr;} .visa-types-library{padding:12px;}}

#catalog-dialog.visa-package-editor{width:min(960px,calc(100vw - 32px));max-width:960px;max-height:90dvh;overflow:auto;}
#catalog-dialog.visa-package-editor form{padding:24px;}
#catalog-dialog.visa-package-editor .form-grid{gap:20px 24px;}
#catalog-dialog.visa-package-editor fieldset{min-width:0;padding:20px;border:1px solid #ccdbe6;border-radius:8px;margin:0;}
.package-settings-section{border:1px solid #ccdbe6;border-radius:8px;background:#fff;}
.package-settings-section>summary{padding:16px 20px;color:#153f60;background:#edf3f7;font-weight:600;cursor:pointer;}
#catalog-dialog.visa-package-editor .package-settings-section>fieldset{border:0;}
.package-settings-section>fieldset>legend{display:none;}
@media(max-width:600px){#catalog-dialog.visa-package-editor form{padding:16px;}#catalog-dialog.visa-package-editor .form-grid{gap:16px;}#catalog-dialog.visa-package-editor fieldset{padding:12px;}}


body.tvm-office #catalog-dialog.visa-package-editor form{padding:18px 24px;}
body.tvm-office #catalog-dialog.visa-package-editor .form-grid{row-gap:14px;column-gap:20px;}
body.tvm-office #catalog-dialog.visa-package-editor .form-grid>label{margin:0;}
body.tvm-office #catalog-dialog.visa-package-editor .heading-with-action{margin-bottom:16px;}
body.tvm-office #catalog-dialog.visa-package-editor fieldset{padding:14px 16px;}
body.tvm-office #catalog-dialog.visa-package-editor .package-settings-section>summary{padding:12px 16px;}
body.tvm-office #catalog-dialog.visa-package-editor label:has(>input[type=checkbox]),body.tvm-office #catalog-dialog.visa-package-editor label:has(>input[type=radio]){display:flex;align-items:center;gap:10px;min-height:38px;}
body.tvm-office #catalog-dialog.visa-package-editor input:is([type=checkbox],[type=radio]){appearance:auto!important;display:inline-block!important;position:static!important;opacity:1!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;margin:0!important;flex:0 0 20px!important;accent-color:#0866ad;transform:none!important;clip-path:none!important;}
body.tvm-office #catalog-dialog.visa-package-editor input:is([type=checkbox],[type=radio]):focus-visible{outline:2px solid #0866ad;outline-offset:3px;}




body.tvm-office .catalog-country-actions{display:flex;align-items:center;gap:20px;margin-left:12px}
body.tvm-office .catalog-country-actions .definition-update-action{min-height:44px;white-space:nowrap}
body.tvm-office .catalog-country-actions .catalog-country-link{min-height:30px;padding:3px 0!important;color:var(--tvm-action)!important;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.tvm-office .catalog-empty-country{padding:16px 20px}
body.tvm-office .catalog-section .visa-types-library{margin-top:24px;padding:16px;border-top:1px solid #d5e1e9}
@media(max-width:760px){body.tvm-office .catalog-country-group>summary{flex-wrap:wrap;gap:10px}body.tvm-office .catalog-country-actions{width:100%;margin:0;justify-content:flex-end;flex-wrap:wrap}}

body.tvm-office .catalog-country-actions .definition-update-action{background:transparent!important;border:0!important;box-shadow:none!important;color:#163f60!important;padding:6px 4px;display:inline-flex;gap:1ch}

body.tvm-office .catalog-country-drag{order:-1;flex:0 0 32px;min-width:32px;min-height:44px;touch-action:none;cursor:grab;background:transparent!important;border:0!important;box-shadow:none!important;color:#617589!important;padding:4px!important}
body.tvm-office .catalog-country-drag:active{cursor:grabbing}

body.tvm-office .catalog-list-tabs [role="tab"]{display:inline-flex;align-items:center;gap:8px}body.tvm-office .catalog-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 7px;border-radius:12px;background:#edf3f7;color:#617589;font-size:12px;line-height:1.4}body.tvm-office .catalog-list-tabs [aria-selected="true"] .catalog-tab-count{background:#dcebf6;color:#163f60}

body.tvm-office .role-preview-panel{margin:0 0 18px;max-width:780px;border:1px solid #d5e1e9;border-radius:10px;background:#fff;padding:12px 16px}body.tvm-office .role-preview-panel summary{color:#163f60;font-weight:700;cursor:pointer}body.tvm-office .role-preview-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:12px}body.tvm-office .role-preview-controls label{flex:1;min-width:200px}body.tvm-office .role-preview-panel .section-help{margin:10px 0 0}

body.role-preview-invalid #app>*:not(#role-preview-panel){display:none!important}


body.tvm-office .role-preview-panel{padding:0 16px;background:#fff7d6;border-color:#edcc6d;}
body.tvm-office .role-preview-panel summary{padding:15px 0;line-height:1.4;}
body.tvm-office .role-preview-panel details[open]>summary{border-bottom:1px solid #edcc6d;}
body.tvm-office .role-preview-controls{margin-top:12px;gap:10px;}
body.tvm-office .role-preview-controls label{margin:0;}
body.tvm-office .role-preview-panel .section-help{font-size:14px;line-height:1.5;margin:10px 0 14px;}
body.tvm-office .role-preview-panel .error:empty{display:none;}

body.tvm-office .role-preview-panel>details{margin:0;padding:0;}


body.tvm-office .role-preview-panel{width:100%;max-width:none;box-sizing:border-box;margin:0 0 18px;border-radius:var(--tvm-radius-card);box-shadow:var(--tvm-shadow-card);}


body.tvm-office .role-preview-panel{margin-bottom:6px;}


body.tvm-office .role-preview-panel summary{padding-block:8.16px;}


body.tvm-office .role-preview-panel summary{padding-block:4.09px;}


body.tvm-office .role-preview-panel summary,body.tvm-office .workspace-performance>summary{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;font-weight:700;line-height:21px;padding-block:4.8px!important;}


body.tvm-office .workspace-performance>summary{padding-block:6.43px!important;}


body.tvm-office .visa-files-panel .workspace-panel-heading{align-items:flex-start;gap:16px}
body.tvm-office .visa-files-panel .workspace-panel-heading h2{margin:0}
body.tvm-office .visa-files-panel .workspace-panel-heading p{margin:8px 0 0}
body.tvm-office .visa-files-panel .visa-files-filters{align-items:end;margin-bottom:12px}
body.tvm-office .visa-files-panel .visa-files-search{flex:3 1 320px}
body.tvm-office .visa-files-panel .visa-files-filters>button{min-height:44px;margin:0}
body.tvm-office .visa-files-table td{vertical-align:middle}
body.tvm-office .visa-files-table td strong{display:block;font-size:14px}
body.tvm-office .visa-files-table td small{display:block;color:var(--tvm-muted);font-size:14px;margin-top:4px}
body.tvm-office .visa-files-table .visa-file-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;white-space:nowrap}
body.tvm-office .visa-files-table .badge{white-space:normal}
body.tvm-office .visa-files-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px}
body.tvm-office .visa-files-dialog .heading-with-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
body.tvm-office .visa-files-dialog h2{margin:0}
body.tvm-office .visa-files-dialog .form-grid{gap:16px}
body.tvm-office .visa-files-dialog [data-custom-dates]{grid-column:1/-1;margin:0}
body.tvm-office .visa-files-dialog [data-date-error]:empty{display:none}
body.tvm-office .visa-files-dialog-actions{display:flex;justify-content:space-between;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid var(--tvm-line)}
@media(max-width:700px){
 body.tvm-office .visa-files-panel .visa-files-search{flex-basis:100%}
 body.tvm-office .visa-files-panel .workspace-table-wrap{border:0;overflow:visible;background:transparent}
 body.tvm-office .visa-files-table,body.tvm-office .visa-files-table tbody{display:block;min-width:0;width:100%}
 body.tvm-office .visa-files-table thead{display:none}
 body.tvm-office .visa-files-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;margin-bottom:12px;border:1px solid var(--tvm-line);border-radius:12px;background:white}
 body.tvm-office .visa-files-table td{display:block;border:0;padding:0!important;min-width:0;overflow-wrap:anywhere;background:transparent}
 body.tvm-office .visa-files-table td:before{content:attr(data-label);display:block;color:var(--tvm-muted);font-size:12px;margin-bottom:4px}
 body.tvm-office .visa-files-table td:first-child{grid-column:1/-1;border-bottom:1px solid var(--tvm-line);padding-bottom:8px!important}
 body.tvm-office .visa-files-table td:first-child:before{display:none}
 body.tvm-office .visa-files-dialog{padding:16px}
 body.tvm-office .visa-files-dialog .form-grid{grid-template-columns:1fr}
}

body.tvm-office .visa-files-panel .visa-files-filters :is(label,input,select){margin:0}
body.tvm-office .visa-files-table .visa-file-link{color:var(--tvm-navy);text-underline-offset:4px}
@media(max-width:700px){
 body.tvm-office:has(#visa-files-view:not([hidden])) #app>#workspace-actions.office-global-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 body.tvm-office:has(#visa-files-view:not([hidden])) #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office:has(#visa-files-view:not([hidden])) #app>#workspace-actions.office-global-quick-actions #new-case{width:100%;min-width:0;max-width:none;flex:auto}
 body.tvm-office:has(#visa-files-view:not([hidden])) #workspace-actions #new-case{grid-column:1/-1}
}

@media(min-width:1101px){
 body.tvm-office #app{grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
 body.tvm-office #app>.toolbar{grid-column:1/-1;grid-row:3}
 body.tvm-office #app:has(>#visa-files-view:not([hidden]))>.toolbar{display:none}
 body.tvm-office #app>.office-navigation-row,
 body.tvm-office #app:has(>#operations-view:not([hidden]))>.office-navigation-row{grid-column:1;grid-row:1;justify-self:start;width:100%;padding:0;align-self:end;margin:0 0 16px}
 body.tvm-office #app>.office-navigation-row .office-section-nav{justify-content:flex-start}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions,
 body.tvm-office #app:has(>#operations-view:not([hidden]))>#workspace-actions.office-global-quick-actions{grid-column:2;grid-row:1;justify-self:end;justify-content:flex-end;align-self:end;margin:0 0 16px}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,
 body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{min-width:110px;padding-inline:14px}
 body.tvm-office #app>.role-preview-panel{grid-column:1/-1;grid-row:2}
}

body.tvm-office .visa-files-scopes button{border:0;border-radius:0;background:transparent;color:var(--tvm-muted);padding:12px 2px;box-shadow:none;border-bottom:3px solid transparent;font-weight:700}body.tvm-office .visa-files-scopes button[aria-pressed=true]{color:var(--tvm-navy);border-bottom-color:var(--tvm-navy)}


.consultation-first-form .passport-same-address{display:flex;align-items:center;gap:1ch;margin-block:16px 8px;}
.consultation-first-form .passport-same-address input[type="checkbox"]{width:20px;height:20px;flex:0 0 20px;margin:0;}
.consultation-first-form [data-agency-payer]{margin-block:16px 8px;}
#case-status-dialog.participant-state-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;}
.participant-state-dialog .dialog-head h2{font-size:var(--font-size-24,24px);}
.participant-state-dialog .participant-operation-editor{margin-top:24px;padding:24px 0 0;border:0;border-top:1px solid #d6e3ed;border-radius:0;}
.participant-state-dialog .participant-operation-editor h3{margin:0 0 16px;font-size:var(--font-size-18,18px);}
.participant-state-dialog .participant-operation-editor>label{margin-block:12px;}
.participant-state-dialog .participant-operation-confirm{display:flex;align-items:center;gap:1ch;}
.participant-state-dialog .participant-operation-confirm input[type="checkbox"]{width:20px;height:20px;flex:0 0 20px;margin:0;}
.participant-state-dialog .participant-operation-editor .form-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;}
#case-status-dialog.participant-state-dialog .participant-operation-editor{margin-top:24px;padding-top:24px;border-top:1px solid var(--tvm-line);}
#case-status-dialog.participant-state-dialog .dialog-head h2{font-size:var(--tvm-type-section);}
#case-status-dialog.participant-state-dialog .participant-operation-editor>label{margin-block:12px;}
#case-status-dialog.participant-state-dialog .participant-operation-confirm input[type="checkbox"]{height:20px;min-height:20px;padding:0;}


body.tvm-office #case-profile-dialog{width:min(760px,calc(100vw - 32px))}
body.tvm-office #case-profile-dialog .booking-form{gap:16px 20px}
body.tvm-office #case-profile-dialog .consultation-person-links h3{margin:0 0 12px;color:var(--tvm-navy);font-size:var(--tvm-type-section)}
body.tvm-office #case-profile-dialog .consultation-person-links .section-help{margin:0 0 16px}
body.tvm-office .consultation-person-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.tvm-office .consultation-person-actions>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--tvm-line-strong);border-radius:6px;text-decoration:none}
body.tvm-office .consultation-person-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto}
body.tvm-office .consultation-person-dialog .dialog-head{margin-bottom:24px}
body.tvm-office .consultation-person-dialog .dialog-head h2{color:var(--tvm-navy);font-size:var(--tvm-type-section)}
body.tvm-office .consultation-person-dialog form{padding:0;margin:0}
body.tvm-office .consultation-person-dialog .booking-form{gap:16px 20px}
body.tvm-office .consultation-person-dialog .form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}
body.tvm-office #case-profile-dialog .consultation-update-body{min-height:0;overflow-y:auto;flex:1}
body.tvm-office #case-profile-dialog .consultation-update-body .form-section{overflow:visible;min-height:auto}
body.tvm-office #case-profile-dialog .dialog-head,body.tvm-office #case-profile-dialog .actions{flex-shrink:0}
body.tvm-office #case-profile-dialog .error:empty{display:none}
body.tvm-office #case-profile-dialog .error:not(:empty){padding:12px 20px;margin:0}


.case-profile-dialog .form-section > h3 { color: var(--navy, #173f5f); font-size: var(--type-section, 18px); margin: 0 0 12px; }

@media(max-width:640px){
 body.tvm-office #app>#workspace-actions.office-global-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;max-width:100%;}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,
 body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{width:100%;min-width:0;max-width:100%;white-space:normal;}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{grid-column:1/-1;}
}


@media(max-width:760px){
 body.tvm-office>header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px;}
 body.tvm-office>header .brand{justify-self:start;margin:0;}
 body.tvm-office>header .header-actions{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);width:100%;gap:8px;margin:0;}
 body.tvm-office>header .header-actions #office-session-name{grid-column:1/-1;justify-self:end;margin:0;}
 body.tvm-office>header .header-actions>:is(a.ui-button,button){width:100%;min-width:0;padding:8px 6px;gap:4px;font-size:12px;white-space:normal;}
 body.tvm-office>header .header-actions .tvm-icon{width:20px;height:20px;flex-shrink:0;}
 body.tvm-office #app>.toolbar{display:none;}
 body.tvm-office #role-preview-panel{margin:0 0 12px;}
 body.tvm-office #role-preview-panel summary{display:flex;align-items:center;justify-content:center;position:relative;min-height:40px;padding:8px 32px;box-sizing:border-box;text-align:center;line-height:1.3;}
 body.tvm-office #role-preview-panel summary:before{position:absolute;left:12px;top:50%;transform:translateY(-50%);}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions{margin:0 0 12px;}
 body.tvm-office #app>.office-navigation-row{margin:0 0 12px;}
 body.tvm-office:has(#catalog-view:not([hidden])) .office-mobile-menu-title{font-size:0;}
 body.tvm-office:has(#catalog-view:not([hidden])) .office-mobile-menu-title:after{content:"Ofis menüsü";font-size:15px;}
 body.tvm-office #definitions-view .definition-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;}
 body.tvm-office #definitions-view .definition-tabs>button{min-width:0;white-space:normal;min-height:44px;font-size:13px;}
}

@media(max-width:760px){
 body.tvm-office .catalog-heading{gap:12px;}
 body.tvm-office .catalog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;}
 body.tvm-office .catalog-actions>button{min-width:0;min-height:44px;height:auto;padding:8px;font-size:13px;white-space:normal;}
 body.tvm-office .catalog-filters-simple{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;height:auto;}
 body.tvm-office .catalog-filters-simple>label,body.tvm-office .catalog-filters-simple>.catalog-search-field{width:100%;min-width:0;flex:none;height:auto;text-align:left;grid-template-rows:auto auto;}
 body.tvm-office .catalog-list-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;}
 body.tvm-office .catalog-list-tabs>button{min-width:0;justify-content:center;gap:6px;font-size:13px;padding-inline:4px;}
}

@media(max-width:760px){body.tvm-office .case-mobile-text-action{box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 16px;line-height:1.4;white-space:normal;text-align:center;}}


@media(max-width:760px){
 body.tvm-office .participant-title>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;width:100%;min-width:0}
 body.tvm-office .participant-title>div:first-child>strong{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}
 body.tvm-office .participant-title>div:first-child>small{order:2;flex:0 0 100%}
 body.tvm-office .participant-title .participant-result-state{order:1;flex:0 0 auto;margin:0 0 0 auto;display:flex;align-items:center}
 body.tvm-office .participant-title .participant-result-state>span:first-child{display:none}
 body.tvm-office .participant-title .participant-result-state .workspace-status-action{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;color:var(--navy,#163f60);font-size:13px;line-height:1.3;white-space:nowrap}
 body.tvm-office .participant-title .participant-result-state .workspace-status-action:focus-visible{outline:2px solid #0869c4;outline-offset:3px}
 body.tvm-office .participant-title .participant-result-state .ui-edit-pencil{width:16px;height:16px}
}


@media(max-width:760px){
 body.tvm-office #case-status-dialog.participant-state-dialog .dialog-head,
 body.tvm-office #case-status-dialog.participant-state-dialog .form-actions,
 body.tvm-office #case-status-dialog.participant-state-dialog form>.actions{position:static;top:auto;bottom:auto;z-index:auto;box-shadow:none}
 body.tvm-office #case-status-dialog.participant-state-dialog{overflow-y:auto;overscroll-behavior:contain}
}


@media(min-width:761px){
 body.tvm-office #case-status-dialog.participant-state-dialog{width:520px;max-width:calc(100vw - 48px)}
}


@media(max-width:640px){
 body.tvm-office .country-profile-dialog{width:calc(100vw - 20px);max-height:94dvh;}
 body.tvm-office .country-profile-dialog .dialog-head{padding:12px 14px;gap:10px;}
 body.tvm-office .country-profile-dialog .dialog-head h2{font-size:18px;line-height:1.25;margin:0;}
 body.tvm-office .country-profile-dialog .eyebrow{margin:0 0 4px;}
 body.tvm-office .country-profile-dialog .form-section{padding:12px 14px;}
 body.tvm-office .country-profile-dialog .form-grid{gap:12px;}
 body.tvm-office .country-profile-dialog .form-grid>label{gap:4px;margin:0;}
 body.tvm-office .country-profile-dialog input:not([type=checkbox]):not([type=hidden]),
 body.tvm-office .country-profile-dialog select{min-height:44px;height:44px;padding:8px 10px;}
 body.tvm-office .country-profile-dialog fieldset{padding:10px;margin:0;}
 body.tvm-office .country-profile-dialog .section-help{margin:4px 0 10px;line-height:1.4;}
 body.tvm-office .country-profile-dialog .visa-type-choices{grid-template-columns:1fr;gap:8px;}
 body.tvm-office .country-profile-dialog [data-purpose-group]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 body.tvm-office .country-profile-dialog [data-purpose-group][hidden]{display:none;}
 body.tvm-office .country-profile-dialog .visa-type-choice{min-height:44px;margin:0;padding:10px;gap:8px;align-items:center;box-sizing:border-box;line-height:1.35;}
 body.tvm-office .country-profile-dialog .visa-type-choice input{margin:0;}
 body.tvm-office .country-profile-dialog .visa-type-choice small{margin-top:3px;line-height:1.35;}
 body.tvm-office .country-profile-dialog .actions{padding:10px 14px;gap:8px;}
 body.tvm-office .country-profile-dialog .actions button{min-height:44px;padding:8px 12px;}
 body.tvm-office .country-profile-dialog textarea{min-height:72px;}
}

@media(max-width:640px){body.tvm-office .country-profile-dialog label:has([data-country-search]:disabled){display:none;}}


html body.tvm-office #country-profile-dialog textarea[name="definition_note"]{
 height:auto;min-height:0!important;line-height:20px;padding:8px 10px;resize:vertical;overflow:auto;
}


@media screen and (max-width:760px){
 body.tvm-office #definitions-view .definition-tabs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;
  gap:8px;width:100%;max-width:100%;margin:0 0 16px;padding:0;
  border:0;overflow:visible;scroll-snap-type:none;box-sizing:border-box;
 }
 body.tvm-office #definitions-view .definition-tabs>button[data-definition]{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;min-width:0;width:100%;min-height:72px;height:100%;margin:0;padding:6px 8px;
  box-sizing:border-box;border:1px solid var(--tvm-line-strong);border-radius:10px;
  background:var(--tvm-surface);color:var(--tvm-navy);box-shadow:none;
  font-size:14px;font-weight:650;line-height:1.3;text-align:center;
  white-space:normal;overflow-wrap:anywhere;word-break:normal;touch-action:manipulation;
 }
 body.tvm-office #definitions-view .definition-tabs>button[data-definition]>.tvm-icon{
  flex:0 0 24px;width:24px;height:24px;margin:0;
 }
 body.tvm-office #definitions-view .definition-tabs>button[data-definition]:hover{
  background:var(--tvm-normal-hover);border-color:var(--tvm-action);
 }
 body.tvm-office #definitions-view .definition-tabs>button[data-definition]:is(.active,[aria-current="page"]){
  background:var(--tvm-case-summary-surface);color:var(--tvm-action);
  border-color:var(--tvm-action);box-shadow:inset 0 -3px 0 var(--tvm-accent);font-weight:750;
 }
 body.tvm-office #definitions-view .definition-tabs>button[data-definition]:focus-visible{
  outline:2px solid var(--tvm-action);outline-offset:2px;
 }
}


@media screen and (max-width:760px){
 body.tvm-office #catalog-view .catalog-heading>.catalog-actions{
  display:grid;grid-template-columns:minmax(0,1fr);gap:8px;
  width:100%;max-width:100%;min-width:0;margin:0;align-items:stretch;
 }
 body.tvm-office #catalog-view .catalog-heading>.catalog-actions>button{
  display:flex;align-items:center;justify-content:center;gap:1ch;
  width:100%;max-width:100%;min-width:0;min-height:44px;height:auto;
  margin:0;padding:10px 14px;box-sizing:border-box;border-radius:8px;
  font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;text-align:center;
 }
 body.tvm-office #catalog-view .catalog-heading #catalog-print-button{
  background:var(--tvm-surface);color:var(--tvm-navy);
  border:1px solid var(--tvm-line-strong);box-shadow:none;
 }
 body.tvm-office #catalog-view .catalog-heading #catalog-print-button:hover{
  background:var(--tvm-normal-hover);border-color:var(--tvm-action);
 }
 body.tvm-office #catalog-view .catalog-heading>.catalog-actions>button :is(.tvm-icon,[data-tvm-icon]){
  flex:0 0 20px;width:20px;height:20px;margin:0;
 }
}


@media screen and (max-width:760px){
 body.tvm-office.office-mobile-shell-active{padding-bottom:calc(84px + env(safe-area-inset-bottom));}
 body.tvm-office.office-mobile-shell-active>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;min-height:0;}
 body.tvm-office.office-mobile-shell-active>header .brand-official-logo{width:132px;max-width:132px;height:auto;}
 body.tvm-office.office-mobile-shell-active>header :is(.header-context,.header-actions,.brand small){display:none;}
 body.tvm-office.office-mobile-shell-active .office-mobile-management{display:inline-flex;min-height:44px;background:transparent;border:0;box-shadow:none;color:var(--tvm-navy);padding:8px;font-size:14px;}
 body.tvm-office.office-mobile-shell-active .office-section-nav>a{display:none!important;}
 body.tvm-office.office-mobile-shell-active .office-section-nav{display:contents;}
 body.tvm-office.office-mobile-shell-active .office-navigation-row{margin:0;padding:0;display:block;}
 body.tvm-office.office-mobile-shell-active:not(.office-mobile-home) #workspace-actions{display:none!important;}
 body.tvm-office.office-mobile-shell-active .office-mobile-new-action{margin:0 0 12px auto;display:flex;min-height:44px;padding:8px 12px;font-size:14px;}
 body.tvm-office.office-mobile-shell-active.office-mobile-home .office-mobile-new-action{display:none;}
 body.tvm-office.office-mobile-shell-active #role-preview-panel{display:none;}
 body.tvm-office.office-mobile-shell-active.role-preview-invalid #role-preview-panel,
 body.tvm-office.office-mobile-shell-active .office-mobile-action-sheet #role-preview-panel{display:block;}
 body.tvm-office.office-mobile-shell-active .office-mobile-preview-banner{display:none;}
 body.tvm-office.office-mobile-shell-active.office-mobile-preview-active .office-mobile-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--tvm-accent-soft);padding:6px 12px;margin-bottom:12px;border:1px solid var(--tvm-accent);border-radius:8px;font-size:14px;}
 body.tvm-office.office-mobile-shell-active .office-mobile-preview-banner button{min-height:44px;padding:6px 8px;font-size:14px;white-space:normal;}
 body.tvm-office .office-mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px 8px max(8px,env(safe-area-inset-bottom));background:white;border-top:1px solid var(--tvm-line);z-index:90;}
 body.tvm-office .office-mobile-bottom button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:58px;min-width:0;padding:6px 2px;border:0;border-radius:9px;box-shadow:none;background:white;color:var(--tvm-navy);font-size:12px;}
 body.tvm-office .office-mobile-bottom button.active{background:var(--tvm-case-summary-surface);color:var(--tvm-action);}
 body.tvm-office .office-mobile-bottom .tvm-icon{width:22px;height:22px;}
 body.tvm-office .office-mobile-action-sheet{position:fixed;inset:auto 0 0;transform:none;margin:0 auto;width:100%;max-width:480px;max-height:85dvh;padding:18px;border:1px solid var(--tvm-line);border-radius:18px 18px 0 0;background:white;overflow:auto;}
 body.tvm-office .office-mobile-action-sheet::backdrop{background:rgb(18 63 101 / 45%);}
 body.tvm-office .office-mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
 body.tvm-office .office-mobile-sheet-head h2{font-size:18px;margin:0;}
 body.tvm-office .office-mobile-sheet-head button{display:flex;gap:8px;min-height:44px;font-size:14px;}
 body.tvm-office .office-mobile-sheet-head .tvm-icon{width:20px;height:20px;--tvm-icon-ink:var(--tvm-danger);}
 body.tvm-office .office-mobile-sheet-body{display:grid;gap:8px;}
 body.tvm-office .office-mobile-sheet-body>button{display:flex;align-items:center;justify-content:flex-start;gap:1ch;min-height:44px;width:100%;font-size:14px;white-space:normal;}
 body.tvm-office .office-mobile-sheet-body>button .tvm-icon{width:22px;height:22px;flex:none;}
 body.tvm-office .office-mobile-account-name{margin:0 0 6px;padding-bottom:12px;border-bottom:1px solid var(--tvm-line);font-weight:700;color:var(--tvm-navy);}
 body.tvm-office .office-mobile-action-sheet [hidden],body.tvm-office .office-mobile-shell [hidden],body.tvm-office .office-mobile-new-action[hidden]{display:none!important;}
}


@media screen and (max-width:760px){
 body.tvm-office.office-mobile-shell-active .office-mobile-page-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;min-width:0;}
 body.tvm-office.office-mobile-shell-active .office-mobile-page-title{display:block;margin:0;min-width:0;flex:1;color:var(--tvm-navy);font-size:24px;line-height:1.2;letter-spacing:-.4px;overflow-wrap:anywhere;}
 body.tvm-office.office-mobile-shell-active .office-mobile-page-row .office-mobile-new-action{flex:0 0 auto;margin:0;font-size:14px;}
}


body.tvm-office a.account-card-link{display:inline-flex;align-items:center;gap:1ch;min-height:44px;padding:6px 2px;color:var(--tvm-action);font-weight:700;background:transparent;border:0;box-shadow:none;flex-wrap:wrap;text-decoration:none}
body.tvm-office a.account-card-link:hover{text-decoration:underline}
.account-missing-badge{display:inline-flex;gap:6px;align-items:center;background:#fff5cf;color:#765312;border-radius:6px;padding:3px 8px;font-size:14px;font-weight:600}
.account-profile-disclosure{min-width:0;border:1px solid #cbdce8;border-radius:10px;background:white;align-self:start}
.account-profile-disclosure>summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;cursor:pointer;min-height:48px;padding:12px 16px;font-weight:700;color:var(--tvm-navy)}
.account-profile-disclosure>summary:after{content:'⌄';margin-left:auto}.account-profile-disclosure[open]>summary:after{content:'⌃'}
.account-profile-disclosure .account-profile-tabs{padding:0 16px 12px}.account-missing-list{font-size:14px;margin:0;padding:4px 16px 12px;color:#765312}
#account-movements>.income-results-heading{display:block}
#account-detail .account-statement-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;width:100%;margin:16px 0 0}
#account-detail .account-period-label{display:grid;gap:6px;min-width:180px}
#account-detail .account-custom-period{display:flex;align-items:end;gap:10px;flex:1;min-width:370px}
#account-detail .account-custom-period[hidden]{display:none}
#account-detail .account-custom-period .date-range-picker{width:380px;min-width:0;margin:0}
#account-detail .account-export-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
#account-detail .account-export-actions button{min-height:44px;white-space:nowrap}
@media(min-width:1101px){.result-report>.result-filters{grid-template-columns:180px minmax(260px,1fr) 380px 80px}}
@media(max-width:760px){
 #account-detail .account-statement-form{display:grid;grid-template-columns:minmax(0,1fr)}
 #account-detail .account-custom-period{min-width:0;display:grid;grid-template-columns:minmax(0,1fr)}
 #account-detail .account-custom-period .date-range-picker{width:100%}
 #account-detail .account-export-actions{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #account-detail .account-export-actions button{white-space:normal;padding:8px}
 #account-detail .account-custom-period .manual-date-fields,.result-report .report-date-range .manual-date-fields{grid-template-columns:minmax(0,1fr)}
 #account-detail .manual-date-input,.result-report .report-date-range .manual-date-input{font-size:16px}
 .account-profile-actions-layout{grid-template-columns:minmax(0,1fr)}
}
#account-detail .account-statement-form label{margin:0}
#account-detail .account-statement-form .manual-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;gap:10px}
#account-detail .account-statement-form .manual-date-field{height:auto;grid-template-rows:auto 44px;align-content:start;flex:none}
#account-detail .account-statement-form .manual-date-input{height:44px;min-height:44px;margin:0}
#account-detail .account-statement-form .manual-date-caption{line-height:20px}
@media(max-width:760px){#account-detail .account-statement-form .manual-date-fields{grid-template-columns:minmax(0,1fr)} }
#account-detail #account-movements>.income-results-heading{display:block;width:100%;min-width:0}
#account-detail #account-movements .account-statement-form{box-sizing:border-box;min-width:0;max-width:100%;justify-content:flex-start}
#account-detail .account-profile-disclosure>summary:after{content:none}


#account-detail .account-profile-visible{min-width:0}
#account-detail .account-profile-visible-heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-weight:700;color:var(--tvm-navy);margin-bottom:12px}
#account-detail .account-profile-visible .account-missing-list{padding:0 0 10px}
#account-detail .account-profile-details .account-profile-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#account-detail .account-profile-details .account-profile-overview dl{grid-template-columns:minmax(0,1fr)}
#account-detail .account-profile-details article{border-radius:8px}
#account-detail .account-profile-details h3{font-size:16px;margin:0 0 10px}
@media(max-width:900px){#account-detail .account-profile-details .account-profile-overview{grid-template-columns:minmax(0,1fr)}}


body.tvm-office #account-rate-strip{display:none}
body.tvm-office.accounts-active #account-rate-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center;padding:12px 16px;margin:8px 0 16px;border:1px solid var(--tvm-line);border-radius:10px;background:white;min-width:0;order:3}
#account-rate-strip .daily-rate-caption{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;min-width:0;font-size:14px;line-height:1.45}
#account-rate-strip .daily-rate-caption>span:nth-of-type(2){flex-basis:100%}
#account-rate-strip .rate-fallback-notice{flex-basis:100%;color:#984040}
#account-rate-strip .daily-rate-values{display:grid;grid-template-columns:repeat(3,minmax(88px,1fr));gap:8px;min-width:0}
#account-rate-strip .daily-rate-values strong{display:grid;gap:4px;background:#f1f6fa;padding:8px 12px;border-radius:6px;color:var(--tvm-navy);font-size:16px}
#account-rate-strip .daily-rate-values strong span{font-size:13px}
#account-detail .account-profile-band{display:block}
#account-detail .account-profile-band .account-profile-actions-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}
#account-detail .account-profile-visible .account-detail-head{display:block;margin:0 0 14px;padding:0;min-height:0}
#account-detail .account-profile-visible .account-detail-name-row{display:block}
#account-detail .account-profile-visible .account-detail-identity-tools{margin-top:10px}
#account-detail .account-profile-visible-heading:empty{display:none}
#account-detail .account-profile-details .account-profile-overview{grid-template-columns:minmax(0,1fr)}
#account-detail .account-profile-details #account-contact-panel dl{grid-template-columns:repeat(2,minmax(0,1fr))}
#account-detail .account-profile-details #account-contact-panel .account-address-summary{grid-column:1/-1}
#account-detail .account-invoice-disclosure{border:1px solid var(--tvm-line);background:white;border-radius:8px;min-width:0}
#account-detail .account-invoice-disclosure>summary{min-height:48px;padding:12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;cursor:pointer;font-weight:700;color:var(--tvm-navy)}
#account-detail .account-invoice-type{font-size:14px;font-weight:400;color:var(--tvm-muted)}
#account-detail .account-invoice-disclosure article{border:0}
#account-detail .account-invoice-disclosure .account-invoice-heading{display:none}
#account-detail .account-quick-actions{height:auto;align-self:start}
@media(max-width:760px){
 body.tvm-office.accounts-active #account-rate-strip{grid-template-columns:minmax(0,1fr);padding:10px 12px;margin:8px 0 12px;gap:8px}
 #account-rate-strip .daily-rate-values{grid-template-columns:repeat(3,minmax(0,1fr))}
 #account-rate-strip .daily-rate-values strong{padding:8px;font-size:15px}
 #account-detail .account-profile-band .account-profile-actions-layout{grid-template-columns:minmax(0,1fr)}
 #account-detail .account-profile-details #account-contact-panel dl{grid-template-columns:minmax(0,1fr)}
}
body.tvm-office.accounts-active #account-rate-strip{order:0}
#account-detail #account-contact-panel>h3{display:block;margin:0 0 10px}
#account-detail .account-profile-visible .account-detail-head{border:0}

@media(min-width:761px){body.tvm-office.accounts-active #app>#account-rate-strip{grid-row:3}body.tvm-office.accounts-active #app:has(#account-rate-strip)>.toolbar{grid-row:4}}


#account-detail .account-profile-band{padding:12px}
#account-detail .account-profile-band .account-profile-actions-layout{gap:14px}
#account-detail .account-profile-visible .account-detail-head{margin:0 0 8px}
#account-detail .account-profile-band .account-detail-identity{gap:6px}
#account-detail .account-profile-visible .account-detail-identity-tools{margin-top:4px}
#account-detail .account-profile-visible-heading{display:inline-flex;margin:0 10px 8px 0}
#account-detail .account-profile-visible>.account-missing-list{display:inline;margin:0;padding:0;font-size:13px}
#account-detail .account-profile-details{padding:0;border:0;margin:0}
#account-detail .account-profile-details .account-profile-overview{gap:8px}
#account-detail .account-profile-details #account-contact-panel{padding:10px 12px}
#account-detail #account-contact-panel>h3{margin:0 0 4px}
#account-detail .account-profile-overview dl>div{padding:5px 0}
#account-detail .account-invoice-disclosure{margin:0}
#account-detail .account-invoice-disclosure>summary{min-height:44px;padding:8px 12px}
#account-detail .account-quick-actions{padding:10px}
#account-detail .account-quick-actions h3{margin:0 0 8px}
#account-detail .account-quick-actions .account-entry-actions{gap:8px}
@media(max-width:760px){
 #account-detail .account-profile-band{padding:10px}
 #account-detail .account-profile-visible>.account-missing-list{display:block;margin-bottom:8px}
}


#account-detail .account-quick-actions .account-secondary-actions{display:flex;flex-direction:column;gap:8px;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--tvm-line);min-width:0}
#account-detail .account-secondary-actions .account-case-links{display:contents}
#account-detail .account-secondary-actions :is(button,a){display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;min-height:44px;padding:8px 10px;font-size:14px;white-space:normal;overflow-wrap:anywhere;text-align:center;box-sizing:border-box}


body.tvm-office #account-detail{padding:0;gap:16px;background:transparent;border:0;box-shadow:none}
body.tvm-office #account-detail>section:is(.account-summary-section,.account-movements-section,.account-files-section){margin:0;padding:16px;border:1px solid var(--tvm-line);border-radius:10px;background:var(--tvm-surface);min-width:0}
#account-detail :is(.account-summary-heading,.account-section-heading,.account-movements-section .income-results-heading){margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--tvm-line)}
@media(max-width:760px){
 body.tvm-office #account-detail{gap:12px}
 body.tvm-office #account-detail>section:is(.account-summary-section,.account-movements-section,.account-files-section){padding:12px}
}


body.tvm-office.accounts-active #account-rate-strip{padding:8px 12px;gap:6px 16px;margin:6px 0 12px}
#account-rate-strip .daily-rate-caption{gap:3px 12px;line-height:1.35}
#account-rate-strip .daily-rate-values strong{padding:6px 10px;gap:2px}


body.tvm-office .account-heading-back{display:none}
body.tvm-office.accounts-active:has(#account-detail:not([hidden])) .account-heading-back{display:inline-flex;align-items:center;gap:8px;margin-left:auto;min-height:44px;padding:8px 12px;font-size:14px;white-space:nowrap}
@media(max-width:760px){
 body.tvm-office.accounts-active:has(#account-detail:not([hidden])) .office-mobile-page-row{flex-wrap:wrap;gap:8px}
 body.tvm-office.accounts-active:has(#account-detail:not([hidden])) .office-mobile-page-row .office-mobile-new-action{display:none}
 body.tvm-office.accounts-active .account-heading-back{font-size:12px!important;padding:6px 8px!important}
}

body.tvm-office.accounts-active:has(#account-detail:not([hidden])) .account-heading-back{border:0;background:transparent;box-shadow:none;color:var(--tvm-action);padding:6px 0;text-decoration:none}
body.tvm-office .account-heading-back:hover{text-decoration:underline}
body.tvm-office #app>.toolbar:has(.account-heading-back){display:flex;align-items:center;width:100%;justify-content:space-between}
#account-finance-dialog .account-payment-main-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(170px,1fr) minmax(150px,1fr);gap:12px;align-items:end}
#account-finance-dialog .account-payment-main-row>label{min-width:0;margin:0;grid-column:auto;grid-row:auto}
#account-finance-dialog .account-payment-main-row :is(input,select){width:100%;min-width:0;box-sizing:border-box}
@media(max-width:600px){#account-finance-dialog .account-payment-main-row{grid-template-columns:repeat(2,minmax(0,1fr))}#account-finance-dialog .account-payment-main-row>label:last-child{grid-column:1/-1}}
#account-detail .account-profile-band .account-profile-visible{border:0;padding:0}
@media(min-width:601px){
 #account-finance-dialog .account-payment-main-row{grid-template-columns:minmax(140px,1.7fr) minmax(168px,1fr) minmax(150px,1fr)}
}
#account-finance-dialog .account-payment-layout .finance-case-field{align-self:start;align-content:start;display:grid;gap:4px}
#account-finance-dialog .account-payment-layout .finance-participant-detail{align-self:start;margin:0;min-width:0}
#account-finance-dialog .account-payment-layout .finance-participant-detail>summary{margin:0;min-height:24px}
#account-finance-dialog .account-payment-layout .finance-participant-detail>label{margin:6px 0 0;align-content:start}
#account-detail .account-profile-visible .account-detail-name-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#account-detail .account-detail-name-row>.account-profile-edit{margin-left:auto;min-height:44px;padding:6px 0;border:0;background:transparent;box-shadow:none;color:var(--tvm-action);font-size:14px;white-space:normal}
#account-detail .account-detail-name-row>.account-profile-edit:hover{text-decoration:underline}

#account-detail .account-profile-visible .account-detail-name-row{align-items:flex-end;gap:6px 12px}
#account-detail .account-detail-name-row>.account-profile-edit{align-self:flex-end;padding:4px 0;line-height:1.3}
#account-detail .account-profile-visible .account-detail-head{margin-bottom:4px}
#account-detail .account-profile-visible-heading{margin-bottom:4px}
#account-detail .account-profile-details .account-profile-overview{gap:6px}
#account-detail .account-profile-details #account-contact-panel{padding:8px 10px}
#account-detail .account-profile-overview dl>div{padding:4px 0}
#account-detail .account-profile-band{padding:10px}

#account-detail .account-profile-band{padding:8px}
#account-detail .account-profile-visible .account-detail-head{margin-bottom:2px}
#account-detail .account-profile-visible-heading{margin-bottom:2px}
#account-detail .account-profile-details #account-contact-panel{padding:6px 10px}
#account-detail #account-contact-panel>h3{margin-bottom:2px}
#account-detail .account-profile-overview dl>div{padding:3px 0}
#account-detail .account-profile-details .account-profile-overview{gap:4px}
#account-detail .account-name-edit-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
#account-detail .account-name-edit-line>h2{margin:0}
#account-detail .account-name-edit-line>.account-profile-edit{display:inline-flex;align-items:center;gap:6px;margin:0;min-height:44px;padding:4px 0;background:transparent;border:0;box-shadow:none;color:var(--tvm-action);font-size:14px}
#account-detail .account-name-edit-line>.account-profile-edit:hover{text-decoration:underline}


#account-detail .account-profile-band{padding:16px;border-radius:10px}
#account-detail .account-profile-band .account-profile-actions-layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px;align-items:start}
#account-detail .account-profile-visible .account-detail-head{margin:0 0 8px}
#account-detail .account-detail-identity p{font-size:13px;font-weight:400;letter-spacing:.2px;margin-top:2px}
#account-detail .account-profile-alert{display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;margin:0 0 10px;padding:4px 8px;border-radius:5px;background:#fff5cf;color:#765312;font-size:13px;line-height:1.4}
#account-detail .account-profile-alert>span{font-weight:800}
#account-detail .account-profile-details #account-contact-panel{border:0;background:transparent;padding:0;border-radius:0}
#account-detail #account-contact-panel>h3{font-size:15px;margin:0 0 6px}
#account-detail .account-profile-overview dl>div{padding:5px 0}
#account-detail .account-profile-details .account-profile-overview{gap:10px}
#account-detail .account-invoice-disclosure{background:transparent;border:0;border-top:1px solid var(--tvm-line);border-radius:0}
#account-detail .account-invoice-disclosure>summary{padding:6px 0;min-height:44px}
#account-detail .account-invoice-disclosure article{background:transparent;padding:6px 0 0}
#account-detail .account-quick-actions{padding:0 0 0 16px;border:0;border-left:1px solid var(--tvm-line);border-radius:0;background:transparent}
#account-detail .account-quick-actions h3{font-size:15px;margin:0 0 10px}
#account-detail .account-quick-actions :is(button,.account-movements-jump){padding:8px 10px;min-height:44px;font-size:14px}
@media(max-width:760px){
 #account-detail .account-profile-band{padding:12px}
 #account-detail .account-profile-band .account-profile-actions-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 #account-detail .account-quick-actions{border-left:0;border-top:1px solid var(--tvm-line);padding:12px 0 0}
}

#account-detail .account-quick-actions{border-left:0}


body.tvm-office>header .crm-product-brand{display:flex;flex-direction:row;align-items:center;gap:16px;flex:0 1 auto;min-width:0;text-decoration:none;}
body.tvm-office>header .crm-product-brand .brand-official-logo{width:145px;height:auto;max-height:none;}
body.tvm-office>header .crm-product-name{font-family:"Trebuchet MS",Arial,sans-serif;font-weight:700;font-size:24px;line-height:1.1;letter-spacing:-.5px;color:#173f5c;white-space:nowrap;}
.office-footer .crm-sales-brand{display:flex;align-items:center;gap:12px;max-width:440px;}
.office-footer .crm-sales-brand img{width:130px;height:auto;max-height:none;}
.office-footer .crm-sales-brand span{font-size:11px;line-height:1.4;max-width:200px;}
@media(max-width:800px){
 body.tvm-office.office-mobile-shell-active>header .crm-product-brand{gap:10px;}
 body.tvm-office.office-mobile-shell-active>header .crm-product-brand .brand-official-logo{width:110px;height:auto;max-height:none;}
 body.tvm-office>header .crm-product-name{font-size:18px;letter-spacing:-.3px;}
 .office-footer .crm-sales-brand{flex-direction:column;align-items:center;gap:6px;text-align:center;}
}

body.tvm-office .login-product-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-32px -40px 24px;padding:28px 40px 24px;background:#f5f7f8;border-bottom:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card) var(--tvm-radius-card) 0 0;}
@media(max-width:500px){body.tvm-office .login-product-brand{margin:-28px -24px 24px;padding:24px;}}
body.tvm-office .login-product-brand img{width:160px;height:auto;max-height:none;margin:0;flex:0 0 auto;}
.login-product-brand>span{font-family:var(--tvm-font-ui);font-size:var(--tvm-text-18,18px);font-weight:700;line-height:1.3;letter-spacing:0;color:#173f5c;white-space:nowrap;}
.login-branding .login-sales-brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:230px;text-align:left;}
.login-branding .login-sales-brand img{width:130px;height:auto;max-height:none;}
.login-sales-brand span{font-size:10px;line-height:1.4;color:#60717d;}
@media(max-width:420px){body.tvm-office .login-product-brand{gap:10px;}body.tvm-office .login-product-brand img{width:135px;}}
body.tvm-office>header .crm-product-brand>.crm-product-name{display:block;width:auto;height:auto;padding:0;background:transparent;border:0;border-radius:0;color:#173f5c;}
body.tvm-office .office-footer{justify-content:flex-start;}
body.tvm-office .office-footer .crm-sales-brand{order:0;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;}
body.tvm-office .office-footer .crm-sales-brand img{order:0;margin:0;}
body.tvm-office .office-footer .crm-sales-brand span{order:1;}
body.tvm-office .office-footer>.office-version{order:5;margin-left:auto;align-self:center;}
body.tvm-office .login-branding>.office-version{margin-left:auto;}
@media(max-width:600px){body.tvm-office .office-footer .crm-sales-brand{flex:1 1 60%;}body.tvm-office .office-footer>.office-version{order:1;align-self:flex-start;}body.tvm-office .office-footer>span{order:2;}}

@media(min-width:801px){body.tvm-office>header .crm-product-brand{margin-bottom:6px;align-items:flex-end;}}

@media(min-width:1000px){
 body.tvm-office .office-footer{display:grid;grid-template-columns:minmax(300px,1fr) auto auto auto;column-gap:24px;row-gap:6px;align-items:end;}
 body.tvm-office .office-footer .crm-sales-brand{display:contents;}
 body.tvm-office .office-footer .crm-sales-brand img{grid-column:1;grid-row:1;}
 body.tvm-office .office-footer .crm-sales-brand span{grid-column:1;grid-row:2;max-width:none;white-space:nowrap;font-size:11px;line-height:1.5;}
 body.tvm-office .office-footer>span{grid-row:2;font-size:11px;line-height:1.5;white-space:nowrap;}
 body.tvm-office .office-footer>span:nth-of-type(1){grid-column:2;}
 body.tvm-office .office-footer>span:nth-of-type(2){grid-column:3;}
 body.tvm-office .office-footer>.office-version{grid-column:4;grid-row:2;align-self:end;font-size:11px;line-height:1.5;margin:0;justify-self:end;}
}

body.tvm-office .office-footer,body.tvm-office .office-footer .crm-sales-brand span{color:#526477;}
body.tvm-office .office-footer>.office-version,body.tvm-office .office-footer>.office-version:visited,body.tvm-office .login-branding>.office-version,body.tvm-office .login-branding>.office-version:visited{color:#173f5c;text-underline-offset:3px;}


.insurance-transaction{width:100%;box-sizing:border-box}
.insurance-transaction .form-section{padding:24px}
.insurance-transaction .insurance-sale-fields>.booking-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.insurance-transaction .insurance-insurer-field,.insurance-transaction .insurance-policy-field,.insurance-transaction .insurance-sale-fields label:has([name="insurance_valid_from"]),.insurance-transaction .insurance-sale-fields label:has([name="insurance_valid_to"]){grid-column:span 2}
.insurance-transaction .insurance-card-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.insurance-transaction .insurance-options-panel{grid-column:1/-1}
.insurance-transaction .insurance-card-area>[data-insurance-manual]{grid-column:auto}
.insurance-transaction .dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;background:var(--tvm-surface-info);padding:24px}
.insurance-transaction .dialog-head h2{margin:0}
.insurance-transaction .dialog-head p{margin:6px 0}
.insurance-transaction .form-actions{padding:16px 24px;margin:0;border-top:1px solid var(--tvm-line)}
.insurance-transaction label,.insurance-transaction fieldset{min-width:0}
.insurance-transaction input,.insurance-transaction select,.insurance-transaction textarea{max-width:100%;box-sizing:border-box}
@media(max-width:800px){.insurance-transaction .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr) 110px}.insurance-transaction .insurance-insurer-field,.insurance-transaction .insurance-policy-field,.insurance-transaction .insurance-sale-fields label:has([name="insurance_valid_from"]),.insurance-transaction .insurance-sale-fields label:has([name="insurance_valid_to"]){grid-column:1/-1}.insurance-transaction .dialog-head{flex-wrap:wrap;padding:16px}.insurance-transaction .form-section{padding:16px}.insurance-transaction .insurance-card-area{grid-template-columns:minmax(0,1fr)}.insurance-transaction .insurance-card-area>*{grid-column:1/-1}}
.insurance-transaction .insurance-sale-fields .insurance-card-area>.wide{grid-column:1/-1;grid-row:1}
.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]{grid-row:2;grid-column:1;max-width:none}
.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-row:2;grid-column:2;max-width:110px}
.insurance-transaction .insurance-sale-fields .insurance-options-panel{grid-row:3;grid-column:1/-1}
@media(max-width:800px){.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]{grid-column:1/-1;grid-row:auto}.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-column:1/-1;grid-row:auto}.insurance-transaction .insurance-sale-fields .insurance-options-panel{grid-row:auto}}

@media(max-width:800px){
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr) 100px!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>*{grid-column:1/-1!important;grid-row:auto;max-width:none}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-insurer-field{grid-row:1}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-policy-field{grid-row:2}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-sale-amount-field{grid-column:1!important;grid-row:3}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-currency-field{grid-column:2!important;grid-row:3}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-amount{grid-column:1!important;grid-row:4}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-currency{grid-column:2!important;grid-row:4}
 body.tvm-office .insurance-transaction .insurance-card-area{grid-template-columns:minmax(0,1fr)!important;grid-column:1/-1!important}
 body.tvm-office .insurance-transaction .insurance-card-area>*{grid-column:1/-1!important;grid-row:auto!important}
 body.tvm-office .insurance-transaction .form-actions{display:flex!important;justify-content:flex-end}
}

.qs-surface .insurance-transaction>.form-actions{position:static}
#insurance-sale-dialog .dialog-head{margin:0}
#insurance-sale-dialog .insurance-sale-fields label{margin:0}


body.tvm-office #standalone-insurance-form .dialog-head>.ui-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;min-height:44px;padding:10px 16px;white-space:nowrap;line-height:1.25;text-decoration:none}


.insurance-transaction .dialog-head{padding:16px 20px}
.insurance-transaction .dialog-head p{margin:4px 0 0}
.insurance-transaction .form-section{padding:16px 20px}
.insurance-transaction .booking-form{gap:12px}
.insurance-transaction .booking-form>label{margin:0}
.insurance-transaction .insurance-person-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:span 2;min-width:0}
.insurance-transaction .insurance-person-fields label{margin:0;min-width:0}
.insurance-transaction .insurance-person-fields small{grid-column:1/-1}
.insurance-transaction .form-section>.booking-form{grid-template-columns:repeat(4,minmax(0,1fr))}
#insurance-sale-dialog .form-section>.booking-form>.single-date-picker{grid-column:span 2}
.insurance-transaction .insurance-sale-fields>.booking-form{gap:12px}
.insurance-transaction .insurance-sale-fields .insurance-card-area{padding:12px;grid-template-columns:minmax(0,2fr) minmax(0,2fr) 100px;gap:12px}
.insurance-transaction .insurance-sale-fields .insurance-card-area>.wide{grid-column:1;grid-row:1}
.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]{grid-column:2;grid-row:1}
.insurance-transaction .insurance-sale-fields .insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-column:3;grid-row:1}
.insurance-transaction .insurance-sale-fields .insurance-card-area:not(:has([data-insurance-manual]:not([hidden])))>.wide{grid-column:1/-1}
.insurance-transaction .insurance-sale-fields .insurance-options-panel{grid-column:1/-1;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 12px}
.insurance-transaction .insurance-options-panel .check-label{margin:0}
.insurance-cost-missing{padding:12px 16px;border:1px solid var(--tvm-accent,#efb323);border-radius:8px;background:var(--tvm-accent-soft,#fff6d4);margin:0 0 16px}
.insurance-cost-missing p{margin:6px 0 10px}
.insurance-cost-missing>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:8px}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .form-section>.booking-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tvm-office .insurance-transaction .insurance-person-fields{grid-column:1/-1!important}
 body.tvm-office .insurance-transaction .insurance-card-area{grid-template-columns:minmax(0,1fr)!important}
 body.tvm-office .insurance-transaction .insurance-card-area>*{grid-column:1/-1!important;grid-row:auto!important}
 .insurance-transaction .dialog-head,.insurance-transaction .form-section{padding:14px}
 .insurance-transaction .form-actions{padding:12px 14px}
}
.insurance-transaction .insurance-card-area label{margin:0;align-self:start}
.insurance-transaction .insurance-sale-fields .insurance-card-area{border:1px solid var(--tvm-line);border-radius:8px;align-items:start}
.insurance-transaction .insurance-sale-fields .insurance-options-panel{border:0;padding:0;margin:0}
.insurance-transaction .form-section>.booking-form>fieldset:not(.insurance-sale-fields){padding:12px;border:1px solid var(--tvm-line);border-radius:8px}

body.tvm-office .qs-surface:has(>#standalone-insurance-form){max-width:1040px;margin-inline:auto}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-insurer-field{grid-column:1/3;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-policy-field{grid-column:1/3;grid-row:2}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-sale-amount-field{grid-column:3;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-currency-field{grid-column:4;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-amount{grid-column:3;grid-row:2}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-currency{grid-column:4;grid-row:2}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>label:has([name="insurance_valid_from"]){grid-column:5/7;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>label:has([name="insurance_valid_to"]){grid-column:5/7;grid-row:2}
body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-card-area{grid-column:1/-1;grid-row:3}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form{grid-template-columns:minmax(0,1fr) 100px!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>*{grid-column:1/-1!important;grid-row:auto!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-insurer-field{grid-row:1!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-policy-field{grid-row:2!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-sale-amount-field{grid-column:1!important;grid-row:3!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.finance-currency-field{grid-column:2!important;grid-row:3!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-amount{grid-column:1!important;grid-row:4!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-purchase-currency{grid-column:2!important;grid-row:4!important}
 body.tvm-office .insurance-transaction .insurance-sale-fields>.booking-form>.insurance-card-area{grid-row:7!important}
}

body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start}
body.tvm-office .insurance-transaction .insurance-customer-group .insurance-person-fields{grid-column:1/-1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-insurer-field{grid-column:1/3;grid-row:2}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-policy-field{grid-column:1/3;grid-row:3}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-sale-amount-field{grid-column:3;grid-row:2}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-currency-field{grid-column:4;grid-row:2}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-customer-payment{grid-column:3/5;grid-row:3}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>label:has([name="insurance_valid_from"]){grid-column:5/7;grid-row:2}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>label:has([name="insurance_valid_to"]){grid-column:5/7;grid-row:3}
body.tvm-office .insurance-transaction .insurance-customer-group [data-insurance-bank]{grid-column:3/5;grid-row:4}
body.tvm-office .insurance-transaction .insurance-purchase-group{padding:12px;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface-info)}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{grid-template-columns:minmax(0,1.4fr) 100px minmax(0,1fr) minmax(0,1fr);gap:10px 12px;align-items:start}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,2fr) 100px;gap:12px;padding:0;border:0}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area>.wide{grid-column:1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area>[data-insurance-manual]{grid-column:2;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-column:3;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area:not(:has([data-insurance-manual]:not([hidden])))>.wide{grid-column:1/-1}
body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-options-panel{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;border:0;grid-column:1/-1;grid-row:3}
body.tvm-office .insurance-transaction .insurance-purchase-group label{margin:0}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-person-fields{grid-row:1!important}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-insurer-field{grid-row:2!important}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-policy-field{grid-row:3!important}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-sale-amount-field{grid-column:1!important;grid-row:4!important}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-currency-field{grid-column:2!important;grid-row:4!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{grid-template-columns:minmax(0,1fr) 100px!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area,body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-options-panel{grid-row:auto!important;grid-column:1/-1!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-staff-field,body.tvm-office .insurance-transaction .insurance-purchase-group .single-date-picker{grid-column:1/-1!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group .insurance-card-area>*{grid-column:1/-1!important;grid-row:auto!important}
}


body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-amount{grid-column:1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-currency{grid-column:2;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-staff-field{grid-column:3;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>:has([name="sold_on"]),body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>:has([name="occurred_on"]){grid-column:4;grid-row:1;min-width:0}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{grid-template-columns:minmax(0,1fr) 100px minmax(0,1.15fr) minmax(230px,1fr)}
body.tvm-office .insurance-transaction .insurance-customer-group .finance-sale-amount-field{align-self:end}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-amount{grid-column:1!important;grid-row:1!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-currency{grid-column:2!important;grid-row:1!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-staff-field{grid-column:1/-1!important;grid-row:2!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>:has([name="sold_on"]),body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>:has([name="occurred_on"]){grid-column:1/-1!important;grid-row:3!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-card-area{grid-row:4!important}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-options-panel{grid-row:5!important}
}


@media(min-width:801px){
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form{grid-template-columns:minmax(0,1.1fr) minmax(180px,.85fr) 100px minmax(230px,1fr)}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-insurer-field{grid-column:1;grid-row:2}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-policy-field{grid-column:1;grid-row:3}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-sale-amount-field{grid-column:2;grid-row:2;align-self:start;white-space:nowrap}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.finance-currency-field{grid-column:3;grid-row:2}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-customer-payment{grid-column:2/4;grid-row:3}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>label:has([name="insurance_valid_from"]){grid-column:4;grid-row:2}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>label:has([name="insurance_valid_to"]){grid-column:4;grid-row:3}
 body.tvm-office .insurance-transaction .insurance-customer-group [data-insurance-bank]{grid-column:2/4;grid-row:4}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-currency{white-space:nowrap}
}


body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form{grid-template-columns:minmax(0,1fr) minmax(280px,1.1fr) minmax(250px,1fr);gap:12px}
body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-person-fields{grid-column:1/-1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-cluster{display:grid;gap:10px 12px;padding:12px;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface,#fff);min-width:0;align-content:start;align-items:start}
body.tvm-office .insurance-transaction .insurance-cluster label{margin:0;min-width:0}
body.tvm-office .insurance-transaction .insurance-policy-cluster{grid-column:1;grid-row:2}
body.tvm-office .insurance-transaction .insurance-sale-cluster{grid-column:2;grid-row:2;grid-template-columns:minmax(0,1fr) 88px}
body.tvm-office .insurance-transaction .insurance-sale-cluster .insurance-customer-payment,body.tvm-office .insurance-transaction .insurance-sale-cluster [data-insurance-bank]{grid-column:1/-1;grid-row:auto}
body.tvm-office .insurance-transaction .insurance-sale-cluster .finance-sale-amount-field{white-space:nowrap}
body.tvm-office .insurance-transaction .insurance-dates-cluster{grid-column:3;grid-row:2}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tvm-office .insurance-transaction .insurance-purchase-values{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr) 100px}
body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-staff-field{grid-column:1;grid-row:2}
body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="sold_on"]),body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="occurred_on"]){grid-column:2;grid-row:2;min-width:0}
body.tvm-office .insurance-transaction .insurance-purchase-values{grid-template-columns:minmax(0,1fr) minmax(230px,1fr)}
body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-purchase-currency select{width:100px;max-width:100%}
body.tvm-office .insurance-transaction .insurance-company-payment{grid-column:2;grid-row:1}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-card-area{grid-column:1/-1;grid-row:1;grid-template-columns:minmax(0,1fr) 100px}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-card-area>.wide{grid-column:1/-1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-card-area>[data-insurance-manual]{grid-column:1;grid-row:2}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-card-area>[data-insurance-manual]:has([name="insurance_purchase_card_last4"]){grid-column:2;grid-row:2}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-options-panel{grid-row:2;display:grid;gap:10px;background:transparent}
@media(max-width:1100px) and (min-width:801px){body.tvm-office .insurance-transaction .insurance-purchase-values{grid-template-columns:minmax(0,1fr) 100px}body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-staff-field,body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="sold_on"]),body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="occurred_on"]){grid-column:1/-1;grid-row:auto}}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form,body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{grid-template-columns:minmax(0,1fr)!important}
 body.tvm-office .insurance-transaction .insurance-customer-group>.booking-form>.insurance-cluster,body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-cluster{grid-column:1/-1!important;grid-row:auto!important}
 body.tvm-office .insurance-transaction .insurance-sale-cluster{grid-template-columns:minmax(0,1fr) 88px}
 body.tvm-office .insurance-transaction .insurance-purchase-values{grid-template-columns:minmax(0,1fr) 88px}
 body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-staff-field,body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="sold_on"]),body.tvm-office .insurance-transaction .insurance-purchase-values>:has([name="occurred_on"]){grid-column:1/-1!important;grid-row:auto!important}
 body.tvm-office .insurance-transaction .insurance-person-fields{grid-template-columns:minmax(0,1fr)}
 body.tvm-office .insurance-transaction .insurance-cluster{padding:10px}
}

body.tvm-office .insurance-transaction .insurance-policy-cluster{grid-template-columns:minmax(0,1fr)}
body.tvm-office .insurance-transaction .insurance-policy-cluster>label{grid-column:1;grid-row:auto}
body.tvm-office .insurance-transaction .insurance-sale-cluster>.finance-sale-amount-field{grid-column:1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-cluster>.finance-currency-field{grid-column:2;grid-row:1}
body.tvm-office .insurance-transaction .insurance-sale-cluster>.insurance-customer-payment{grid-column:1/-1;grid-row:2}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-values{grid-column:1!important;grid-row:1!important}
body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-company-payment{grid-column:2!important;grid-row:1!important;grid-template-columns:minmax(0,1fr)}
body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-purchase-amount{grid-column:1;grid-row:1}
body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-purchase-currency{grid-column:2;grid-row:1}
@media(max-width:800px){body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-purchase-values{grid-column:1/-1!important;grid-row:1!important}body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>.insurance-company-payment{grid-column:1/-1!important;grid-row:2!important}}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-options-panel .check-label{min-height:32px;padding:0;align-items:center}
@media(max-width:800px){
 body.tvm-office .insurance-transaction .form-section>.booking-form{grid-template-columns:minmax(0,1fr)!important}
 body.tvm-office .insurance-transaction .form-section>.booking-form>.insurance-customer-group,body.tvm-office .insurance-transaction .form-section>.booking-form>.insurance-purchase-group{grid-column:1/-1!important}
 body.tvm-office .insurance-transaction .insurance-sale-cluster>.finance-sale-amount-field{white-space:normal}
 body.tvm-office .insurance-transaction .insurance-sale-cluster>.finance-currency-field{align-self:end}
}
@media(max-width:800px){body.tvm-office .insurance-transaction .insurance-purchase-values>.insurance-purchase-currency{align-self:end}}


body.tvm-office .account-merge-dialog{font:inherit;color:var(--tvm-navy)}
body.tvm-office .account-merge-dialog .dialog-head h2{font-size:var(--tvm-type-section);color:var(--tvm-navy);margin:4px 0 0}
body.tvm-office .account-merge-dialog .account-merge-body{padding:20px;display:grid;gap:16px}
body.tvm-office .account-merge-dialog .account-merge-body>.form-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.tvm-office .account-merge-dialog .form-section{margin:0;padding:16px;min-width:0}
body.tvm-office .account-merge-dialog h3{font-size:var(--tvm-type-section);color:var(--tvm-navy);margin:0 0 12px}
body.tvm-office .account-merge-dialog p{margin:0;line-height:var(--tvm-leading-body)}
body.tvm-office .account-merge-dialog .form-section p{margin-top:8px}
body.tvm-office .account-merge-dialog form{gap:16px}
body.tvm-office .account-merge-dialog .actions{padding:0;margin:0;flex-wrap:wrap}
body.tvm-office .account-merge-dialog .check-label{display:flex;align-items:flex-start;gap:10px;line-height:var(--tvm-leading-body)}
body.tvm-office .account-merge-dialog input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;flex:0 0 20px;margin-top:2px}
body.tvm-office .account-merge-dialog>.error:not(:empty){margin:0;padding:0 20px 20px}
@media(max-width:600px){body.tvm-office .account-merge-dialog .account-merge-body{padding:14px;gap:14px}body.tvm-office .account-merge-dialog .account-merge-body>.form-grid{grid-template-columns:1fr}body.tvm-office .account-merge-dialog .actions{display:grid;grid-template-columns:1fr}body.tvm-office .account-merge-dialog .actions button{white-space:normal}}

body.tvm-office .account-merge-dialog .merge-payment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
@media(max-width:600px){body.tvm-office .account-merge-dialog .merge-payment-list{grid-template-columns:1fr}}


body.tvm-office .account-merge-dialog .merge-payment-table{border:1px solid var(--booking-line);border-radius:6px;overflow:hidden;margin-top:10px;background:#fff}
body.tvm-office .account-merge-dialog .merge-payment-heading,body.tvm-office .account-merge-dialog .merge-payment-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(100px,1fr) minmax(100px,.8fr);gap:12px;align-items:center;padding:12px 14px}
body.tvm-office .account-merge-dialog .merge-payment-heading{background:var(--booking-sky);font-size:12px;font-weight:700;padding-top:9px;padding-bottom:9px}
body.tvm-office .account-merge-dialog .merge-payment-row+.merge-payment-row{border-top:1px solid var(--booking-line)}
body.tvm-office .account-merge-dialog .merge-payment-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
body.tvm-office .account-merge-dialog .merge-payment-amount,body.tvm-office .account-merge-dialog .merge-payment-heading>span:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.tvm-office .account-merge-dialog .merge-payments-section h3{margin-bottom:6px}
body.tvm-office .account-merge-dialog .merge-payments-section>p{font-size:13px;color:var(--muted)}
body.tvm-office .account-merge-dialog .merge-review{display:grid;gap:8px;margin:0;padding:10px 14px 12px;border:1px solid var(--booking-line);border-radius:6px;background:var(--booking-sky);min-width:0}
body.tvm-office .account-merge-dialog .merge-review legend{padding:0 6px;color:var(--tvm-navy);font-size:13px;font-weight:750}
body.tvm-office .account-merge-dialog .merge-review>.check-label{margin:0;padding:4px 0;min-height:44px;font-size:13px;line-height:1.5;align-items:center}
body.tvm-office .account-merge-dialog [data-confirm-form]{margin:0;gap:16px}
@media(max-width:600px){body.tvm-office .account-merge-dialog .merge-payment-heading{display:none}body.tvm-office .account-merge-dialog .merge-payment-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:12px}body.tvm-office .account-merge-dialog .merge-payment-row>div{grid-row:span 2}body.tvm-office .account-merge-dialog .merge-payment-row>span{font-size:12px;text-align:right}body.tvm-office .account-merge-dialog .merge-payment-amount{grid-column:2}body.tvm-office .account-merge-dialog .merge-review{padding:8px 10px 10px}}


body.tvm-office .account-merge-dialog .merge-transfer-review{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}
body.tvm-office .account-merge-dialog .merge-transfer-review>.merge-review{margin-top:0}
body.tvm-office .account-merge-dialog .merge-transfer-review .merge-payment-heading,body.tvm-office .account-merge-dialog .merge-transfer-review .merge-payment-row{grid-template-columns:minmax(0,1.4fr) minmax(64px,.8fr) minmax(72px,.8fr);gap:8px;padding-left:10px;padding-right:10px;font-size:13px}
@media(max-width:760px){body.tvm-office .account-merge-dialog .merge-transfer-review{grid-template-columns:1fr}body.tvm-office .account-merge-dialog .merge-transfer-review .merge-payment-row{grid-template-columns:minmax(0,1fr) auto}}

@media(min-width:601px) and (max-width:760px){body.tvm-office .account-merge-dialog .merge-payment-heading{display:none}body.tvm-office .account-merge-dialog .merge-payment-row>div{grid-row:span 2}body.tvm-office .account-merge-dialog .merge-payment-row>span{text-align:right}body.tvm-office .account-merge-dialog .merge-payment-amount{grid-column:2}}


body.tvm-office #quick-sales-view:has(#standalone-insurance-form){width:100%;max-width:none}
body.tvm-office #quick-sales-view>.qs-surface:has(>#standalone-insurance-form){width:100%;max-width:none;margin:0;padding:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);box-shadow:none;background:#fff;overflow:visible}
body.tvm-office #standalone-insurance-form{margin:0;max-width:none}
body.tvm-office #standalone-insurance-form>.dialog-head{position:static;background:#fff;padding:20px 22px;border-bottom:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel) var(--tvm-radius-panel) 0 0}
body.tvm-office #standalone-insurance-form>.form-section{margin:0;padding:20px 22px;border:0;border-radius:0;background:#fff}
body.tvm-office #standalone-insurance-form>.form-actions{position:static;padding:16px 22px;background:#fff;border-radius:0 0 var(--tvm-radius-panel) var(--tvm-radius-panel)}
body.tvm-office .result-withdrawn{background:var(--tvm-surface-info);color:var(--tvm-navy);border:1px solid var(--tvm-line)}

body.tvm-office .catalog-price-dialog{width:min(1000px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;padding:0;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);overflow:auto;box-sizing:border-box}
body.tvm-office .catalog-price-dialog>form{margin:0;gap:14px}
body.tvm-office .catalog-price-dialog .heading-with-action{position:sticky;top:0;z-index:5;display:flex;gap:16px;align-items:start;justify-content:space-between;padding:18px 22px;background:#fff;border-bottom:1px solid var(--tvm-line)}
body.tvm-office .catalog-price-dialog .heading-with-action h2{margin:0;font-size:var(--tvm-type-section);line-height:1.35}
body.tvm-office .catalog-price-dialog .heading-with-action button{flex-shrink:0;min-height:44px}
body.tvm-office .catalog-price-dialog>form>.section-help{margin:0 22px;font-size:14px;line-height:1.5}
body.tvm-office .catalog-price-dialog>form>.form-grid{margin:0 22px;padding:14px 16px;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface-info);grid-template-columns:180px minmax(0,1fr);gap:14px}
body.tvm-office .catalog-price-dialog label{margin:0;font-size:14px;min-width:0}
body.tvm-office .catalog-price-dialog .catalog-package-cost-options{margin:0 22px;padding:12px 16px;gap:10px;border-radius:8px}
body.tvm-office .catalog-price-dialog .catalog-package-cost-options legend{font-size:16px;font-weight:700;color:var(--tvm-navy);padding:0 6px}
body.tvm-office .catalog-price-dialog .catalog-package-cost-options>p{margin:0;font-size:14px;line-height:1.5}
body.tvm-office .catalog-price-dialog [data-sales-tariff]{grid-template-columns:minmax(180px,2fr) repeat(4,minmax(90px,1fr));gap:10px;padding:12px 0;align-items:end}
body.tvm-office .catalog-price-dialog [data-sales-tariff]>.wide{grid-column:auto}
body.tvm-office .catalog-price-dialog [data-sales-tariff]>.section-help{grid-column:1/4;margin:0;font-size:14px}
body.tvm-office .catalog-price-dialog [data-sales-tariff]>button{grid-column:4/6;justify-self:end;min-height:44px}
body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate]){grid-template-columns:minmax(0,1fr) 110px;gap:14px;padding:8px 0;align-items:center}
body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate])>label{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:14px}
body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate])>.section-help{margin:0;font-size:14px}
body.tvm-office .catalog-price-dialog :is(input,select){min-height:44px;min-width:0;box-sizing:border-box}
body.tvm-office .catalog-price-dialog [data-supplier-matrix]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
body.tvm-office .catalog-price-dialog [data-supplier-matrix]>label{display:grid;gap:6px}
body.tvm-office .catalog-price-dialog>form>.actions{position:sticky;bottom:0;margin:0;padding:12px 22px;background:#fff;border-top:1px solid var(--tvm-line);min-height:44px}
body.tvm-office .catalog-price-dialog>form>.error:not(:empty){margin:0 22px}
@media(max-width:760px){body.tvm-office .catalog-price-dialog [data-sales-tariff]{grid-template-columns:repeat(2,minmax(0,1fr))}body.tvm-office .catalog-price-dialog [data-sales-tariff]>.wide{grid-column:1/-1}body.tvm-office .catalog-price-dialog [data-sales-tariff]>button,body.tvm-office .catalog-price-dialog [data-sales-tariff]>.section-help{grid-column:auto}body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate]){grid-template-columns:minmax(0,1fr)}body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate])>label{grid-template-columns:minmax(0,1fr) 110px}body.tvm-office .catalog-price-dialog :is([data-cost-rate],[data-supplier-rate])>.section-help{text-align:right}body.tvm-office .catalog-price-dialog [data-supplier-matrix]{grid-template-columns:1fr}body.tvm-office .catalog-price-dialog>form>.form-grid{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:600px){body.tvm-office #standalone-insurance-form>:is(.dialog-head,.form-section,.form-actions){padding:16px}body.tvm-office .catalog-price-dialog .heading-with-action{padding:16px}body.tvm-office .catalog-price-dialog>form>.section-help,body.tvm-office .catalog-price-dialog>form>.form-grid,body.tvm-office .catalog-price-dialog .catalog-package-cost-options{margin-left:14px;margin-right:14px}body.tvm-office .catalog-price-dialog .catalog-package-cost-options{padding:10px}body.tvm-office .catalog-price-dialog>form>.form-grid{grid-template-columns:1fr}}


body.tvm-office .catalog-price-dialog .heading-with-action h2{color:var(--tvm-navy)}
@media(min-width:761px){body.tvm-office .catalog-price-dialog [data-sales-tariff]{grid-template-columns:minmax(160px,1.7fr) repeat(4,minmax(80px,1fr)) auto}body.tvm-office .catalog-price-dialog [data-sales-tariff]>.section-help{display:none}body.tvm-office .catalog-price-dialog [data-sales-tariff]>button{grid-column:auto;min-width:72px;margin:0}}

@media(max-width:760px){body.tvm-office .catalog-price-dialog [data-sales-tariff]{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.tvm-office .catalog-price-dialog [data-sales-tariff]>.wide{grid-column:1/-1!important}}


body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(170px,.8fr) minmax(210px,.95fr);gap:12px;grid-column:1/-1}
body.tvm-office .insurance-person-fields>label{min-width:0;grid-column:auto!important;grid-row:auto!important}
body.tvm-office .insurance-person-fields input{width:100%;min-width:0;box-sizing:border-box}
body.tvm-office .insurance-person-fields [data-reveal-insurance-id],body.tvm-office .insurance-person-fields [data-reveal-case-insurance-id]{margin-top:6px;min-height:32px;padding:4px 12px}
.insurance-definition-company{border:1px solid #cfdce5;background:#fff;border-radius:8px;margin:12px 0;overflow:hidden}
.insurance-definition-company>.heading-with-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#edf3f7}
.insurance-definition-company h3{margin:0;color:#153f60;font-size:18px}
.insurance-definition-company>.heading-with-action>div{display:flex;gap:8px;flex-wrap:wrap}
.insurance-definition-products>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid #e0e7ed}
.insurance-definition-products p{margin:4px 0;color:#657b8a}.insurance-definition-products>p{padding:12px 16px}
@media(max-width:1050px){body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{grid-template-columns:minmax(0,1fr)}.insurance-definition-company>.heading-with-action{align-items:flex-start;flex-direction:column}.insurance-definition-products>div{align-items:flex-start}}


body.tvm-office .insurance-transaction .insurance-company-payment{align-self:start;align-content:start;row-gap:10px}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-options-panel{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;margin:0;padding:0;border:0;min-height:0;align-self:start}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-options-panel>.check-label{display:flex!important;justify-content:flex-start;align-items:center;gap:8px;margin:0;padding:0;min-height:26px;line-height:1.4;text-align:left}
body.tvm-office .insurance-transaction .insurance-company-payment .insurance-options-panel input[type=checkbox]{width:18px!important;min-width:18px;max-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0}


body.tvm-office dialog.insurance-definition-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--tvm-line);border-top:4px solid var(--tvm-navy);border-radius:var(--tvm-radius-panel);background:var(--tvm-surface,#fff);color:var(--tvm-ink);box-shadow:var(--tvm-shadow-dialog);overflow:auto}
body.tvm-office .insurance-definition-dialog>form{display:block;margin:0;padding:0}
body.tvm-office .insurance-definition-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px 20px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
body.tvm-office .insurance-definition-dialog .dialog-head h2{font-size:var(--tvm-type-section);color:var(--tvm-navy);margin:4px 0 0}
body.tvm-office .insurance-definition-dialog .dialog-head p{margin:4px 0 0}.insurance-definition-dialog .dialog-head .eyebrow{margin:0}
body.tvm-office .insurance-definition-dialog .form-section{border:0;margin:0;padding:20px;background:var(--tvm-surface,#fff)}
body.tvm-office .insurance-definition-dialog .booking-form{grid-template-columns:minmax(0,1fr);gap:12px;padding:0}
body.tvm-office .insurance-definition-dialog label{margin:0;display:grid;gap:6px;min-width:0}
body.tvm-office .insurance-definition-dialog :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0}
body.tvm-office .insurance-definition-dialog .form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0;padding:14px 20px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface,#fff)}
body.tvm-office :is(.insurance-definition-dialog,#insurance-catalog-definition-panel) .ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;white-space:nowrap}
body.tvm-office #insurance-catalog-definition-panel .heading-with-action{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:600px){body.tvm-office .insurance-definition-dialog .dialog-head{padding:14px 16px;align-items:flex-start}body.tvm-office .insurance-definition-dialog .form-section{padding:16px}body.tvm-office .insurance-definition-dialog .form-actions{padding:12px 16px}body.tvm-office .insurance-definition-dialog .dialog-head h2{font-size:20px}}

body.tvm-office .case-customer-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:10px}body.tvm-office .case-customer-search-row .primary-field{margin:0}body.tvm-office .case-customer-search-row .ui-button{min-height:44px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}@media(max-width:600px){body.tvm-office .case-customer-search-row{grid-template-columns:minmax(0,1fr)}body.tvm-office .case-customer-search-row .ui-button{justify-content:center}}


body.tvm-office #case-form .case-customer-search-row>.primary-field{display:grid;gap:6px;margin:0!important;padding:0;min-width:0}
body.tvm-office #case-form #case-customer-fetch{height:44px;min-height:44px;align-self:end;margin:0;padding:8px 14px;line-height:1.3;box-sizing:border-box}



body.tvm-office #workspace-overview .workspace-approved-layout{display:flex;flex-direction:column;gap:28px}
body.tvm-office #workspace-overview .workspace-today-card{display:block!important;border:0;background:transparent;box-shadow:none;padding:4px 0 0!important;margin:0}
body.tvm-office #workspace-overview .workspace-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px}
body.tvm-office #workspace-overview .workspace-heading h2{order:-1;font-size:24px;margin:0;color:var(--tvm-navy)}
body.tvm-office #workspace-overview .workspace-heading .eyebrow{font-size:14px;font-weight:500;letter-spacing:0;margin:0;color:var(--tvm-muted)}
body.tvm-office #workspace-overview .workspace-heading>p:not(.eyebrow){display:none}
body.tvm-office #workspace-overview .workspace-metrics{display:flex;flex-wrap:wrap;gap:4px 18px;margin:14px 0 0;padding:8px 0;border-top:1px solid var(--tvm-line);border-bottom:1px solid var(--tvm-line);overflow:visible}
body.tvm-office #workspace-overview .metric-card[data-application-stage]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;flex:0 1 auto;min-height:44px;margin:0;padding:6px 8px;border:0;border-radius:5px;background:transparent;box-shadow:none;color:var(--tvm-muted);text-align:left}
body.tvm-office #workspace-overview .metric-card[data-application-stage] strong{font-size:18px;color:var(--tvm-navy);order:1}
body.tvm-office #workspace-overview .metric-card[data-application-stage] span{font-size:14px;font-weight:500;color:var(--tvm-muted)}
body.tvm-office #workspace-overview .metric-card small{display:none}
body.tvm-office #workspace-overview .metric-card:hover,body.tvm-office #workspace-overview .metric-card[aria-pressed=true]{background:var(--tvm-action-soft);box-shadow:inset 0 -2px var(--tvm-action);filter:none}
body.tvm-office #workspace-overview .workspace-daily-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);grid-template-rows:auto auto;gap:20px 28px;align-items:start;margin:0}
body.tvm-office #workspace-overview .workspace-daily-grid>.workspace-panel{background:white;border:1px solid var(--tvm-line);border-top:1px solid var(--tvm-line);border-radius:8px;box-shadow:none;padding:20px;margin:0}
body.tvm-office #workspace-overview .workspace-priorities{grid-column:1;grid-row:1/3;min-height:330px}
body.tvm-office #workspace-overview .workspace-calendar{grid-column:2;grid-row:1;height:auto!important;min-height:0!important;max-height:none!important;contain:none;overflow:visible}
body.tvm-office #workspace-overview .workspace-refunds{grid-column:2;grid-row:2;min-height:0}
body.tvm-office #workspace-overview .workspace-panel-heading{margin-bottom:14px;align-items:center}
body.tvm-office #workspace-overview .workspace-panel-heading h3{font-size:18px;margin:0}
body.tvm-office #workspace-overview .workspace-panel-heading p{display:none}
body.tvm-office #workspace-overview .workspace-panel-heading>.badge{background:transparent;color:var(--tvm-muted);border:0;font-size:14px;font-weight:400;padding:0}
body.tvm-office #workspace-overview .workspace-priority-list{gap:0}
body.tvm-office #workspace-overview .workspace-priority-actions-row{padding:14px 0;border:0;border-bottom:1px solid var(--tvm-line);border-radius:0;background:transparent;box-shadow:none;column-gap:16px}
body.tvm-office #workspace-overview .workspace-person strong{font-size:17px;line-height:1.4}
body.tvm-office #workspace-overview .workspace-priority-details{gap:5px}
body.tvm-office #workspace-overview .workspace-next strong{font-weight:500}
body.tvm-office #workspace-overview .workspace-calendar ol{height:auto;max-height:none;overflow:visible}
body.tvm-office #workspace-overview .workspace-calendar-empty{padding:0;min-height:0;display:grid;gap:4px;text-align:left;background:transparent}
body.tvm-office #workspace-overview .workspace-calendar-empty strong{font-size:14px;font-weight:400;color:var(--tvm-muted)}
body.tvm-office #workspace-overview .workspace-calendar-empty span{display:none}
body.tvm-office #workspace-overview .workspace-calendar-link,body.tvm-office #workspace-overview .workspace-refund-link{margin:10px 0 0;justify-content:flex-start;align-self:flex-start}
body.tvm-office #workspace-overview .workspace-refund-list>.muted{margin:0;font-size:14px}
body.tvm-office #workspace-overview .workspace-active{margin:8px 0 0;border:1px solid var(--tvm-line);box-shadow:none;border-radius:8px;padding-top:18px}
body.tvm-office #workspace-overview .workspace-active .workspace-panel-heading{padding-inline:18px}
body.tvm-office #workspace-overview .workspace-active .workspace-file-toolbar{padding-inline:18px}
body.tvm-office #workspace-overview .workspace-recent{margin:0;border:0;border-top:1px solid var(--tvm-line);box-shadow:none;background:transparent;padding:16px 0 0}
body.tvm-office #workspace-overview .workspace-recent>.workspace-board-heading{min-height:44px;padding-left:240px;font-size:16px}
body.tvm-office #workspace-overview .workspace-board-tabs{top:16px;left:0}
body.tvm-office #workspace-overview .workspace-board-tabs>button{width:100px;min-height:44px;background:transparent;color:var(--tvm-muted);border-radius:5px;border:0;box-shadow:none}
body.tvm-office #workspace-overview .workspace-board-tabs>button[aria-selected=true]{background:white;color:var(--tvm-navy);border:1px solid var(--tvm-line);box-shadow:none}
body.tvm-office #workspace-overview .workspace-recent-list{background:transparent;border:0;padding:12px 0 0;gap:10px;min-height:0}
body.tvm-office #workspace-overview .workspace-performance{margin:0!important;box-shadow:none;border:0;border-top:1px solid var(--tvm-line);background:transparent}
@media(max-width:900px){body.tvm-office #workspace-overview .workspace-daily-grid{grid-template-columns:1fr;gap:18px}body.tvm-office #workspace-overview .workspace-daily-grid>.workspace-panel{grid-column:auto;grid-row:auto}body.tvm-office #workspace-overview .workspace-priorities{min-height:0}}
@media(max-width:600px){body.tvm-office #workspace-overview .workspace-approved-layout{gap:22px}body.tvm-office #workspace-overview .workspace-heading{display:grid;gap:8px}body.tvm-office #workspace-overview .workspace-heading h2{font-size:22px}body.tvm-office #workspace-overview .workspace-metrics{gap:0 8px}body.tvm-office #workspace-overview .workspace-daily-grid>.workspace-panel{padding:16px}body.tvm-office #workspace-overview .workspace-metrics .metric-card{flex:1 1 140px}body.tvm-office #workspace-overview .workspace-recent>.workspace-board-heading{padding-left:205px}body.tvm-office #workspace-overview .workspace-board-heading span{display:none}}

body.tvm-office #workspace-overview .workspace-priority-list{border:0;border-radius:0;background:transparent;box-shadow:none}
body.tvm-office #workspace-overview .workspace-priority-actions-row:last-child{border-bottom:0}

body.tvm-office #workspace-overview .workspace-all-link{display:inline-flex;align-items:center;gap:1ch;min-height:44px;margin-top:10px;color:var(--tvm-action);font-size:14px;font-weight:600;text-decoration:none}body.tvm-office #workspace-overview .workspace-all-link:hover{text-decoration:underline}body.tvm-office #workspace-overview .workspace-list-count{font-size:14px;color:var(--tvm-muted);margin:2px 0 0}body.tvm-office #workspace-overview .workspace-full-list>.workspace-panel{width:100%;grid-column:auto;grid-row:auto;padding:24px;background:white;border:1px solid var(--tvm-line);border-radius:8px;min-height:0}body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar ol{max-height:none;overflow:visible}body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-row{padding:16px 0}


body.tvm-office #workspace-overview .workspace-full-list{gap:20px}
body.tvm-office #workspace-overview .workspace-list-page-header{padding:0;margin:0;background:transparent;border:0;box-shadow:none}
body.tvm-office #workspace-overview .workspace-list-breadcrumb{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--tvm-muted);margin-bottom:18px}
body.tvm-office #workspace-overview .workspace-list-breadcrumb a{color:var(--tvm-action);display:inline-flex;align-items:center;min-height:44px}
body.tvm-office #workspace-overview .workspace-list-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
body.tvm-office #workspace-overview .workspace-list-title-row h2{font-size:24px;line-height:1.3;color:var(--tvm-navy);margin:0 0 8px}
body.tvm-office #workspace-overview .workspace-list-title-row p{font-size:14px;line-height:1.6;color:var(--tvm-muted);max-width:760px;margin:0}
body.tvm-office #workspace-overview .workspace-list-total{font-size:16px;font-weight:700;white-space:nowrap;color:var(--tvm-navy);padding:10px 16px;background:var(--tvm-surface-info);border-radius:7px}
body.tvm-office #workspace-overview .workspace-list-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--tvm-line);padding-bottom:12px}
body.tvm-office #workspace-overview .workspace-list-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--tvm-line);border-radius:6px;background:white;font-size:14px;font-weight:600;color:var(--tvm-navy);text-decoration:none}
body.tvm-office #workspace-overview .workspace-list-tabs a[aria-current=page]{background:var(--tvm-navy);border-color:var(--tvm-navy);color:white}
body.tvm-office #workspace-overview .workspace-full-list .workspace-panel-heading{padding-bottom:14px;border-bottom:1px solid var(--tvm-line);margin-bottom:0}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row,body.tvm-office #workspace-overview .workspace-list-columns{display:grid;grid-template-columns:minmax(0,1fr) 190px 44px;gap:16px;align-items:center}
body.tvm-office #workspace-overview .workspace-list-columns{font-size:13px;font-weight:700;color:var(--tvm-navy);background:var(--tvm-surface-info);padding:12px;margin-top:16px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row{padding:18px 12px;min-height:90px;border-bottom:1px solid var(--tvm-line);margin:0}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-details{display:grid;gap:8px;min-height:44px;text-align:left;padding:0;border:0;background:transparent;box-shadow:none;white-space:normal;color:var(--tvm-navy)}
body.tvm-office #workspace-overview .workspace-full-list .workspace-person{display:grid;gap:4px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-next{display:block}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.badge{justify-self:start;max-width:190px;white-space:normal}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-open{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;background:white;border:1px solid var(--tvm-line);border-radius:6px;color:var(--tvm-action);box-shadow:none}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-empty,body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-list:has(>.muted),body.tvm-office #workspace-overview .workspace-full-list .empty{padding:40px 20px;background:var(--tvm-surface-subtle);border-radius:6px;text-align:center;margin:20px 0;min-height:140px;align-content:center}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-empty span{display:block;font-size:14px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-empty strong{font-size:16px;font-weight:600;color:var(--tvm-navy)}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-day{margin:16px 0}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-day h4{padding:12px;background:var(--tvm-surface-info);font-size:14px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar li button{width:100%;min-height:64px;padding:14px 12px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;text-align:left;border-bottom:1px solid var(--tvm-line)}
body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:8px 28px;align-items:start}
body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-row>.workspace-refund-stage{grid-column:2;grid-row:1/3}
body.tvm-office #workspace-overview .workspace-list-footer{display:flex;justify-content:flex-start;padding:0;background:transparent;border:0}
body.tvm-office #workspace-overview .workspace-list-footer a{display:inline-flex;gap:1ch;align-items:center;min-height:44px;padding:10px 16px;text-decoration:none}
body.tvm-office #workspace-overview .workspace-full-list :is(a,button):focus-visible{outline:2px solid var(--tvm-action);outline-offset:3px}
@media(max-width:600px){body.tvm-office #workspace-overview .workspace-list-title-row{align-items:flex-start;gap:12px}body.tvm-office #workspace-overview .workspace-list-title-row h2{font-size:22px}body.tvm-office #workspace-overview .workspace-list-total{padding:8px;font-size:14px}body.tvm-office #workspace-overview .workspace-list-columns{display:none}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row{grid-template-columns:minmax(0,1fr) 44px;gap:12px}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-details{grid-column:1/-1}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.badge{grid-column:1}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-open{grid-column:2}body.tvm-office #workspace-overview .workspace-full-list>.workspace-panel{padding:16px}body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-row{grid-template-columns:1fr}body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-row>.workspace-refund-stage{grid-column:auto;grid-row:auto}}
body.tvm-office #workspace-overview .workspace-list-page-header{display:block!important;width:100%;grid-template-columns:none;align-items:normal;justify-content:normal}
body.tvm-office #workspace-overview .workspace-list-breadcrumb{width:100%;justify-content:flex-start;flex-wrap:wrap}
body.tvm-office #workspace-overview .workspace-list-tabs{width:100%;justify-content:flex-start}

body.tvm-office #workspace-overview .workspace-document-summary{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin-top:5px;max-width:100%}body.tvm-office #workspace-overview .workspace-document-chip{display:inline-block;font-size:14px;font-weight:400;line-height:1.5;color:var(--tvm-muted);background:var(--tvm-surface-subtle);padding:3px 8px;border-radius:5px;white-space:normal;overflow-wrap:anywhere}body.tvm-office #workspace-overview .workspace-document-chip--waiting{background:#fff6df;color:#715220}body.tvm-office #workspace-overview .workspace-document-chip--attention{background:#fff0e9;color:#843d26}body.tvm-office #workspace-overview .workspace-document-chip--info{background:var(--tvm-action-soft);color:var(--tvm-navy)}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-details{min-width:0}body.tvm-office #workspace-overview .workspace-full-list .workspace-document-summary{margin-top:3px}


body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row,body.tvm-office #workspace-overview .workspace-list-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 160px 44px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-priority-details{grid-column:1;grid-row:1;gap:6px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-document-summary{grid-column:2;grid-row:1;margin:0;align-self:center;min-width:0}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.badge{grid-column:3;grid-row:1}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-priority-open{grid-column:4;grid-row:1}
@media(max-width:760px){body.tvm-office #workspace-overview .workspace-list-columns{display:none}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row{grid-template-columns:minmax(0,1fr) 44px}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-priority-details{grid-column:1/-1;grid-row:1}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-document-summary{grid-column:1/-1;grid-row:2}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.badge{grid-column:1;grid-row:3}body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-actions-row>.workspace-priority-open{grid-column:2;grid-row:3}}


body.tvm-office #workspace-overview .workspace-stage-info[data-application-stage]{display:inline-flex;align-items:center;gap:7px;padding:4px 0;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--stage-ink,var(--tvm-navy));font-size:14px;font-weight:600;cursor:default;min-height:0;white-space:normal}
body.tvm-office #workspace-overview .workspace-stage-info::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 7px}
body.tvm-office #workspace-overview .workspace-stage-info:hover{background:transparent;filter:none}


body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-table-wrap{margin-top:16px;max-width:100%;overflow-x:auto}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-table{width:100%;margin:0;border-collapse:collapse}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-table th{white-space:normal}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-table td{vertical-align:top;padding:16px 12px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-document-summary{margin-top:9px;gap:6px}
body.tvm-office #workspace-overview .workspace-full-list .workspace-priority-table .workspace-stage-info{font-size:14px;font-weight:600}

body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-person{display:grid;gap:5px;min-width:0}body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-person b{font-size:16px;line-height:1.4}body.tvm-office #workspace-overview .workspace-full-list .workspace-calendar-person small{font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}body.tvm-office #workspace-overview .workspace-appointment-reference{font-variant-numeric:tabular-nums}body.tvm-office #workspace-overview .workspace-appointment-location{color:var(--tvm-muted)}


body.tvm-office #workspace-overview .workspace-refund-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;align-items:start;max-width:100%;min-width:0}
body.tvm-office #workspace-overview .workspace-refund-person{grid-column:1;grid-row:1;display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}
body.tvm-office #workspace-overview .workspace-refund-person strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
body.tvm-office #workspace-overview .workspace-refund-person small{font-size:14px;line-height:1.4}
body.tvm-office #workspace-overview .workspace-refund-status{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:14px;line-height:1.5;min-width:0}
body.tvm-office #workspace-overview .workspace-refund-status small{font-size:14px}
body.tvm-office #workspace-overview .workspace-refund-amount{grid-column:2;grid-row:1/3;color:var(--tvm-action);align-self:center;font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
body.tvm-office #workspace-overview .workspace-refund-secondary{grid-column:1/-1}
body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-expanded{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:4px 24px;padding:16px 0}
body.tvm-office #workspace-overview .workspace-refund-expanded .workspace-refund-accounts{grid-column:2;grid-row:1/3;display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
body.tvm-office #workspace-overview .workspace-refund-expanded .workspace-refund-accounts small{font-size:14px;line-height:1.5}
body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-expanded .workspace-refund-amount{grid-column:3;grid-row:1/3}
@media(max-width:760px){body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-expanded{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}body.tvm-office #workspace-overview .workspace-refund-expanded .workspace-refund-accounts{grid-column:1/-1;grid-row:3}body.tvm-office #workspace-overview .workspace-full-list .workspace-refund-expanded .workspace-refund-amount{grid-column:2;grid-row:1/3}}

body.tvm-office #workspace-overview .workspace-recent{--board-surface:#f0f6fc;--board-card:#e5effb;--board-line:#c9dced;--board-ink:#24567c;background:var(--board-surface);border:1px solid var(--board-line);border-radius:9px;padding:18px 20px;margin-top:8px;box-shadow:none}
body.tvm-office #workspace-overview .workspace-recent:has([data-board-tab="accounts"][aria-selected="true"]){--board-surface:#f0f7f2;--board-card:#e5f1e9;--board-line:#c8dfcf;--board-ink:#32634c}
body.tvm-office #workspace-overview .workspace-recent>.workspace-board-heading{color:var(--board-ink);min-height:44px;padding-left:260px}
body.tvm-office #workspace-overview .workspace-recent .workspace-board-tabs{top:18px;left:20px;gap:8px}
body.tvm-office #workspace-overview .workspace-recent .workspace-board-tabs>button{min-width:110px;width:auto;min-height:44px;padding:10px 20px;border:1px solid var(--board-line);border-radius:6px;background:#ffffff80;box-shadow:none;color:var(--board-ink)}
body.tvm-office #workspace-overview .workspace-recent .workspace-board-tabs>button[aria-selected="true"]{border-color:var(--board-ink);color:var(--board-ink);background:var(--board-card);box-shadow:inset 0 -2px var(--board-ink)}
body.tvm-office #workspace-overview .workspace-recent .workspace-recent-list{background:transparent;border:0;padding:16px 0 0;gap:12px}
body.tvm-office #workspace-overview .workspace-recent .workspace-recent-list>:is(button,a){background:var(--board-card);border:1px solid var(--board-line);border-radius:7px;padding:12px 14px;color:var(--board-ink);min-height:72px;box-shadow:none}
body.tvm-office #workspace-overview .workspace-recent .workspace-recent-list>:is(button,a):hover{border-color:var(--board-ink);background:var(--board-card);box-shadow:0 2px 6px #173b5910}
body.tvm-office #workspace-overview .workspace-recent .workspace-recent-copy strong{color:var(--board-ink)}
body.tvm-office #workspace-overview .workspace-recent .workspace-recent-list>.muted{margin:0;padding:14px;background:var(--board-card);border:1px dashed var(--board-line);border-radius:7px;color:var(--board-ink);grid-column:1/-1;font-size:14px}
@media(max-width:640px){body.tvm-office #workspace-overview .workspace-recent{padding:16px 12px}body.tvm-office #workspace-overview .workspace-recent .workspace-board-tabs{top:16px;left:12px}body.tvm-office #workspace-overview .workspace-recent .workspace-board-tabs>button{min-width:78px;padding:8px 12px}body.tvm-office #workspace-overview .workspace-recent>.workspace-board-heading{padding-left:185px;font-size:14px}}


body.tvm-office #workspace-overview .workspace-recent{background:#fff;border-color:#8aafd1}
body.tvm-office #workspace-overview .workspace-recent:has([data-board-tab="accounts"][aria-selected="true"]){border-color:#8fbaa0;background:#fff}

body.tvm-office #workspace-overview .workspace-daily-left{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;gap:16px;align-self:stretch;min-width:0}
body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{margin:0;padding:8px 12px;gap:2px 8px;background:#fff;border:1px solid var(--tvm-line);border-radius:8px}
body.tvm-office #workspace-overview .workspace-daily-left>.workspace-priorities{flex:1;min-height:0;background:#fff;border:1px solid var(--tvm-line);border-radius:8px;padding:20px;margin:0}
@media(max-width:900px){body.tvm-office #workspace-overview .workspace-daily-left{grid-column:auto;grid-row:auto}body.tvm-office #workspace-overview .workspace-daily-left>.workspace-priorities{flex:initial}}
@media(max-width:600px){body.tvm-office #workspace-overview .workspace-daily-left>.workspace-priorities{padding:16px}}


body.tvm-office #workspace-overview .workspace-today-card{min-height:0;height:auto}
body.tvm-office #workspace-overview .workspace-header-tools:empty{display:none}
body.tvm-office #workspace-overview .workspace-approved-layout{gap:16px}
body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{background:#f8eef0;border-color:#e5cdd3;padding:8px 10px;gap:4px 6px}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{background:#ffffff85;border:1px solid #ead8dd;border-radius:5px;padding:6px 8px;min-height:42px;gap:6px}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] span{color:#715560;font-size:13px}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] strong{color:var(--stage-ink,#6b4552);font-size:19px;font-weight:700}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]:hover,body.tvm-office #workspace-overview .workspace-daily-left .metric-card[aria-pressed=true]{background:#fff;border-color:#b88998;box-shadow:inset 0 -2px #b88998}

body.tvm-office #workspace-overview .workspace-month-counter{display:flex;align-items:center;gap:8px;padding:5px 10px;margin-left:auto;border:1px solid #8f7885;border-radius:6px;background:#373445;color:#fff;text-decoration:none;min-height:44px}
body.tvm-office #workspace-overview .workspace-month-counter>span{font-size:13px;font-weight:700;color:#fff}
body.tvm-office #workspace-overview .workspace-month-counter>small{display:none}
body.tvm-office #workspace-overview .workspace-counter-digits{display:flex;gap:3px}
body.tvm-office #workspace-overview .workspace-counter-digits>b{position:relative;display:grid;place-items:center;min-width:22px;padding:2px 4px;border:1px solid #6a6576;border-radius:3px;background:#24232e;color:#fff;font:700 23px/1.15 ui-monospace,monospace;font-variant-numeric:tabular-nums}
body.tvm-office #workspace-overview .workspace-counter-digits>b:after{content:"";position:absolute;top:50%;left:0;right:0;border-top:1px solid #77708088}
body.tvm-office #workspace-overview .workspace-month-counter:hover{background:#4b4053}
body.tvm-office #workspace-overview .workspace-month-counter:focus-visible{outline:3px solid var(--tvm-action);outline-offset:3px}
body.tvm-office #workspace-overview .workspace-month-report{padding:24px;border:1px solid var(--tvm-line);background:white;border-radius:8px;min-width:0}
body.tvm-office #workspace-overview .workspace-month-totals{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:28px}
body.tvm-office #workspace-overview .workspace-month-totals>div{flex:1;min-width:200px;display:grid;gap:8px;background:#f4eef8;padding:18px;border:1px solid #e3d7eb;border-radius:7px}
body.tvm-office #workspace-overview .workspace-month-totals strong{font-size:25px;color:#534362}
body.tvm-office #workspace-overview .workspace-month-chart{display:flex;align-items:flex-end;gap:16px;overflow-x:auto;padding:16px 4px 24px;margin-bottom:28px;border-bottom:1px solid var(--tvm-line)}
body.tvm-office #workspace-overview .workspace-month-chart>div{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:76px;flex:1}
body.tvm-office #workspace-overview .workspace-month-bar{display:block;min-height:2px;width:34px;background:#a08ab6;border-radius:4px 4px 0 0}
body.tvm-office #workspace-overview .workspace-month-chart small{font-size:12px;white-space:nowrap}
body.tvm-office #workspace-overview .workspace-month-table{width:100%;border-collapse:collapse;text-align:left}
body.tvm-office #workspace-overview .workspace-month-table th,body.tvm-office #workspace-overview .workspace-month-table td{padding:12px;border-bottom:1px solid var(--tvm-line)}
body.tvm-office #workspace-overview .workspace-month-table thead{background:#f3eef7}
body.tvm-office #workspace-overview .workspace-month-table td{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:600px){body.tvm-office #workspace-overview .workspace-month-counter{margin-left:0;flex:1;justify-content:space-between}body.tvm-office #workspace-overview .workspace-month-report{padding:16px}}


body.tvm-office #workspace-overview .workspace-month-counter{background:#eeebe2;border:1px solid #aaa491;box-shadow:inset 0 1px #fff,0 1px 2px #473c2512;color:#514d40;padding:5px 9px}
body.tvm-office #workspace-overview .workspace-month-counter>span{color:#514d40;font-weight:700}
body.tvm-office #workspace-overview .workspace-counter-digits{background:#6e6b60;border:1px solid #666257;border-radius:4px;padding:3px;gap:2px;box-shadow:inset 0 1px 3px #0003}
body.tvm-office #workspace-overview .workspace-counter-digits>b{min-width:23px;background:linear-gradient(#eee9da 0%,#fffdf4 48%,#c7c1af 50%,#ece7d9 53%,#f9f5e9 100%);border:1px solid #aaa38e;color:#302f29;border-radius:2px;font:700 24px/1.05 ui-monospace,monospace;padding:2px 3px}
body.tvm-office #workspace-overview .workspace-counter-digits>b:after{border-color:#7c756855}
body.tvm-office #workspace-overview .workspace-month-counter:hover{background:#e5dfcf;border-color:#837b65}


body.tvm-office #workspace-overview .workspace-month-counter{background:linear-gradient(135deg,#ffffff 0%,#f6f8fa 28%,#e6ebef 49%,#ffffff 52%,#f3f6f8 78%,#e9eef2 100%);border-color:#b9c3cc;box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px #cbd3da,0 1px 2px #173b5712}
body.tvm-office #workspace-overview .workspace-meter-label{display:grid;gap:6px;justify-items:start}
body.tvm-office #workspace-overview .workspace-counter-digits>b{background:linear-gradient(#252c30,#11171b 49%,#344047 51%,#161e23);border-color:#4c555a;color:#f4f4ed;text-shadow:0 1px #000;font-size:25px;min-width:24px}
body.tvm-office #workspace-overview .workspace-meter-disc{display:block;position:relative;width:56px;height:7px;border:1px solid #91968b;border-radius:50%;background:linear-gradient(#6d756e,#242c27 50%,#858d82);overflow:hidden;box-shadow:inset 0 1px #cbd0c5}
body.tvm-office #workspace-overview .workspace-meter-disc:after{content:"";position:absolute;width:5px;height:100%;top:0;left:-6px;background:#e53935;animation:workspace-meter-turn 5s linear infinite}
@keyframes workspace-meter-turn{0%,35%{transform:translateX(0)}85%,100%{transform:translateX(66px)}}
@media(prefers-reduced-motion:reduce){body.tvm-office #workspace-overview .workspace-meter-disc:after{animation:none;left:24px}}

body.tvm-office .visa-files-panel>.catalog-tabs-line{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
body.tvm-office .visa-acceptance-summary{display:grid;grid-template-columns:auto auto;gap:3px 12px;align-items:center;padding:8px 14px;border-left:3px solid #89b49b;background:#f2f7f3;border-radius:4px;color:#305b44}
body.tvm-office .visa-acceptance-summary>span{font-size:14px;font-weight:600}
body.tvm-office .visa-acceptance-summary strong{font-size:24px;grid-column:2;grid-row:1/3;font-variant-numeric:tabular-nums}
body.tvm-office .visa-acceptance-summary small{font-size:12px;grid-column:1}


body.tvm-office #workspace-overview .workspace-meter-disc{width:80%;justify-self:center}
body.tvm-office #workspace-overview .workspace-meter-disc:after{left:0;animation-name:workspace-meter-turn-centered}
@keyframes workspace-meter-turn-centered{0%,35%{left:-6px;transform:none}85%,100%{left:100%;transform:none}}
@media(prefers-reduced-motion:reduce){body.tvm-office #workspace-overview .workspace-meter-disc:after{animation:none;left:calc(50% - 2px);transform:none}}

body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 230px minmax(180px,1fr);align-items:start}
body.tvm-office .insurance-transaction .insurance-person-fields>label{align-self:start;align-content:start;justify-content:stretch;gap:6px}
body.tvm-office .insurance-transaction .insurance-dates-cluster{grid-template-columns:minmax(0,1fr)!important;align-content:start}
body.tvm-office .insurance-transaction .insurance-dates-cluster>label{grid-column:1!important;grid-row:auto!important;min-width:0}
body.tvm-office .account-finance-add.insurance-transaction .insurance-purchase-values>.finance-date-field{grid-column:1/-1!important;grid-row:2!important}
body.tvm-office .insurance-transaction .insurance-policy-cluster{align-content:start}
@media(max-width:1050px){body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.tvm-office .insurance-transaction .insurance-insured-group>.insurance-person-fields{grid-template-columns:minmax(0,1fr)}}


body.tvm-office #account-finance-dialog:has(>.insurance-transaction){width:min(1100px,calc(100vw - 32px));max-width:1100px;box-sizing:border-box}
body.tvm-office #account-finance-dialog>.insurance-transaction{padding:0}
body.tvm-office #account-finance-dialog>.insurance-transaction>.dialog-head{padding:16px 20px}
body.tvm-office #account-finance-dialog>.insurance-transaction>.form-section{padding:16px 20px}
body.tvm-office #account-finance-dialog .insurance-transaction .form-section>.booking-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-customer-group>.booking-form{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(220px,.95fr);gap:12px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-cluster{padding:12px;gap:10px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster>label{grid-column:1!important;grid-row:auto!important;margin:0}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster .single-date-picker{width:100%;min-width:0}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-values{grid-template-columns:minmax(0,1fr) minmax(220px,1fr);align-content:start}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-values>.insurance-purchase-currency{grid-column:2!important;grid-row:1!important;max-width:none}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-values>.insurance-purchase-currency select{width:88px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-values>.finance-date-field{grid-column:1/-1!important;grid-row:2!important;margin:0}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-company-payment .insurance-card-area{padding:0;border:0;margin:0}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-company-payment .insurance-card-area>legend,body.tvm-office #account-finance-dialog .insurance-transaction .insurance-options-panel>legend{display:none}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-options-panel{gap:6px;padding:0;margin:0}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-options-panel .check-label{min-height:28px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-currency{white-space:normal}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-sale-cluster>.finance-sale-amount-field{white-space:normal}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-person-fields{gap:12px}
body.tvm-office #account-finance-dialog .insurance-transaction>.form-actions{padding:12px 20px;margin:0}
@media(max-width:900px){
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-customer-group>.booking-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster{grid-column:1/-1!important;grid-row:3!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster>label{grid-column:auto!important}
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-purchase-values{grid-template-columns:minmax(0,1fr) 88px}
}
@media(max-width:600px){
 body.tvm-office #account-finance-dialog:has(>.insurance-transaction){width:calc(100vw - 16px)}
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-customer-group>.booking-form,body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster{grid-template-columns:minmax(0,1fr)!important}
 body.tvm-office #account-finance-dialog .insurance-transaction .insurance-dates-cluster{grid-row:auto!important}
}
body.tvm-office #account-finance-dialog>.insurance-transaction{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
body.tvm-office #account-finance-dialog>.insurance-transaction>.dialog-head{margin:0;box-sizing:border-box}
body.tvm-office #account-finance-dialog .insurance-transaction :is(fieldset,.form-section,.booking-form,.insurance-cluster){box-sizing:border-box;min-width:0;max-width:100%}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-insured-group [data-reveal-case-insurance-id]{width:auto;min-height:28px;padding:3px 10px;font-size:12px}
body.tvm-office #account-finance-dialog .insurance-transaction .insurance-insured-group small{font-size:12px;line-height:1.4}


.staff-guide-page #staff-guide-root{max-width:1280px;margin:0 auto;padding:28px 24px 48px}
.staff-guide-intro{display:grid;grid-template-columns:1fr 420px;gap:32px;align-items:center;padding:28px;background:#fff;border:1px solid #d8e4ed;border-radius:12px;margin-bottom:24px}
.staff-guide-intro h1{font-size:32px;color:#163f5c;margin:8px 0 12px}.staff-guide-intro p{margin:8px 0;color:#586e80}
.staff-guide-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:20px;font-size:14px;color:#596f80}
.staff-guide-search{display:grid;gap:8px;font-size:15px;font-weight:600;color:#29485e}.staff-guide-search>span{display:flex;gap:10px;align-items:center;border:1px solid #e3b846;border-radius:8px;background:white;padding:0 12px}.staff-guide-search [data-tvm-icon]{flex:0 0 24px;color:#16456c}.staff-guide-search input{min-width:0;width:100%;height:44px;border:0!important;box-shadow:none;background:transparent;padding:0;color:#243f52;font:inherit;font-weight:400}.staff-guide-search>span:focus-within{outline:2px solid #dfb641;outline-offset:2px}
.staff-guide-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}.staff-guide-categories{display:grid;gap:8px}.staff-guide-categories button{display:flex;justify-content:space-between;gap:12px;text-align:left;min-height:48px;width:100%;padding:12px 14px;background:white}.staff-guide-categories button[aria-pressed=true]{background:#eaf3fb!important;border-color:#2971aa!important;color:#16456c!important}.staff-guide-categories small{font-size:14px;color:inherit}.staff-guide-role-note{font-size:14px;line-height:1.6;color:#62788a;padding:4px 10px}.staff-guide-result-head{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:0 0 14px}.staff-guide-result-head h2{font-size:24px;margin:0;color:#163f5c}.staff-guide-result-head>span{font-size:14px;color:#5e7588}
.staff-guide-topic{background:white;border:1px solid #d8e4ed;border-radius:10px;margin:0 0 12px;overflow:hidden}.staff-guide-topic summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:18px 20px;list-style:none}.staff-guide-topic summary::-webkit-details-marker{display:none}.staff-guide-topic summary strong{display:block;color:#1e415c;font-size:18px;line-height:1.4}.staff-guide-topic summary small{display:block;margin-top:5px;color:#647789;font-size:14px;line-height:1.5}.staff-guide-chevron{font-size:24px;color:#477291}.staff-guide-topic[open]{border-color:#87acc9}.staff-guide-topic[open] .staff-guide-chevron{transform:rotate(180deg)}.staff-guide-topic[open] summary{background:#f4f8fc;border-bottom:1px solid #d8e4ed}.staff-guide-topic-body{padding:20px;line-height:1.65;color:#304a5b;font-size:16px}.staff-guide-topic-body h3{margin:0 0 10px;font-size:16px;color:#1e415c}.staff-guide-topic-body ol{padding-left:24px;margin:0 0 20px}.staff-guide-topic-body li+li{margin-top:10px}.staff-guide-outcome{padding:16px;background:#f0f7f5;border-left:3px solid #6c9a89;border-radius:4px;margin-bottom:16px}.staff-guide-outcome p{margin:0}.staff-guide-note{font-size:15px;margin:16px 0 20px}.staff-guide-empty{background:white;border:1px solid #d8e4ed;border-radius:10px;padding:28px}.staff-guide-page footer{padding:24px;max-width:1280px;margin:auto;font-size:14px;color:#6b7e8a}
@media(max-width:1000px){.staff-guide-intro{grid-template-columns:1fr;gap:20px}.staff-guide-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}}
@media(max-width:680px){.staff-guide-page #staff-guide-root{padding:16px 12px 32px}.staff-guide-intro{padding:20px;margin-bottom:20px}.staff-guide-intro h1{font-size:24px}.staff-guide-layout{grid-template-columns:1fr;gap:12px}.staff-guide-categories{display:flex;flex-wrap:wrap;gap:8px}.staff-guide-categories button{width:auto;min-height:44px;font-size:14px;padding:10px 12px}.staff-guide-role-note{margin:10px 0}.staff-guide-topic summary{padding:16px}.staff-guide-topic-body{padding:16px}.staff-guide-result-head h2{font-size:24px}}


.staff-guide-page .staff-guide-topic>summary::before,.staff-guide-page .staff-guide-topic>summary::after{content:none!important;display:none!important}
.staff-guide-page .staff-guide-topic>summary>span:first-child{flex:1;min-width:0;text-align:left}
.staff-guide-page .staff-guide-chevron{flex:0 0 auto}
.staff-guide-page .staff-guide-search>span{display:block;border:0;padding:0}
.staff-guide-page .staff-guide-search input{display:block;width:100%;box-sizing:border-box;border:1px solid #f2a900!important;border-radius:8px;background-color:#fff!important;padding:9px 13px 9px 40px!important;height:44px}


body.tvm-office :is(.ui-button,button.secondary,a.secondary,.settings-button,#logout){padding-inline:10px;gap:6px;box-sizing:border-box;max-width:100%}
body.tvm-office :is(.form-actions,.editor-actions,.dialog-head,.heading-with-action,.definition-heading,.consultation-person-actions,.case-finance-actions,.account-entry-actions){column-gap:8px;row-gap:8px}
body.tvm-office :is(.form-actions,.editor-actions) :is(button,.ui-button){padding-inline:10px}
body.tvm-office>header .header-actions{gap:6px}
body.tvm-office>header .header-actions>:is(a.ui-button,button),body.tvm-office>header .header-actions>#definitions-nav,body.tvm-office>header .header-actions>#logout{padding:6px 10px;gap:6px;font-size:14px;min-height:44px;height:auto}
@media(min-width:761px){
 body.tvm-office #app{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;container:office-workspace / inline-size}
 body.tvm-office #app[hidden]{display:none}
 body.tvm-office #app>*{grid-column:1/-1}
 body.tvm-office #app>.toolbar{grid-column:1/-1;grid-row:3;margin:0 0 8px}
 body.tvm-office #app>.office-navigation-row,body.tvm-office #app:has(>#operations-view:not([hidden]))>.office-navigation-row{grid-column:1;grid-row:1;min-width:0;width:100%;margin:0 0 8px;padding:0;align-self:center}
 body.tvm-office #app>.office-navigation-row .office-section-nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:4px;min-width:0;padding:0;border:0}
 body.tvm-office #app>.office-navigation-row .office-section-nav>a:is([data-office-area],.tvm-icon-control){width:auto;min-width:76px;max-width:none;flex:0 0 auto;height:60px;min-height:60px;padding:6px 8px;gap:4px;font-size:14px;line-height:1.2;white-space:nowrap}
 body.tvm-office #app>.office-navigation-row .office-section-nav>a .tvm-icon{width:22px;height:22px}
 body.tvm-office #app>.office-navigation-row .office-section-nav>a.intake-nav-link:has(.intake-new-count:not([hidden])){padding-left:8px;padding-right:24px}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions,body.tvm-office #app:has(>#operations-view:not([hidden]))>#workspace-actions.office-global-quick-actions{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;gap:6px;justify-self:end;align-self:center;align-items:center;width:auto;margin:0 0 8px;min-width:0}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{width:auto;min-width:0;max-width:none;flex:0 0 auto;min-height:44px;height:44px;padding:6px 10px;gap:6px;font-size:14px;line-height:1.2;white-space:nowrap}
 body.tvm-office #app>#workspace-actions .tvm-icon{width:20px;height:20px}
 body.tvm-office #app>.role-preview-panel{grid-column:1/-1;grid-row:2}
 @container office-workspace (max-width:1080px){
  body.tvm-office #app>.office-navigation-row,body.tvm-office #app:has(>#operations-view:not([hidden]))>.office-navigation-row{grid-column:1/-1;grid-row:1;margin-bottom:0}
  body.tvm-office #app>#workspace-actions.office-global-quick-actions,body.tvm-office #app:has(>#operations-view:not([hidden]))>#workspace-actions.office-global-quick-actions{grid-column:1/-1;grid-row:2;margin-bottom:4px;justify-self:start}
  body.tvm-office #app>.role-preview-panel{grid-row:3}
  body.tvm-office #app>.toolbar{grid-row:4}
 }
}

body.tvm-office #workspace-overview .workspace-daily-left{container:office-daily-left / inline-size}
body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{padding:6px;gap:4px;align-items:center}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{padding:4px 6px;gap:4px;min-height:40px;flex:0 0 auto}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] span{font-size:14px;line-height:1.25;white-space:nowrap}
body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] strong{font-size:18px;line-height:1.2}
body.tvm-office #workspace-overview .workspace-month-counter{padding:4px 6px;gap:6px;min-height:44px}
body.tvm-office #workspace-overview .workspace-counter-digits{padding:2px;gap:2px}
body.tvm-office #workspace-overview .workspace-counter-digits>b{min-width:20px;padding:2px;font-size:24px}
body.tvm-office #workspace-overview .workspace-meter-label{gap:4px}
@container office-daily-left (max-width:760px){
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:4px}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{width:100%;min-width:0;max-width:none;margin:0;justify-content:center}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]:first-child{grid-column:auto}
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics>.workspace-month-counter{grid-column:3;grid-row:1/3;align-self:center;margin:0}
}
@container office-daily-left (max-width:480px){
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics>.workspace-month-counter{grid-column:1/-1;grid-row:3;justify-self:end}
}
@media(max-width:760px){
 body.tvm-office #app>#workspace-actions.office-global-quick-actions{gap:6px}
 body.tvm-office #app>#workspace-actions.office-global-quick-actions>.ui-button,body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{padding:6px 8px;gap:6px;min-height:44px;font-size:14px}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{min-height:44px}
 body.tvm-office>header .header-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}

body.tvm-office #app>#workspace-actions.office-global-quick-actions #new-case{border-width:3px;box-shadow:0 3px 8px #e2aa1233}

body.tvm-office :is(.form-actions,.editor-actions,.heading-with-action,.definition-heading,.consultation-person-actions,.case-finance-actions,.account-entry-actions){flex-wrap:wrap}
body.tvm-office :is(.form-actions,.editor-actions,.case-finance-actions,.account-entry-actions) :is(button,.ui-button){white-space:normal;line-height:1.25;min-height:44px}

body.tvm-office :is(.form-actions,.editor-actions) :is(button,.ui-button){min-width:88px}


@media(min-width:761px){
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:4px;align-items:stretch}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{grid-column:auto;grid-row:1;width:100%;min-width:0;margin:0;align-self:stretch;justify-content:center;padding:5px;min-height:44px}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] span{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.2;text-align:center}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] strong{flex:0 0 auto}
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics>.workspace-month-counter{grid-column:5;grid-row:1;margin:0;align-self:center;white-space:nowrap}
}
@media(max-width:760px){
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;margin:0;overflow:visible}
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics>.workspace-month-counter{grid-column:1/-1;grid-row:1;justify-self:stretch;width:100%;min-width:0;max-width:100%;margin:0;justify-content:space-between;padding:6px 10px;white-space:nowrap;box-sizing:border-box}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]{grid-column:auto;grid-row:auto;min-width:0;width:100%;min-height:44px;margin:0;padding:6px;justify-content:center;align-self:stretch}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage]:first-child{grid-column:auto}
 body.tvm-office #workspace-overview .workspace-daily-left .metric-card[data-application-stage] span{white-space:normal;min-width:0;line-height:1.2;text-align:center}
 body.tvm-office #workspace-overview .workspace-daily-left>.workspace-metrics>.workspace-month-counter>.workspace-meter-label{flex:1;min-width:0;justify-items:center;text-align:center;white-space:nowrap;font-size:14px}
}

.schengen-form-page{margin:0;background:#f3f6f8;color:#244357;font:15px/1.5 system-ui,sans-serif}.application-header{display:flex;align-items:center;gap:24px;padding:20px max(20px,calc((100% - 1200px)/2));background:#fff;border-bottom:1px solid #d6e1e9}.application-header img{width:160px;height:auto}.application-header h1{font-size:24px;margin:0}.application-header .eyebrow{margin:0}.application-shell{max-width:1200px;margin:20px auto;padding:0 20px}.application-notice{padding:12px 16px;background:#edf5fb;border:1px solid #cfdfec;border-radius:8px}.application-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.application-layout nav{position:sticky;top:12px;align-self:start;display:grid;gap:6px}.application-layout nav a{border:1px solid #d2dfea;border-radius:7px;padding:9px 12px;background:#fff;color:#164a72;text-decoration:none}.application-section,.application-review{background:#fff;border:1px solid #d5e1ea;border-radius:10px;padding:20px;margin-bottom:16px;scroll-margin-top:12px}.application-section h2{font-size:19px;margin:0 0 18px;color:#164a72}.application-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.application-field{min-width:0;display:block;font-weight:600}.application-field>span,.application-field>legend{display:block;font-size:14px;margin-bottom:6px}.application-field input:not([type=checkbox]),.application-field select,.application-field textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:10px;border:1px solid #aabfce;border-radius:6px;background:#fff;color:#203f55}.application-field input:read-only{background:#f0f4f7}.application-field input:invalid{border-color:#bc4950}.application-field:has(textarea),fieldset.application-field{grid-column:1/-1}.application-field fieldset{min-width:0}.application-choices{display:flex;gap:12px;flex-wrap:wrap}.application-choices label{display:flex;align-items:center;gap:6px;font-weight:400}.application-review .actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.application-review>label{display:flex;align-items:flex-start;gap:8px}.application-review input[type=checkbox]{width:18px;height:18px}.application-signature-note{font-size:13px;color:#586f7c}.application-embedded .application-header img{display:none}.application-embedded .application-header{padding:12px 20px}.application-embedded .application-shell{margin-top:12px}.schengen-editor-dialog{width:min(1280px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;padding:0;border:1px solid #aac0d1;border-radius:12px;overflow:auto;background:#fff}.schengen-editor-dialog::backdrop{background:#14364b66}.schengen-editor-dialog>.dialog-head{padding:12px 18px;border-bottom:1px solid #d9e3eb;display:flex;justify-content:space-between;align-items:center;gap:15px}.schengen-editor-dialog h2{font-size:20px;margin:0}.schengen-editor-dialog iframe{display:block;border:0;width:100%;height:72dvh;min-height:420px}.application-office-message{margin:8px 18px;overflow-wrap:anywhere}.application-access{margin:10px 18px;border:1px solid #cddde9;border-radius:8px;padding:10px}.application-access summary{font-weight:650;cursor:pointer}.application-access-body{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;padding-top:12px;overflow:auto}.application-access-body>p,.application-access-body>details,.application-access-body>textarea,.application-access-body>label,.application-send-confirmation{flex-basis:100%;min-width:0;overflow-wrap:anywhere}.application-access-body textarea{min-height:70px}.application-send-confirmation{padding:12px;background:#f0f6fa;border:1px solid #c7dae8}.application-send-confirmation button{margin-right:8px}.application-comparison{width:100%;table-layout:fixed}.application-comparison td,.application-comparison th{padding:8px;overflow-wrap:anywhere;vertical-align:top}.schengen-form-page [hidden]{display:none!important}
@media(max-width:760px){.application-header{padding:14px;gap:14px;flex-wrap:wrap}.application-header h1{font-size:20px}.application-header img{width:120px}.application-shell{padding:0 12px}.application-layout{display:block}.application-layout nav{position:static;display:flex;overflow:auto;gap:7px;margin-bottom:12px}.application-layout nav a{white-space:nowrap}.application-fields{grid-template-columns:minmax(0,1fr)}.application-section{padding:16px}.application-review .actions>*{flex:1 1 130px}.schengen-editor-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.schengen-editor-dialog iframe{height:76dvh}.application-access{margin:8px 12px}}
@media print{.application-layout{display:block}.application-header img{display:block}.application-layout nav,.application-review,.application-notice,#entry,#logout{display:none!important}.application-section{break-inside:avoid;border:0;padding:6px 0}.application-header{border:0}.application-fields{gap:8px}.application-field input,.application-field textarea{border:0!important}body.schengen-form-page{background:#fff}.application-shell{margin:0;max-width:none}}


.case-payment-table tfoot .case-balance-equivalent{display:block;font-size:11px;font-weight:400;line-height:1.4;color:#607486;margin-top:4px;white-space:normal;overflow-wrap:anywhere}




body.tvm-office #profit-reports{min-width:0;display:grid;gap:16px}
body.tvm-office #profit-reports[hidden]{display:none}
body.tvm-office .profit-nav{display:flex;gap:20px;align-items:stretch;flex-wrap:wrap;margin:0 0 16px;border-bottom:1px solid var(--tvm-line-strong)}
body.tvm-office .profit-nav button{border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--tvm-navy)!important;min-height:44px;font-size:16px;font-weight:600;padding:10px 2px!important;white-space:normal}
body.tvm-office .profit-nav button[aria-current=page]{border-bottom-color:var(--tvm-action)!important;color:var(--tvm-action)!important}
body.tvm-office .profit-nav button:focus-visible,.profit-table tr[data-profit-case]:focus-visible{outline:3px solid var(--tvm-focus);outline-offset:2px}
.profit-panel{min-width:0;margin:0 0 16px;padding:20px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-card);background:var(--tvm-surface)}
.profit-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.profit-heading h2,.profit-heading h3{margin:0}
.profit-controls{display:flex;align-items:end;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.profit-controls label{display:grid;gap:4px;margin:0!important;font-size:14px;min-width:160px}
.profit-controls .profit-period{margin-left:auto!important}
.profit-controls select{min-height:44px;font-size:16px;width:100%}
.profit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.profit-summary article{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;padding:16px;background:var(--tvm-surface-info);border-radius:var(--tvm-radius-control)}
.profit-summary strong{font-size:24px;color:var(--tvm-navy)}
.profit-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.profit-table{width:100%;font-variant-numeric:tabular-nums}
.profit-table th,.profit-table td{padding:12px;vertical-align:top}
.profit-table small,.profit-number small,.profit-summary small{display:block;font-size:14px;color:var(--tvm-muted);line-height:1.4;margin-top:4px}
.profit-number strong{display:block;font-size:18px;line-height:24px;margin:0;white-space:nowrap}
.profit-table [data-profit-case]{cursor:pointer}
.profit-table [data-profit-case]:hover{background:var(--tvm-surface-info)}
.profit-complete{color:var(--tvm-success,#326b50)}
.profit-warning{color:var(--tvm-warning-ink,#805f19)}
body.tvm-office .profit-file-link{color:var(--tvm-action);font-size:14px;text-decoration:underline;text-underline-offset:3px;background:none;border:0;box-shadow:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.profit-bars>div{display:grid;grid-template-columns:90px minmax(60px,1fr) auto;gap:12px;align-items:center;margin:12px 0}
.profit-bars meter{width:100%;height:24px}
#profit-visa #annual-trend-chart{overflow-x:auto;max-width:100%}
#profit-visa #annual-trend-chart svg{width:100%!important;height:auto!important;min-width:760px;max-width:none!important}
#profit-visa .result-filters{justify-content:flex-start;gap:12px}
#profit-visa .result-filters>label{flex:0 0 auto;min-width:180px;max-width:250px}
#profit-visa .result-filters select{height:44px;font-size:16px}
#profit-visa .result-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#profit-visa .result-stat{padding:10px}
#profit-visa .result-stat strong{font-size:24px}
#profit-month-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none;font-size:16px;color:var(--tvm-action)}
#profit-month-details summary::-webkit-details-marker{display:none}
#profit-month-details .profit-table th:first-child{position:sticky;left:0;z-index:1;background:var(--tvm-surface)}
#profit-month-details td,#profit-month-details th{white-space:nowrap}
#profit-completion-form{display:grid;gap:12px;max-width:640px}
#profit-completion-form label{margin:0}
#profit-completion-form button{justify-self:start}
@media(max-width:900px){.profit-panel{padding:16px}.profit-table{min-width:800px}#profit-visa .result-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.tvm-office #profit-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body.tvm-office #profit-section-nav button{min-height:64px;line-height:1.35;text-align:center}.profit-panel{padding:12px}.profit-summary{grid-template-columns:1fr}.profit-heading{align-items:stretch;gap:12px}.profit-controls{width:100%;display:grid;grid-template-columns:1fr 1fr}.profit-controls label{min-width:0}.profit-controls label:first-child{grid-column:1/-1}.profit-controls .profit-period{margin-left:0!important}.profit-heading>.profit-controls{margin-bottom:0}#profit-visa .result-stat-grid{grid-template-columns:1fr 1fr}#profit-visa .result-filters>label{max-width:none;width:100%;flex-basis:100%}.profit-bars>div{grid-template-columns:75px minmax(20px,1fr) auto;gap:6px;font-size:14px}}
body.tvm-office #role-preview-panel.role-preview-compact{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:0;margin:0 0 12px;background:transparent;border:0;box-shadow:none}
.role-preview-compact label{display:flex;gap:8px;align-items:center;font-size:14px;margin:0!important}
.role-preview-compact select{width:auto;max-width:min(360px,70vw);min-height:44px;font-size:16px}
.role-preview-compact .error:empty{display:none}
body.tvm-office .footer-guide-link{font-size:14px;color:var(--tvm-action);text-decoration:underline;text-underline-offset:3px;white-space:nowrap;border:0;background:none;box-shadow:none;padding:0}
.profit-line-wrap{overflow-x:auto;max-width:100%}.profit-line-wrap svg{width:100%;height:auto;min-width:760px;display:block}.profit-records [data-label]::before{display:none}
@media(max-width:600px){.profit-summary{grid-template-columns:1fr}body.tvm-office .profit-records{min-width:0;display:block;width:100%}.profit-records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.profit-records tbody,.profit-records tr,.profit-records td{display:block;width:100%}.profit-records tbody tr{border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);margin:12px 0;padding:12px}.profit-records tbody td{border:0;padding:6px 0}.profit-records [data-label]::before{display:block;content:attr(data-label);color:var(--tvm-muted);font-size:14px;margin-bottom:4px}.profit-records tfoot{display:block}.profit-records tfoot tr{display:grid;gap:8px;padding:12px}.profit-records tfoot td,.profit-records tfoot th{padding:4px 0;width:100%}}
.profit-summary article>span{min-height:24px}
body.tvm-office .profit-text-action{background:none!important;border:0!important;padding:8px 4px!important;color:var(--tvm-action)!important;box-shadow:none!important;text-decoration:underline;font-size:14px;min-height:44px}
.profit-rates-message [role=status]{display:block}
@media(max-width:1000px){.profit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.profit-summary{grid-template-columns:1fr}}
#profit-main,#profit-visa,#profit-trend,#profit-report-content,#profit-month-details{min-width:0;max-width:100%}
#profit-month-details .profit-table-wrap{width:100%;max-width:100%;overflow-x:auto}
body.tvm-office #profit-month-details table.ui-table{display:table!important;table-layout:auto;min-width:max-content;width:100%}
body.tvm-office #profit-month-details thead{display:table-header-group!important;position:static;width:auto;height:auto;clip-path:none;overflow:visible}
body.tvm-office #profit-month-details tbody{display:table-row-group!important}
body.tvm-office #profit-month-details tr{display:table-row!important;border:0;padding:0;margin:0}
body.tvm-office #profit-month-details th,body.tvm-office #profit-month-details td{display:table-cell!important;padding:8px 10px;min-width:64px;width:auto;border:0;border-bottom:1px solid var(--tvm-line-strong)}
body.tvm-office #profit-month-details [data-label]::before{display:none!important}
body.tvm-office #profit-month-details th:first-child{min-width:140px;max-width:160px;white-space:normal}


body.tvm-office .office-footer #role-preview-panel.role-preview-compact{display:flex!important;grid-column:2/-1;grid-row:1;justify-self:end;align-self:center;flex-wrap:wrap;gap:4px 10px;width:auto;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#526477;}
body.tvm-office .office-footer .role-preview-compact label{font-size:12px;font-weight:400;gap:8px;}
body.tvm-office .office-footer .role-preview-compact select{width:auto;max-width:min(300px,65vw);min-height:44px;padding:6px 28px 6px 10px;border:1px solid #cad7e2;border-radius:6px;background-color:#fff;color:#173f5c;font-size:14px;}
body.tvm-office .office-footer .role-preview-compact .section-help,body.tvm-office .office-footer .role-preview-compact .error{margin:0;font-size:12px;}
body.tvm-office.role-preview-invalid #app>.office-footer{display:flex!important;}
@media(max-width:900px){body.tvm-office .office-footer #role-preview-panel.role-preview-compact{grid-column:1/-1;grid-row:auto;order:1;flex-basis:100%;justify-self:start;justify-content:flex-start;}body.tvm-office .office-footer .role-preview-compact select{max-width:calc(100vw - 130px);}}


body.tvm-office #app-loading:not([hidden]) ~ #app{display:none!important}


body.tvm-office .finance-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px;white-space:normal;max-width:100%;min-width:0;}
body.tvm-office .finance-row-actions button{flex:0 1 auto;min-width:0;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.35;margin:0;}
body.tvm-office .finance-row-actions [data-payment-receipt]{background:transparent;border:0;box-shadow:none;color:var(--tvm-action);padding:6px 4px;font-size:14px;text-align:left;}
body.tvm-office .case-payment-table-wrap{max-width:100%;overflow-x:auto;}
body.tvm-office .case-payment-table{min-width:780px;}
body.tvm-office .case-payment-table :is(td,th):last-child{width:140px;white-space:normal;}
body.tvm-office .case-finance-account{flex-wrap:wrap;align-items:flex-start;}
body.tvm-office .case-finance-account>div{flex:1 1 260px;}
body.tvm-office .case-finance-account>a{max-width:100%;white-space:normal;}
body.tvm-office #case-cost-review-form{display:grid;gap:12px;max-width:640px;}
body.tvm-office #case-cost-review-form label{margin:0;}
body.tvm-office #case-cost-review-form button{justify-self:start;}
body.tvm-office .account-identity-value{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums;}
body.tvm-office .account-identity-toggle{background:transparent;border:0;box-shadow:none;padding:4px 6px;min-height:44px;color:var(--tvm-action);font-size:14px;}
@media(max-width:760px){body.tvm-office #detail[data-mobile-case] .case-payment-table{min-width:0;}body.tvm-office #detail[data-mobile-case] .case-payment-table :is(td,th):last-child{width:auto;}}


body.tvm-office .case-finance-action-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px}
body.tvm-office .case-finance-action-bar .case-finance-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
body.tvm-office .case-finance-review-actions{margin-inline-start:auto}
body.tvm-office .case-cost-review-trigger{min-height:44px;background:var(--tvm-warning-surface,#fff7d6);border:1px solid var(--tvm-warning-border,#e7b642);color:var(--tvm-warning-ink,#765714);box-shadow:none}
body.tvm-office .case-cost-review-trigger:hover{background:#fff0b6;border-color:#bd8e16}
body.tvm-office .case-cost-review-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--tvm-line-strong);border-radius:var(--tvm-radius-control);background:var(--tvm-surface);color:var(--tvm-ink)}
body.tvm-office .case-cost-review-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
body.tvm-office .case-cost-review-dialog h3{margin:0}
body.tvm-office .case-cost-review-dialog::backdrop{background:rgb(15 39 60 / .35)}
@media(max-width:760px){body.tvm-office #detail[data-mobile-case] .case-finance-action-bar{display:flex;margin-top:16px}body.tvm-office .case-finance-review-actions{max-width:100%}body.tvm-office .case-cost-review-dialog{padding:18px}}


body.tvm-office .case-attention{margin:12px 0;padding:12px 16px;border:1px solid var(--tvm-accent,#ffc72c);border-radius:var(--tvm-radius-control,8px);background:var(--tvm-accent-soft,#fff8dc);color:var(--tvm-navy);}
body.tvm-office .case-attention header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;height:auto;min-height:0;padding:0;margin:0;border:0;background:transparent;box-shadow:none;position:static;}
body.tvm-office .case-attention h3{margin:0;font-size:1rem;}
body.tvm-office .case-attention header>span{font-size:.85rem;}
body.tvm-office .case-attention ul{margin:6px 0 0;padding:0;list-style:none;}
body.tvm-office :is(.case-attention-link,.case-attention-more){display:block;width:100%;text-align:left;min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--tvm-navy);box-shadow:none;font:inherit;line-height:1.4;}
body.tvm-office :is(.case-attention-link,.case-attention-more):hover{background:transparent;color:var(--tvm-action);text-decoration:underline;box-shadow:none;}
body.tvm-office :is(.case-attention-link,.case-attention-more):focus-visible{outline:2px solid var(--tvm-action);outline-offset:2px;}
body.tvm-office .case-attention-more{font-weight:600;}
@media(max-width:760px){body.tvm-office .case-attention{padding:10px 12px;}body.tvm-office .case-attention header{display:block;}body.tvm-office .case-attention header>span{display:block;margin-top:2px;}}


body.tvm-office .case-payment-table .case-movement-action-line{margin-top:8px;max-width:100%;}
body.tvm-office .case-payment-table .case-movement-action-line .finance-row-actions{display:flex;flex-wrap:nowrap;gap:4px 5px;align-items:center;justify-content:flex-start;width:auto;margin:0;}
body.tvm-office .case-payment-table .case-movement-action-line .finance-row-actions button{flex:0 0 auto;width:auto;white-space:nowrap;overflow-wrap:normal;min-height:44px;padding:6px 2px;font-size:14px;}
body.tvm-office .case-currency-total-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}

@media(min-width:1001px){body.tvm-office .case-payment-table{min-width:860px;}body.tvm-office .case-payment-table :is(th,td):nth-child(2){width:300px;}}
@media(max-width:600px){body.tvm-office .office-footer .role-preview-compact label{min-width:0;max-width:100%;}body.tvm-office .office-footer .role-preview-compact select{min-width:0;max-width:calc(100vw - 130px);flex:1 1 auto;}}

body.tvm-office .case-finance-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
body.tvm-office .case-finance-review-actions>.profit-complete{margin:0;}
body.tvm-office #case-cost-reopen-form{display:grid;gap:12px;}


body.tvm-office #route-form .case-appointment-cancel{box-sizing:border-box;width:auto;min-width:0;max-width:100%;flex:0 0 auto;min-height:44px;padding:10px 14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;background:var(--tvm-surface);color:var(--tvm-danger);border:1px solid var(--tvm-danger);box-shadow:none}
body.tvm-office #route-form .case-appointment-cancel:hover{background:var(--tvm-danger-soft);color:var(--tvm-danger)}

body.tvm-office .submission-followup{display:grid;gap:4px;max-width:100%;padding:10px 12px;margin:8px 0;background:var(--tvm-surface);border-left:3px solid var(--tvm-line);white-space:normal;overflow-wrap:anywhere;font-size:14px}
body.tvm-office .submission-followup-pending{border-color:var(--tvm-warning,#d59217);background:var(--tvm-warning-soft,#fff7df)}
body.tvm-office .submission-missing-fields{display:grid;gap:12px;margin:12px 0;padding:12px;border:1px solid var(--tvm-line);border-radius:6px}
body.tvm-office .case-cost-completed-date{font-size:13px;color:var(--tvm-muted);white-space:normal}
body.tvm-office .case-cost-confirm-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.tvm-office .fingerprint-person{margin:0 0 8px}
body.tvm-office .fingerprint-history-fields{display:grid;gap:10px;margin:0}
body.tvm-office .fingerprint-secondary-details{border-top:1px solid var(--tvm-line);padding-top:8px}
body.tvm-office .appointment-person-choices{display:grid;gap:8px}
@media(max-width:760px){#participants-section .identity-inline-editor :is(input,select,textarea){font-size:16px;min-height:44px}}

@media(max-width:760px){body.tvm-office #detail .case-payment-table .case-movement-action-line button{column-gap:4px}body.tvm-office #detail .case-payment-table .case-movement-action-line button>.tvm-icon{width:16px;height:16px;flex:0 0 16px}}

body.tvm-office #detail .case-identity>.case-appointment-summary.appointment-resolved{background:var(--tvm-surface)!important;border-color:var(--tvm-line)!important}
@media(max-width:760px){body.tvm-office #detail .case-payment-table .case-movement-action-line button:has(>.tvm-icon){column-gap:4px!important}}

@media(max-width:760px){body.tvm-office #detail .case-payment-table .case-movement-action-line .finance-row-actions{column-gap:4px}}

body.tvm-office #detail #participants-section .identity-inline-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}
body.tvm-office #detail #participants-section .identity-inline-actions button{box-sizing:border-box;flex:0 0 auto;width:max-content;min-width:0;max-width:100%;min-height:44px;padding:10px 14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center}

@media(max-width:760px){body.tvm-office #detail #participants-section .identity-inline-actions button{flex:1 1 96px;min-width:96px;padding:10px 14px}}

@media(max-width:760px){body.tvm-office #detail[data-mobile-case] .case-person-service-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:8px;justify-items:stretch;min-width:0}body.tvm-office #detail[data-mobile-case] .case-person-service-actions>button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px 14px;margin:0;line-height:1.4;white-space:normal;text-align:center;overflow-wrap:anywhere}}


body.tvm-office .account-merge-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-x:hidden;overflow-y:auto}
body.tvm-office .account-merge-dialog .account-merge-body{min-width:0}
body.tvm-office .account-merge-dialog .account-merge-body>*{min-width:0;overflow-wrap:anywhere}
body.tvm-office .account-merge-dialog .dialog-head{gap:16px;align-items:flex-start}
body.tvm-office .account-merge-dialog .dialog-head>div{min-width:0}
body.tvm-office .account-merge-dialog .dialog-head button{flex-shrink:0}
body.tvm-office .account-merge-dialog .form-actions{gap:12px;padding-top:8px}
body.tvm-office .account-merge-dialog .form-actions button{min-height:44px;padding:10px 16px;max-width:100%;white-space:normal}
@media(max-width:600px){body.tvm-office .account-merge-dialog .dialog-head{padding:14px 12px;gap:12px}body.tvm-office .account-merge-dialog .dialog-head h2{font-size:18px}body.tvm-office .account-merge-dialog .dialog-head button{padding:10px 12px}body.tvm-office .account-merge-dialog .actions{gap:12px}body.tvm-office .account-merge-dialog .actions button{width:100%}}


body.tvm-office .insurance-date-defaults{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;margin:0 0 14px;min-width:0;max-width:100%}
body.tvm-office .insurance-date-defaults>label{min-width:0;margin:0}
body.tvm-office .insurance-date-defaults select{min-width:0;max-width:100%;width:100%}
body.tvm-office .insurance-date-defaults>.ui-button{min-height:44px;padding:10px 16px;white-space:normal}
body.tvm-office .insurance-date-defaults>.section-help{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
@media(max-width:600px){body.tvm-office .insurance-date-defaults{grid-template-columns:minmax(0,1fr)}body.tvm-office .insurance-date-defaults>.ui-button{width:100%}}


.late-cash-queue article{padding:12px 0;border-top:1px solid var(--line,#d7e1e8);overflow-wrap:anywhere}
.late-cash-actions{display:flex;flex-wrap:wrap;gap:8px}
.late-cash-actions button,.allocation-target-label input{min-height:44px}
.late-cash-reason textarea,.allocation-target-label input{box-sizing:border-box;max-width:100%;width:100%}
@media(max-width:600px){.late-cash-actions button{flex:1 1 140px;min-width:0;padding:10px 14px}.allocation-row{min-width:0}.allocation-row label{overflow-wrap:anywhere}}


body.tvm-office #staff-definition-panel .staff-card{grid-template-columns:32px minmax(0,1fr) minmax(260px,300px)}
body.tvm-office #staff-definition-panel .staff-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.tvm-office #staff-definition-panel .staff-summary>*{min-width:0;overflow-wrap:anywhere}
body.tvm-office #staff-definition-panel .staff-actions{flex-wrap:wrap;gap:8px}
body.tvm-office #staff-controls-dialog{width:min(840px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
body.tvm-office #staff-controls-dialog form>.actions{margin:0;padding:16px 24px;justify-content:flex-end}
body.tvm-office #staff-controls-dialog :is(button,select){min-height:44px}
@media(max-width:1100px){body.tvm-office #staff-definition-panel .staff-card{grid-template-columns:32px minmax(0,1fr)}body.tvm-office #staff-definition-panel .staff-actions{grid-column:2}body.tvm-office #staff-definition-panel .staff-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.tvm-office #staff-definition-panel .staff-summary{grid-column:2;grid-template-columns:minmax(0,1fr)}body.tvm-office #staff-definition-panel .staff-actions button{min-height:44px}body.tvm-office #staff-controls-dialog form>.actions{padding:16px}body.tvm-office #staff-controls-dialog form>.actions button{width:100%}}


body.tvm-office .appointment-usage-dialog{width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;box-sizing:border-box;overflow:auto}
body.tvm-office .appointment-usage-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:20px 24px}
body.tvm-office .appointment-usage-dialog .dialog-head h2{margin:0;min-width:0;overflow-wrap:anywhere}
body.tvm-office .appointment-usage-dialog .dialog-head button{width:auto;flex:0 0 auto;min-height:44px;padding:10px 16px;white-space:nowrap}
body.tvm-office .appointment-usage-dialog .dialog-body{padding:20px 24px 24px}
body.tvm-office .appointment-usage-dialog .section-help{margin:0 0 14px}
body.tvm-office .appointment-usage-dialog .appointment-person-choices{display:grid;gap:12px;min-width:0}
body.tvm-office .appointment-usage-dialog .appointment-person-choices button{display:grid;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-width:0;min-height:48px;padding:12px 16px;text-align:left;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
body.tvm-office .appointment-usage-dialog .appointment-person-choices button>span:nth-child(2){min-width:0}
@media(max-width:600px){body.tvm-office .appointment-usage-dialog .dialog-head{gap:12px;padding:16px}body.tvm-office .appointment-usage-dialog .dialog-head h2{font-size:20px}body.tvm-office .appointment-usage-dialog .dialog-head button{padding:10px 12px}body.tvm-office .appointment-usage-dialog .dialog-body{padding:16px}body.tvm-office .appointment-usage-dialog .appointment-person-choices button{padding:12px;gap:10px}}


@media(min-width:901px){
 body.tvm-office #workspace-overview .workspace-daily-grid{align-items:stretch;row-gap:16px}
 body.tvm-office #workspace-overview .workspace-daily-grid>.workspace-calendar,
 body.tvm-office #workspace-overview .workspace-daily-grid>.workspace-refunds{align-self:stretch}
}


#case-dialog{height:auto;max-height:calc(100dvh - 32px);margin:16px auto;overflow:hidden}
#case-dialog #case-form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);overflow:hidden}
#case-form>.dialog-head,#case-form>.form-actions{position:static!important;flex:0 0 auto;margin:0;z-index:auto}
#case-form>.case-form-body{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#case-form>.case-form-body>.error{margin:8px 16px;padding:8px;overflow-wrap:anywhere}
@media(max-width:640px){#case-dialog{margin:8px auto;max-height:calc(100dvh - 16px)}#case-dialog #case-form{max-height:calc(100dvh - 18px)}}


.sale-price-comparison{grid-column:1/-1;padding:14px 16px;border:1px solid #cbdcea;border-radius:10px;background:#f1f7fc;min-width:0;overflow-wrap:anywhere}
.sale-price-comparison p{margin:8px 0}.sale-price-comparison small,.euro-price-reference{display:block;color:#587083;font-size:13px;line-height:1.5}.euro-price-reference{font-weight:400;margin-top:5px}


#account-finance-dialog .account-payment-layout .finance-participant-detail{padding:0;align-self:start}
#account-finance-dialog .account-payment-layout .finance-participant-detail>summary{min-height:20px;line-height:20px;padding:0}
#account-finance-dialog .account-payment-layout .finance-participant-detail>label{margin:4px 0 0;gap:0}
#account-finance-dialog .account-payment-layout .finance-case-field{line-height:20px}
@media(max-width:600px){#account-finance-dialog .account-payment-layout .finance-participant-detail{grid-column:1/-1}}


@media(min-width:801px){
 #finance-section .case-payment-table tfoot tr:not(.case-currency-rate-row)>td{vertical-align:bottom;text-align:right}
 #finance-section .case-payment-table tfoot tr:not(.case-currency-rate-row)>td strong{line-height:1.3;white-space:nowrap}
}
#finance-section .case-payment-table .case-currency-rate-row>td{text-align:right;width:auto;white-space:normal;padding-top:0}
#finance-section .case-payment-table .case-currency-rate-row>td::before{display:none}
#finance-section .case-payment-table .case-currency-payment-action{gap:8px}

#finance-section .case-payment-table tfoot .case-secondary-total{display:block;font-size:14px;font-weight:400;line-height:23.4px;color:var(--tvm-ink);white-space:nowrap}

#finance-section .case-finance-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#finance-section .case-finance-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
#finance-section .case-finance-actions .case-money-in-icon{transform:rotate(90deg);width:24px;height:24px;stroke-width:2.2}
#finance-section .case-finance-actions .case-money-out-icon{transform:rotate(-90deg);width:24px;height:24px;stroke-width:2.2}

#account-detail .account-entry-actions>button[data-account-finance]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
#account-detail .account-money-in-icon{transform:rotate(90deg);width:24px;height:24px;stroke-width:2.2}
#account-detail .account-money-out-icon{transform:rotate(-90deg);width:24px;height:24px;stroke-width:2.2}


body.tvm-office .money-entry-hint{display:block;grid-column:1/-1;flex-basis:100%;margin:4px 0 0;color:var(--tvm-muted,#587083);font-size:14px;font-weight:400;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.tvm-office .oc-event-dialog-close{position:static;display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:96px;min-height:44px;height:auto;margin:0 0 12px auto;padding:8px 12px;border:1px solid #ccdbe6;border-radius:8px;background:#fff;color:var(--tvm-navy);font-size:14px;line-height:1.3}
body.tvm-office .oc-event-dialog-close [data-tvm-icon]{color:var(--tvm-danger,#bf3030)}
body.tvm-office .oc-event-dialog-schedule,body.tvm-office .oc-event-dialog-identity{margin-right:0}
body.tvm-office #account-finance-dialog .account-payment-layout .finance-participant-detail>summary{box-sizing:border-box;display:flex;align-items:center;min-height:44px;padding:6px 0;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.tvm-office .calendar-panel-head .calendar-nav{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}
@media(max-width:700px){
 body.tvm-office .date-range-popover,body.tvm-office #case-route-dialog .date-range-popover,body.tvm-office #account-finance-dialog .date-range-popover{box-sizing:border-box;position:fixed;inset:auto 8px 8px;top:auto;bottom:8px;left:8px;right:8px;width:auto;min-width:0;max-width:none;padding:8px;max-height:82dvh;overflow:auto}
 body.tvm-office .date-range-popover .calendar-months{grid-template-columns:minmax(0,1fr);gap:0}
 body.tvm-office .date-range-popover .weekdays,body.tvm-office .date-range-popover .month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
 body.tvm-office .date-range-popover .month-grid button{box-sizing:border-box;width:100%;min-width:44px;height:44px;min-height:44px;border-radius:6px}
 body.tvm-office .date-range-popover .calendar-panel-head{gap:4px}
 body.tvm-office .date-range-popover .calendar-title{min-width:0;white-space:normal;overflow-wrap:anywhere}
 body.tvm-office .date-range-popover>.calendar-dismiss{position:static;min-height:44px;margin:8px 0 0 auto}
 body.tvm-office .date-range-popover .calendar-help{padding-right:0;min-height:0}
}


body.tvm-office .oc-event-dialog{box-sizing:border-box;max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain}
@media(max-height:500px) and (max-width:1000px){
 body.tvm-office .date-range-popover{box-sizing:border-box;position:fixed;inset:auto 8px 8px;top:auto;bottom:8px;width:min(480px,calc(100vw - 16px));min-width:0;max-width:calc(100vw - 16px);padding:8px;max-height:calc(100dvh - 16px);overflow:auto}
 body.tvm-office .date-range-popover .calendar-months{grid-template-columns:minmax(0,1fr);gap:0}
 body.tvm-office .date-range-popover .weekdays,body.tvm-office .date-range-popover .month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
 body.tvm-office .date-range-popover .month-grid button{box-sizing:border-box;width:100%;min-width:44px;height:44px;min-height:44px}
 body.tvm-office .date-range-popover>.calendar-dismiss{position:static;min-height:44px;margin:8px 0 0 auto}
 body.tvm-office .date-range-popover .calendar-help{padding-right:0;min-height:0}
}

/* Maliyet düzeltmesi: ortak tema, ilişkili alanlar ve dar para birimi. */
body.tvm-office #finance-correction-dialog:has(.cost-correction-layout){width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:auto}
body.tvm-office #finance-correction-dialog>.cost-correction-layout{padding:0;margin:0;min-width:0;background:var(--tvm-surface,#fff)}
body.tvm-office .cost-correction-layout>.dialog-head{margin:0;padding:16px 20px;gap:16px;align-items:flex-start}
body.tvm-office .cost-correction-layout>.dialog-head>div{min-width:0}
body.tvm-office .cost-correction-layout>.dialog-head h2{font-size:var(--tvm-type-heading,24px);line-height:1.3;overflow-wrap:anywhere}
body.tvm-office .cost-correction-layout>.dialog-head [data-finance-close]{flex-shrink:0;min-height:44px}
body.tvm-office #finance-correction-dialog .cost-correction-body{padding:16px 20px;margin:0}
body.tvm-office .cost-correction-group{min-width:0;margin:0 0 16px;padding:12px 16px 16px;border:1px solid var(--tvm-line);border-radius:6px}
body.tvm-office .cost-correction-group legend{padding:0 6px;color:var(--tvm-navy);font-size:var(--tvm-type-body,15px);font-weight:700}
body.tvm-office .cost-correction-group .booking-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body.tvm-office .cost-correction-group .booking-form>label,body.tvm-office .cost-correction-money>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
body.tvm-office .cost-correction-money{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;min-width:0}
body.tvm-office .cost-correction-group :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;margin:0;font-size:var(--tvm-type-body,15px)}
body.tvm-office .cost-correction-group :is(input,select){height:44px;min-height:44px}
body.tvm-office .cost-correction-group small{font-size:var(--tvm-type-support,14px);font-weight:400;line-height:1.45;color:var(--tvm-muted)}
body.tvm-office .cost-correction-layout>.form-actions{position:sticky;bottom:0;z-index:1;margin:0;padding:12px 20px;border-top:1px solid var(--tvm-line);background:#fff}
body.tvm-office .cost-correction-layout [hidden]{display:none!important}
@media(max-width:640px){
 body.tvm-office #finance-correction-dialog:has(.cost-correction-layout){width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 body.tvm-office .cost-correction-layout>.dialog-head,body.tvm-office #finance-correction-dialog .cost-correction-body,body.tvm-office .cost-correction-layout>.form-actions{padding:14px}
 body.tvm-office .cost-correction-group{padding:10px 12px 14px}
 body.tvm-office .cost-correction-group .booking-form{grid-template-columns:minmax(0,1fr)}
 body.tvm-office .cost-correction-layout>.dialog-head h2{font-size:18px}
 body.tvm-office .cost-correction-layout>.form-actions>button{width:100%;min-height:44px}
}

body.tvm-office .cost-correction-layout .manual-date-field{margin:0!important}
body.tvm-office .cost-correction-layout .single-date-picker :is(.manual-date-input,.compact-date-trigger){height:44px;min-height:44px}

/* Cost editor: keep the shared office dialog compact without shrinking controls. */
body.tvm-office #finance-correction-dialog:has(.cost-correction-layout){width:min(780px,calc(100vw - 24px))}
body.tvm-office .cost-correction-layout>.dialog-head{padding:12px 16px;gap:12px}
body.tvm-office .cost-correction-layout>.dialog-head h2{margin-block:2px 4px;font-size:20px}
body.tvm-office .cost-correction-layout>.dialog-head p{margin:0}
body.tvm-office #finance-correction-dialog .cost-correction-body{padding:12px 16px}
body.tvm-office .cost-correction-layout .finance-original-summary{margin-bottom:12px;padding:10px 12px}
body.tvm-office .cost-correction-group{margin-bottom:10px;padding:8px 12px 12px}
body.tvm-office .cost-correction-group .booking-form{gap:12px}
body.tvm-office .cost-correction-group .section-help{margin:0;line-height:1.4}
body.tvm-office .cost-correction-layout textarea[name="reason"]{height:44px;min-height:44px;resize:vertical;overflow:auto}
body.tvm-office .cost-correction-layout>.form-actions{padding:10px 16px}
@media(max-width:700px){
 body.tvm-office #finance-correction-dialog:has(.cost-correction-layout){width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}
 body.tvm-office .cost-correction-layout>.dialog-head,body.tvm-office #finance-correction-dialog .cost-correction-body{padding:12px}
 body.tvm-office .cost-correction-layout>.dialog-head h2{font-size:18px}
 body.tvm-office .cost-correction-group{padding:8px 10px 10px}
 body.tvm-office .cost-correction-group .booking-form{gap:10px}
 body.tvm-office .cost-correction-layout>.form-actions{padding:10px 12px}
}

/* Alış ve işlem: yan yana kutular aynı satır yüksekliğini paylaşır. */
@media(min-width:801px){
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form{align-items:stretch}
 body.tvm-office .insurance-transaction .insurance-purchase-group>.booking-form>:is(.insurance-purchase-values,.insurance-company-payment){align-self:stretch;height:auto;box-sizing:border-box}
}

/* Hızlı satış indirimi: para birimi alanın içinde, kuruş ipucu ayrı satırda. */
body.tvm-office #quick-sales-view .qs-discount-control{display:flex;flex-wrap:wrap!important;align-items:flex-start!important;gap:10px!important;height:auto!important;min-width:0;max-width:100%}
body.tvm-office #quick-sales-view .qs-discount-control .qs-discount-toggle{flex:0 1 auto!important;white-space:normal!important;min-height:44px}
body.tvm-office #quick-sales-view .qs-discount-control .qs-discount-entry{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr);flex:1 1 140px!important;width:auto!important;min-width:0;max-width:100%;gap:6px!important;margin:0}
body.tvm-office #quick-sales-view .qs-discount-control .qs-discount-entry[hidden]{display:none!important}
body.tvm-office #quick-sales-view .qs-discount-control .qs-discount-entry input{grid-column:1;grid-row:1;box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;height:44px;min-height:44px;padding-right:58px;margin:0}
body.tvm-office #quick-sales-view .qs-discount-entry input::placeholder{color:#8a98a5;opacity:1}
body.tvm-office #quick-sales-view .qs-discount-entry input:focus::placeholder{color:transparent}
body.tvm-office #quick-sales-view .qs-discount-entry [data-qs-discount-currency]{position:absolute;right:12px;top:12px;line-height:20px;font-size:14px;color:var(--tvm-navy);pointer-events:none}
body.tvm-office #quick-sales-view .qs-discount-entry [data-qs-discount-currency][hidden]{display:none!important}
body.tvm-office #quick-sales-view .qs-discount-entry .money-entry-hint{grid-column:1;grid-row:2;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.45}

/* Hızlı satış: toplam, indirim ve tahsilat için açık görsel sıralama. */
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout{align-self:start;display:flex;flex-direction:column;gap:0;height:auto;min-height:0;padding:20px;background:var(--tvm-surface,#fff);border:1px solid var(--tvm-line);border-radius:8px;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout>h3{font-size:18px;line-height:1.4;margin:0 0 16px;color:var(--tvm-navy)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total{display:flex;flex-direction:column;align-items:stretch;justify-content:start;gap:12px;min-height:0;width:100%;margin:0;padding:16px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:6px;box-sizing:border-box}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-sale-total .qs-net-total{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;width:100%;text-align:left}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-net-total>span{margin:0;font-size:14px;line-height:1.45}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-net-total>strong{margin:0;font-size:32px;line-height:1.25;text-align:left;white-space:normal;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary{display:grid;gap:6px;align-self:stretch;text-align:left;width:100%;margin:0;padding-bottom:12px;border-bottom:1px solid var(--tvm-line);font-size:14px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary[hidden]{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary>div{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-discount-summary strong{font-size:14px;font-weight:500;color:var(--tvm-navy);text-decoration:none;overflow-wrap:anywhere}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-checkout-discount{padding:16px 0;margin:0;border-bottom:1px solid var(--tvm-line);min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-checkout-discount .qs-discount-control{display:grid;grid-template-columns:minmax(0,1fr);gap:8px!important;width:100%;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-checkout-discount .qs-discount-toggle{justify-self:start;padding:0;min-height:44px;text-align:left;font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;box-shadow:none;color:var(--tvm-action)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-checkout-discount .qs-discount-toggle svg{width:20px;height:20px;flex-shrink:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-checkout-discount .qs-discount-entry{width:100%!important}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment{margin:16px 0 0;padding:0;border:0;min-width:0}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment>legend{padding:0;margin:0 0 12px;font-size:15px;line-height:1.4;font-weight:700;color:var(--tvm-navy);width:auto}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-grid{gap:12px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-payment-help{margin:10px 0 0;font-size:14px;line-height:1.5;color:var(--tvm-muted)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout .qs-form-actions{margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--tvm-line)}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout #qs-submit{width:100%;min-height:44px;justify-content:center;white-space:normal;gap:8px}
body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout #qs-sale-error:empty{display:none}
@media(max-width:760px){body.tvm-office #quick-sales-view.qs-cart-screen .qs-cart-checkout{padding:16px}}

/* Personel kasaya teslim penceresi: tek kapatma ve ortak form düzeni. */
body.tvm-office #cash-dialog:has(>.cash-custody-form){border-top:1px solid var(--tvm-line);border-radius:8px}
body.tvm-office #cash-dialog>.cash-custody-form>.dialog-head{margin:0;padding:16px 20px;align-items:flex-start}
body.tvm-office #cash-dialog>.cash-custody-form>.dialog-head>button{width:auto;min-width:96px;flex:0 0 auto;height:44px;min-height:44px;padding:8px 12px;gap:8px}
body.tvm-office #cash-dialog>.cash-custody-form>.cash-custody-body{margin:0;padding:20px;width:100%;max-width:100%;display:grid;gap:16px}
body.tvm-office #cash-dialog .cash-custody-body>p{margin:0;font-size:14px;line-height:1.5}
body.tvm-office #cash-dialog .cash-custody-available{padding:12px 14px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:6px;color:var(--tvm-navy);font-weight:700}
body.tvm-office #cash-dialog .cash-custody-values{grid-template-columns:minmax(0,1fr) 100px;gap:12px;margin:0;align-items:start}
body.tvm-office #cash-dialog .cash-custody-values>label,body.tvm-office #cash-dialog .cash-custody-note{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
body.tvm-office #cash-dialog .cash-custody-values :is(input,select){width:100%;height:44px;min-height:44px;margin:0}
body.tvm-office #cash-dialog .cash-custody-note small{font-size:14px;font-weight:400;color:var(--tvm-muted)}
body.tvm-office #cash-dialog .cash-custody-note textarea{width:100%;min-height:78px;margin:0;resize:vertical}
body.tvm-office #cash-dialog>.cash-custody-form>.form-actions{position:sticky;bottom:0;margin:0;padding:12px 20px}
@media(max-width:600px){
 body.tvm-office #cash-dialog>.cash-custody-form>.dialog-head,body.tvm-office #cash-dialog>.cash-custody-form>.cash-custody-body{padding:14px}
 body.tvm-office #cash-dialog>.cash-custody-form>.dialog-head h2{font-size:18px}
 body.tvm-office #cash-dialog>.cash-custody-form>.form-actions{padding:12px 14px}
 body.tvm-office #cash-dialog>.cash-custody-form>.form-actions>button{width:100%;min-height:44px}
}

/* Personel kasa ekstresi: tarih sorgusu ve para birimine göre ayrı bakiyeler. */
body.tvm-office .cash-statement-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}
body.tvm-office .cash-statement-filter>label{display:grid;gap:6px;margin:0;min-width:180px}
body.tvm-office .cash-statement-filter :is(select,button){min-height:44px}
body.tvm-office .cash-statement-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
body.tvm-office .cash-statement-heading :is(h4,p){margin:0 0 4px}
body.tvm-office .cash-personnel-statement .income-table-wrap{max-width:100%;overflow:auto}
body.tvm-office .cash-statement-entries td{vertical-align:top}
body.tvm-office .cash-statement-entries td small{display:block;margin-top:4px;white-space:normal;max-width:280px;overflow-wrap:anywhere;font-size:14px;color:var(--tvm-muted)}
body.tvm-office .cash-statement-summary td,body.tvm-office .cash-statement-entries td:nth-last-child(-n+3){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.tvm-office .cash-statement-pages{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px}
body.tvm-office .cash-personnel-statement [data-statement-print]{display:inline-flex;gap:8px;align-items:center;min-height:44px}
@media(max-width:600px){body.tvm-office .cash-statement-filter{align-items:stretch}body.tvm-office .cash-statement-filter>:is(label,.date-range-picker,button){width:100%;min-width:0}body.tvm-office .cash-statement-heading [data-statement-print]{width:100%;justify-content:center}body.tvm-office .cash-personnel-statement{min-width:0;max-width:100%;box-sizing:border-box}}

body.tvm-office .cash-statement-filter>.date-range-picker{margin:0}
body.tvm-office .cash-statement-filter .manual-date-field{margin:0!important}
body.tvm-office .cash-statement-summary .cash-person-held{font-weight:700;color:var(--tvm-navy)}

/* Cari arşivi: etkin düğme kontrastı ve ortak pencere düzeni. */
body.tvm-office [data-open-account-archive]{width:100%;min-height:44px;font-size:15px;line-height:1.4;margin-bottom:8px}
body.tvm-office [data-open-account-archive]:is([aria-expanded="true"],:hover,:focus-visible,:active){background:var(--tvm-navy)!important;border-color:var(--tvm-navy)!important;color:#fff!important}
body.tvm-office #account-archive-list{width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;box-sizing:border-box;border:1px solid var(--tvm-line);border-radius:8px;background:#fff;overflow:auto}
body.tvm-office #account-archive-list>.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0;padding:16px 20px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
body.tvm-office #account-archive-list .dialog-head>div{min-width:0}
body.tvm-office #account-archive-list h2{margin:0;font-size:24px;line-height:1.3;color:var(--tvm-navy);overflow-wrap:anywhere}
body.tvm-office #account-archive-list [data-close]{flex-shrink:0;display:inline-flex;align-items:center;gap:8px;min-height:44px}
body.tvm-office .account-archive-body{padding:20px;min-width:0}
body.tvm-office .account-archive-empty{padding:20px;border:1px solid var(--tvm-line);border-radius:6px;background:var(--tvm-surface-info);color:var(--tvm-navy)}
body.tvm-office .account-archive-empty strong{font-size:16px}
body.tvm-office .account-archive-empty p{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--tvm-muted)}
body.tvm-office .account-archive-rows{margin:12px 0 0;padding:0;list-style:none}
body.tvm-office .account-archive-rows>li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--tvm-line)}
body.tvm-office .account-archive-rows strong{min-width:0;overflow-wrap:anywhere;font-size:15px}
body.tvm-office .account-archive-rows button{flex-shrink:0;min-height:44px}
body.tvm-office .account-archive-body>.error:empty{display:none}
@media(max-width:600px){body.tvm-office #account-archive-list{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}body.tvm-office #account-archive-list>.dialog-head,body.tvm-office .account-archive-body{padding:14px}body.tvm-office #account-archive-list h2{font-size:18px}body.tvm-office .account-archive-empty{padding:16px}}

/* Customer form fills the modal below the header and access controls. */
body.tvm-office .schengen-editor-dialog[open]{display:flex;flex-direction:column;overflow:hidden;height:94dvh!important}
.schengen-editor-dialog>.dialog-head,.schengen-editor-dialog>.application-office-message{flex:none}
.schengen-editor-dialog>.application-office-message:empty{display:none}
.schengen-editor-dialog>.application-access{flex:none;box-sizing:border-box;max-height:35%;overflow:auto}
.schengen-editor-dialog>iframe{flex:1 1 0;min-height:0;height:auto}

@media(max-width:760px){body.tvm-office .schengen-editor-dialog[open]{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)}}

/* v1.2.0: same theme, explicit information and input roles. */
body.tvm-office .unsaved-confirm-dialog{width:min(560px,calc(100vw - 24px))}
.unsaved-confirm-body{padding:16px 24px}.unsaved-confirm-dialog .form-actions{gap:12px;padding:16px 24px}
#case-form .case-package-context{border-top:1px solid #d5e1ea;padding-top:12px}
#case-form .case-optional-fields>summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:44px}
#case-form .case-optional-fields>summary span{font-size:14px;font-weight:400}
#case-form .case-optional-fields>.form-grid{margin-top:12px}
#case-dialog .form-section-head h3{font-size:18px}#case-dialog .form-section-head p{font-size:14px}
#case-form [aria-invalid=true]{border-color:var(--tvm-danger,#b4232c)}
body.tvm-office .finance-readable h4{font-size:18px;margin:8px 0 12px;color:#123f65}
.finance-readable-totals{display:flex;flex-wrap:wrap;gap:12px}.finance-readable-currency{flex:1 1 220px;padding:12px 16px;border:1px solid #d5e1ea;border-radius:8px;background:#f5f9fc}
.finance-readable-currency>strong{font-size:16px}.finance-readable-currency dl{margin:8px 0 0;display:grid;gap:6px}.finance-readable-currency dl>div{display:flex;justify-content:space-between;gap:12px}.finance-readable-currency dt,.finance-readable-currency dd{font-size:14px;font-weight:400;margin:0}
.finance-readable-table-wrap{overflow:auto}.finance-readable-table td{font-size:14px}.finance-readable-table td:last-child{white-space:nowrap}.finance-readable-table td strong{font-size:15px;font-weight:600}.finance-readable-table td small{display:block;font-size:14px;color:#52677b}.finance-readable-table td:nth-child(2){min-width:200px}
.finance-technical{margin:16px 0;padding:10px 0;border-top:1px solid #d5e1ea}.finance-technical>summary,.payment-allocation-explanation>summary{color:#0869b7;font-size:14px;font-weight:600;min-height:44px;cursor:pointer;display:list-item;padding:10px 0}.payment-allocation-explanation p{font-size:14px;margin:6px 0;overflow-wrap:anywhere}
.case-current-balances{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.case-current-balances>div{flex:1 1 200px;background:#eaf3fb;border:1px solid #c7dcec;border-radius:8px;padding:16px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}.case-current-balances small{font-size:14px}.case-current-balances strong{font-size:24px;color:#123f65}
body.tvm-office .case-service-table td[data-label=Ücret],body.tvm-office .case-service-table td[data-label=İndirim]{font-size:14px;font-weight:400}body.tvm-office .case-service-table td[data-label="Net tutar"]>strong{font-size:18px;font-weight:700}
body.tvm-office #account-detail .account-profile-visible>.account-missing-list{font-size:14px!important}body.tvm-office .account-missing-list strong{font-size:14px!important}
body.tvm-office .case-attention{padding:12px 16px}.case-attention-category{font-size:14px;color:#52677b;display:block}.case-attention-person{font-size:14px;font-weight:400;color:#52677b;display:block}.case-attention .case-attention-link{font-size:14px;line-height:1.4;font-weight:600}.case-attention li{padding:4px 0}.case-attention header h3{font-size:18px}
body.tvm-office .money-entry-hint{font-size:14px;color:#52677b;line-height:1.4}
@media(max-width:760px){body.tvm-office #quick-sales-view .qs-stepper{width:148px!important;gap:6px}body.tvm-office #quick-sales-view .qs-stepper button{height:44px!important;min-height:44px!important;width:44px!important;min-width:44px!important;flex:0 0 44px!important}body.tvm-office #quick-sales-view .qs-stepper button::after{display:none}body.tvm-office #quick-sales-view .qs-stepper input{width:48px!important;min-width:48px!important}.finance-readable-totals{display:grid;grid-template-columns:minmax(0,1fr)}.finance-readable-table{min-width:0!important}.finance-readable-table thead{display:none}.finance-readable-table tr{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #d5e1ea;margin:10px 0;border-radius:8px;padding:12px}.finance-readable-table td{border:0!important;padding:4px!important;min-width:0!important;white-space:normal!important}.finance-readable-table td[data-label=Tarih]{color:#52677b}.finance-readable-table td[data-label="Gerçek tutar"]{display:flex;gap:8px;justify-content:space-between}.case-current-balances strong{font-size:24px}.unsaved-confirm-dialog .form-actions{display:grid;grid-template-columns:1fr;gap:10px}.unsaved-confirm-dialog .form-actions button{width:100%;min-height:44px}}

/* Separate person names without guessing historical combined names. */
.qs-person-names{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.qs-person-names label{min-width:0}@media(max-width:600px){.qs-person-names{grid-template-columns:1fr}}

body.tvm-office .finance-readable-table .payment-allocation-explanation{margin:0}body.tvm-office .finance-readable-table td{padding-top:10px;padding-bottom:10px;vertical-align:top}

body.tvm-office .field-error{display:block;color:#b4232c;font-size:14px;line-height:1.4;margin:4px 0}#case-form details.case-optional-fields{margin-block:8px}

/* Dates retain readable type and their complete day/month/year text. */
body.tvm-office{--tvm-date-text-width:calc(14ch + 24px);--tvm-date-control-width:calc(14ch + 76px)}
body.tvm-office .single-date-picker[data-ready]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%;min-width:0;max-width:100%}
body.tvm-office .single-date-picker[data-ready]>.date-range-label{flex:0 0 100%}
body.tvm-office .single-date-picker[data-ready]>.manual-date-fields{display:grid;grid-template-columns:minmax(0,1fr);flex:1 0 var(--tvm-date-text-width);max-width:100%;margin:0;min-width:0;gap:0}
body.tvm-office .single-date-picker[data-ready]>.manual-date-fields>.manual-date-field{min-width:0;margin:0}
body.tvm-office .single-date-picker[data-ready]>.compact-date-trigger{flex:0 0 46px;align-self:center}
body.tvm-office .manual-date-input{box-sizing:border-box;width:100%;min-width:0;margin:0!important;letter-spacing:0;font-variant-numeric:tabular-nums}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.manual-date-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--tvm-date-control-width)),1fr));gap:12px;margin:0;min-width:0}
body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker) .manual-date-field{min-width:0;margin:0!important;grid-template-columns:minmax(0,1fr) 44px;align-items:end}
body.tvm-office #cash-view #cash-day-filter .single-date-picker{width:var(--tvm-date-control-width);max-width:100%}
body.tvm-office #cash-view #cash-day-filter{min-width:0;max-width:100%}
body.tvm-office .oc-calendar-toolbar>.single-date-picker[data-ready]{width:var(--tvm-date-control-width);min-width:0;flex:0 0 auto;max-width:100%}
body.tvm-office .oc-calendar-toolbar{flex-wrap:wrap}
/* Keep native date controls inside the customer application's own grid. */
.schengen-form-page .application-field input[type=date]{min-width:0;max-width:100%;min-height:44px;font-size:16px}
@media(max-width:600px){body.tvm-office .date-range-picker[data-ready]:not(.single-date-picker)>.manual-date-fields{grid-template-columns:minmax(0,1fr)}}

/* Related controls share their input row; help stays beneath its own input. */
body.tvm-office #account-finance-dialog .account-payment-main-row{align-items:start;grid-template-rows:auto 44px auto}
body.tvm-office #account-finance-dialog .account-payment-main-row>label{display:grid;grid-template-rows:subgrid;grid-row:1 / span 3;align-self:stretch;align-content:start;gap:6px;min-width:0}
body.tvm-office #account-finance-dialog .account-payment-main-row>label>:is(input,select){margin:0;min-height:44px;height:44px}
body.tvm-office #account-finance-dialog .account-payment-main-row .money-entry-hint{grid-column:1;grid-row:3;margin:0}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .form-section>.booking-form{align-items:start}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .booking-form>label{display:grid;align-content:start;align-self:start;gap:6px;margin:0;min-width:0;line-height:1.4}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .booking-form>label>:is(input,select,output){margin:0;min-height:44px;height:44px;box-sizing:border-box}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .booking-form>label>.money-entry-hint{margin:0;grid-column:1}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .finance-date-field{align-self:start;margin:0}
body.tvm-office .service-sale-layout:not(.insurance-sale-mode) .finance-date-field>.date-range-label{margin:0;line-height:1.4}
/* Give passport dates more room than short identity numbers. */
@media(min-width:901px){body.tvm-office .identity-update-dialog .identity-form-section:last-of-type .identity-edit-grid{grid-template-columns:minmax(180px,.8fr) minmax(0,1.7fr)}}
body.tvm-office .identity-update-dialog .passport-dates-stack{grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--tvm-date-control-width)),1fr));align-items:start}
body.tvm-office .identity-update-dialog .passport-dates-stack .single-date-picker{max-width:100%}
@media(max-width:900px){body.tvm-office .identity-update-dialog .passport-dates-stack{grid-column:1 / -1}}
/* Confirmation uses the same heading, body and action spacing as office dialogs. */
body.tvm-office dialog.unsaved-confirm-dialog{box-sizing:border-box;min-width:0!important;width:min(600px,calc(100vw - 24px));max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);padding:0!important;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel,8px);overflow:auto}
body.tvm-office dialog.unsaved-confirm-dialog[open]{display:flex;flex-direction:column}
body.tvm-office .unsaved-confirm-dialog>.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:16px;min-width:0;width:100%;box-sizing:border-box;margin:0;padding:18px 22px;background:var(--tvm-surface-info,#e8f0f5);border-bottom:1px solid var(--tvm-line)}
body.tvm-office .unsaved-confirm-dialog .dialog-head h2{min-width:0;overflow-wrap:anywhere;margin:0;font-size:22px;line-height:1.35;color:var(--tvm-navy)}
body.tvm-office .unsaved-confirm-dialog .dialog-head button{flex:none;min-height:44px;margin:0}
body.tvm-office .unsaved-confirm-body{min-width:0;padding:18px 22px;background:white;color:var(--tvm-text,#243746);overflow-wrap:anywhere}
body.tvm-office .unsaved-confirm-body p{margin:0 0 12px}
body.tvm-office .unsaved-confirm-body p:last-child{margin-bottom:0}
body.tvm-office .unsaved-confirm-dialog>.form-actions{box-sizing:border-box;min-width:0;width:100%;max-width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:0;padding:14px 22px;background:white;border-top:1px solid var(--tvm-line)}
body.tvm-office .unsaved-confirm-dialog>.form-actions button{min-height:44px;max-width:100%;margin:0;white-space:normal}
@media(max-width:600px){body.tvm-office #account-finance-dialog .account-payment-main-row{grid-template-rows:none;align-items:start}body.tvm-office #account-finance-dialog .account-payment-main-row>label{grid-template-rows:auto 44px auto;grid-row:auto;align-self:start}body.tvm-office .unsaved-confirm-dialog>.form-actions{display:grid;grid-template-columns:1fr}body.tvm-office .unsaved-confirm-dialog>.form-actions button{width:100%}body.tvm-office .unsaved-confirm-dialog>.dialog-head,body.tvm-office .unsaved-confirm-body,body.tvm-office .unsaved-confirm-dialog>.form-actions{padding:16px}}
body.tvm-office #account-finance-dialog .service-sale-layout:not(.insurance-sale-mode) .finance-date-field{gap:4px}
body.tvm-office #account-finance-dialog .service-sale-layout:not(.insurance-sale-mode) .finance-date-field .manual-date-input{height:44px!important;min-height:44px!important}
body.tvm-office #account-finance-dialog .service-sale-layout:not(.insurance-sale-mode) .finance-date-field>.compact-date-trigger{height:44px!important;min-height:44px!important;flex-basis:44px;width:44px}
body.tvm-office .identity-update-dialog .passport-dates-stack>label{font-size:14px;line-height:1.4}
body.tvm-office .identity-update-dialog .passport-dates-stack .manual-date-input{height:44px!important;min-height:44px!important}
body.tvm-office .identity-update-dialog .passport-dates-stack .compact-date-trigger{height:44px!important;min-height:44px!important;width:44px;flex-basis:44px}

body.tvm-office .identity-update-dialog .passport-dates-stack{align-self:end}
body.tvm-office #account-finance-dialog .account-payment-layout .finance-date-field .manual-date-input,body.tvm-office #account-finance-dialog .account-payment-layout .finance-date-field>.compact-date-trigger{height:44px!important;min-height:44px!important}
@media(max-width:600px){body.tvm-office #account-finance-dialog .account-payment-main-row{grid-template-rows:auto 44px auto auto 44px auto}body.tvm-office #account-finance-dialog .account-payment-main-row>label:not(:last-child){grid-template-rows:subgrid;grid-row:1 / span 3;align-self:stretch}body.tvm-office #account-finance-dialog .account-payment-main-row>label:last-child{grid-row:4 / span 3;grid-template-rows:subgrid}}

/* Collection action: a clean, single-colour arrow in file and account views. */
:is(.case-money-in-icon,.account-money-in-icon){--tvm-icon-accent:currentColor}

/* Cost amount and currency share the control baseline; the cents hint stays below the amount. */
body.tvm-office #case-cost-dialog .form-grid>:is(.cost-amount-field,.cost-currency-field){display:flex;flex-direction:column;align-self:start;gap:6px;min-width:0;margin:0}
body.tvm-office #case-cost-dialog :is(.cost-amount-field input,.cost-currency-field select){height:44px;min-height:44px;margin:0;box-sizing:border-box}
body.tvm-office #case-cost-dialog .cost-amount-field>.money-entry-hint{margin:0;flex-basis:auto}

/* File and optional participant selection share a caption/control layout. */
body.tvm-office #account-finance-dialog .payment-context-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;align-items:start;min-width:0}
body.tvm-office #account-finance-dialog .payment-context-row>.finance-case-field{display:grid;grid-template-rows:minmax(44px,auto) 44px;gap:6px;margin:0;line-height:1.45;min-width:0;align-items:center}
body.tvm-office #account-finance-dialog .payment-context-row>.finance-participant-detail{margin:0;min-width:0;align-self:start}
body.tvm-office #account-finance-dialog .payment-context-row>.finance-participant-detail>summary{display:flex;align-items:center;box-sizing:border-box;min-height:44px;margin:0;padding:0;line-height:1.45;overflow-wrap:anywhere}
body.tvm-office #account-finance-dialog .payment-context-row>.finance-participant-detail>label{display:block;margin:6px 0 0;min-width:0}
body.tvm-office #account-finance-dialog .payment-context-row select{display:block;box-sizing:border-box;width:100%;min-width:0;height:44px;min-height:44px;margin:0}
body.tvm-office #account-finance-dialog .late-cash-queue{box-sizing:border-box;min-width:0;margin:16px 0 0;padding:0 20px 16px;color:var(--tvm-ink)}
body.tvm-office #account-finance-dialog .late-cash-queue>h3{margin:0 0 12px;color:var(--tvm-navy);font-size:18px;line-height:1.4}
body.tvm-office .late-cash-request-list{display:grid;gap:12px;min-width:0}
body.tvm-office .late-cash-request-list>.late-cash-request-card{padding:16px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);background:var(--tvm-surface);min-width:0}
body.tvm-office .late-cash-request-summary{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;color:var(--tvm-navy)}
body.tvm-office .late-cash-request-summary strong{font-size:18px;font-variant-numeric:tabular-nums}
body.tvm-office .late-cash-request-summary>span,.late-cash-request-person{font-size:14px;color:var(--tvm-muted)}
body.tvm-office .late-cash-request-card p{margin:8px 0;line-height:1.5;overflow-wrap:anywhere}
body.tvm-office .late-cash-request-status{font-size:14px;color:var(--tvm-navy)}
body.tvm-office .late-cash-request-status[data-status="pending"]{color:var(--tvm-warning,#806419)}
body.tvm-office .late-cash-request-card .late-cash-actions{margin:12px 0 0;padding:0;justify-content:flex-end}
body.tvm-office .late-cash-review-dialog{width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden;box-sizing:border-box;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel);color:var(--tvm-ink);background:var(--tvm-surface)}
body.tvm-office .late-cash-review-dialog>form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);min-width:0;margin:0;padding:0}
body.tvm-office .late-cash-review-dialog .dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;margin:0;flex-shrink:0;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
body.tvm-office .late-cash-review-dialog .dialog-head h2{margin:0;min-width:0;font-size:24px;line-height:1.3;color:var(--tvm-navy)}
body.tvm-office .late-cash-review-dialog .dialog-head button{flex-shrink:0;min-height:44px}
body.tvm-office .late-cash-review-dialog .late-cash-review-body{display:grid;gap:16px;padding:20px;margin:0;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:var(--tvm-surface)}
body.tvm-office .late-cash-review-summary{padding:14px 16px;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-card);min-width:0}
body.tvm-office .late-cash-review-summary>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
body.tvm-office .late-cash-review-summary strong{color:var(--tvm-navy);font-size:18px;font-variant-numeric:tabular-nums}
body.tvm-office .late-cash-review-summary :is(span,p),body.tvm-office .late-cash-rate-detail{font-size:14px;line-height:1.5;color:var(--tvm-muted);overflow-wrap:anywhere}
body.tvm-office .late-cash-review-summary p{margin:6px 0 0}
body.tvm-office .late-cash-review-dialog .late-cash-confirm{display:flex;align-items:flex-start;gap:10px;padding:12px;margin:0;background:var(--tvm-surface-info);border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-control);font-size:14px;line-height:1.5;min-height:44px;box-sizing:border-box;cursor:pointer}
body.tvm-office .late-cash-confirm input{flex:0 0 auto;margin:3px 0 0}
body.tvm-office .late-cash-review-note{display:grid;gap:6px;margin:0;min-width:0;font-size:14px;line-height:1.5}
body.tvm-office .late-cash-review-note textarea{box-sizing:border-box;width:100%;min-width:0;min-height:88px;margin:0;font-size:16px;resize:vertical}
body.tvm-office .late-cash-review-dialog .form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0;margin:0;padding:12px 20px;border-top:1px solid var(--tvm-line);background:var(--tvm-surface)}
body.tvm-office .late-cash-review-dialog .form-actions button{min-height:44px;max-width:100%;white-space:normal}
body.tvm-office .late-cash-review-body>.error{margin:0}
body.tvm-office .late-cash-review-body>.error:empty{display:none}
@media(max-width:600px){
 body.tvm-office #account-finance-dialog .payment-context-row{grid-template-columns:minmax(0,1fr)}
 body.tvm-office #account-finance-dialog .late-cash-queue{padding:0 16px 16px}
 body.tvm-office .late-cash-review-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 body.tvm-office .late-cash-review-dialog>form{max-height:calc(100dvh - 18px)}
 body.tvm-office .late-cash-review-dialog .dialog-head{padding:16px;gap:12px}
 body.tvm-office .late-cash-review-dialog .late-cash-review-body{padding:16px}
 body.tvm-office .late-cash-review-dialog .form-actions{padding:12px 16px}
 body.tvm-office .late-cash-review-dialog .form-actions button{width:100%}
}

/* Selected customer answers: full-size touch targets and narrow-screen comparisons. */
.application-comparison{width:100%;table-layout:fixed}.application-comparison th:first-child{width:64px}.application-comparison td,.application-comparison th{overflow-wrap:anywhere;vertical-align:top}.application-field-choice{display:grid;place-items:center;min-width:44px;min-height:44px;margin:0;cursor:pointer}.application-field-choice input{margin:0}.application-comparison td:first-child{padding:4px}

/* Application save options and readable, contained validation messages. */
.videx-editor-dialog .videx-save-options{padding:12px 20px;border-bottom:1px solid #d6e1e9;background:#f3f7fb}.videx-editor-dialog .videx-save-options label{display:flex;align-items:center;gap:10px;min-height:44px;color:#143f63;font-weight:600}.videx-editor-dialog .videx-save-options input{flex:0 0 18px;width:18px;height:18px;margin:0}.videx-editor-dialog .videx-save-options p{margin:4px 0 0;font-size:14px;line-height:1.5;color:#546c7e}.videx-editor-dialog .videx-save-warning{flex-shrink:0;margin:12px 20px;padding:14px 18px;border:1px solid #dccb99;border-left:4px solid #b2841c;border-radius:8px;background:#fff9eb;color:#53451e;overflow-wrap:anywhere;line-height:1.5}.videx-editor-dialog .videx-save-warning[data-kind=error]{border-color:#e5bfc2;border-left-color:#a13e46;background:#fff6f6;color:#73343a}.videx-editor-dialog .videx-save-warning strong{display:block;font-size:16px;line-height:1.4;font-weight:600}.videx-editor-dialog .videx-save-warning p{margin:6px 0 0;font-size:15px;font-weight:400;line-height:1.5;color:inherit}.videx-editor-dialog .videx-save-warning[hidden]{display:none!important}@media(max-width:600px){.videx-editor-dialog .videx-save-options{padding:10px 14px}.videx-editor-dialog .videx-save-warning{margin:10px 14px;padding:12px 14px}}

body.tvm-office .videx-editor-dialog[open]{display:flex;flex-direction:column}body.tvm-office .videx-editor-dialog>.dialog-head,body.tvm-office .videx-editor-dialog>.videx-save-options,body.tvm-office .videx-editor-dialog>.videx-save-warning{flex:0 0 auto}body.tvm-office .videx-editor-dialog>iframe{flex:1 1 0;min-height:0;height:auto;border:0}

/* Pending cash approvals: shared warning tone, always labelled. */
body.tvm-office .cash-nav-link{position:relative}
body.tvm-office #cash-approval-count[hidden]{display:none!important}
body.tvm-office .office-section-nav>a.cash-nav-link:has(#cash-approval-count:not([hidden])){padding-right:28px}
body.tvm-office .cash-approval-notice,body.tvm-office .case-late-cash-requests{background:#fff8e8;border:1px solid #e7c772;border-left:4px solid #d79813;border-radius:10px;padding:18px;margin:16px 0;color:var(--tvm-ink,#163e5e)}
body.tvm-office .case-late-cash-requests[hidden]{display:none!important}
body.tvm-office .cash-approval-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.tvm-office .cash-approval-heading h3{margin:0;font-size:18px}
body.tvm-office .cash-approval-heading>span{font-weight:700;background:#fff;border:1px solid #e7c772;border-radius:16px;padding:4px 10px}
body.tvm-office .cash-approval-notice>article{background:#fff;border:1px solid #e6d9b9;border-radius:8px;padding:14px;margin-top:12px}
body.tvm-office .cash-approval-notice a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:600px){body.tvm-office .cash-approval-notice,body.tvm-office .case-late-cash-requests{padding:14px}body.tvm-office .case-late-cash-requests .late-cash-actions{display:grid;grid-template-columns:1fr 1fr}body.tvm-office .case-late-cash-requests button{min-height:44px;white-space:normal}}

body.tvm-office .direct-vendor-fields{background:#edf5fc;border:1px solid #bdd4e8;border-radius:8px;padding:16px;min-width:0}body.tvm-office .direct-vendor-fields[hidden]{display:none!important}body.tvm-office .wallet-preview{background:#edf5fc;border:1px solid #bdd4e8;padding:16px;border-radius:8px;margin:16px 0}body.tvm-office .wallet-preview[hidden]{display:none!important}body.tvm-office .wallet-preview dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,auto);gap:10px;margin:0}body.tvm-office .wallet-preview dd{margin:0;font-weight:700;overflow-wrap:anywhere}body.tvm-office .wallet-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px)}body.tvm-office .wallet-dialog>form{min-height:0;display:flex;flex-direction:column}body.tvm-office .wallet-dialog .dialog-body{overflow-y:auto;min-height:0}body.tvm-office .wallet-dialog .dialog-head,body.tvm-office .wallet-dialog .form-actions{flex-shrink:0}body.tvm-office .direct-vendor-fields .check-label{align-items:flex-start}body.tvm-office .direct-vendor-fields input[type=checkbox]{flex-shrink:0}

body.tvm-office .customer-wallet-summary{background:#edf6f0;border:1px solid #b3cfbc;border-radius:8px;padding:14px;margin:14px 0}body.tvm-office .customer-wallet-summary h3{font-size:18px;margin:0 0 6px}body.tvm-office .customer-wallet-summary p{margin:4px 0}

/* The cost grid is the single scrolling body; heading/actions remain visible. */
body.tvm-office #case-cost-dialog[open]{overflow:hidden;max-height:calc(100dvh - 24px)}
body.tvm-office #case-cost-dialog>form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 26px);overflow:hidden}
body.tvm-office #case-cost-dialog>form>.form-grid{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;overscroll-behavior:contain}
body.tvm-office #case-cost-dialog>form>.editor-heading,body.tvm-office #case-cost-dialog>form>.editor-actions{flex:0 0 auto}
body.tvm-office #case-cost-dialog .direct-vendor-fields{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0}
body.tvm-office #case-cost-dialog .direct-vendor-fields>p,body.tvm-office #case-cost-dialog .direct-vendor-fields>.check-label{grid-column:1/-1;margin:0}
body.tvm-office #case-cost-dialog .direct-vendor-fields>label{min-width:0;margin:0}
body.tvm-office .wallet-dialog [data-confirm-label][hidden]{display:none!important}
@media(max-width:600px){body.tvm-office #case-cost-dialog .direct-vendor-fields{grid-template-columns:minmax(0,1fr)}body.tvm-office #case-cost-dialog .direct-vendor-fields>label{grid-column:1/-1}}

/* Account-owned advance and credit settlement use the shared dialog shell. */
body.tvm-office dialog.wallet-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:0;overflow:hidden;color:var(--tvm-navy);border:1px solid var(--tvm-line);border-radius:12px}
body.tvm-office .wallet-dialog>form{box-sizing:border-box;width:100%;max-height:calc(100dvh - 26px);margin:0;padding:0;overflow:hidden;min-width:0}
body.tvm-office .wallet-dialog .dialog-head{box-sizing:border-box;display:flex;justify-content:space-between;align-items:flex-start;width:100%;min-width:0;margin:0;padding:16px 20px;gap:16px;background:var(--tvm-surface-info);border-bottom:1px solid var(--tvm-line)}
body.tvm-office .wallet-dialog .dialog-head>div{min-width:0}
body.tvm-office .wallet-dialog .dialog-head h2{font-size:24px;line-height:1.3;color:var(--tvm-navy);margin:0;overflow-wrap:anywhere}
body.tvm-office .wallet-dialog .dialog-head p{margin:6px 0 0}
body.tvm-office .wallet-dialog .dialog-head button{flex:none;min-height:44px;max-width:none;margin:0}
body.tvm-office .wallet-dialog .dialog-body{box-sizing:border-box;width:100%;flex:1 1 auto;padding:16px 20px;overflow-x:hidden;overscroll-behavior:contain}
body.tvm-office .wallet-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
body.tvm-office .wallet-dialog .form-grid>label{min-width:0}
body.tvm-office .wallet-dialog .form-actions{box-sizing:border-box;display:flex;justify-content:flex-end;width:100%;margin:0;padding:12px 20px;background:var(--tvm-surface,#fff);border-top:1px solid var(--tvm-line);gap:12px}
body.tvm-office .wallet-dialog .form-actions button{min-height:44px;max-width:100%;white-space:normal}
body.tvm-office .fileless-finance-dialog .account-payment-main-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(96px,.6fr) minmax(0,1fr);grid-template-rows:auto 44px auto;align-items:start;gap:6px 12px;min-width:0}
body.tvm-office .fileless-finance-dialog .account-payment-main-row>label{display:grid;grid-template-rows:subgrid;grid-row:1/span 3;min-width:0;gap:6px;margin:0}
body.tvm-office .fileless-finance-dialog .account-payment-main-row :is(input,select){box-sizing:border-box;min-width:0;width:100%;height:44px;min-height:44px;margin:0}
body.tvm-office .fileless-finance-dialog .money-entry-hint{grid-row:3;margin:0}
@media(max-width:600px){body.tvm-office .wallet-dialog .dialog-head,body.tvm-office .wallet-dialog .dialog-body{padding:16px}body.tvm-office .wallet-dialog .form-actions{padding:12px 16px}body.tvm-office .wallet-dialog .form-grid{grid-template-columns:minmax(0,1fr)}body.tvm-office .fileless-finance-dialog .account-payment-main-row{grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:auto 44px auto auto 44px auto}body.tvm-office .fileless-finance-dialog .account-payment-main-row>label:last-child{grid-column:1/-1;grid-row:4/span 3}body.tvm-office .wallet-preview dl{grid-template-columns:minmax(0,1fr)}body.tvm-office .wallet-dialog .form-actions button{width:100%}}

body.tvm-office #case-cost-dialog .form-grid>:is(.cost-amount-field,.cost-currency-field){display:grid;grid-template-rows:subgrid;grid-row:span 3;align-self:stretch;align-content:start;gap:6px}
body.tvm-office #case-cost-dialog .cost-amount-field>.money-entry-hint{grid-row:3}

@media(max-width:760px){
 body.tvm-office #case-cost-dialog>form>.form-grid{grid-template-columns:minmax(0,1fr) 96px!important}
 body.tvm-office #case-cost-dialog>form>.form-grid>*{grid-column:1/-1!important}
 body.tvm-office #case-cost-dialog>form>.form-grid>.cost-amount-field{grid-column:1!important}
 body.tvm-office #case-cost-dialog>form>.form-grid>.cost-currency-field{grid-column:2!important}
}

/* Collection: existing cari credit is an explicit payment source, never new cash. */
body.tvm-office #account-finance-dialog:has(.collection-payment-body){overflow:hidden;max-height:calc(100dvh - 24px)}
body.tvm-office #account-finance-dialog>form:has(.collection-payment-body){display:flex;flex-direction:column;max-height:calc(100dvh - 26px);min-height:0;overflow:hidden;padding:0;margin:0}
body.tvm-office #account-finance-dialog .collection-payment-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
body.tvm-office #account-finance-dialog:has(.collection-payment-body) :is(.dialog-head,.form-actions){flex:0 0 auto;margin:0}
body.tvm-office #account-finance-dialog .collection-payment-body>.form-section{padding:16px 20px;margin:0}
body.tvm-office #account-finance-dialog .collection-payment-body>:is(.finance-entry-error,.payment-net-preview,.normal-payment-help,.late-cash-reason){margin:12px 20px;overflow-wrap:anywhere}
body.tvm-office #account-finance-dialog .collection-payment-body>.finance-entry-error:empty{display:none}
body.tvm-office #account-finance-dialog .collection-wallet-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;min-width:0;border:1px solid #b3cfbc;border-radius:8px;padding:12px 14px;background:#edf6f0;margin:0}
body.tvm-office #account-finance-dialog .collection-wallet-summary h3{font-size:16px;margin:0 0 4px;color:var(--tvm-navy);line-height:1.4}
body.tvm-office #account-finance-dialog .collection-wallet-summary p{margin:0;font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.tvm-office #account-finance-dialog .collection-wallet-summary button{min-height:44px;margin:0;white-space:normal}
body.tvm-office #account-finance-dialog .collection-wallet-controls{min-width:0;margin:0}
body.tvm-office #account-finance-dialog .collection-wallet-controls[hidden],body.tvm-office #account-finance-dialog .collection-wallet-mode [hidden]{display:none!important}
body.tvm-office #account-finance-dialog .collection-wallet-mode .payment-context-row{grid-template-columns:minmax(0,1fr)}
body.tvm-office #account-finance-dialog .collection-wallet-mode .account-payment-main-row{grid-template-columns:minmax(0,1.3fr) minmax(120px,.7fr) minmax(145px,1fr)}
body.tvm-office #account-finance-dialog .collection-wallet-use{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px}
body.tvm-office #account-finance-dialog .collection-wallet-use p{margin:0;color:var(--tvm-navy);font-weight:600;overflow-wrap:anywhere}
body.tvm-office #account-finance-dialog .collection-wallet-controls button{min-height:44px;white-space:normal;max-width:100%}
body.tvm-office #account-finance-dialog .collection-wallet-topup{padding:12px 14px;border:1px solid var(--tvm-line);border-radius:8px;background:var(--tvm-surface-info)}
body.tvm-office #account-finance-dialog .collection-wallet-topup>summary{min-height:44px;display:flex;align-items:center;color:var(--tvm-action);font-weight:600;cursor:pointer}
body.tvm-office #account-finance-dialog .collection-wallet-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
body.tvm-office #account-finance-dialog .collection-wallet-extra-grid>label{display:grid;grid-template-rows:auto 44px auto;align-content:start;gap:6px;margin:0;min-width:0}
body.tvm-office #account-finance-dialog .collection-wallet-extra-grid :is(input,select){min-height:44px;height:44px;margin:0;box-sizing:border-box;width:100%;min-width:0}
body.tvm-office #account-finance-dialog .collection-wallet-preview-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0}
body.tvm-office #account-finance-dialog .collection-wallet-preview-actions>span{font-size:14px;color:var(--tvm-muted)}
body.tvm-office #account-finance-dialog .collection-wallet-confirm{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:12px 14px;border:1px solid var(--tvm-line);border-radius:8px;margin:12px 0 0;background:var(--tvm-surface-info);box-sizing:border-box;cursor:pointer}
body.tvm-office #account-finance-dialog .collection-wallet-confirm input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}
body.tvm-office #account-finance-dialog .wallet-preview .wallet-remaining-label,body.tvm-office #account-finance-dialog .wallet-preview .wallet-remaining-value{padding-top:10px;border-top:1px solid var(--tvm-line);color:var(--tvm-navy);font-weight:700}
@media(max-width:600px){
 body.tvm-office #account-finance-dialog .collection-payment-body>.form-section{padding:16px}
 body.tvm-office #account-finance-dialog .collection-payment-body>:is(.finance-entry-error,.payment-net-preview,.normal-payment-help,.late-cash-reason){margin:12px 16px}
 body.tvm-office #account-finance-dialog .collection-wallet-mode .account-payment-main-row{grid-template-columns:minmax(0,1fr) 100px!important}
 body.tvm-office #account-finance-dialog .collection-wallet-extra-grid{grid-template-columns:minmax(0,1fr)}
 body.tvm-office #account-finance-dialog .collection-wallet-use>button,body.tvm-office #account-finance-dialog .collection-wallet-summary>button{width:100%}
 body.tvm-office #account-finance-dialog .collection-wallet-preview-actions>button{width:100%}
 body.tvm-office #account-finance-dialog .wallet-preview .wallet-remaining-label{border-top:1px solid var(--tvm-line)}
 body.tvm-office #account-finance-dialog .wallet-preview .wallet-remaining-value{border-top:0;padding-top:0}
}

body.tvm-office #account-finance-dialog:has(.collection-payment-body)>form>.form-actions{padding:12px 20px;box-sizing:border-box;border-top:1px solid var(--tvm-line);background:var(--tvm-surface,#fff);min-height:68px;justify-content:flex-end}
@media(max-width:600px){body.tvm-office #account-finance-dialog:has(.collection-payment-body)>form>.form-actions{padding:12px 16px}body.tvm-office #account-finance-dialog:has(.collection-payment-body)>form>.form-actions button{width:100%;min-height:44px}}

/* Latest placement: full-balance shortcut stays in the green wallet panel. */
body.tvm-office #account-finance-dialog .collection-wallet-summary>button{box-sizing:border-box;min-height:44px;height:44px;padding:8px 12px;white-space:normal}
body.tvm-office #account-finance-dialog .collection-wallet-summary>[hidden]{display:none!important}

/* Keep cost confirmations inside the shared form; native choice controls are not text fields. */
body.tvm-office #case-cost-dialog input:is([type="checkbox"],[type="radio"]){width:20px;height:20px;min-width:20px;min-height:20px;max-width:20px;max-height:20px;flex:0 0 20px;margin:2px 0 0;padding:0;align-self:start}
body.tvm-office #case-cost-dialog .direct-vendor-fields>.check-label{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:44px;padding:8px 0;box-sizing:border-box;cursor:pointer}
body.tvm-office #case-cost-dialog .direct-vendor-fields>.check-label>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}

/* Shared company funding and statement layout. */
body.tvm-office .company-cost-payment{min-width:0;max-width:100%;box-sizing:border-box;border:1px solid var(--line,#d5e0e7);border-radius:8px;padding:14px 16px;margin:10px 0;}
body.tvm-office .company-cost-payment .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
body.tvm-office .company-cost-payment label{min-width:0;}body.tvm-office .company-cost-payment :is(input:not([type="checkbox"]),select){min-width:0;width:100%;box-sizing:border-box;min-height:44px;}
body.tvm-office .company-expense-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;}body.tvm-office .company-expense-controls label{min-width:0;flex:1 1 180px;}body.tvm-office .company-expense-controls :is(select,input,button){min-height:44px;}
@media(max-width:600px){body.tvm-office .company-cost-payment .form-grid{grid-template-columns:minmax(0,1fr);}body.tvm-office .company-expense-controls label{flex-basis:100%;}}

/* Expense report: align filters and keep source/person details on separate lines. */
body.tvm-office .company-expense-controls label{margin:0}
body.tvm-office #company-expense-report .ui-button{box-sizing:border-box;min-height:44px}
body.tvm-office #company-expense-report td small{display:block;margin-top:4px;color:#536b7e}
body.tvm-office #company-expense-report td a{color:#0866ad}

body.tvm-office:has(#company-expense-report) #page-heading{display:none}

body.tvm-office .company-cost-payment [data-company-cash-past]{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;min-height:44px;padding:8px 0;line-height:1.5}
body.tvm-office .company-cost-payment [data-company-cash-past] input{width:20px;height:20px;min-width:20px;min-height:20px;margin:2px 0 0;padding:0}
body.tvm-office #late-cash-sent-notice{border:1px solid #a7d2bb;background:#edf8f1;color:#205b3a;padding:12px 16px;border-radius:8px}

body.tvm-office .company-cost-payment [data-company-cash-past][hidden]{display:none!important}

/* Insurance sales use the shared report cards and mobile table layout. */
#insurance-sales-overview td{overflow-wrap:anywhere}#insurance-sales-overview .profit-number{white-space:nowrap}

#insurance-sales-overview .insurance-sales-controls{flex-wrap:wrap;max-width:100%}#insurance-sales-overview .insurance-sales-controls label{min-width:0}#insurance-sales-overview .insurance-sales-controls select{max-width:100%}
@media(max-width:600px){#insurance-sales-overview .insurance-sales-controls{display:grid;grid-template-columns:1fr;width:100%}}

/* Keep summary cards visually separate from insurance sales rows. */
#insurance-sales-overview > .profit-summary + .profit-table-wrap{margin-top:20px}

/* Insurance earnings match the file profit table; allow status and help to wrap. */
#insurance-sales-overview .profit-number{white-space:normal}
#insurance-sales-overview .profit-number small{white-space:normal}
#insurance-sales-overview td:first-child{white-space:nowrap}

/* Align package amounts with their exchange-rate reference. */
.package-service-summary .package-sale-row > b{text-align:right}

/* Visa stages share the existing stage palette; operation state takes precedence. */
body.tvm-office [data-application-stage][data-operation-state="on_hold"]{--stage-bg:#fff0df;--stage-ink:#92400e;--stage-line:#e5b47e}
body.tvm-office [data-application-stage][data-operation-state="withdrawn"]{--stage-bg:#eef0f4;--stage-ink:#475569;--stage-line:#b9c2cf}
body.tvm-office .badge[data-application-stage],
body.tvm-office #workspace-overview .workspace-stage-info[data-application-stage],
body.tvm-office .participant-title .participant-result-state .badge[data-application-stage]{display:inline-flex;align-items:center;gap:4.32px;max-width:100%;min-height:21.6px;padding:3.6px 7.2px;background:var(--stage-bg)!important;color:var(--stage-ink);border:.72px solid var(--stage-line)!important;border-radius:5.04px;box-shadow:none;font-size:10.08px;font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere;text-align:left}
body.tvm-office .participant-title .participant-result-state button.badge[data-application-stage]{position:relative;min-width:0;width:fit-content;align-self:flex-start;justify-self:start}
@media(max-width:700px){
 body.tvm-office .visa-files-table td[data-label="Aşama"]{grid-column:1/-1}
}
/* Keep the hit area usable while the visible status badge is smaller. */
body.tvm-office .participant-title .participant-result-state button.badge[data-application-stage]::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}
body.tvm-office .badge[data-application-stage] .ui-edit-pencil{width:12.96px;height:12.96px;flex:0 0 12.96px}

/* Keep application-cost actions readable instead of breaking labels letter by letter. */
body.tvm-office .application-cost-table{table-layout:fixed}
body.tvm-office .application-cost-table th:nth-child(1){width:22%}
body.tvm-office .application-cost-table th:nth-child(2){width:32%}
body.tvm-office .application-cost-table th:nth-child(3){width:15%}
body.tvm-office .application-cost-table th:nth-child(4){width:14%}
body.tvm-office .application-cost-table th:nth-child(5){width:17%}
body.tvm-office .application-cost-table td[data-label="İşlem"]{min-width:104px}
body.tvm-office .application-cost-table td[data-label="İşlem"] .finance-row-actions{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;width:100%;max-width:none}
body.tvm-office .application-cost-table td[data-label="İşlem"] .finance-row-actions button{width:auto;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;text-align:left}
@media(max-width:700px){body.tvm-office .application-cost-table td[data-label="İşlem"]{min-width:0}body.tvm-office .application-cost-table td[data-label="İşlem"] .finance-row-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:4px 10px;width:auto}body.tvm-office .application-cost-table td[data-label="İşlem"] .finance-row-actions button{flex:0 1 auto}}


/* Use the same stage palette for filters, summaries, history and stage selection. */
body.tvm-office [data-application-stage="on_hold"]{--stage-bg:#fff0df;--stage-ink:#92400e;--stage-line:#e5b47e}
body.tvm-office [data-application-stage="withdrawn"],body.tvm-office [data-application-stage="cancelled"],body.tvm-office [data-application-stage][data-operation-state="cancelled"]{--stage-bg:#eef0f4;--stage-ink:#475569;--stage-line:#b9c2cf}
body.tvm-office #workspace-overview :is(.workspace-stage-filters button,.metric-card,[data-completed])[data-application-stage]{background:var(--stage-bg)!important;color:var(--stage-ink)!important;border:1px solid var(--stage-line)!important}
body.tvm-office #workspace-overview .metric-card[data-application-stage] :is(span,strong){color:var(--stage-ink)!important}
body.tvm-office #workspace-overview :is(.workspace-stage-filters button,.metric-card)[data-application-stage][aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--stage-ink);font-weight:700}
body.tvm-office #workspace-overview :is(.workspace-stage-filters button,.metric-card,[data-completed])[data-application-stage]:hover{filter:brightness(.97)}
body.tvm-office #workspace-overview .workspace-stage-info[data-application-stage]::before{content:none}
body.tvm-office .manager-stage[data-application-stage]{--manager-stage:var(--stage-ink);color:var(--stage-ink)}
body.tvm-office .application-stage-picker{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0}
body.tvm-office .application-stage-picker legend{padding:0;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--tvm-navy)}
body.tvm-office .application-stage-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.tvm-office .application-stage-choices button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:44px;height:auto;margin:0;padding:10px 12px;border:1px solid var(--stage-line,var(--tvm-line))!important;border-radius:7px;background:var(--stage-bg,#fff)!important;color:var(--stage-ink,var(--tvm-navy))!important;font-size:14px;font-weight:600;line-height:1.35;text-align:left;white-space:normal;box-shadow:none}
body.tvm-office .application-stage-choices button[aria-checked="true"]{box-shadow:inset 0 0 0 2px var(--stage-ink,var(--tvm-navy))}
body.tvm-office .application-stage-choices button:focus-visible{outline:2px solid var(--stage-ink,var(--tvm-navy));outline-offset:3px}
body.tvm-office .application-stage-choices button:disabled{opacity:.55;cursor:not-allowed}
body.tvm-office .application-stage-choices .stage-choice-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:12px}
@media(max-width:480px){body.tvm-office .application-stage-choices{grid-template-columns:1fr}}

/* File income reuses the report projection; this is presentation only. */
.case-income-summary{padding:20px;margin:0 0 24px;border:1px solid #cbdbe7;border-left:4px solid #16476b;border-radius:10px;background:#f7fafc}.case-income-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.case-income-heading h4{margin:0;font-size:20px}.case-income-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.case-income-grid article{background:#eaf1f5;padding:16px;border-radius:8px;min-width:0;display:flex;flex-direction:column;gap:8px}.case-income-grid strong{font-size:22px;overflow-wrap:anywhere}.case-income-grid small{color:#536a7b}.case-income-result{border-top:3px solid #17644c}.case-income-summary p{color:#536a7b;font-size:13px;line-height:1.6;margin:14px 0 0}@media(max-width:600px){.case-income-summary{padding:16px}.case-income-grid{grid-template-columns:1fr;gap:10px}.case-income-grid article{padding:12px}.case-income-grid strong{font-size:21px}}

/* Reports overview charts use the same disclosure geometry as Ana sayfa / Başvuru performansı. */
body.tvm-office #profit-main>.profit-chart-disclosure{margin:0 0 16px!important;min-width:0;max-width:100%;box-sizing:border-box}
body.tvm-office #profit-main>.profit-chart-disclosure>summary{min-height:44px;display:flex;align-items:center;box-sizing:border-box}
body.tvm-office .profit-chart-disclosure-body{min-width:0;max-width:100%;padding:16px 0}
body.tvm-office .profit-chart-disclosure-body>#profit-chart-tabs{margin-top:0}
@media(max-width:600px){body.tvm-office .profit-chart-disclosure-body{padding:12px 0}}

body.tvm-office .profit-summary .profit-summary-total{background:var(--tvm-surface-info);box-shadow:inset 0 0 0 1px var(--tvm-action)}
.profit-summary-link{position:relative;cursor:pointer;border:1px solid transparent;transition:border-color .16s ease,box-shadow .16s ease}
.profit-summary-link:hover{border-color:var(--tvm-action)}
.profit-summary-link:focus-visible{outline:3px solid var(--tvm-focus);outline-offset:2px}
.profit-card-link{margin-top:auto;color:var(--tvm-action);font-weight:700}
.profit-custom-period{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end}
.profit-custom-period label{min-width:0}
@media(max-width:600px){.profit-custom-period{grid-template-columns:1fr}}

/* Passport cost accounting layout: labels stay left, monetary columns align right. */
.participant-cost-table{width:100%;table-layout:fixed}
.participant-cost-table th,.participant-cost-table td{vertical-align:top}
.participant-cost-table th:nth-child(1){width:14%}
.participant-cost-table th:nth-child(2){width:14%}
.participant-cost-table th:nth-child(3){width:31%}
.participant-cost-table th:nth-child(4){width:23%}
.participant-cost-table th:nth-child(5){width:18%}
.participant-cost-table th:nth-child(4){white-space:nowrap}
.participant-cost-table :is(th,td):nth-child(2),.participant-cost-table :is(th,td):nth-child(4),.participant-cost-table :is(th,td):nth-child(5){text-align:right}
.participant-cost-table .currency-lines,.participant-cost-table .contribution-values,.participant-cost-table .participant-net-income{justify-items:end}
.participant-cost-table .currency-lines span,.participant-cost-table .contribution-values strong,.participant-cost-table .participant-net-income strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.participant-cost-table .participant-cost-lines>span{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;column-gap:16px}
.participant-cost-table .participant-cost-lines strong{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.participant-cost-table .participant-net-income small{max-width:170px;text-align:right}
@media(max-width:700px){.participant-cost-table td{text-align:left!important}.participant-cost-table .currency-lines,.participant-cost-table .contribution-values,.participant-cost-table .participant-net-income{justify-items:end;text-align:right}}

/* Passport cards, fixed case actions, empty-passport removal and mobile quick-sale disclosure. */
body.tvm-office .case-file-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;overflow:visible}
body.tvm-office .case-file-tabs{display:flex;flex-wrap:nowrap;min-width:0}
body.tvm-office .case-file-actions{position:relative;display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;min-width:max-content}
body.tvm-office .case-cost-action{min-height:44px;white-space:nowrap;border-color:#d5a515;background:#fff1b8;color:#624800}
body.tvm-office .case-cost-action:hover{border-color:#b88900;background:#ffe58a;color:#4c3800}
body.tvm-office .case-cost-action.active{background:var(--tvm-action);color:#fff}
body.tvm-office .case-file-actions .record-lifecycle-actions{position:relative;margin:0}
body.tvm-office .case-file-actions .record-lifecycle-actions>summary{min-height:44px;display:flex;align-items:center;padding:9px 12px;white-space:nowrap}
body.tvm-office .case-file-actions .record-lifecycle-actions>.record-lifecycle-tools{position:absolute;z-index:30;top:calc(100% + 6px);right:0;width:min(320px,calc(100vw - 32px));padding:12px;border:1px solid var(--tvm-line);border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(15,48,74,.18)}
body.tvm-office .case-participants-section .participant-card{position:relative;border:4px solid #16476b;border-radius:12px;overflow:hidden}
body.tvm-office .participant-passport-sequence{display:inline-flex;align-items:center;min-height:30px;margin:0 0 8px;padding:4px 10px;border-radius:5px;background:#123f61;color:#fff;font-size:14px;font-weight:800;letter-spacing:.02em}
body.tvm-office .participant-passport-flag{font-size:17px;line-height:1;margin-right:7px}
body.tvm-office .participant-title>div:first-child{min-width:0}
body.tvm-office .passport-empty-delete{margin:14px 0 4px;padding-top:12px;border-top:1px solid var(--tvm-line);background:transparent}
body.tvm-office .passport-empty-delete-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center}
body.tvm-office .passport-empty-delete-row>.tvm-icon{width:18px;height:18px;color:var(--tvm-muted);--tvm-icon-accent:currentColor}
body.tvm-office .passport-empty-delete strong{display:block;color:var(--tvm-ink)}
body.tvm-office .passport-empty-delete p{margin:2px 0 0;color:var(--tvm-muted);font-size:13px}
body.tvm-office .passport-empty-delete-trigger{display:inline-flex;align-items:center;width:auto;min-height:32px;padding:4px 6px;border:0;background:transparent;box-shadow:none;color:var(--tvm-danger);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.tvm-office .passport-empty-delete-trigger:hover{background:var(--tvm-danger-soft);color:var(--tvm-danger)}
body.tvm-office .passport-empty-delete-state{color:var(--tvm-muted);font-size:13px;font-weight:700}
body.tvm-office .passport-empty-delete-confirm{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;padding:10px 12px;border:1px solid var(--tvm-danger-line);border-radius:7px;background:var(--tvm-danger-soft)}
body.tvm-office .passport-empty-delete-confirm[hidden]{display:none}
body.tvm-office .passport-empty-delete-confirm p{margin:0;color:var(--tvm-ink)}
body.tvm-office .passport-empty-delete-actions{display:flex;flex:0 0 auto;gap:8px}
#quick-sales-view .qs-mobile-sale-cell{display:none}
@media(max-width:820px){body.tvm-office .case-file-nav{grid-template-columns:1fr}body.tvm-office .case-file-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}body.tvm-office .case-file-actions{justify-content:stretch;min-width:0}body.tvm-office .case-file-actions>*{flex:1 1 auto}body.tvm-office .passport-empty-delete-row{grid-template-columns:auto minmax(0,1fr)}body.tvm-office .passport-empty-delete-trigger,body.tvm-office .passport-empty-delete-state{grid-column:2;justify-self:start}body.tvm-office .passport-empty-delete-confirm{align-items:stretch;flex-direction:column}body.tvm-office .passport-empty-delete-actions{justify-content:flex-end}}
@media(max-width:600px){
 body.tvm-office .case-participants-section .participant-card{border-width:4px!important}
 #quick-sales-view .qs-sales-table,#quick-sales-view .qs-sales-table tbody{display:block;width:100%}
 #quick-sales-view .qs-sales-table tr{display:block;padding:0;margin:0 0 12px;border:0}
 #quick-sales-view .qs-sales-table .qs-desktop-sale-cell{display:none!important}
 #quick-sales-view .qs-sales-table .qs-mobile-sale-cell{display:block!important;width:100%;padding:0!important;border:0;text-align:left!important}
 #quick-sales-view .qs-sales-table .qs-mobile-sale-cell::before{display:none!important}
 #quick-sales-view .qs-mobile-sale-card{overflow:hidden;border:1px solid var(--tvm-line);border-left:4px solid var(--tvm-action);border-radius:9px;background:#fff}
 #quick-sales-view .qs-mobile-sale-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;min-height:72px;padding:13px 14px;cursor:pointer;list-style:none}
 #quick-sales-view .qs-mobile-sale-card>summary::-webkit-details-marker{display:none}
 #quick-sales-view .qs-mobile-sale-products{display:grid;gap:5px;min-width:0}
 #quick-sales-view .qs-mobile-product{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
 #quick-sales-view .qs-mobile-product strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
 #quick-sales-view .qs-mobile-product b{flex:0 0 auto;color:var(--tvm-muted);font-size:13px;white-space:nowrap}
 #quick-sales-view .qs-mobile-sale-total{display:grid;justify-items:end;gap:2px;color:var(--tvm-navy)}
 #quick-sales-view .qs-mobile-sale-total small{color:var(--tvm-muted);font-size:11px}
 #quick-sales-view .qs-mobile-sale-total strong{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}
 #quick-sales-view .qs-mobile-sale-total i{font-style:normal;transition:transform .16s ease}
 #quick-sales-view .qs-mobile-sale-card[open] .qs-mobile-sale-total i{transform:rotate(180deg)}
 #quick-sales-view .qs-mobile-sale-detail{padding:0 14px 14px;border-top:1px solid var(--tvm-line);background:var(--tvm-table-alt)}
 #quick-sales-view .qs-mobile-sale-detail dl{margin:0 0 12px}
 #quick-sales-view .qs-mobile-sale-detail dl>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid var(--tvm-line)}
 #quick-sales-view .qs-mobile-sale-detail dt{color:var(--tvm-muted);font-size:13px}
 #quick-sales-view .qs-mobile-sale-detail dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
 #quick-sales-view .qs-mobile-sale-detail .qs-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
}

.application-cost-package-names{display:block;margin-top:.35rem;max-width:34rem;line-height:1.45;color:var(--text-muted,#526b82);white-space:normal}

/* Application-cost definition actions and compact package selection. */
body.tvm-office .application-cost-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
body.tvm-office .application-cost-action{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:32px;padding:4px 2px;border:0;border-radius:0;background:transparent;font:inherit;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;box-shadow:none;cursor:pointer}
body.tvm-office .application-cost-action [data-tvm-icon]{width:17px;height:17px}
body.tvm-office .application-cost-edit{color:var(--tvm-action,#0b6fb8)}
body.tvm-office .application-cost-edit:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
body.tvm-office .application-cost-delete{color:var(--tvm-danger,#a23a33)}
body.tvm-office .application-cost-delete:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
body.tvm-office .application-cost-restore{color:var(--tvm-success,#247258)}
body.tvm-office .application-cost-restore:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
body.tvm-office .application-cost-action:focus-visible{outline:3px solid var(--tvm-focus-ring,rgba(11,111,184,.25));outline-offset:2px}
body.tvm-office .catalog-package-cost-choice{display:grid;gap:9px}
body.tvm-office .catalog-package-cost-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
body.tvm-office .catalog-package-cost-choice-list>label{display:flex;align-items:center;gap:8px;min-width:0;min-height:38px;margin:0;padding:7px 10px;border:1px solid var(--tvm-border,#c8d8e5);border-radius:var(--tvm-radius-control,8px);background:var(--tvm-surface,#fff);font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap}
body.tvm-office .catalog-package-cost-choice-list>label:has(input:checked){border-color:var(--tvm-action,#0b6fb8);background:var(--tvm-action-soft,#eaf3fb);color:var(--tvm-navy,#123e60)}
body.tvm-office .catalog-package-cost-choice-list input[type="checkbox"]{order:-1;flex:0 0 auto;width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--tvm-action,#0b6fb8)}
body.tvm-office .catalog-package-cost-choice-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){body.tvm-office .application-cost-row-actions{justify-content:flex-end;flex-wrap:wrap}body.tvm-office .application-cost-action{min-height:44px}body.tvm-office .catalog-package-cost-choice-list{grid-template-columns:1fr}body.tvm-office .catalog-package-cost-choice-list>label{white-space:normal}body.tvm-office .catalog-package-cost-choice-list span{white-space:normal;overflow:visible}}


body.tvm-office .profit-customer-file-link{display:inline-block;color:var(--tvm-navy,#123e60);text-decoration:none}
body.tvm-office .profit-customer-file-link:hover{color:var(--tvm-action,#0b6fb8);text-decoration:underline;text-underline-offset:3px}
body.tvm-office .profit-file-link.profit-file-link--compact{min-height:32px;padding:4px 0;gap:5px;font-weight:700}
body.tvm-office .profit-file-link.profit-file-link--compact [data-tvm-icon]{width:16px;height:16px}
body.tvm-office .profit-visa-count{text-align:center;white-space:nowrap;min-width:92px}
body.tvm-office .profit-visa-count strong{display:block;color:var(--tvm-navy,#123e60);font-size:24px;line-height:1;font-weight:800}
body.tvm-office .profit-visa-count small{margin-top:5px;font-weight:700;color:var(--tvm-muted,#526d82)}
body.tvm-office .profit-row-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
body.tvm-office .profit-row-actions .profit-text-action{min-height:32px;padding:4px 0!important;font-weight:700}
body.tvm-office .profit-package-detail-row>td{padding:0!important;background:var(--tvm-surface-info,#f1f7fb)}
body.tvm-office .profit-package-passports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
body.tvm-office .profit-package-passports article{border:1px solid var(--tvm-line-strong,#b9cedd);border-radius:var(--tvm-radius-control,8px);background:var(--tvm-surface,#fff);padding:14px;min-width:0}
body.tvm-office .profit-package-passports header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-bottom:1px solid var(--tvm-line,#dce7ee);padding-bottom:8px;margin-bottom:10px}
body.tvm-office .profit-package-passports header span{color:var(--tvm-action,#0b6fb8);font-weight:800}
body.tvm-office .profit-package-passports dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0}
body.tvm-office .profit-package-passports dl>div{min-width:0}
body.tvm-office .profit-package-passports dt{font-size:13px;color:var(--tvm-muted,#526d82);margin-bottom:3px}
body.tvm-office .profit-package-passports dd{margin:0;color:var(--tvm-navy,#123e60);font-weight:700;overflow-wrap:anywhere}
@media(max-width:700px){body.tvm-office .profit-package-passports{grid-template-columns:1fr;padding:10px}body.tvm-office .profit-package-passports dl{grid-template-columns:1fr 1fr}}


/* Country-first package, consulate and application-cost linkage */
body.tvm-office .country-package-connector{width:min(860px,calc(100vw - 28px))}
body.tvm-office .country-package-connector .form-section{display:grid;gap:16px}
body.tvm-office .country-package-connector .catalog-center-options,
body.tvm-office .country-package-connector .catalog-package-cost-options{margin:0}
body.tvm-office .country-package-connector [data-link-centers]{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}
body.tvm-office .country-package-connector .package-center-choice{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 10px;border:1px solid var(--tvm-border,#c8d8e5);border-radius:8px;background:#fff}
body.tvm-office .country-package-connector .package-center-choice:has(input:checked){border-color:var(--tvm-action,#0b6fb8);background:var(--tvm-action-soft,#eaf3fb)}
body.tvm-office .country-package-connector .package-center-choice input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--tvm-action,#0b6fb8)}
body.tvm-office .catalog-package-list td>small{display:block;margin-top:4px;color:var(--tvm-muted,#60788b);line-height:1.35}
@media(max-width:700px){body.tvm-office .country-package-connector [data-link-centers]{grid-template-columns:1fr}}

/* v1.2.21: pasaport silme onayı her ekranda tek satır, sıkı ve okunaklıdır. */
body.tvm-office .passport-empty-delete-confirm{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:6px;padding:6px 8px}
body.tvm-office .passport-empty-delete-confirm p{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
body.tvm-office .passport-empty-delete-actions{display:flex;gap:4px;justify-content:flex-end;white-space:nowrap}
body.tvm-office .passport-empty-delete-actions .ui-button{min-height:30px;padding:4px 8px}

/* v1.2.21.3 · Sade hizmet kataloğu */
.catalog-definition-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;
 padding:2px;
}
.catalog-definition-card{
 min-width:0;
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 gap:8px 16px;
 border:1px solid #c9d7e5;
 border-radius:10px;
 background:#fff;
 padding:14px 16px;
 box-shadow:0 1px 2px rgba(17,52,80,.05);
}
.catalog-definition-card>div:first-child,
.catalog-definition-title{
 min-width:0;
 display:flex;
 align-items:center;
 gap:10px;
}
.catalog-definition-title>span:last-child,
.catalog-definition-card>div:first-child:not(.catalog-definition-title){
 display:grid;
 gap:3px;
}
.catalog-definition-card strong{color:#153f63;overflow-wrap:anywhere}
.catalog-definition-card small{display:block;color:#62758a;font-weight:500}
.catalog-definition-card>p{margin:0;text-align:right}
.catalog-definition-card .application-cost-row-actions{
 grid-column:1/-1;
 justify-content:flex-end;
 padding-top:8px;
 border-top:1px solid #e2eaf2;
}
.application-cost-action{
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 padding:4px 6px!important;
 min-height:32px!important;
 display:inline-flex;
 align-items:center;
 gap:6px;
 font-weight:700;
}
.application-cost-edit{color:#0067b9!important}
.application-cost-delete{color:#a8332a!important}
.application-cost-restore{color:#236b3c!important}
.catalog-package-cost-choice-list{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px 12px;
}
.catalog-package-cost-choice-list label,
.visa-package-editor fieldset:has([data-included-service]) label{
 min-width:0;
 display:flex;
 flex-direction:row;
 align-items:center;
 gap:8px;
 margin:0;
 padding:8px 10px;
 border:1px solid #d6e1eb;
 border-radius:8px;
 background:#fff;
}
.catalog-package-cost-choice-list input,
.visa-package-editor [data-included-service]{flex:0 0 auto;margin:0}
@media(max-width:760px){
 .catalog-definition-grid,.catalog-package-cost-choice-list{grid-template-columns:1fr}
 .catalog-definition-card{grid-template-columns:minmax(0,1fr)}
 .catalog-definition-card>p{text-align:left}
}


/* Compact report tracking uses the same palette as application stages. */
body.tvm-office .profit-stage-label{display:inline-block;padding:4px 8px;border:1px solid var(--stage-line,#b9c2cf);border-radius:5px;background:var(--stage-bg,#eef0f4);color:var(--stage-ink,#475569);font-size:14px;font-weight:600;line-height:1.4;white-space:normal;word-break:normal}
body.tvm-office .profit-stage-label[data-operation-state="on_hold"]{background:#fff0df;color:#92400e;border-color:#e5b47e}
body.tvm-office .profit-stage-label[data-operation-state="withdrawn"]{background:#eef0f4;color:#475569;border-color:#b9c2cf}
body.tvm-office .profit-shared-balance{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 12px;padding:10px 12px;background:var(--tvm-action-soft,#eaf3ff);border-radius:5px}
body.tvm-office .profit-shared-balance span{color:var(--tvm-muted)}
body.tvm-office:has(#catalog-view:not([hidden])) #page-heading{display:none}

/* Each passport is a compact row under its file, not a separate card. */
body.tvm-office .profit-passport-list{padding:8px 14px;overflow-x:auto}
body.tvm-office .profit-passport-table{width:100%;border-collapse:collapse;table-layout:fixed;background:transparent}
body.tvm-office .profit-passport-table th,body.tvm-office .profit-passport-table td{padding:8px 12px!important;border:0;border-bottom:1px solid var(--tvm-line,#dce7ee);text-align:left;vertical-align:top;background:transparent!important;overflow-wrap:break-word}
body.tvm-office .profit-passport-table th{font-size:13px;font-weight:600;color:var(--tvm-muted)}
body.tvm-office .profit-passport-table th:nth-child(1){width:26%}body.tvm-office .profit-passport-table th:nth-child(2){width:16%}body.tvm-office .profit-passport-table th:nth-child(3){width:34%}body.tvm-office .profit-passport-table th:nth-child(4){width:24%;text-align:right}
body.tvm-office .profit-passport-table small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--tvm-muted)}
body.tvm-office .profit-passport-table td.profit-passport-income{text-align:right;font-variant-numeric:tabular-nums}
body.tvm-office .profit-passport-table tr:last-child td{border-bottom:0}
@media(max-width:700px){body.tvm-office .profit-passport-table{min-width:580px}body.tvm-office .profit-records .profit-passport-table{display:table}body.tvm-office .profit-records .profit-passport-table thead{display:table-header-group}body.tvm-office .profit-records .profit-passport-table tbody{display:table-row-group}body.tvm-office .profit-records .profit-passport-table tr{display:table-row;margin:0;padding:0;border:0}body.tvm-office .profit-records .profit-passport-table :is(td,th){display:table-cell}body.tvm-office .profit-records .profit-passport-table td:before{content:none}}

/* Optional service purchase cost: compact, shared theme controls. */
body.tvm-office #quick-sales-view.qs-cart-screen .qs-purchase-mode{grid-column:1/-1;max-width:300px;margin:0}
body.tvm-office #quick-sales-view.qs-cart-screen [data-purchase-fields]{grid-column:1/-1;display:grid;grid-template-columns:minmax(140px,220px) 100px;gap:10px;align-items:start}
body.tvm-office #quick-sales-view.qs-cart-screen [data-purchase-fields][hidden]{display:none}
body.tvm-office #quick-sales-view.qs-cart-screen [data-purchase-fields] label{margin:0;min-width:0}
@media(max-width:380px){body.tvm-office #quick-sales-view.qs-cart-screen [data-purchase-fields]{grid-template-columns:minmax(0,1fr) 90px}}

/* Extra-service purchase dialog: bounded layout and shared theme text actions. */
body.tvm-office dialog.extra-cost-dialog{width:min(700px,calc(100vw - 32px));max-width:calc(100vw - 32px)!important;min-width:0!important;height:fit-content!important;max-height:calc(100dvh - 32px);margin:auto;padding:0!important;overflow:hidden;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius-panel,8px);color:var(--tvm-text,#243746)}
body.tvm-office .extra-cost-dialog[open]{display:flex;flex-direction:column}
body.tvm-office .extra-cost-dialog>form{display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:0;max-height:inherit;background:var(--tvm-surface,#fff)}
body.tvm-office .extra-cost-dialog .dialog-head{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;width:100%;margin:0;padding:20px 24px;box-sizing:border-box;background:var(--tvm-surface-info,#e8f0f5)}
body.tvm-office .extra-cost-dialog .dialog-head h2{margin:0;font-size:22px;line-height:1.35;overflow-wrap:anywhere}
body.tvm-office .extra-cost-dialog .dialog-head button{flex:none;min-height:44px;margin:0}
body.tvm-office .extra-cost-body{padding:20px 24px;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;display:grid;gap:20px}
body.tvm-office .extra-cost-sale{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid var(--tvm-line);border-radius:var(--tvm-radius,6px);background:var(--tvm-surface-soft,#f3f6f8)}
body.tvm-office .extra-cost-sale>div{min-width:0}
body.tvm-office .extra-cost-caption{display:block;color:var(--tvm-muted);font-size:13px;margin-bottom:5px}
body.tvm-office .extra-cost-sale strong{display:block;overflow-wrap:anywhere;color:var(--tvm-navy);font-size:16px;line-height:1.45}
body.tvm-office .extra-cost-sale-amount{text-align:right;flex-shrink:0}
body.tvm-office .extra-cost-section{min-width:0;margin:0;padding:0}
body.tvm-office .extra-cost-section h3{font-size:15px;margin:0 0 10px;color:var(--tvm-navy)}
body.tvm-office .extra-cost-section label{min-width:0;display:grid;gap:8px;margin:0;font-size:14px}
body.tvm-office .extra-cost-section select{width:100%;max-width:100%;min-width:0;min-height:44px;margin:0;box-sizing:border-box;text-overflow:ellipsis}
body.tvm-office .extra-cost-selection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
body.tvm-office .extra-cost-list{border:1px solid var(--tvm-line);border-radius:6px;overflow:hidden}
body.tvm-office .extra-cost-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 14px}
body.tvm-office .extra-cost-row+.extra-cost-row{border-top:1px solid var(--tvm-line)}
body.tvm-office .extra-cost-name{overflow-wrap:anywhere;min-width:0;line-height:1.5;font-size:14px}
body.tvm-office .extra-cost-amount{white-space:nowrap;color:var(--tvm-navy);font-size:15px}
body.tvm-office .extra-cost-link-row,body.tvm-office .extra-cost-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
body.tvm-office .extra-cost-link-row{margin-top:8px;flex-wrap:wrap}
body.tvm-office .extra-cost-dialog .section-help{margin:0;font-size:13px;line-height:1.5;color:var(--tvm-muted);overflow-wrap:anywhere}
body.tvm-office .extra-cost-footer{padding:14px 24px;margin:0;border-top:1px solid var(--tvm-line);flex-shrink:0;flex-wrap:wrap}
body.tvm-office .extra-cost-dialog .finance-row-actions{display:inline-flex;flex-wrap:wrap;gap:8px;min-width:0;margin:0}
body.tvm-office .extra-cost-dialog .finance-edit-button{display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0;padding:6px 4px;color:var(--tvm-action);background:transparent;border:0;box-shadow:none;font-weight:600;white-space:normal;text-align:left}
body.tvm-office .extra-cost-dialog .error:empty{display:none}
@media(max-width:600px){body.tvm-office dialog.extra-cost-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);height:auto;margin:auto}body.tvm-office .extra-cost-dialog .dialog-head,body.tvm-office .extra-cost-body{padding:16px}body.tvm-office .extra-cost-dialog .dialog-head{gap:12px}body.tvm-office .extra-cost-sale{padding:12px;gap:12px;flex-wrap:wrap}body.tvm-office .extra-cost-sale-amount{text-align:left}body.tvm-office .extra-cost-selection{grid-template-columns:minmax(0,1fr)}body.tvm-office .extra-cost-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px}body.tvm-office .extra-cost-row>.finance-row-actions{grid-column:1/-1}body.tvm-office .extra-cost-footer{padding:12px 16px;gap:4px}}
/* Compact bank selector in the customer refund dialog. */
body.tvm-office .refund-bank-field { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
body.tvm-office .refund-bank-field[hidden] { display:none; }
body.tvm-office .refund-bank-field > label { width:100%; }
body.tvm-office .refund-bank-field [data-refund-bank-status]:empty { display:none; }
body.tvm-office .refund-bank-field [data-refund-bank-status] { margin:0; }
body.tvm-office .refund-bank-field [data-refund-bank-refresh] { padding:0; min-height:28px; border:0; background:transparent; color:#0069bf; font-size:14px; font-weight:600; line-height:1.4; }
body.tvm-office .refund-bank-field [data-refund-bank-refresh]:focus-visible { outline:2px solid #0069bf; outline-offset:2px; }

.application-completion{border:1px solid #dce3ec;border-radius:8px;background:#f4f7fb;padding:12px;margin-bottom:16px;color:#233b59}.application-completion [data-completion-summary]{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.application-completion progress{width:100px;height:8px;accent-color:#42688e}.application-completion p,.application-completion details{font-size:.85rem;margin:8px 0 0}.completion-exclusions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-top:12px}.completion-exclusions label{display:flex;align-items:center;gap:6px}.completion-exclusions input{width:auto;margin:0}@media print{.application-completion{display:none}}


/* Compact completion indicator; color belongs to the progress, not a large banner. */
.application-completion,.passport-completion{--completion-color:#926608;background:#f7f9fc;border:1px solid #cdd7e3;color:#243b53}
.application-completion[data-tone="red"],.passport-completion[data-tone="red"]{--completion-color:#b52d3f}
.application-completion[data-tone="orange"],.passport-completion[data-tone="orange"]{--completion-color:#b75d12}
.application-completion[data-tone="green"],.passport-completion[data-tone="green"]{--completion-color:#23834b}
.application-completion.is-complete,.passport-completion.is-complete{background:#eff9f2;border-color:#b8ddc3}
.application-completion{padding:12px;margin-bottom:16px}
.application-completion [data-completion-summary]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.application-completion [data-completion-summary]>strong{font-size:1rem;font-weight:600}.application-completion [data-completion-summary]>b{font-size:1.05rem;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--completion-color)}
.application-completion progress,.passport-completion progress{width:150px;max-width:30%;height:10px;accent-color:var(--completion-color);border:1px solid #c5cfdb;border-radius:6px;overflow:hidden}
.application-completion progress::-webkit-progress-bar,.passport-completion progress::-webkit-progress-bar{background:#e3e8ef;border-radius:6px}.application-completion progress::-webkit-progress-value,.passport-completion progress::-webkit-progress-value{background:var(--completion-color);border-radius:5px}.application-completion progress::-moz-progress-bar,.passport-completion progress::-moz-progress-bar{background:var(--completion-color);border-radius:5px}
.passport-completion{padding:10px 12px}.passport-completion>summary{display:flex;flex-wrap:nowrap;gap:12px}.passport-completion>summary>strong{font-size:1rem;color:var(--completion-color)}
@media(max-width:480px){.application-completion progress,.passport-completion progress{width:90px;max-width:25%}.passport-completion>summary{gap:6px}}

.application-completion [data-completion-summary]>b,.passport-completion>summary>strong{font-size:1.2rem;font-weight:800;letter-spacing:0;font-variant-numeric:tabular-nums}

/* A longer right-hand progress line, always starting red. Keep the neutral compact surface. */
.application-completion,.passport-completion{--completion-fill:linear-gradient(90deg,#e54c50,#ee7542,#f39835,#efca42)}
.application-completion[data-tone="red"],.passport-completion[data-tone="red"]{--completion-fill:linear-gradient(90deg,#dc3545,#ed6555)}
.application-completion[data-tone="orange"],.passport-completion[data-tone="orange"]{--completion-fill:linear-gradient(90deg,#dc3545,#f28b30)}
.application-completion[data-tone="green"],.passport-completion[data-tone="green"]{--completion-fill:linear-gradient(90deg,#dc3545 0%,#f08b30 33%,#f0ce41 66%,#2c9b53 100%)}
.application-completion [data-completion-summary],.passport-completion>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) auto;align-items:center;gap:12px}
.application-completion progress,.passport-completion progress{width:100%;max-width:none;height:10px;accent-color:#e44a4f}
.application-completion [data-completion-summary]>b,.passport-completion>summary>strong{color:#243b53}
.application-completion progress::-webkit-progress-value,.passport-completion progress::-webkit-progress-value{background:var(--completion-fill)}
.application-completion progress::-moz-progress-bar,.passport-completion progress::-moz-progress-bar{background:var(--completion-fill)}
@media(max-width:520px){.application-completion [data-completion-summary],.passport-completion>summary{grid-template-columns:minmax(0,1fr) auto}.application-completion progress,.passport-completion progress{grid-column:1/-1;grid-row:2;width:100%;max-width:none}.application-completion [data-completion-summary]>b,.passport-completion>summary>strong{grid-column:2;grid-row:1}}


/* Native summary's disclosure marker must not become an extra grid cell. */
.application-completion [data-completion-summary],.passport-completion>summary{display:flex;align-items:center;flex-wrap:nowrap;gap:12px}
.application-completion [data-completion-summary]>strong,.passport-completion>summary>span{flex:1 1 auto;min-width:0;text-align:left}
.application-completion progress,.passport-completion progress{flex:0 1 42%;width:42%;min-width:0;max-width:none}
.application-completion [data-completion-summary]>b,.passport-completion>summary>strong{flex:0 0 auto;white-space:nowrap}
@media(max-width:520px){.application-completion [data-completion-summary],.passport-completion>summary{flex-wrap:wrap}.application-completion progress,.passport-completion progress{flex:1 0 100%;width:100%;order:3}.application-completion [data-completion-summary]>b,.passport-completion>summary>strong{order:2}}
