/* Export Muebles: warm, restrained interface. Screen only; customer PDFs unchanged. */
@media screen {
  :root {
    --calm-bg:#f6f3ee;--calm-paper:#fffefa;--calm-ink:#312c27;
    --calm-muted:#71685f;--calm-line:#e5ded4;--calm-accent:#6b5744;
    --panel:#fffefa;--line:#e5ded4;--ink:#312c27;--muted:#71685f;
  }
  body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;background:#f6f3ee}
  .portal-heading{margin-bottom:24px}
  .portal-heading h1,.view>.top h1{font-size:clamp(27px,3vw,35px);letter-spacing:-.035em;font-weight:650;line-height:1.15}
  .portal-heading p,.view>.top p{color:#71685f;font-size:14px;line-height:1.65;max-width:60ch}
  .portal-primary{position:relative;isolation:isolate;background:linear-gradient(115deg,#39312b,#584839);border:1px solid #584839;border-radius:22px;padding:32px;gap:28px;margin-bottom:24px;box-shadow:0 10px 25px rgba(65,48,31,.07)}
  .portal-primary .portal-eyebrow{color:#d9c1a0;letter-spacing:.2em;font-size:10px}
  .portal-primary h2{color:#fff9ef;font-size:clamp(23px,2.4vw,29px);letter-spacing:-.025em;font-weight:600;margin:12px 0}
  .portal-primary p{color:#e2d5c5;font-size:14px;line-height:1.65}
  .portal-primary button.primary{background:#f4e8d6;color:#3f3327;border:1px solid #f4e8d6;border-radius:12px;padding:15px 22px;font-size:14px;font-weight:650;min-height:50px;box-shadow:none}
  .portal-primary button.primary:hover{background:#fff7eb;border-color:#fff7eb}
  .portal-menu{gap:14px}
  .portal-entry{min-height:108px;padding:23px 22px;border-radius:18px;background:#fffefa;border-color:#e5ded4;box-shadow:0 2px 5px rgba(50,39,28,.025);transition:background-color .15s,border-color .15s}
  .portal-entry-copy{display:flex;align-items:center;gap:16px;min-width:0}
  .portal-entry-copy>span:last-child{min-width:0}
  .portal-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:13px;background:#f1ebe2;color:#806649}
  .portal-icon svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
  .portal-entry strong{font-size:17px;font-weight:600;letter-spacing:-.015em}
  .portal-entry small{font-size:13px;margin-top:5px;color:#71685f}
  .portal-entry>span:last-child{font-size:24px;color:#a9957b}
  .portal-entry:hover{background:#faf6ef;border-color:#cdbcaa;box-shadow:0 3px 10px rgba(65,48,31,.04)}
  .portal-subtle-actions{gap:10px;margin-top:22px}
  .portal-subtle-actions button{padding:10px 14px;border:1px solid #e2d8cb;border-radius:10px;color:#655444;background:transparent}
  .portal-subtle-actions button:hover{background:#eee6da}
  .portal-back{color:#786046;font-weight:550}
  .portal-list{border-radius:18px;padding:4px 20px;box-shadow:0 2px 6px rgba(50,39,28,.025)}
  .portal-list .easy-row{border-color:#eee7df;padding:19px 2px}
  .portal-list .easy-row strong{font-weight:600}
  .portal-list-tools input,.view input:not([type=checkbox]):not([type=radio]):not([type=file]),.view select,.view textarea,.erp-form-dialog input,.erp-form-dialog select{
    border:1px solid #dcd2c5;border-radius:11px;background:#fffefa;color:#312c27;box-shadow:inset 0 1px 2px rgba(45,35,25,.025)
  }
  .view input:focus-visible,.view select:focus-visible,.view textarea:focus-visible,.erp-form-dialog input:focus-visible,.erp-form-dialog select:focus-visible{outline:2px solid #96754e;outline-offset:2px;border-color:#96754e}
  .view button.primary:not(.portal-entry),#projectCenter button.primary,.erp-form-dialog button.primary{border-radius:11px;background:#6b5744;color:#fffefa;border-color:#6b5744;font-weight:600;box-shadow:0 2px 4px rgba(65,48,31,.06)}
  #inicio .portal-primary button.primary{background:#f4e8d6;color:#3f3327;border-color:#f4e8d6}
  .view button.secondary,#projectCenter button.secondary,.erp-form-dialog button.secondary{border-radius:11px;background:#f5efe6;color:#63503d;border-color:#dfd2c1;box-shadow:none}
  button:disabled{opacity:.55;cursor:not-allowed}
  .view .panel,.mobile-sale-card{border-radius:18px;border-color:#e5ded4;box-shadow:0 2px 8px rgba(53,41,29,.025)}
  .tablebox{border-radius:15px;border-color:#e5ded4}
  table thead th{background:#efe9e0;color:#695846;font-size:11px;letter-spacing:.04em;font-weight:650}
  table tbody td{border-color:#ece5dc}
  .view table tbody tr:hover{background:#faf7f1}
  #projectCenter .project-center-card{border-radius:22px;box-shadow:0 24px 70px rgba(33,25,18,.2)}
  #projectCenter .project-center-card>header{background:#f6f1e9;border-bottom:1px solid #e3d8ca}
  #projectCenter .project-center-card h2{letter-spacing:-.02em}
  #projectCenter .project-center-body{background:#fffefa}
  #projectPageNavigation{background:#fcf9f4}
  .portal-order-status span{background:#f1ebe2;color:#625442;border-color:#e0d5c6;font-weight:550}
  .portal-money{gap:18px;padding-bottom:24px}
  .portal-money strong{font-size:clamp(22px,3vw,30px);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
  .project-mobile-money strong,.project-finance-grid strong{font-variant-numeric:tabular-nums;letter-spacing:-.02em}
  .project-mobile-card{border-color:#e5ded4!important;border-radius:16px!important}
  .erp-form-dialog{background:#fffefa;border:1px solid #ddd1c0;border-radius:21px;padding:24px;box-shadow:0 24px 70px rgba(33,25,18,.22)}
  .erp-form-dialog::backdrop{background:rgba(39,32,25,.5)}
  .erp-form-dialog h2{letter-spacing:-.025em;font-weight:600}
  .erp-form-dialog label{font-size:13px;font-weight:550;color:#645647}
  .erp-form-dialog input,.erp-form-dialog select{min-height:46px;padding:12px}
  .unified-payment .payment-balance{background:#f1e9dd;border:1px solid #e4d5c1;padding:18px;border-radius:14px}
  .unified-payment .payment-balance span{font-size:12px;color:#695a47}.unified-payment .payment-balance strong{font-size:30px;letter-spacing:-.035em;font-weight:650}
  .app-utility{background:#f6f3ee;border-color:#e5ded4}
  .sidebar{background:#302923!important;color:#e8ddd0}
  .sidebar .nav{border-radius:11px!important;margin-bottom:5px;box-shadow:none}
  .sidebar .nav.active{background:#594937!important;border-color:#77634a!important;color:#fff9ed!important}
  .sidebar .nav:not(.active){color:#d1c4b5}
  .sidebar .nav-section-title{color:#b6a28b;letter-spacing:.17em}
  #easySync{border-top:1px solid #e5ded4;padding-top:18px;color:#71685f;font-size:12px}
}
@media screen and (max-width:760px){
  .portal-primary{flex-direction:column;align-items:stretch;padding:25px 22px;gap:22px;border-radius:18px}
  .portal-primary button.primary{width:100%;text-align:center}
  .portal-menu{grid-template-columns:minmax(0,1fr);gap:11px}
  .portal-entry{min-height:94px;padding:18px;border-radius:16px}
  .portal-icon{width:42px;height:42px;flex-basis:42px;border-radius:12px}
  .portal-entry-copy{gap:13px}.portal-entry strong{font-size:16px}.portal-entry small{font-size:12px}
  .portal-subtle-actions button{font-size:12px}
  .erp-form-dialog{padding:20px}
  html.platform-phone #projectCenter .project-center-card{border-radius:0}
}
@media(prefers-reduced-motion:reduce){.portal-entry{transition:none}}
