/* Cicor Turismo: colors sampled from the supplied brand artwork. */
.brand{display:inline-flex;flex-direction:column;gap:0;align-items:center;letter-spacing:0;max-width:100%}
.brand-image{display:block;position:relative;width:180px;height:108px;overflow:hidden;flex:none}
.brand-image img{display:block;position:absolute;width:250px;height:250px;max-width:none;left:-34px;top:-48px}
.brand-sub{font-size:9px;font-weight:700;letter-spacing:1.65px;color:var(--brand);opacity:1;display:flex;align-items:center;gap:7px;margin-top:2px}
.brand-sub:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--red)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding-top:22px;z-index:10}
.sidebar .brand{margin:0 auto 35px;display:flex;width:180px}
.nav-item{position:relative;min-height:46px;font-size:13px}
.nav-item.selected:before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:3px;background:var(--red)}
.nav-item b{color:var(--brand)}
.account{overflow-wrap:anywhere}
.account>span:not(.avatar){min-width:0}
.avatar{flex:none}
.primary{box-shadow:0 2px 5px #2a388315}
.primary:hover{box-shadow:0 4px 10px #2a388324}
.ghost:hover{background:var(--brand-soft);border-color:#b9c5e9}
.topbar{background:#fff}
.stat{box-shadow:0 3px 12px #2a388304}
.stat>div{font-size:12px}
.stat>strong{font-size:clamp(19px,2.05vw,28px);letter-spacing:-.75px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
.stat>small{font-size:11px}
.stat>strong span{font-size:11px}
.actionable{border-top:3px solid var(--brand)}
.actionable:last-child{border-top-color:var(--red)}
.panel-heading p,.workflow-step p,.empty p{font-size:12px}
.panel,.form-card{box-shadow:0 3px 12px #2a388303}
.workflow{background:var(--surface-soft)}
.empty-art{transform:none;background:var(--brand-soft)}
.empty-art .icon{transform:none}
.empty .button{min-height:42px;font-size:12px}
.row-open{width:40px;height:40px}
.badge{font-size:11px;font-weight:600;padding:5px 10px}
.badge i{width:5px;height:5px}
.invoice-hint{font-size:10px}
.filters input,.filters select{font-size:12px;height:42px}
.search .icon{top:13px}
.filters .button{min-height:42px;font-size:12px}
.results-count{font-size:11px}
th{font-size:10px}
td>span:not(.badge){font-size:11px}
.public-header{padding-top:16px;padding-bottom:18px}
.public-intro{background:var(--brand-soft);border:1px solid #dfe5f7}
.public-intro h1{color:var(--brand);font-weight:600}
.public-intro .eyebrow{font-size:9px}
.how>div{font-size:12px}
.how b{font-weight:700}
.intro-note{font-size:11px}
.field{font-size:12px}
.field input,.field select,.field textarea{min-height:44px;font-size:13px}
.field small{font-size:11px}
.field input::placeholder,.field textarea::placeholder{font-size:12px}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.steps>span{font-size:12px}
.steps .active{font-weight:700}
.steps .active b{font-weight:600}
.consent{font-size:12px}
.consent+.fine{font-size:11px}
.consent input{width:18px;height:18px;flex:none}
.upload-zone strong{font-size:13px}
.upload-zone>span{font-size:12px}
.invoice-toggle small{font-size:11px}
.modal,.drawer{background:#fff}
.history-item{font-size:12px}
.history-item small{font-size:11px}
.detail-grid dt{font-size:11px}
.admin-footer,.public-footer{font-size:11px}
.nav-item,.button,.row-open{transition:background .16s,border-color .16s,box-shadow .16s}
@media(max-width:1150px){.sidebar .brand{width:168px}.brand-image{width:168px;height:101px}.brand-image img{width:234px;height:234px;left:-32px;top:-45px}}
@media(max-width:900px){.sidebar .brand{width:155px;margin-left:0;margin-right:0}.sidebar .brand-image{width:155px;height:93px}.sidebar .brand-image img{width:216px;height:216px;left:-29px;top:-41px}.sidebar .brand-sub{font-size:8px;letter-spacing:1px}.nav-item{font-size:12px}.stat>strong{font-size:26px}.stat>strong span{display:block;margin:5px 0 0}.public-intro{position:static}}
@media(max-width:650px){
  .sidebar{padding:10px 16px 0;border-right:0;border-bottom:1px solid var(--line);border-radius:0}
  .sidebar .brand{margin:0 0 12px;width:128px}
  .sidebar .brand-image{width:128px;height:75px}
  .sidebar .brand-image img{width:177px;height:177px;left:-24px;top:-34px}
  .sidebar .brand-sub{display:flex;font-size:7px;letter-spacing:.9px}
  .sidebar nav{overflow-x:auto;gap:5px;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#b9c5e9 transparent}
  .nav-item{flex:0 0 auto;padding:10px 12px;min-height:44px;white-space:nowrap}
  .nav-item span{font-size:12px}
  .nav-item b{display:block;font-size:11px}
  .nav-item.selected:before{top:auto;bottom:0;left:13px;right:13px;width:auto;height:2px}
  .page-heading p{font-size:13px}.page-heading h1{font-size:29px}
  .page-heading>.button{font-size:13px;min-height:44px}
  .stat>div{font-size:11px}.stat>strong{font-size:23px}.stat>small{font-size:10px}
  .panel-heading h2{font-size:16px}.panel-heading p{font-size:12px}.panel-heading .text-link{font-size:11px}
  .billing-banner strong{font-size:13px}.billing-banner p{font-size:12px}
  .filters select{font-size:12px;flex:1 1 120px}.filters input{font-size:16px}
  .notice{font-size:12px}.field{font-size:13px}
  .field input,.field select,.field textarea,.drawer .field input,.drawer .field select,.drawer .field textarea,.modal .field input,.modal .field select{font-size:16px;min-height:46px}
  .drawer .field-grid{grid-template-columns:1fr}
  .field small{font-size:11px}.form-actions>span{font-size:11px}.form-actions .button{font-size:12px;min-height:44px}
  .public-header{padding:12px 20px 18px}.public-header .brand-image{width:138px;height:82px}.public-header .brand-image img{width:192px;height:192px;left:-26px;top:-37px}
  .public-header .brand-sub{font-size:7px;letter-spacing:1px}.small-label{font-size:8px;max-width:95px;text-align:right;line-height:1.7}
  .public-intro>p{font-size:13px}.trip-chip{font-size:12px}.section-heading p{font-size:13px}
  .invoice-toggle strong{font-size:13px}.invoice-toggle small{font-size:11px}.public-footer{font-size:11px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.button:hover{transform:none}}

.heading-actions,.account-actions,.report-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.heading-actions{flex-shrink:0}.heading-actions .button{min-height:42px;font-size:12px}.collection-panel{margin:24px 0}.collection-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:14px;padding:0 24px 24px}.account-total{display:flex;flex-direction:column;gap:9px;padding:20px;border:1px solid var(--line);border-radius:10px;background:#f8faff;text-decoration:none;color:var(--ink)}.account-total small{font-size:12px;color:var(--muted)}.account-total>strong{font-size:25px;color:var(--brand)}.account-total>span{font-size:12px;color:var(--muted)}.account-total>strong span{font-size:13px;margin-left:8px;color:var(--ink);font-weight:500}.due-total{background:#fff8f7;border-color:#f0d9d7}.due-total>strong{color:#a62c32}.account-total .icon{width:14px;height:14px;vertical-align:middle}.collection-empty{margin:0;padding:0 24px 22px;color:var(--muted);font-size:13px}.compact-totals{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:18px 24px;background:#f8faff;border-bottom:1px solid var(--line);font-size:13px}.compact-totals>span{color:var(--muted);margin-right:auto}.compact-totals strong{color:var(--brand)}.compact-totals small{font-size:10px;color:var(--muted)}.account-progress{margin-top:24px}.account-progress>div{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:9px}.account-progress progress{width:100%;height:8px;accent-color:var(--brand);border:none;border-radius:10px;overflow:hidden}.account-progress progress::-webkit-progress-bar{background:#e7ebf6}.account-progress progress::-webkit-progress-value{background:var(--brand)}.account-actions{margin:20px 0}.account-actions .button{font-size:12px}.print-footnote{font-size:11px;color:var(--muted);line-height:1.6;margin:20px 0 0}.report-form{padding:0 24px 24px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.report-form .notice{margin:18px 0}.report-table{max-height:560px;overflow:auto}.report-table th{position:sticky;top:0;background:#f5f7fc;z-index:1}.report-table td{font-size:12px;max-width:260px;overflow-wrap:anywhere}.report-table th:first-child,.report-table td:first-child{display:none}.sidebar nav{max-height:calc(100dvh - 280px);overflow-y:auto}.sidebar-bottom{padding-top:15px}
@media(max-width:1000px){.collection-grid{grid-template-columns:1fr 1fr}.due-total{grid-column:1/-1}.page-heading{align-items:flex-start}.heading-actions{justify-content:flex-end}.report-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.collection-grid{padding:0 16px 16px;gap:10px}.account-total{padding:14px}.account-total>strong{font-size:21px}.account-total small,.account-total>span{font-size:11px}.heading-actions{width:100%;justify-content:flex-start}.heading-actions .button{flex:1}.report-grid{grid-template-columns:1fr}.report-form{padding:0 16px 18px}.report-actions>*{width:100%}.compact-totals{padding:16px;gap:10px}.compact-totals>span{width:100%}.account-actions>*{width:100%}.sidebar nav{max-height:none;overflow-y:visible}.collection-empty{padding:0 16px 16px}.account-progress>div{font-size:11px}}
@media print{body.printing-account{background:white!important;overflow:visible!important}body.printing-account #app,body.printing-account #toast,body.printing-account dialog:not(.print-target){display:none!important}body.printing-account dialog.print-target{position:static!important;display:block!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;color:#111!important}dialog.print-target::backdrop{background:transparent!important}.print-target .modal-close,.print-target .account-actions,.print-target #account-link,.print-target .account-payment{display:none!important}.print-target .table-scroll{overflow:visible!important}.print-target table{min-width:0!important;width:100%!important}.print-target td,.print-target th{font-size:9px!important;padding:8px 4px!important}.print-target tr{break-inside:avoid}.print-target .plan-summary{grid-template-columns:repeat(4,1fr)}.print-target .plan-summary strong{font-size:14px}.print-target .plan-summary>div{padding:8px}.print-target h3{margin-top:24px}.print-target .badge{font-size:9px!important;padding:3px!important}.print-target .print-footnote{display:block}}

.plan-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.plan-summary>div{background:var(--surface-soft);border:1px solid var(--line);padding:14px;border-radius:9px}.plan-summary small{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.plan-summary strong{font-size:18px;overflow-wrap:anywhere}.plan-rule{margin:18px 0}.plan-payments{display:grid;gap:8px}.plan-payment{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;text-align:left;font-size:12px}.plan-payment:hover{background:var(--brand-soft)}.plan-payment small{display:block;color:var(--muted);margin-top:5px}.plan-payment strong{white-space:nowrap}.schedule-head,.schedule-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center;margin:10px 0}.schedule-head{font-size:11px;color:var(--muted)}.schedule-row>b{text-align:center;font-size:12px;color:var(--brand)}.schedule-row input{width:100%;min-width:0;min-height:44px;border:1px solid #ccd5e5;border-radius:7px;padding:8px;color:var(--ink);background:#fff;font-size:13px}.schedule-row input:focus{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:650px){.schedule-row input{font-size:16px;padding:8px 5px}.schedule-head,.schedule-row{gap:6px;grid-template-columns:30px minmax(0,1.2fr) minmax(0,1fr)}.plan-payment{flex-wrap:wrap}.plan-summary strong{font-size:17px}}
