.order-view{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-areas:"overview overview" "content aside";gap:22px;align-items:start}
.order-content{grid-area:content;display:grid;gap:16px;min-width:0}
.order-section{min-width:0;overflow:hidden}
.order-section>summary{display:flex;align-items:center;gap:12px;padding:18px 21px;cursor:pointer;list-style:none;user-select:none}
.order-section>summary::-webkit-details-marker{display:none}
.order-section>summary>span:nth-child(2){min-width:0}
.order-section>summary strong{display:block;font-size:14px;letter-spacing:-.2px;font-weight:650}
.order-section>summary small{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.order-section>summary:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
.order-section-chevron{margin-left:auto;color:var(--muted);transition:transform .2s var(--ease)}
.order-section[open]>summary .order-section-chevron{transform:rotate(90deg)}
.order-section[open]>summary{border-bottom:1px solid var(--border)}
.order-section-body{padding:21px;min-width:0;animation:orderReveal .2s var(--ease)}
.order-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:22px;row-gap:20px;margin:0}
.order-field{min-width:0}
.order-field dt{font-size:10px;color:var(--muted);margin-bottom:5px}
.order-field dd{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:12px;font-weight:550;line-height:1.65;min-width:0}
.order-field dd>span{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.order-client-action{margin-top:20px}
.order-copy{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;background:var(--surface2);color:var(--muted);border:1px solid var(--border);border-radius:6px;opacity:.6}
.order-copy:hover,.order-copy:focus-visible{opacity:1;color:var(--accent)}
.order-documents{display:grid;gap:10px}
.order-document{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);min-width:0}
.order-document>div{min-width:0;flex:1}
.order-document strong{display:block;font-size:12px;font-weight:600}
.order-document small{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.order-document>.btn{flex-shrink:0;font-size:10px}
.order-service-heading{display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);padding-top:22px;margin-top:22px;margin-bottom:17px;color:var(--accent)}
.order-service-heading h3{color:var(--text);font-size:13px}
.order-service-detail{border:1px solid var(--border);border-radius:10px;margin-top:12px;padding:0 14px;background:var(--surface2)}
.order-service-detail>summary{display:flex;gap:10px;align-items:center;padding:13px 0;cursor:pointer;list-style:none;font-size:11px}
.order-service-detail>summary::-webkit-details-marker{display:none}
.order-service-detail>summary span{margin-left:auto;color:var(--muted);font-size:10px}
.order-service-detail>summary svg{color:var(--muted);transition:transform .2s}
.order-service-detail[open]>summary svg{transform:rotate(90deg)}
.order-service-detail>.order-fields{padding:4px 0 18px}
.order-addresses{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--border)}
.order-addresses h3{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:13px}
.order-addresses .order-fields{grid-template-columns:1fr 1fr;gap:17px}
.order-addresses+.order-fields{margin-bottom:18px}
.order-empty{padding:14px 0;color:var(--muted);font-size:12px}
.order-log{padding:0;margin:0;list-style:none;display:grid;gap:0}
.order-log li{display:flex;gap:12px;position:relative;padding-bottom:24px}
.order-log li:last-child{padding-bottom:0}
.order-log li:not(:last-child):before{content:"";position:absolute;left:14px;top:30px;bottom:0;width:1px;background:var(--border)}
.order-log-node{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--accent-soft);color:var(--accent);flex-shrink:0;z-index:1}
.order-log strong{font-size:12px;font-weight:600}
.order-log p{font-size:11px;color:var(--muted);line-height:1.7;margin:4px 0}
.order-log small{font-size:10px;color:var(--muted)}
.order-aside{grid-area:aside;display:grid;gap:16px;position:sticky;top:100px;min-width:0}
.order-summary{padding:23px}
.order-summary-kicker{font-size:9px;letter-spacing:1.2px;font-weight:650;color:var(--muted)}
.order-summary-id{font-size:20px;font-weight:650;letter-spacing:-.6px;overflow-wrap:anywhere;margin:8px 0 10px}
.order-summary h2{font-size:16px;margin:19px 0}
.order-summary-total{padding:17px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.order-summary-total>span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.order-summary-total>strong{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.3}
.order-summary>dl{margin:17px 0 19px;display:grid;gap:11px}
.order-summary>dl>div{display:flex;gap:12px;justify-content:space-between;font-size:11px}
.order-summary dt{color:var(--muted)}
.order-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.order-summary>.btn,.order-customer>.btn{width:100%}
.order-customer{padding:21px}
.order-customer h3{font-size:14px;margin:13px 0 5px}
.order-customer p{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:4px}
.order-customer>.btn{margin-top:18px}
@keyframes orderReveal{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1200px){.order-view{grid-template-columns:minmax(0,1fr) 245px;gap:17px}.order-fields{grid-template-columns:1fr 1fr;gap:18px}.order-summary{padding:19px}.order-addresses{grid-template-columns:1fr}}
@media(max-width:1050px){.order-view{grid-template-columns:1fr}.order-aside{position:static;grid-row:1;grid-template-columns:1.25fr 1fr}.order-summary>dl{grid-template-columns:1fr 1fr;column-gap:25px}.order-summary>.btn{width:auto}.order-summary h2{margin:14px 0}.order-summary-total{padding:13px 0}}
@media(max-width:600px){.order-aside{grid-template-columns:1fr}.order-customer{display:none}.order-section>summary{padding:16px}.order-section-body{padding:17px}.order-fields{gap:17px;column-gap:15px}.order-field dt{font-size:10px}.order-field dd{font-size:12px}.order-document{padding:12px 10px;gap:8px;flex-wrap:wrap}.order-document>.btn{margin-left:43px}.order-service-detail>summary{flex-wrap:wrap}.order-service-detail>summary span{margin-left:0}.order-service-detail>summary svg{margin-left:auto}.order-service-detail>.order-fields{grid-template-columns:1fr}.order-summary>dl{grid-template-columns:1fr}.order-addresses{gap:24px}.order-summary-total>strong{font-size:29px}.order-copy{min-width:28px;min-height:28px}}
@media(max-width:360px){.order-fields,.order-addresses .order-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.order-section-body,.order-section-chevron,.order-service-detail>summary svg{animation:none;transition:none}}
.order-view{gap:16px}.order-content{gap:12px}.order-section>summary{padding:14px 16px;min-height:52px}.order-section>summary small{font-size:12px}.order-section-body{padding:16px}.order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.order-field dt{font-size:12px;margin-bottom:6px}.order-field dd{font-size:13px;line-height:1.5}.order-copy{width:28px;height:28px;opacity:1}.order-aside{top:84px;gap:12px}.order-summary,.order-customer{padding:16px}.order-summary-kicker{font-size:12px;letter-spacing:.6px}.order-summary-id{font-size:20px;margin-top:6px}.order-summary h2{margin:14px 0 8px}.order-summary-client{font-size:13px;color:var(--muted);margin:8px 0 12px;overflow-wrap:anywhere}.order-summary-services{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-block:1px solid var(--border);font-size:12px;color:var(--muted)}.order-summary-services strong{font-size:24px;line-height:1.2;color:var(--text)}.order-next-step{font-size:13px;line-height:1.5;padding:12px 0 0}.order-summary>dl>div{font-size:12px}.order-document strong,.order-service-detail>summary{font-size:13px}.order-document small,.order-service-detail>summary span{font-size:12px}.order-service-heading{padding-top:16px;margin-top:16px;margin-bottom:12px}.order-customer p,.order-log p{font-size:13px}.order-log small{font-size:12px}.order-section-body .table-scroll{margin:0}.order-mobile-table .btn{white-space:normal}
@media(max-width:600px){.order-fields,.order-addresses .order-fields{grid-template-columns:1fr}.order-mobile-table,.order-mobile-table tbody,.order-mobile-table tr,.order-mobile-table td{display:block;width:100%;min-width:0}.order-mobile-table thead{display:none}.order-mobile-table tr{padding:12px;border:1px solid var(--border);border-radius:10px;margin-bottom:12px}.order-mobile-table td{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;padding:7px 0;border:0;white-space:normal;overflow-wrap:anywhere}.order-mobile-table td[data-label]:before{content:attr(data-label);font-size:12px;color:var(--muted)}.order-mobile-table td:last-child{display:block;padding-top:10px}.order-mobile-table td:last-child .btn{width:100%;min-height:44px}.order-section-body>.table-scroll:has(.order-mobile-table){overflow:visible}.order-copy{width:44px;height:44px}.order-document>.btn{min-height:44px;margin-left:0}.order-addresses{gap:16px}.order-document{gap:10px}.order-document>.btn{width:100%}}
.order-edit-form{display:grid;gap:12px;min-width:0;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.order-edit-form .form-field{min-width:0}.order-edit-form input,.order-edit-form select,.order-edit-form textarea{width:100%;min-height:40px;font:inherit;font-size:13px;max-width:100%}.order-edit-form textarea{min-height:80px;padding:10px 12px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;line-height:1.5;resize:vertical}.order-edit-form textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.order-edit-form h3{font-size:16px}.order-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-form-actions>span{font-size:12px;color:var(--muted);line-height:1.5}.order-form-actions>.btn{min-height:44px;flex-shrink:0}.order-summary .order-form-actions{align-items:stretch;flex-direction:column}.order-service-detail>.order-edit-form{padding-bottom:16px}
@media(max-width:600px){.order-edit-form .form-grid{grid-template-columns:1fr}.order-edit-form input,.order-edit-form select,.order-edit-form textarea{min-height:44px;font-size:16px}.order-form-actions{align-items:stretch;flex-direction:column}.order-form-actions>.btn{width:100%}}

.order-view{gap:22px}
.order-overview{grid-area:overview;min-width:0;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:0 4px 8px #15213b03,0 24px 64px #15213b09;overflow:hidden}
.order-overview-header{position:relative;isolation:isolate;display:flex;align-items:center;gap:18px;padding:28px;overflow:hidden;background:radial-gradient(ellipse at 92% 10%,#ff973514,transparent 60%),linear-gradient(115deg,var(--accent-soft),var(--surface) 72%)}
.order-overview-header:after{content:"";position:absolute;z-index:-1;right:-28px;top:-110px;width:320px;height:320px;border:1px solid color-mix(in srgb,var(--accent) 13%,transparent);border-radius:50%;box-shadow:0 0 0 30px color-mix(in srgb,var(--accent) 3%,transparent),0 0 0 65px color-mix(in srgb,var(--accent) 2%,transparent);pointer-events:none;animation:orderAura 8s ease-in-out infinite alternate}
.order-overview-icon{display:grid;place-items:center;flex-shrink:0;width:60px;height:66px;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:18px;color:var(--accent);background:linear-gradient(145deg,var(--surface),var(--accent-soft));box-shadow:0 9px 20px #7951e812,inset 0 1px 0 #ffffff30;transform:rotate(-5deg)}
.order-overview-identity{flex:1;min-width:0}
.order-overview-kicker{display:block;color:var(--accent);font-size:10px;font-weight:650;letter-spacing:1.2px;overflow-wrap:anywhere;margin-bottom:7px}
.order-overview-identity h2{font-size:27px;line-height:1.3;letter-spacing:-.7px;overflow-wrap:anywhere}
.order-overview-identity p{color:var(--muted);font-size:13px;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}
.order-overview-header>.badge{flex-shrink:0;border-radius:100px;padding:8px 13px;font-size:12px}
.order-overview-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:22px 28px;border-top:1px solid var(--border)}
.order-overview-facts>div{display:flex;align-items:center;gap:12px;min-width:0;padding:2px 22px;border-left:1px solid var(--border)}
.order-overview-facts>div:first-child{padding-left:0;border-left:0}.order-overview-facts>div:last-child{padding-right:0}.order-overview-facts>div>div{min-width:0}
.order-overview-facts>div>span{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;color:var(--accent);background:var(--accent-soft)}
.order-overview-facts dt{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:3px}.order-overview-facts dd{margin:0;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.order-content{gap:18px}.order-aside{grid-area:aside;gap:18px}
.order-section.card,.order-summary.card,.order-customer.card{border-radius:20px;box-shadow:0 5px 10px #17244003,0 18px 36px #17244006}
.order-section>summary{padding:19px 22px;min-height:72px;gap:13px;background:var(--surface);transition:background .18s}
.order-section>summary:hover{background:var(--surface2)}
.order-section>summary>.icon-tile{width:39px;height:39px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}
.order-section>summary strong{font-size:15px;line-height:1.45}.order-section>summary small{font-size:12px;line-height:1.5;margin-top:3px}
.order-section-chevron{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:var(--surface2)}
.order-section[open]>summary{background:linear-gradient(110deg,color-mix(in srgb,var(--accent-soft) 45%,transparent),var(--surface) 70%)}
.order-section-body{padding:24px}.order-fields{gap:20px 24px}
.order-field dt{font-size:12px;margin-bottom:7px}.order-field dd{font-size:13px;line-height:1.65;align-items:center}
.order-field dd>span{flex:1}.order-copy{width:30px;height:30px;border-radius:8px;transition:color .18s,background .18s}
.order-document{padding:16px;border-radius:14px;background:var(--surface)}.order-document strong{font-size:13px}.order-document small{margin-top:4px;line-height:1.5}.order-document>.btn{font-size:12px;min-height:40px}
.order-service-detail{padding:0 16px;border-radius:14px;background:var(--surface2)}.order-service-detail>summary{padding:16px 0;font-weight:550;line-height:1.5}.order-service-detail>summary span{font-weight:400}.order-service-detail>.order-fields{padding:8px 0 20px}
.order-addresses{gap:24px;padding-bottom:24px;margin-bottom:24px}.order-addresses h3{font-size:14px;margin-bottom:18px}.order-addresses h3>svg{color:var(--accent)}
.order-empty{padding:16px 18px;border:1px dashed var(--border);border-radius:12px;background:var(--surface2);font-size:12px;line-height:1.7}
.order-summary,.order-customer{padding:22px}.order-summary{background:linear-gradient(155deg,color-mix(in srgb,var(--accent-soft) 30%,var(--surface)),var(--surface) 60%)}
.order-summary-kicker{font-size:10px;letter-spacing:1.2px;color:var(--accent)}.order-summary-id{font-size:20px;margin-top:8px;line-height:1.4}
.order-summary h2{font-size:17px;line-height:1.5;margin-top:20px}.order-summary-services{margin-top:16px;padding:16px 0;gap:16px}.order-summary-services strong{color:var(--accent);font-size:26px}.order-summary>dl{gap:14px;margin-block:20px}
.order-next-step{padding:14px;margin-top:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:12px;line-height:1.7}
.order-summary>.btn,.order-customer>.btn{min-height:42px;font-size:12px}.order-customer>.icon-tile{width:42px;height:42px;border-radius:13px}.order-customer h3{font-size:16px;line-height:1.4}
.order-log-node{width:34px;height:34px;border-radius:11px}.order-log li:not(:last-child):before{left:16px;top:35px}.order-log strong{font-size:13px;line-height:1.5}.order-log small{font-size:11px}
.order-edit-form{padding-top:20px;margin-top:20px;gap:16px}.order-edit-form h3{font-size:16px;line-height:1.5}.order-edit-form .form-field>span{font-size:12px;line-height:1.5;color:var(--muted)}
.order-edit-form input,.order-edit-form select,.order-edit-form textarea{border-radius:11px;min-height:44px}.order-edit-form textarea{padding:12px 14px}.order-form-actions{gap:14px;padding-top:4px}.order-form-actions>span{font-size:11px;line-height:1.6}
@keyframes orderAura{to{transform:translate(-12px,12px) scale(1.04)}}
@media(max-width:1200px){.order-view{gap:18px}.order-section-body{padding:20px}.order-summary,.order-customer{padding:18px}.order-overview-facts>div{padding-inline:16px;gap:10px}.order-overview-facts dd{font-size:13px}}
@media(max-width:1050px){.order-view{grid-template-areas:"overview" "aside" "content"}.order-aside{grid-area:aside;position:static;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}.order-overview-header{padding:24px}.order-overview-facts{padding:20px 24px}.order-overview-identity h2{font-size:25px}}
@media(max-width:600px){.order-view{gap:16px}.order-overview{border-radius:20px}.order-overview-header{gap:12px;padding:22px 18px;flex-wrap:wrap}.order-overview-icon{width:44px;height:50px;border-radius:14px}.order-overview-icon>svg{width:22px;height:22px}.order-overview-identity{flex-basis:calc(100% - 60px)}.order-overview-identity h2{font-size:23px;letter-spacing:-.5px}.order-overview-kicker{font-size:9px;letter-spacing:.6px}.order-overview-header>.badge{margin-left:56px;font-size:11px;padding:6px 10px}.order-overview-facts{padding:18px;grid-template-columns:1fr;gap:16px}.order-overview-facts>div{border-left:0;border-bottom:1px solid var(--border);padding:0 0 14px;gap:12px}.order-overview-facts>div:first-child{padding-bottom:14px}.order-overview-facts>div:last-child{padding-bottom:0;border-bottom:0}.order-overview-facts>div>span{width:33px;height:33px;border-radius:10px}.order-overview-facts>div>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1}.order-overview-facts dt{margin:0;font-size:12px;flex:1}.order-overview-facts dd{font-size:12px;max-width:60%;text-align:right}.order-aside{grid-template-columns:1fr;gap:14px}.order-customer{display:block}.order-section.card,.order-summary.card,.order-customer.card{border-radius:17px}.order-content{gap:14px}.order-section>summary{padding:16px;gap:11px;min-height:68px}.order-section>summary>.icon-tile{width:35px;height:35px;border-radius:11px}.order-section>summary strong{font-size:14px}.order-section-body{padding:18px}.order-fields{grid-template-columns:1fr;gap:18px}.order-copy{width:44px;height:44px}.order-document{padding:14px}.order-document>.btn{min-height:44px}.order-service-detail{padding:0 14px}.order-summary,.order-customer{padding:20px}.order-summary>dl{grid-template-columns:1fr}.order-summary>.btn,.order-customer>.btn{width:100%;min-height:44px}.order-edit-form input,.order-edit-form select,.order-edit-form textarea{font-size:16px}.order-customer>.btn{margin-top:14px}.order-overview-identity p{font-size:12px}}
@media(pointer:coarse){.order-copy{width:44px;height:44px}.order-document>.btn{min-height:44px}.order-edit-form input,.order-edit-form select,.order-edit-form textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.order-overview-header:after{animation:none}.order-section>summary,.order-copy{transition:none}}
.order-form-error{margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--red) 25%,var(--border));border-radius:10px;background:var(--red-bg);color:var(--red);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.order-form-error:empty,.order-form-error[hidden]{display:none!important}
.order-signature-form{display:grid;gap:16px;min-width:0;max-width:100%}
.order-signature-form .form-field{display:grid;gap:7px;min-width:0;margin:0}
.order-signature-form .form-field>span{font-size:12px;color:var(--muted);line-height:1.5}
.order-signature-form input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);color:var(--text);font-size:14px;line-height:1.5}
.order-signature-form .order-form-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.order-signature-form .order-form-actions>.btn{flex:0 0 auto;width:auto;max-width:100%;min-height:34px;padding:7px 12px;font-size:11px;white-space:normal}
.order-signature-form [hidden]{display:none!important}
.order-signature-form .form-field>small,.order-signature-form>p{color:var(--muted);font-size:11px;line-height:1.6}
.order-signature-form>p.order-form-error{color:var(--red)}
#modal:has(.order-signature-form) .dialog-content .order-signature-form .dialog-footer{position:static;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:2px 0 0;margin-inline:0;margin-bottom:0;padding:14px 0 0;padding-inline:0;bottom:0;border-top:1px solid var(--border)}
.order-signature-form .dialog-footer>.btn{flex:0 0 auto;width:auto;max-width:100%;min-height:34px;padding:7px 12px;font-size:11px;white-space:normal}
.order-contract-services>h3{font-size:14px;line-height:1.5;padding-top:14px;margin-bottom:12px}
.order-contract-preview>p{color:var(--muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.order-sms-preview{min-width:0;margin:0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);color:var(--text);font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.order-sms-preview strong{font-size:12px;font-weight:600}
.order-sms-preview a{color:var(--accent);overflow-wrap:anywhere}
.order-contract-preview{display:grid;gap:18px;min-width:0;max-width:100%}
.order-contract-preview :is(h1,h2){font-size:23px;line-height:1.3;letter-spacing:-.5px;overflow-wrap:anywhere}
.order-contract-preview .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.order-contract-preview .order-field dt{font-size:11px;margin-bottom:4px}
.order-contract-preview .order-field dd{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.order-contract-services{list-style:none;display:grid;gap:0;min-width:0;margin:0;padding:0;border-top:1px solid var(--border)}
.order-contract-services>li{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:5px 16px;min-width:0;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.order-contract-services strong{font-size:12px;font-weight:600}
.order-contract-services :is(span,small,p){color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px),(pointer:coarse){.order-signature-actions>.btn,.order-signature-sms>.btn,.order-signature-form .order-form-actions>.btn,.order-signature-form .dialog-footer>.btn,.order-view[data-order-root] .order-document>.btn{min-height:40px;padding:9px 12px;font-size:12px}
.order-signature-form input{font-size:16px}}
@media(max-width:420px){.order-contract-preview .order-fields{grid-template-columns:minmax(0,1fr)}
.order-signature-form .order-form-actions{justify-content:space-between}
.order-signature-form .order-form-actions>.btn{flex:1;min-width:0}
.order-contract-preview :is(h1,h2){font-size:21px}}
.order-view[data-order-root] .badge.order-status-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface2);color:var(--muted);font-size:10px;font-weight:600;line-height:1.35;white-space:normal;vertical-align:middle}
.order-view[data-order-root] .order-status-badge>svg{width:14px;height:14px;flex-shrink:0}
.order-view[data-order-root] .order-status-label{min-width:0;overflow-wrap:anywhere}
.order-view[data-order-root] .order-status-badge[data-order-status="Pendiente"]{background:#f0f2f6;color:#536074;border-color:#dce1e9}
.order-view[data-order-root] .order-status-badge:is([data-order-status="Pendiente de firmar"],[data-order-status="Pendiente de firma"],[data-order-status="Incidencia"]){background:#fff8dc;color:#896900;border-color:#eee1a7}
.order-view[data-order-root] .order-status-badge[data-order-status="Pendiente de procesar"]{background:#eef2f9;color:#526d94;border-color:#d6dfed}
.order-view[data-order-root] .order-status-badge:is([data-order-status="Procesando"],[data-order-status="Enviado"]){background:#edf4ff;color:#3264aa;border-color:#cddff7}
.order-view[data-order-root] .order-status-badge:is([data-order-status="Completado"],[data-order-status="Activa"],[data-order-status="Activo"],[data-payment="Pagado"]){background:var(--green-bg);color:var(--green);border-color:color-mix(in srgb,var(--green) 20%,var(--border))}
.order-view[data-order-root] .order-status-badge:is([data-order-status="Cancelado"],[data-payment="No pagado"]){background:var(--red-bg);color:var(--red);border-color:color-mix(in srgb,var(--red) 20%,var(--border))}
html[data-theme=dark] .order-view[data-order-root] .order-status-badge[data-order-status="Pendiente"]{background:#252e3f;color:#c3cddd;border-color:#3a475d}
html[data-theme=dark] .order-view[data-order-root] .order-status-badge:is([data-order-status="Pendiente de firmar"],[data-order-status="Pendiente de firma"],[data-order-status="Incidencia"]){background:#37301d;color:#e6cf83;border-color:#5e5130}
html[data-theme=dark] .order-view[data-order-root] .order-status-badge[data-order-status="Pendiente de procesar"]{background:#242f44;color:#b0c3e2;border-color:#3a4b69}
html[data-theme=dark] .order-view[data-order-root] .order-status-badge:is([data-order-status="Procesando"],[data-order-status="Enviado"]){background:#1e304c;color:#a4c7f6;border-color:#354e73}
.order-view[data-order-root] .badge.order-status-badge:before{display:none;content:none}
.order-header-contract .order-form-error{margin-top:8px}

.order-view[data-order-root]{display:flex;flex-direction:column;align-items:stretch;gap:18px;min-width:0;container-type:inline-size;container-name:order-detail}.order-view[data-order-root]>*{min-width:0;width:100%}.order-view[data-order-root] .order-overview{min-width:0;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:none;overflow:hidden}
.order-view[data-order-root] .order-overview-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;padding:20px;background:var(--surface);overflow:visible}.order-view[data-order-root] .order-overview-header:after,.order-view[data-order-root] .order-overview-icon{display:none;animation:none}.order-view[data-order-root] .order-overview-identity{min-width:0}.order-view[data-order-root] .order-overview-identity :is(h1,h2){color:var(--text);font-size:25px;font-weight:700;line-height:1.25;letter-spacing:-.6px;overflow-wrap:anywhere}.order-overview-subline{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;min-width:0;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.order-overview-subline>span{min-width:0}.order-view[data-order-root] .order-client-link{min-height:30px;padding:4px 8px;margin:0;border:0;border-radius:6px;background:transparent;color:var(--accent);font-size:12px;line-height:1.5;white-space:nowrap}.order-view[data-order-root] .order-client-link:hover{background:var(--accent-soft)}.order-overview-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px;min-width:0;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.6}.order-overview-meta>span{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}.order-overview-meta svg{width:13px;height:13px;flex-shrink:0}.order-overview-total{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:0;font-variant-numeric:tabular-nums}.order-overview-total>span{font-size:11px;color:var(--muted);line-height:1.6}.order-overview-total>strong{font-size:27px;font-weight:650;letter-spacing:-.7px;line-height:1.25;color:var(--text);overflow-wrap:anywhere}
.order-view[data-order-root] .order-control-bar{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:20px;padding:16px 20px;border-top:1px solid var(--border);background:var(--surface)}.order-view[data-order-root] .order-control-bar :is(.order-state-control,.order-payment-control){display:flex;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:8px;min-width:0;max-width:none;width:100%;margin:0;padding:0;border:0}.order-view[data-order-root] .order-control-heading{display:flex;align-items:center;gap:6px;flex-basis:100%;margin:0;color:var(--text);font-size:12px;font-weight:650;line-height:1.5}.order-view[data-order-root] .order-control-heading strong{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.5}.order-view[data-order-root] .order-control-heading strong>svg{color:var(--muted);flex-shrink:0;width:14px;height:14px}.order-view[data-order-root] .order-control-bar .form-field{flex:1 1 100%;width:100%;max-width:100%;margin:0;min-width:0}.order-control-bar .form-field>span:not(.search-select){position:absolute;display:block;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.order-control-bar .form-field>.search-select{display:grid;position:relative;width:100%;height:auto;min-width:0;padding:0;margin:0;clip-path:none;overflow:visible;white-space:normal}.order-view[data-order-root] .order-control-bar .order-edit-form :is(input,select),.order-view[data-order-root] .order-control-bar .search-select>.search-select-input{width:100%;height:38px;min-height:38px;padding:8px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:13px;line-height:1.5}.order-view[data-order-root] .order-control-bar .search-select>.search-select-input{padding-right:33px}.order-view[data-order-root] .order-control-bar .search-select:after{top:15px}
.order-view[data-order-root] .order-status-steps,.order-view[data-order-root] .order-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;flex:0 1 auto}.order-view[data-order-root] .order-status-steps>.btn,.order-view[data-order-root] .order-quick-actions>.btn{flex:0 1 auto;width:auto;min-width:0;max-width:100%;min-height:34px;padding:7px 9px;font-size:11px;line-height:1.4;white-space:normal}.order-view[data-order-root] .order-status-steps [data-order-step=previous]{flex:0 0 34px;width:34px;padding:0;justify-content:center}.order-status-steps [data-order-step=previous]>svg{transform:rotate(180deg)}.order-view[data-order-root] .order-quick-actions>.btn.danger{background:transparent;border-color:transparent;color:var(--red)}.order-view[data-order-root] .order-quick-actions>.btn.danger:hover{background:var(--red-bg)}.order-quick-actions:empty{display:none}
.order-view[data-order-root] .order-header-contract{min-width:0;padding:0;border:0}.order-header-contract .order-signature-sms{display:grid;gap:8px;margin:0;padding:0;border:0}.order-header-contract .order-signature-label{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;min-width:0}.order-header-contract .order-signature-label>strong{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;line-height:1.5}.order-header-contract .order-signature-label>strong>svg{color:var(--muted);flex-shrink:0;width:14px;height:14px}.order-header-contract .order-signature-label>span{color:var(--muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.order-header-contract .order-signature-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.order-header-contract .order-signature-actions>.btn{flex:0 1 auto;width:auto;max-width:100%;min-width:0;min-height:34px;padding:7px 9px;font-size:11px;line-height:1.5;white-space:normal}.order-signature-note{margin-top:7px;color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.order-header-contract .order-form-error{margin-top:8px}
.order-view[data-order-root] .order-workspace{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;min-width:0}.order-workspace-main,.order-workspace-side{display:grid;align-content:start;gap:18px;min-width:0}.order-workspace-secondary{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;min-width:0}.order-view[data-order-root] .order-content{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}.order-view[data-order-root] .order-section.card{min-width:0;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:none;overflow:hidden}.order-view[data-order-root] .order-section-title,.order-view[data-order-root] .order-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:15px 18px;background:var(--surface);border:0;box-shadow:none}.order-view[data-order-root] .order-section-title{border-bottom:1px solid var(--border)}.order-view[data-order-root] .order-section-title>div,.order-view[data-order-root] .order-section-title>span{min-width:0}.order-view[data-order-root] .order-section-title>span{font-size:12px;color:var(--muted);line-height:1.5;text-align:right}.order-view[data-order-root] .order-section-title :is(h2,h3),.order-view[data-order-root] .order-section>summary strong{font-size:15px;font-weight:650;line-height:1.4;letter-spacing:-.15px;overflow-wrap:anywhere}.order-view[data-order-root] .order-section-title :is(p,small),.order-view[data-order-root] .order-section>summary small{font-size:12px;color:var(--muted);line-height:1.5;margin:3px 0 0;overflow-wrap:anywhere}.order-view[data-order-root] .order-section>summary:hover{background:var(--surface2)}.order-view[data-order-root] .order-section[open]>summary{border-bottom:1px solid var(--border);background:var(--surface)}.order-view[data-order-root] .order-section-chevron{background:transparent;width:20px;height:20px}.order-view[data-order-root] .order-section-body{padding:17px 18px;min-width:0;animation:none}.order-view[data-order-root] details[open]>.order-section-body{animation:orderReveal .18s var(--ease)}
.order-view[data-order-root] .order-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;margin:0;min-width:0}.order-view[data-order-root] .order-field{min-width:0;padding:0;background:transparent;border:0;border-radius:0}.order-view[data-order-root] .order-field dt{margin:0 0 4px;color:var(--muted);font-size:12px;line-height:1.5}.order-view[data-order-root] .order-field dd{display:flex;align-items:flex-start;gap:6px;min-width:0;margin:0;font-size:13px;font-weight:500;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.order-view[data-order-root] .order-field dd>span{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.order-view[data-order-root] .order-copy{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;min-width:30px;min-height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);opacity:1}.order-view[data-order-root] .order-copy:hover{background:var(--accent-soft);color:var(--accent)}.order-view[data-order-root] .order-workspace-side .order-fields{grid-template-columns:minmax(0,1fr);gap:12px}.order-view[data-order-root] .order-workspace-side .order-field{display:grid;grid-template-columns:minmax(80px,.75fr) minmax(0,1fr);gap:8px;align-items:start}.order-view[data-order-root] .order-workspace-side .order-field dt{margin:0}.order-view[data-order-root] .order-workspace-side .order-field:has(.order-copy){grid-template-columns:minmax(0,1fr);gap:3px}.order-view[data-order-root] .order-workspace-side .order-field dd{font-size:12px}.order-view[data-order-root] .order-workspace-side .order-section-title{padding:15px 16px}.order-view[data-order-root] .order-workspace-side .order-section-body{padding:16px}.order-view[data-order-root] .order-client-action{margin-top:13px}.order-view[data-order-root] .order-client-action>.btn{min-height:34px;padding:7px 10px;font-size:12px}
.order-view[data-order-root] .order-service-detail{margin:0;padding:16px 0;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;min-width:0}.order-view[data-order-root] .order-service-detail:first-child{padding-top:0;border-top:0}.order-view[data-order-root] .order-service-detail:last-child{padding-bottom:0}.order-view[data-order-root] .order-service-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-width:0;padding:0;margin:0}.order-view[data-order-root] .order-service-main{display:flex;align-items:flex-start;gap:8px;min-width:0;flex:1 1 180px}.order-view[data-order-root] .order-service-main>svg{flex-shrink:0;width:16px;height:16px;margin-top:3px;color:var(--accent)}.order-view[data-order-root] .order-service-main>span{display:grid;gap:2px;min-width:0}.order-view[data-order-root] .order-service-main strong{font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.order-view[data-order-root] .order-service-main small{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.order-view[data-order-root] .order-service-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0;color:var(--muted);font-size:11px;line-height:1.5}.order-view[data-order-root] .order-service-meta>span{display:inline-flex;align-items:center;gap:4px;min-width:0;overflow-wrap:anywhere}.order-view[data-order-root] .order-service-meta svg{width:14px;height:14px;flex-shrink:0}.order-view[data-order-root] .order-service-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;margin-left:auto}.order-view[data-order-root] .order-service-actions>.btn{min-height:34px;max-width:100%;padding:7px 9px;font-size:11px;line-height:1.4;white-space:normal}.order-view[data-order-root] .order-line-body{display:grid;gap:14px;min-width:0;padding-top:14px}.order-view[data-order-root] .order-line-body>.order-fields{padding:0}.order-view[data-order-root] .order-service-row+.order-fields{padding:14px 0 0}.order-view[data-order-root] .order-service-heading{display:flex;align-items:center;gap:8px;margin:18px 0 14px;padding:0;border:0;font-size:14px;color:var(--text)}.order-view[data-order-root] .order-service-heading h3{font-size:14px}
.order-view[data-order-root] .order-edit-form:not(.order-state-control):not(.order-payment-control){display:grid;gap:12px;min-width:0;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.order-view[data-order-root] .order-edit-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.order-view[data-order-root] .order-edit-form .form-field{min-width:0}.order-view[data-order-root] .order-edit-form .form-field>span{font-size:12px;line-height:1.5;color:var(--muted)}.order-view[data-order-root] .order-edit-form :is(input,select,textarea){width:100%;min-width:0;max-width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:13px}.order-view[data-order-root] .order-edit-form .search-select>.search-select-input{height:40px;min-height:40px;padding-right:35px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:13px}.order-view[data-order-root] .order-edit-form .search-select:after{top:16px}.order-view[data-order-root] .order-edit-form :is(input,textarea)[readonly]{background:var(--surface2);color:var(--muted)}.order-view[data-order-root] .order-edit-form.order-iccid-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0;padding:0;border:0}.order-view[data-order-root] .order-iccid-form .form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px}.order-view[data-order-root] .order-iccid-form .form-field{display:grid;gap:5px;margin:0}.order-view[data-order-root] .order-iccid-form input{font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.15px;padding:9px 10px}.order-view[data-order-root] .order-iccid-form .order-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0;margin:0}.order-view[data-order-root] .order-form-actions>.btn{min-height:40px;font-size:12px;white-space:normal}.order-view[data-order-root] .order-iccid-form>.order-form-error{grid-column:1/-1}.order-view[data-order-root] .order-iccid-lock{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px;line-height:1.6}.order-view[data-order-root] .order-iccid-form .order-form-actions>span{display:block;min-width:0;font-size:11px;line-height:1.5;color:var(--muted)}
.order-view[data-order-root] .order-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--border)}.order-view[data-order-root] .order-addresses>div{min-width:0}.order-view[data-order-root] .order-addresses h3{font-size:14px;line-height:1.5;margin-bottom:14px}.order-view[data-order-root] .order-addresses .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-view[data-order-root] .order-empty{padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;line-height:1.6}.order-view[data-order-root] .order-documents{display:grid;gap:10px;min-width:0}.order-view[data-order-root] .order-document{padding:12px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.order-view[data-order-root] .order-document>.btn{min-height:34px;font-size:12px}
@container order-detail (max-width:1049px){.order-view[data-order-root] .order-workspace{grid-template-columns:minmax(0,1fr)}.order-workspace-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.order-view[data-order-root] .order-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container order-detail (max-width:760px){.order-view[data-order-root] .order-control-bar{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:15px 20px}.order-view[data-order-root] .order-header-contract{grid-column:1/-1;padding-top:13px;border-top:1px solid var(--border)}.order-header-contract .order-signature-sms{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px}.order-header-contract .order-signature-actions{justify-content:flex-end}.order-workspace-side,.order-workspace-secondary{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-addresses{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-iccid-form{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-edit-form.order-iccid-form{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-iccid-form .order-form-actions{justify-content:flex-end;flex-direction:row;align-items:center;flex-wrap:wrap}}
@container order-detail (max-width:520px){.order-view[data-order-root] .order-overview-header{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.order-view[data-order-root] .order-overview-identity :is(h1,h2){font-size:23px}.order-overview-total{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.order-overview-total>strong{font-size:25px}.order-view[data-order-root] .order-control-bar{grid-template-columns:minmax(0,1fr);gap:15px;padding:15px 16px}.order-view[data-order-root] .order-header-contract{grid-column:auto;padding-top:0;border:0}.order-header-contract .order-signature-sms{grid-template-columns:minmax(0,1fr);gap:8px}.order-header-contract .order-signature-actions{justify-content:flex-start}.order-view[data-order-root] .order-section-title,.order-view[data-order-root] .order-section>summary{padding:14px 15px}.order-view[data-order-root] .order-section-body{padding:15px}.order-view[data-order-root] .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.order-view[data-order-root] .order-field dt{font-size:11px}.order-view[data-order-root] .order-field dd{font-size:12px}.order-view[data-order-root] .order-service-row{gap:9px 12px}.order-view[data-order-root] .order-service-main{flex-basis:100%}.order-view[data-order-root] .order-service-actions{margin-left:0}.order-view[data-order-root] .order-edit-form .form-grid,.order-view[data-order-root] .order-iccid-form .form-grid{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-iccid-form .order-form-actions>.btn{width:auto}.order-view[data-order-root] .order-workspace-side .order-field{grid-template-columns:minmax(85px,.7fr) minmax(0,1fr)}.order-view[data-order-root] .order-workspace-side .order-field dt{font-size:12px}}
@container order-detail (max-width:300px){.order-view[data-order-root] .order-fields,.order-view[data-order-root] .order-addresses .order-fields{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-workspace-side .order-field{grid-template-columns:minmax(0,1fr);gap:3px}.order-view[data-order-root] .order-overview-header{padding:14px}.order-view[data-order-root] .order-control-bar{padding:14px}}
@media(max-width:600px),(pointer:coarse){.order-view[data-order-root] .order-edit-form :is(input,select,textarea),.order-view[data-order-root] .order-edit-form .search-select>.search-select-input{min-height:44px;font-size:16px}.order-view[data-order-root] .order-control-bar .order-edit-form :is(input,select),.order-view[data-order-root] .order-control-bar .search-select>.search-select-input{height:44px;min-height:44px;font-size:16px}.order-view[data-order-root] .order-control-bar .search-select:after{top:18px}.order-view[data-order-root] .order-status-steps>.btn,.order-view[data-order-root] .order-quick-actions>.btn,.order-header-contract .order-signature-actions>.btn,.order-view[data-order-root] .order-service-actions>.btn,.order-view[data-order-root] .order-client-action>.btn,.order-view[data-order-root] .order-client-link{min-height:40px;padding:8px 10px;font-size:12px}.order-view[data-order-root] .order-status-steps [data-order-step=previous]{flex-basis:40px;width:40px;padding:0}.order-view[data-order-root] .order-copy{width:40px;height:40px;min-width:40px;min-height:40px}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.order-view[data-order-root] .btn{transition:background .18s,border-color .18s,color .18s}.order-view[data-order-root] .order-copy{transition:background .18s,color .18s}}
@media(prefers-reduced-motion:reduce){.order-view[data-order-root] *,.order-view[data-order-root] :after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.order-list-networks{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.order-network-badge{border:1px solid currentColor;border-radius:6px;font-size:10px;font-weight:750;letter-spacing:.4px;line-height:1.4;white-space:nowrap}.order-network-label{font-size:11px;color:var(--muted)}.order-view[data-order-root] .order-service-meta>.order-network-badge{gap:5px;padding:4px 8px}.order-view[data-order-root] .order-plan-terms{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px 0;margin:0;padding:12px 0;border-bottom:1px solid var(--border);min-width:0}.order-plan-terms>div{min-width:0;max-width:100%;padding:0 16px;border-left:1px solid var(--border)}.order-plan-terms>div:first-child{padding-left:0;border-left:0}.order-plan-terms dt{font-size:10px;line-height:1.5;color:var(--muted)}.order-plan-terms dd{margin:3px 0 0;font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.order-view[data-order-root] .order-workspace-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.order-view[data-order-root] #order-section-client{grid-column:1/-1}.order-view[data-order-root] .order-workspace-side .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.order-view[data-order-root] #order-section-client .order-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.order-view[data-order-root] .order-workspace-side .order-field{display:block}.order-view[data-order-root] .order-workspace-side .order-field dt{margin-bottom:4px}
@container order-detail (max-width:760px){.order-view[data-order-root] .order-workspace-side{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] #order-section-client .order-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.order-plan-terms>div{padding-inline:12px}.order-plan-terms dd{font-size:12px}}
@container order-detail (max-width:420px){.order-view[data-order-root] #order-section-client .order-field:has([data-copy*="@"]){grid-column:1/-1}.order-view[data-order-root] .order-plan-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-plan-terms>div,.order-plan-terms>div:first-child{padding:0;border:0}}
@container order-detail (max-width:300px){.order-view[data-order-root] .order-workspace-side .order-fields,.order-view[data-order-root] #order-section-client .order-fields{grid-template-columns:minmax(0,1fr)}}
.order-service-workspace{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;min-width:0}.order-workspace-configuration{min-width:0}.order-view[data-order-root] #order-section-configuration .order-section-title h2{display:flex;align-items:center;gap:8px}.order-view[data-order-root] #order-section-configuration .order-section-title h2>svg{color:var(--accent);flex-shrink:0}.order-view[data-order-root] .order-workspace-configuration .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
@container order-detail (min-width:900px){.order-service-workspace.has-configuration{grid-template-columns:minmax(0,1fr) minmax(250px,285px)}.order-view[data-order-root] .order-workspace-configuration .order-fields{grid-template-columns:minmax(0,1fr)}.order-workspace-configuration .order-field{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:8px;align-items:start}.order-workspace-configuration .order-field:has(.order-copy){display:block}}
.order-view[data-order-root] .order-service-detail:is(.order-service-mobile,.order-service-fiber,.order-extra-service){--line-tint:var(--accent);position:relative;isolation:isolate;padding:15px;border:1px solid color-mix(in srgb,var(--line-tint) 18%,var(--border));border-inline-start:3px solid color-mix(in srgb,var(--line-tint) 55%,var(--border));border-radius:12px;background:linear-gradient(115deg,color-mix(in srgb,var(--line-tint) 4%,var(--surface)),var(--surface) 70%)}.order-view[data-order-root] .order-service-mobile[data-network=red]{--line-tint:var(--red)}.order-view[data-order-root] .order-service-mobile[data-network=blue]{--line-tint:#416cc9}:is(.order-service-mobile,.order-service-fiber,.order-extra-service):before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--line-tint) 10%,transparent),transparent 65%);opacity:.45;pointer-events:none;transition:opacity .25s}:is(.order-service-mobile,.order-service-fiber,.order-extra-service):focus-within:before{opacity:1}.order-view[data-order-root] :is(.order-service-mobile,.order-service-fiber,.order-extra-service)+:is(.order-service-mobile,.order-service-fiber,.order-extra-service){margin-top:12px}.order-view[data-order-root] .order-iccid-form .form-field>span{display:inline-flex;align-items:center;gap:6px}.order-iccid-form .form-field>span>svg{flex-shrink:0;color:var(--accent)}
@media(hover:hover){:is(.order-service-mobile,.order-service-fiber,.order-extra-service):hover:before{opacity:1}}
@container order-detail (max-width:520px){.order-view[data-order-root] .order-service-detail:is(.order-service-mobile,.order-service-fiber,.order-extra-service){padding:12px}.order-service-workspace{gap:14px}.order-view[data-order-root] .order-workspace-configuration .order-field:has(.order-copy){grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){:is(.order-service-mobile,.order-service-fiber,.order-extra-service):before{transition:none}}
.order-view[data-order-root] .order-service-detail.order-service-fiber{--line-tint:var(--accent)}.order-view[data-order-root] .order-service-detail.order-extra-service{--line-tint:#df851c}.order-view[data-order-root] .order-extra-service .order-service-main>svg{color:var(--line-tint)}
.order-pack-group{min-width:0;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));border-radius:14px;overflow:hidden}.order-view[data-order-root] .order-pack-group>.order-service-pack{padding:16px;border:0;border-bottom:1px solid color-mix(in srgb,var(--accent) 18%,var(--border));background:linear-gradient(110deg,var(--accent-soft),var(--surface))}.order-pack-services{display:grid;gap:12px;min-width:0;padding:14px}.order-view[data-order-root] .order-pack-services>.order-service-detail{margin:0}.order-view[data-order-root] .order-pack-services>.order-service-detail:last-child{padding-bottom:15px}.order-view[data-order-root] .order-pack-included{flex:0 1 auto;padding:4px 7px;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:10px;line-height:1.5}.order-view[data-order-root] .order-service-pack .order-service-main>svg{width:24px;height:24px;margin-top:0;padding:5px;box-sizing:content-box;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:10px;background:var(--surface)}
.order-title-row{display:flex;align-items:center;gap:8px;min-width:0}.order-title-row h1{min-width:0}.order-view[data-order-root] .order-overview,.order-view[data-order-root] .order-state-control{--order-tone:var(--accent)}.order-view[data-order-root] [data-current-status="Pendiente"]{--order-tone:var(--muted)}.order-view[data-order-root] [data-current-status="Pendiente de procesar"]{--order-tone:#526d94}.order-view[data-order-root] :is([data-current-status="Enviado"],[data-current-status="Procesando"]){--order-tone:#416cc9}.order-view[data-order-root] [data-current-status="Incidencia"]{--order-tone:#bc8a15}.order-view[data-order-root] [data-current-status="Completado"]{--order-tone:var(--green)}.order-view[data-order-root] [data-current-status="Cancelado"]{--order-tone:var(--red)}.order-view[data-order-root] .order-overview{border-top:3px solid var(--order-tone)}.order-view[data-order-root] .order-overview-header{background:linear-gradient(110deg,color-mix(in srgb,var(--order-tone) 5%,var(--surface)),var(--surface) 75%)}.order-view[data-order-root] .order-control-heading{justify-content:space-between;flex-wrap:wrap}.order-view[data-order-root] .order-state-control .search-select>.search-select-input,.order-view[data-order-root] .order-state-control select{border-color:color-mix(in srgb,var(--order-tone) 36%,var(--border));background:color-mix(in srgb,var(--order-tone) 4%,var(--surface))}.order-view[data-order-root] .order-payment-control{--payment-tone:var(--muted)}.order-view[data-order-root] [data-current-payment="Pagado"]{--payment-tone:var(--green)}.order-view[data-order-root] [data-current-payment="No pagado"]{--payment-tone:var(--red)}.order-view[data-order-root] .order-payment-control .search-select>.search-select-input,.order-view[data-order-root] .order-payment-control select{border-color:color-mix(in srgb,var(--payment-tone) 32%,var(--border));background:color-mix(in srgb,var(--payment-tone) 4%,var(--surface))}.order-view[data-order-root] .order-contract-status{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:6px;font-weight:600}.order-view[data-order-root] .order-contract-status.is-signed{background:var(--green-bg);color:var(--green)}.order-view[data-order-root] .order-contract-status.is-pending{background:var(--accent-soft);color:var(--accent)}.order-view[data-order-root] .order-status-steps [data-order-step=next]{border-color:color-mix(in srgb,var(--accent) 22%,var(--border));color:var(--accent);background:var(--accent-soft)}
.order-view[data-order-root] .order-edit-form.order-notes-form[data-order-notes]{padding:0;margin:0;border:0}.order-notes-form .form-field{display:grid;gap:6px;margin:0}.order-view[data-order-root] .order-notes-form .form-field>span{display:flex;align-items:center;gap:6px}.order-notes-form .form-field>span>svg{color:var(--accent)}.order-view[data-order-root] .order-notes-form textarea{min-height:96px;padding:10px 12px;resize:vertical;line-height:1.6}.order-notes-form .order-form-actions{display:flex;justify-content:flex-end}.order-view[data-order-root] .order-notes-form .order-form-actions>.btn{flex:0 1 auto;width:auto;min-height:40px;padding:9px 13px;font-size:12px}.order-view[data-order-root] .order-client-addresses{min-width:0;margin-top:18px;border-top:1px solid var(--border)}.order-client-addresses>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;cursor:pointer;list-style:none;font-size:13px;font-weight:600}.order-client-addresses>summary::-webkit-details-marker{display:none}.order-client-addresses>summary>span{display:flex;align-items:center;gap:8px}.order-client-addresses>summary svg{flex-shrink:0;color:var(--accent);transition:transform .18s}.order-client-addresses[open]>summary>svg{transform:rotate(90deg)}.order-client-addresses>div{padding-top:18px;animation:orderReveal .18s var(--ease)}
@container order-detail (max-width:520px){.order-pack-services{padding:10px;gap:10px}.order-view[data-order-root] .order-pack-group>.order-service-pack{padding:12px}.order-view[data-order-root] .order-pack-services>.order-service-detail:last-child{padding-bottom:12px}.order-view[data-order-root] .order-edit-form.order-notes-form .form-grid{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] .order-control-heading{min-height:28px}}
.order-view[data-order-root] .order-customer-identity{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--border);min-width:0}.order-customer-type{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid var(--border);border-radius:6px;color:var(--muted);font-size:10px;line-height:1.5}.order-view[data-order-root] .order-customer-identity .order-service-value{font-size:16px;font-weight:650;line-height:1.5}.order-customer-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;min-width:0}.order-customer-group{min-width:0}.order-customer-group h3{margin:0 0 13px;font-size:12px;font-weight:650;line-height:1.5;color:var(--muted)}.order-customer-person{grid-column:span 2}.order-customer-company{grid-column:1/-1;padding-top:18px;border-top:1px solid var(--border)}.order-view[data-order-root] #order-section-client .order-customer-contact .order-fields{grid-template-columns:minmax(0,1fr)}.order-view[data-order-root] #order-section-client .order-customer-company .order-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.order-view[data-order-root] .order-customer-group .order-field{padding:0;border:0;border-radius:0;background:transparent}.order-view[data-order-root] #order-section-client .order-field dd{display:flex;align-items:center;gap:6px;min-width:0;min-height:24px}.order-view[data-order-root] #order-section-client .order-copy{width:24px;height:24px;min-width:24px;min-height:24px;border-color:transparent;background:transparent;border-radius:5px;opacity:.65}.order-view[data-order-root] #order-section-client .order-copy:hover,.order-view[data-order-root] #order-section-client .order-copy:focus-visible{opacity:1;background:var(--accent-soft);color:var(--accent)}.order-view[data-order-root] #order-section-client .order-service-value{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%}.order-view[data-order-root] #order-section-client .order-service-value>strong{min-width:0;overflow-wrap:anywhere}.order-view[data-order-root] #order-section-client>.order-section-title{flex-wrap:wrap}.order-view[data-order-root] #order-section-client>.order-section-title>.btn{min-height:32px;padding:6px 9px;font-size:11px}.order-view[data-order-root] .order-control-heading .order-status-badge{flex:0 1 auto;min-width:0;height:auto;min-height:26px}.order-view[data-order-root] .order-service-actions{min-width:0}
@container order-detail (max-width:760px){.order-customer-groups{grid-template-columns:minmax(0,1fr);gap:20px}.order-customer-person,.order-customer-company{grid-column:1}.order-view[data-order-root] #order-section-client .order-customer-person .order-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.order-view[data-order-root] .order-customer-identity{padding-bottom:14px;margin-bottom:16px}.order-view[data-order-root] #order-section-client .order-customer-contact .order-field:has([data-copy*="@"]){grid-column:auto}}
@container order-detail (max-width:300px){.order-view[data-order-root] #order-section-client .order-customer-person .order-fields,.order-view[data-order-root] #order-section-client .order-customer-company .order-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px),(pointer:coarse){.order-view[data-order-root] #order-section-client .order-copy{width:32px;height:32px;min-width:32px;min-height:32px}.order-view[data-order-root] #order-section-client .order-field dd{min-height:32px}}
