/* Visual source: final HTML prototype v3, revision 6. Data and actions come from Office APIs. */

#jcc-office{--so-bg:light-dark(#eaf0f5,#17222d);--so-panel:light-dark(#fff,#24313d);--so-soft:light-dark(#f4f7fa,#1c2834);--so-text:light-dark(#213448,#edf2f6);--so-sub:light-dark(#576a7d,#bbc8d5);--so-line:light-dark(#dce5ee,#41515f);--so-navy:light-dark(#223b54,#b6d4ef);--so-on-navy:light-dark(#fff,#172635);--so-red:light-dark(#95394a,#f1adb6);--so-red-bg:light-dark(#faedf0,#492c36);--so-good:light-dark(#24634d,#a4dbc3);--so-good-bg:light-dark(#edf7f1,#233f34);--so-warn:light-dark(#795419,#e7ce93);--so-warn-bg:light-dark(#fff6e5,#413925);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--so-text);font-size:14px;line-height:1.5;isolation:isolate}
#jcc-office *{box-sizing:border-box}
#jcc-office button,#jcc-office input,#jcc-office select,#jcc-office textarea{font:inherit;color:inherit}
#jcc-office button{cursor:var(--cursor-interaction,pointer)}
#jcc-office button:disabled{cursor:not-allowed;opacity:.6}
#jcc-office h1,#jcc-office h2,#jcc-office h3,#jcc-office p{margin:0}
#jcc-office h1{font-size:27px;font-weight:600;letter-spacing:-.7px;line-height:1.25}
#jcc-office h2{font-size:19px;font-weight:600;letter-spacing:-.35px}
#jcc-office h3{font-size:15px;font-weight:600}
#jcc-office small,#jcc-office .op-small{font-size:12px}
#jcc-office strong{font-weight:600}
#jcc-office .op-muted{color:var(--so-sub)}
#jcc-office .op-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#jcc-office .op-between{justify-content:space-between}
#jcc-office .op-stack{display:grid;gap:18px}
#jcc-office .op-label{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;font-weight:600;color:var(--so-sub)}
#jcc-office .op-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px 2px 12px;color:var(--so-sub);font-size:12px}
#jcc-office .op-preview>div{display:flex;gap:4px;background:var(--so-soft);padding:4px;border-radius:10px}
#jcc-office .op-preview button{background:transparent;border:0;border-radius:7px;padding:7px 10px}
#jcc-office .op-preview button[aria-pressed=true]{background:var(--so-panel);color:var(--so-text);box-shadow:0 2px 5px #10233c12}
#jcc-office .op-preview-dot{padding:0 5px}
#jcc-office .op-shell{position:relative;background:var(--so-bg);border:1px solid var(--so-line);border-radius:22px;min-height:715px;overflow:clip}
#jcc-office .op-layout{display:grid;grid-template-columns:169px minmax(0,1fr);min-height:715px}
#jcc-office .op-sidebar{padding:25px 13px;display:flex;flex-direction:column;gap:28px;border-right:1px solid var(--so-line);background:var(--so-soft)}
#jcc-office .op-brand{display:flex;align-items:center;gap:10px;padding:0 6px}
#jcc-office .op-brand-mark{width:38px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:11px 11px 17px 17px;background:var(--so-red);color:var(--so-panel);font-family:Georgia,serif;letter-spacing:-1px;font-size:15px;font-weight:600}
#jcc-office .op-brand strong{display:block;font-size:14px;line-height:1.3}
#jcc-office .op-brand small{font-size:10px;letter-spacing:1px}
#jcc-office .op-nav{display:grid;gap:6px}
#jcc-office .op-nav button{display:flex;align-items:center;gap:10px;padding:12px;border:0;border-radius:11px;background:transparent;color:var(--so-sub);text-align:left;font-size:13px;font-weight:500}
#jcc-office .op-nav button[aria-current=page]{background:var(--so-panel);color:var(--so-red);box-shadow:0 3px 10px #20364e08}
#jcc-office .op-nav button:hover{background:var(--so-panel)}
#jcc-office .op-nav svg{width:17px;height:17px;flex-shrink:0}
#jcc-office .op-sidebar-foot{margin-top:auto;padding:0 7px;display:grid;gap:12px;font-size:12px;color:var(--so-sub)}
#jcc-office .op-person{display:flex;align-items:center;gap:9px}
#jcc-office .op-avatar{width:35px;height:35px;background:var(--so-bg);color:var(--so-navy);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:600}
#jcc-office .op-main{padding:26px 25px;min-width:0}
#jcc-office .op-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:22px}
#jcc-office .op-topline small{color:var(--so-sub)}
#jcc-office .op-page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
#jcc-office .op-page-intro p{color:var(--so-sub);margin-top:6px}
#jcc-office .op-button{border:1px solid var(--so-line);background:var(--so-panel);border-radius:10px;padding:10px 13px;font-weight:500;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:42px;text-decoration:none}
#jcc-office .op-button svg{width:16px;height:16px}
#jcc-office .op-button:hover{filter:brightness(.97)}
#jcc-office .op-primary{background:var(--so-navy);border-color:var(--so-navy);color:var(--so-on-navy)}
#jcc-office .op-danger{background:var(--so-red);border-color:var(--so-red);color:var(--so-panel)}
#jcc-office .op-link{background:none;border:0;padding:6px 0;color:var(--so-navy);text-decoration:underline;text-underline-offset:3px;font-size:13px}
#jcc-office .op-searchbox{position:relative;margin-bottom:23px}
#jcc-office .op-searchfield{display:flex;align-items:center;gap:11px;border:1px solid var(--so-line);border-radius:14px;background:var(--so-panel);padding:4px 15px;box-shadow:0 5px 15px #20364e06}
#jcc-office .op-searchfield svg{width:20px;height:20px;color:var(--so-sub);flex-shrink:0}
#jcc-office .op-searchfield input{padding:13px 0;width:100%;background:transparent;border:0;min-width:0;font-size:15px}
#jcc-office .op-searchfield input::placeholder{color:var(--so-sub);opacity:1}
#jcc-office .op-searchfield kbd{border:1px solid var(--so-line);border-radius:5px;padding:1px 5px;font:11px inherit;color:var(--so-sub)}
#jcc-office .op-searchhint{font-size:12px;color:var(--so-sub);margin:7px 3px 0;min-height:18px}
#jcc-office .op-results{position:absolute;top:57px;left:0;right:0;z-index:4;background:var(--so-panel);border:1px solid var(--so-line);border-radius:13px;box-shadow:0 14px 36px #10233c24;padding:8px}
#jcc-office .op-results[hidden]{display:none}
#jcc-office .op-result{display:flex;align-items:center;gap:12px;text-align:left;width:100%;background:var(--so-panel);border:0;border-radius:8px;padding:12px}
#jcc-office .op-result:hover,#jcc-office .op-result:focus{background:var(--so-soft)}
#jcc-office .op-result>span:nth-child(2){flex:1;min-width:0}
#jcc-office .op-result strong,#jcc-office .op-result small{display:block}
#jcc-office .op-result small{color:var(--so-sub)}
#jcc-office .op-member{padding:19px 20px;background:var(--so-panel);border:1px solid var(--so-line);border-radius:16px;box-shadow:0 6px 20px #20364e06;margin-bottom:18px;position:relative}
#jcc-office .op-member-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
#jcc-office .op-member-head .op-avatar{width:47px;height:47px;font-size:15px;background:var(--so-soft)}
#jcc-office .op-member-head>div:nth-child(2){flex:1}
#jcc-office .op-member h2{margin-bottom:2px}
#jcc-office .op-member-info{display:flex;gap:19px;flex-wrap:wrap;border-top:1px solid var(--so-line);margin-top:15px;padding-top:13px;font-size:12px;color:var(--so-sub)}
#jcc-office .op-member-info strong{color:var(--so-text)}
#jcc-office .op-badge{font-size:11px;font-weight:500;border-radius:6px;padding:4px 8px;background:var(--so-soft);color:var(--so-sub);display:inline-block;white-space:nowrap}
#jcc-office .op-badge.good{color:var(--so-good);background:var(--so-good-bg)}
#jcc-office .op-badge.warn{color:var(--so-warn);background:var(--so-warn-bg)}
#jcc-office .op-badge.bad{color:var(--so-red);background:var(--so-red-bg)}
#jcc-office .op-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
#jcc-office .op-summary{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;background:var(--so-panel);border:1px solid var(--so-line);border-radius:14px;text-align:left}
#jcc-office .op-summary .op-value{font-size:24px;letter-spacing:-.8px;font-weight:500;font-variant-numeric:tabular-nums;margin:3px 0}
#jcc-office .op-summary small{color:var(--so-sub)}
#jcc-office .op-summary:hover{border-color:var(--so-sub)}
#jcc-office .op-card{background:var(--so-panel);border:1px solid var(--so-line);border-radius:16px;padding:19px 20px;min-width:0}
#jcc-office .op-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
#jcc-office .op-timeline{display:grid;gap:0}
#jcc-office .op-event{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid var(--so-line)}
#jcc-office .op-event:last-child{border-bottom:0;padding-bottom:0}
#jcc-office .op-event:first-child{padding-top:0}
#jcc-office .op-event-icon{width:32px;height:32px;background:var(--so-soft);border-radius:10px;display:grid;place-items:center;color:var(--so-sub)}
#jcc-office .op-event-icon svg{width:16px;height:16px}
#jcc-office .op-event small{display:block;color:var(--so-sub);margin-top:3px}
#jcc-office .op-event button{white-space:nowrap}
#jcc-office .op-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#jcc-office .op-data{display:grid;grid-template-columns:1fr 1fr;gap:17px}
#jcc-office .op-data dt{font-size:12px;color:var(--so-sub);margin-bottom:4px}
#jcc-office .op-data dd{margin:0;overflow-wrap:anywhere}
#jcc-office dl{margin:0}
#jcc-office .op-note{padding:12px 14px;border-radius:10px;background:var(--so-soft);color:var(--so-sub);font-size:13px}
#jcc-office .op-note.warning{background:var(--so-warn-bg);color:var(--so-warn)}
#jcc-office .op-note.success{background:var(--so-good-bg);color:var(--so-good)}
#jcc-office .op-note.danger{background:var(--so-red-bg);color:var(--so-red)}
#jcc-office .op-note strong{display:block;margin-bottom:2px}
#jcc-office .op-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
#jcc-office .op-filters button{border:1px solid var(--so-line);background:var(--so-panel);padding:7px 11px;border-radius:8px;font-size:12px}
#jcc-office .op-filters button[aria-pressed=true]{background:var(--so-navy);color:var(--so-on-navy);border-color:var(--so-navy)}
#jcc-office .op-list{display:grid;gap:10px}
#jcc-office .op-list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;background:var(--so-panel);border:1px solid var(--so-line);border-radius:13px;padding:16px}
#jcc-office .op-list-row p{margin-top:3px;color:var(--so-sub);font-size:12px}
#jcc-office .op-list-row .op-item-right{display:flex;gap:13px;align-items:center;flex-shrink:0}
#jcc-office .op-list-row .op-item-money{text-align:right;font-variant-numeric:tabular-nums}
#jcc-office .op-list-row .op-item-money small{display:block;color:var(--so-sub)}
#jcc-office .op-empty{padding:35px 18px;text-align:center;background:var(--so-panel);border:1px solid var(--so-line);border-radius:16px;display:grid;gap:12px;justify-items:center}
#jcc-office .op-empty p{color:var(--so-sub);max-width:390px}
#jcc-office .op-report{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#jcc-office .op-report p{color:var(--so-sub);font-size:13px;flex:1}
#jcc-office .op-footer{margin-top:20px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--so-sub);font-size:11px}
#jcc-office .op-message:not(:empty){margin-top:10px;border-radius:10px;padding:12px 16px;background:var(--so-good-bg);color:var(--so-good)}
#jcc-office .op-overlay{position:absolute;inset:0;z-index:8;background:#0b1c3270;display:flex;align-items:flex-start;justify-content:center;padding:28px 20px}
#jcc-office .op-dialog{width:100%;max-width:635px;background:var(--so-panel);border:1px solid var(--so-line);border-radius:19px;box-shadow:0 24px 70px #081b3440;overflow:hidden}
#jcc-office .op-dialog-head{padding:21px 23px 17px;border-bottom:1px solid var(--so-line);display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#jcc-office .op-dialog-head small{display:block;color:var(--so-sub);margin-bottom:5px}
#jcc-office .op-close{border:1px solid var(--so-line);border-radius:9px;background:var(--so-soft);width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;font-size:20px}
#jcc-office .op-dialog-body{padding:21px 23px}
#jcc-office .op-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px;padding-top:17px;border-top:1px solid var(--so-line)}
#jcc-office .op-field{display:grid;gap:6px;font-size:13px;font-weight:500;min-width:0}
#jcc-office .op-field input,#jcc-office .op-field select,#jcc-office .op-field textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--so-line);border-radius:9px;background:var(--so-panel);font-weight:400}
#jcc-office .op-field textarea{min-height:75px;resize:vertical}
#jcc-office .op-field small{font-weight:400;color:var(--so-sub)}
#jcc-office .op-field input:read-only{background:var(--so-soft);color:var(--so-sub)}
#jcc-office .op-check{display:flex;align-items:flex-start;gap:9px;font-size:13px}
#jcc-office .op-check input{margin-top:4px;accent-color:var(--so-navy);width:16px;height:16px;flex-shrink:0}
#jcc-office .op-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
#jcc-office .op-step{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--so-sub)}
#jcc-office .op-step span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--so-soft)}
#jcc-office .op-step.active{color:var(--so-text);font-weight:600}
#jcc-office .op-step.active span{background:var(--so-navy);color:var(--so-on-navy)}
#jcc-office .op-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#jcc-office .op-choice{background:var(--so-soft);border:1px solid var(--so-line);border-radius:10px;padding:13px;text-align:left;display:grid;gap:4px}
#jcc-office .op-choice[aria-pressed=true]{background:var(--so-navy);color:var(--so-on-navy);border-color:var(--so-navy)}
#jcc-office .op-choice small{color:inherit;opacity:.85}
#jcc-office .op-price{display:grid;gap:10px;border-top:1px solid var(--so-line);padding-top:15px}
#jcc-office .op-price>div{display:flex;justify-content:space-between;gap:12px}
#jcc-office .op-price .op-total{font-size:20px;font-weight:600;border-top:1px solid var(--so-line);padding-top:12px}
#jcc-office .op-order-table{width:100%;border-collapse:collapse;font-size:13px}
#jcc-office .op-order-table th{text-align:left;font-weight:500;color:var(--so-sub);font-size:12px}
#jcc-office .op-order-table td,#jcc-office .op-order-table th{padding:11px 5px;border-bottom:1px solid var(--so-line)}
#jcc-office .op-order-table td:last-child,#jcc-office .op-order-table th:last-child{text-align:right;white-space:nowrap}
#jcc-office .op-order-note{padding:11px 13px;border-left:3px solid var(--so-line);background:var(--so-soft);border-radius:0 8px 8px 0;font-size:13px}
#jcc-office .op-order-note small{display:block;color:var(--so-sub);margin-bottom:4px}
#jcc-office .op-qr-placeholder{width:188px;height:188px;margin:0 auto;border:1px solid var(--so-line);border-radius:10px;position:relative;background:var(--so-soft);display:grid;place-items:center;text-align:center}
#jcc-office .op-qr-placeholder .op-corner{position:absolute;width:30px;height:30px;border:5px solid var(--so-sub);border-radius:4px}
#jcc-office .op-qr-placeholder .c1{left:13px;top:13px}
#jcc-office .op-qr-placeholder .c2{right:13px;top:13px}
#jcc-office .op-qr-placeholder .c3{left:13px;bottom:13px}
#jcc-office .op-qr-placeholder strong{font-size:13px;background:var(--so-panel);padding:9px 12px;border-radius:7px;z-index:1}
#jcc-office .op-payment{text-align:center;display:grid;gap:17px;justify-items:center;padding:18px}
#jcc-office .op-payment .op-amount{font-size:35px;letter-spacing:-1px;font-weight:600}
#jcc-office .op-simulate{padding:12px;border:1px dashed var(--so-line);border-radius:10px;font-size:12px;color:var(--so-sub);display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:18px}
#jcc-office .op-simulate button{border:1px solid var(--so-line);border-radius:7px;background:var(--so-soft);padding:6px 8px;font-size:12px}
#jcc-office .op-customer{padding:24px;display:grid;justify-items:center;gap:22px;min-height:690px}
#jcc-office .op-customer>.op-card{width:100%;max-width:440px;padding:28px}
#jcc-office .op-customer .op-brand{justify-content:center}
#jcc-office .op-wpbar{padding:9px 16px;background:light-dark(#26343f,#121b23);color:#eef3f7;font-size:12px;display:flex;justify-content:space-between;gap:10px}
#jcc-office .op-admin-main{padding:26px;max-width:840px;margin:auto}
#jcc-office .op-admin-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0 18px}
#jcc-office .op-admin-tabs button{padding:10px 13px;background:var(--so-panel);border:1px solid var(--so-line);border-radius:9px;font-size:13px}
#jcc-office .op-admin-tabs button[aria-current=page]{background:var(--so-navy);color:var(--so-on-navy)}
#jcc-office .op-settingrow{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--so-line)}
#jcc-office .op-settingrow:last-child{border:0}
#jcc-office .op-settingrow small{display:block;color:var(--so-sub);margin-top:3px}
#jcc-office .op-settingrow input[type=checkbox]{width:19px;height:19px;accent-color:var(--so-navy)}
#jcc-office .op-full{grid-column:1 / -1}
#jcc-office .op-button,#jcc-office .op-summary,#jcc-office .op-choice,#jcc-office .op-nav button,#jcc-office .op-field{transition:transform 140ms ease-out,color 140ms ease-out,background-color 140ms ease-out}
#jcc-office .op-button:active:not(:disabled),#jcc-office .op-summary:active,#jcc-office .op-choice:active{transform:translateY(1px)}
#jcc-office .op-field:focus-within{color:var(--so-navy)}
#jcc-office .op-badge.warn::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:5px;vertical-align:2px}
#jcc-office .op-search-loading{display:grid;gap:12px;padding:12px;position:relative;overflow:hidden}
#jcc-office .op-skeleton-row{display:flex;align-items:center;gap:12px;min-height:46px}
#jcc-office .op-skeleton-avatar{width:35px;height:35px;border-radius:50%;background:var(--so-bg);flex-shrink:0}
#jcc-office .op-skeleton-lines{flex:1;display:grid;gap:9px}
#jcc-office .op-skeleton-lines>span{display:block;height:9px;width:62%;border-radius:5px;background:var(--so-bg)}
#jcc-office .op-skeleton-lines>span:last-child{width:40%;height:7px}
#jcc-office .op-search-loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,var(--so-panel) 50%,transparent 80%);opacity:.6;transform:translateX(100%);animation:so-search-sweep 700ms ease-out 1}
#jcc-office .op-searchfield[aria-busy=true]{border-color:var(--so-sub)}
#jcc-office .op-success-mark{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:var(--so-good-bg);color:var(--so-good)}
#jcc-office .op-success-mark svg{width:25px;height:25px}
#jcc-office .op-message[data-kind=info]:not(:empty){background:var(--so-soft);color:var(--so-text)}
#jcc-office .op-message[data-kind=error]:not(:empty){background:var(--so-red-bg);color:var(--so-red)}
@keyframes so-search-sweep{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){#jcc-office .op-summary:hover,#jcc-office .op-button:hover:not(:disabled){transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){#jcc-office *,#jcc-office *::before,#jcc-office *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#jcc-office [hidden]{display:none!important}
/* Preview adapter from JCC DS 1.7.7. Production will enqueue the existing
   jcc-ds handles, use the shared components, and scope office additions. */
#jcc-office{
 color-scheme:light;
 --jcc-bg-base:#F4EDF1;--jcc-bg-1:#FBDFC4;--jcc-bg-2:#C9DCF2;--jcc-bg-3:#DBC9EC;
 --jcc-red:#A30000;--jcc-red-dark:#7A0000;--jcc-red-bg:rgba(163,0,0,.07);
 --jcc-red-bg-strong:rgba(163,0,0,.12);--jcc-green:#2E9964;--jcc-green-soft:#D4F0E2;
 --jcc-blue:#4A7FC1;--jcc-gold:#C89B3C;--jcc-orange:#D48C3C;--jcc-purple:#8B5CB8;
 --jcc-t1:#1A1218;--jcc-t2:#5C5466;--jcc-t3:#9A93A2;--jcc-tw:#FFFFFF;
 --jcc-r-sm:14px;--jcc-r-md:18px;--jcc-r-lg:24px;--jcc-r-pill:50px;
 --jcc-font-body:'DM Sans',system-ui,-apple-system,sans-serif;
 --jcc-font-display:'DM Serif Display',Georgia,serif;
 --jcc-shadow-sm:0 1px 0 rgba(255,255,255,.6) inset,0 1px 2px rgba(120,40,50,.04),0 4px 12px -2px rgba(120,40,50,.05);
 --jcc-shadow-md:0 1px 0 rgba(255,255,255,.7) inset,0 2px 4px rgba(120,40,50,.05),0 12px 28px -6px rgba(120,40,50,.10);
 --jcc-ts:.3s cubic-bezier(.22,1,.36,1);--jcc-ts-fast:.16s ease-out;--jcc-m-dur:.42s;--jcc-nav-dx:44px;
 --so-bg:var(--jcc-bg-base);--so-panel:#fff;--so-soft:#FAF6F8;
 --so-text:var(--jcc-t1);--so-sub:var(--jcc-t2);--so-line:#E9DFE5;
 --so-navy:var(--jcc-red);--so-on-navy:var(--jcc-tw);--so-red:var(--jcc-red);
 --so-red-bg:#FAEEEE;--so-good:#236443;--so-good-bg:#EDF7F1;--so-warn:#805519;--so-warn-bg:#FFF1D8;
 font-family:var(--jcc-font-body);position:relative;
}
#jcc-office .op-shell{border-radius:var(--jcc-r-lg);background:radial-gradient(ellipse 80% 60% at 5% 12%,var(--jcc-bg-1) 0%,transparent 60%),radial-gradient(ellipse 70% 50% at 95% 15%,var(--jcc-bg-2) 0%,transparent 60%),radial-gradient(ellipse 90% 60% at 50% 95%,var(--jcc-bg-3) 0%,transparent 55%),var(--jcc-bg-base)}
#jcc-office .op-sidebar{background:#FBF8F9;border-color:#E8DDE3}
#jcc-office .op-brand-mark{background:linear-gradient(135deg,var(--jcc-red),#CC1A00);border-radius:14px;box-shadow:0 4px 16px rgba(163,0,0,.15)}
#jcc-office h1{font-family:var(--jcc-font-display);font-weight:400;font-size:31px;letter-spacing:-.3px}
#jcc-office .op-page-intro>div>p{font-size:14px;color:var(--jcc-t2)}
#jcc-office .op-topline .op-label{color:var(--jcc-red)}
#jcc-office .op-label{letter-spacing:1.6px}
#jcc-office .op-member,#jcc-office .op-card,#jcc-office .op-summary{border-radius:var(--jcc-r-lg);box-shadow:var(--jcc-shadow-sm);border-color:#fff}
#jcc-office .op-member{background:radial-gradient(ellipse 70% 110% at 110% -25%,#F9E3E0 0%,#FFF 80%);padding:23px 24px}
#jcc-office .op-member h2{font-family:var(--jcc-font-display);font-weight:400;font-size:24px}
#jcc-office .op-member .op-avatar{border-radius:16px;background:linear-gradient(135deg,var(--jcc-red),#CC1A00);color:#fff;box-shadow:0 4px 12px rgba(163,0,0,.15)}
#jcc-office .op-member-info{border:1px solid #EFE6EA;background:#FFFBFC;border-radius:var(--jcc-r-sm);padding:12px 14px;align-items:center;gap:10px 18px}
#jcc-office .op-member-info .op-badge{padding:6px 9px}
#jcc-office .op-summary{padding:18px 16px;gap:8px;position:relative;isolation:isolate}
#jcc-office .op-summary.jcc-glow-gold-tc{background:radial-gradient(ellipse at 50% -65%,#F8E7C4 0%,#fff 80%)}
#jcc-office .op-summary.jcc-glow-blue-tl{background:radial-gradient(ellipse at -30% -20%,#DEE9F7 0%,#fff 80%)}
#jcc-office .op-summary.jcc-glow-red-tr{background:radial-gradient(ellipse at 130% -20%,#F7DFDD 0%,#fff 80%)}
#jcc-office .op-summary:hover{box-shadow:var(--jcc-shadow-md);border-color:#fff}
#jcc-office .op-summary .op-value{font-size:27px;font-weight:600;letter-spacing:-.6px;color:var(--jcc-t1)}
#jcc-office .op-summary-label{display:flex;align-items:center;gap:8px;min-width:0}
#jcc-office .op-summary-label>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--jcc-red-bg);color:var(--jcc-red);flex-shrink:0}
#jcc-office .op-event-icon{background:#FAF0F1;color:var(--jcc-red);border-radius:10px}
#jcc-office .op-button{border-radius:var(--jcc-r-pill);border-color:#DBB7B8;color:var(--jcc-red);font-weight:600;padding:10px 17px}
#jcc-office .op-primary,#jcc-office .op-danger{background:linear-gradient(180deg,#B81000 0%,var(--jcc-red) 100%);color:#fff;border-color:transparent;box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 2px 8px rgba(163,0,0,.18)}
#jcc-office .op-filters button[aria-pressed=true]{background:var(--jcc-red);border-color:var(--jcc-red);color:#fff}
#jcc-office .op-filters button,#jcc-office .op-badge{border-radius:var(--jcc-r-pill)}
#jcc-office .op-badge{position:relative;overflow:visible;font-weight:600;font-size:11px}
#jcc-office .op-badge.warn{padding:5px 10px;background:var(--so-warn-bg);color:var(--so-warn)}
#jcc-office .op-badge.warn::before{display:none}
#jcc-office .op-signal{display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;position:relative;margin-right:8px;vertical-align:0}
#jcc-office .op-signal-ring{position:absolute;inset:-3px;border:1.5px solid currentColor;border-radius:50%;opacity:0;pointer-events:none}
#jcc-office .op-note.warning{position:relative;border-left:3px solid #C89B3C}
#jcc-office .op-attention-outline{position:absolute;inset:0;border:2px solid currentColor;border-radius:inherit;opacity:0;pointer-events:none}
#jcc-office .op-list-row{border-radius:var(--jcc-r-md);border-color:#fff;box-shadow:var(--jcc-shadow-sm)}
#jcc-office .op-searchfield{border-radius:var(--jcc-r-md);border-color:#fff;box-shadow:var(--jcc-shadow-sm)}
#jcc-office .op-searchfield[aria-busy=true]{border-color:#D2A6A7}
#jcc-office .op-search-loading{padding:16px;gap:14px}
#jcc-office .op-loading-title{display:flex;gap:12px;align-items:center;color:var(--jcc-red);font-weight:600;font-size:13px}
#jcc-office .op-loader-chip{width:32px;height:32px;display:grid;place-items:center;position:relative;flex-shrink:0}
#jcc-office .op-loader-chip span{display:block;position:absolute;inset:0;clip-path:polygon(33% 7%,67% 7%,93% 33%,93% 67%,67% 93%,33% 93%,7% 67%,7% 33%);background:var(--jcc-red-bg-strong)}
#jcc-office .op-loader-chip span:last-child{inset:7px;background:var(--jcc-red)}
#jcc-office .op-search-loading::after{display:none}
#jcc-office .op-skeleton-avatar,#jcc-office .op-skeleton-lines>span{background:#EFE5EB}
#jcc-office .op-skeleton-lines>span:last-child{background:#F4EDF1}
#jcc-office .op-nav{position:relative;isolation:isolate}
#jcc-office .op-nav button{position:relative;z-index:1;font-weight:500}
#jcc-office .op-nav button[aria-current=page]{background:transparent;box-shadow:none;color:var(--jcc-red);font-weight:600}
#jcc-office .op-nav button:hover{background:rgba(163,0,0,.025)}
#jcc-office .op-nav-indicator{position:absolute;background:#F6E5E5;border:1px solid #EED4D4;border-radius:13px;pointer-events:none;transform-origin:top left;z-index:0}
#jcc-office .op-dialog{border-radius:var(--jcc-r-lg);border:1px solid #fff;box-shadow:0 24px 60px -12px rgba(90,20,35,.28)}
#jcc-office .op-dialog-head{background:linear-gradient(130deg,#FFFAF8,#F8F2F6);padding:23px 25px 19px}
#jcc-office .op-dialog-head h2{font-family:var(--jcc-font-display);font-weight:400;font-size:25px}
#jcc-office .op-dialog-head small{color:var(--jcc-t2)}
#jcc-office .op-close{border-radius:50%;background:#F5E9EB;color:var(--jcc-red);border-color:transparent}
#jcc-office .op-overlay{background:rgba(35,18,30,.43)}
#jcc-office .op-success-mark{width:62px;height:62px;background:var(--jcc-green-soft);color:var(--so-good)}
#jcc-office .op-success-mark svg{width:32px;height:32px}
#jcc-office .op-preview button[data-action=replay-motion]{border:1px solid #D9BEC8;color:var(--jcc-red);background:#FFF}
#jcc-office #op-motion-preference{color:var(--so-warn)}
#jcc-office .op-message:not(:empty){box-shadow:var(--jcc-shadow-sm);border-left:4px solid var(--jcc-green)}
#jcc-office .op-message[data-kind=error]:not(:empty){border-left-color:var(--jcc-red)}
#jcc-office .op-message[data-kind=info]:not(:empty){border-left-color:var(--jcc-blue)}
@media(max-width:850px){#jcc-office .op-layout{grid-template-columns:145px minmax(0,1fr)}#jcc-office .op-sidebar{padding:23px 9px}#jcc-office .op-main{padding:23px 18px}#jcc-office .op-nav button{font-size:12px;padding:11px 8px;gap:7px}#jcc-office .op-brand{gap:8px}#jcc-office .op-brand strong{font-size:12px}#jcc-office .op-brand small{font-size:9px}#jcc-office .op-summary{padding:13px}#jcc-office .op-list-row{flex-wrap:wrap}#jcc-office .op-list-row .op-item-right{width:100%;justify-content:space-between}#jcc-office .op-grid{grid-template-columns:1fr}}
@media(max-width:650px){#jcc-office .op-layout{grid-template-columns:1fr}#jcc-office .op-sidebar{padding:15px;gap:16px;border-right:0;border-bottom:1px solid var(--so-line)}#jcc-office .op-brand strong{font-size:14px}#jcc-office .op-brand small{font-size:10px}#jcc-office .op-sidebar-foot{display:none}#jcc-office .op-nav{display:flex;gap:5px;flex-wrap:wrap}#jcc-office .op-nav button{padding:9px 10px;font-size:12px;min-height:40px}#jcc-office .op-nav svg{display:none}#jcc-office .op-main{padding:20px 16px}#jcc-office .op-summary-grid{gap:8px}#jcc-office .op-summary{padding:12px}#jcc-office .op-summary .op-value{font-size:20px}#jcc-office .op-summary small{font-size:11px}#jcc-office .op-summary>span:first-child{font-size:12px}#jcc-office .op-member{padding:16px}#jcc-office .op-member-info{gap:10px 16px}#jcc-office .op-member-head>button{width:100%}#jcc-office .op-event{grid-template-columns:30px minmax(0,1fr);gap:10px}#jcc-office .op-event>button{grid-column:2;justify-self:start}#jcc-office .op-overlay{padding:16px 10px}#jcc-office .op-dialog-head,#jcc-office .op-dialog-body{padding:17px}#jcc-office .op-admin-main{padding:20px 15px}#jcc-office .op-data{gap:14px}#jcc-office .op-searchfield kbd{display:none}#jcc-office .op-card{padding:17px}#jcc-office .op-page-intro{margin-bottom:18px}#jcc-office h1{font-size:25px}#jcc-office .op-customer{padding:17px}#jcc-office .op-customer>.op-card{padding:16px}}
@media(max-width:400px){#jcc-office .op-summary-grid{grid-template-columns:1fr}#jcc-office .op-summary{display:grid;grid-template-columns:1fr auto;width:100%;align-items:center}#jcc-office .op-summary small{grid-column:1 / -1}#jcc-office .op-summary .op-value{margin:0}#jcc-office .op-data{grid-template-columns:1fr}#jcc-office .op-choices{grid-template-columns:1fr}#jcc-office .op-member h2{font-size:17px}#jcc-office .op-member-head{gap:10px}#jcc-office .op-preview{font-size:11px}#jcc-office .op-button{font-size:13px}#jcc-office .op-dialog-actions>*{flex:1}#jcc-office .op-payment{padding:8px}}
/* Office glass surfaces: static background; blur is bounded to major surfaces. */
#jcc-office{--so-glass:linear-gradient(135deg,rgba(255,255,255,.79),rgba(255,255,255,.38));--so-glass-edge:rgba(255,255,255,.86);--so-glass-shadow:inset 0 1px 0 #fff,inset 1px 0 0 rgba(255,255,255,.35),0 12px 32px -12px rgba(95,55,75,.2)}
#jcc-office .op-shell{background:radial-gradient(ellipse 52% 46% at 0% 17%,#EFBAA5 0%,transparent 76%),radial-gradient(ellipse 66% 42% at 100% 33%,#AAC9E5 0%,transparent 74%),radial-gradient(ellipse 84% 60% at 50% 106%,#BDA4D5 0%,transparent 70%),linear-gradient(140deg,#F9E7DB,#E8E6F0 55%,#DED5E9);border-color:var(--so-glass-edge);box-shadow:inset 0 1px 0 #fff,0 16px 48px -32px #665270}
#jcc-office .op-shell::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 24%,rgba(255,255,255,.32) 24.2%,rgba(255,255,255,.04) 45%,transparent 45.2%),radial-gradient(ellipse 42% 25% at 86% 1%,rgba(255,255,255,.42),transparent 90%)}
#jcc-office .op-layout,#jcc-office .op-admin,#jcc-office .op-customer,#jcc-office .op-login{position:relative}
#jcc-office .op-sidebar{background:rgba(255,255,255,.32);border-color:rgba(255,255,255,.7);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#jcc-office .op-member,#jcc-office .op-card,#jcc-office .op-summary,#jcc-office .op-summary[class*=jcc-glow],#jcc-office .op-list-row{background:var(--so-glass);border:1px solid var(--so-glass-edge);box-shadow:var(--so-glass-shadow)}
#jcc-office .op-member,#jcc-office .op-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
#jcc-office .op-member-info{background:rgba(255,255,255,.38);border-color:rgba(255,255,255,.72)}
#jcc-office .op-searchfield{background:rgba(255,255,255,.66);border:1px solid var(--so-glass-edge);box-shadow:var(--so-glass-shadow)}
#jcc-office .op-button:not(.op-primary):not(.op-danger),#jcc-office .op-filters button:not([aria-pressed=true]){background:rgba(255,255,255,.63);box-shadow:inset 0 1px 0 #fff}
#jcc-office .op-nav-indicator{background:rgba(255,255,255,.68);border-color:rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(85,40,65,.09),inset 0 1px 0 white}
#jcc-office .op-overlay{background:rgba(56,34,51,.28);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#jcc-office .op-dialog{background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(244,240,249,.92));border-color:#fff;box-shadow:inset 0 1px 0 white,0 30px 80px -24px #45213970}
#jcc-office .op-dialog-head{background:linear-gradient(115deg,rgba(255,255,255,.75),rgba(237,221,236,.5))}
#jcc-office .op-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:23px;padding:13px 15px;border:1px solid white;border-radius:18px;background:linear-gradient(115deg,rgba(255,255,255,.85),rgba(255,255,255,.4));box-shadow:var(--so-glass-shadow)}
#jcc-office .op-top .op-avatar{width:43px;height:43px;color:var(--jcc-red);background:rgba(163,0,0,.09);border:1px solid white}
#jcc-office .op-session-identity{flex:1;min-width:150px}
#jcc-office .op-session-identity small{display:block;font-size:11px;color:var(--so-sub)}
#jcc-office .op-session-identity strong{display:block;font-size:18px;line-height:1.3;color:var(--jcc-red-dark)}
#jcc-office .op-session-identity span{font-size:11px;color:var(--so-sub)}
#jcc-office .op-top .op-button{font-size:12px;padding:8px 12px;min-height:38px}
#jcc-office .op-top .op-badge{font-size:11px}
#jcc-office .op-login{display:grid;grid-template-columns:1.05fr 1fr;gap:38px;align-items:center;min-height:735px;padding:48px}
#jcc-office .op-login-story{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:30px;min-width:0}
#jcc-office .op-login-story .op-brand{padding:0}
#jcc-office .op-login-story .op-brand-mark{width:50px;height:54px;font-size:20px}
#jcc-office .op-login-story h1{font-size:44px;line-height:1.12;max-width:360px}
#jcc-office .op-login-story p{color:#554858;max-width:320px;margin-top:14px;font-size:15px}
#jcc-office .op-login-features{display:grid;gap:13px;color:#554858}
#jcc-office .op-login-features>div{display:flex;align-items:center;gap:11px;font-size:13px}
#jcc-office .op-login-features svg{color:var(--jcc-red);width:18px;height:18px}
#jcc-office .op-login-card{padding:30px;border:1px solid rgba(255,255,255,.95);border-radius:28px;background:linear-gradient(140deg,rgba(255,255,255,.79),rgba(255,255,255,.3));box-shadow:inset 0 1px 0 white,inset 1px 0 0 rgba(255,255,255,.5),0 26px 55px -25px rgba(88,50,81,.35);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);min-width:0}
#jcc-office .op-login-card h2{font-family:var(--jcc-font-display);font-size:29px;font-weight:400;margin:8px 0}
#jcc-office .op-login-card>p{margin-bottom:24px;color:var(--so-sub);font-size:13px}
#jcc-office .op-login-card form{display:grid;gap:17px}
#jcc-office .op-login-card .op-field input{background:rgba(255,255,255,.77);border-color:rgba(255,255,255,.95);border-radius:13px;padding:12px;min-width:0}
#jcc-office .op-password{display:flex;gap:6px}
#jcc-office .op-password input{width:100%}
#jcc-office .op-password button{border:1px solid white;border-radius:12px;background:#ffffff75;flex-shrink:0;width:44px;display:grid;place-items:center}
#jcc-office .op-password svg{width:18px;height:18px}
#jcc-office .op-login-submit{width:100%;margin-top:2px}
#jcc-office .op-login-message{font-size:13px;border-radius:12px;padding:12px 13px;display:flex;gap:10px;align-items:flex-start}
#jcc-office .op-login-message:empty{display:none}
#jcc-office .op-login-message[data-state=error]{color:#86201D;background:#FFF0ED;border:1px solid #E3B0A7}
#jcc-office .op-login-message[data-state=loading]{color:#653C66;background:#F2EAF4}
#jcc-office .op-login-message svg{width:19px;height:19px;flex-shrink:0}
#jcc-office .op-login-demo{border-top:1px solid rgba(255,255,255,.8);padding-top:17px;margin-top:22px;color:var(--so-sub);font-size:12px}
#jcc-office .op-login-demo summary{cursor:var(--cursor-interaction,pointer);font-weight:600;color:var(--jcc-red);padding:5px 0}
#jcc-office .op-login-demo p{margin:8px 0}
#jcc-office .op-login-demo .op-button{font-size:12px;padding:7px 10px;min-height:36px}
#jcc-office .op-login-success{text-align:center;padding:36px 0;display:grid;justify-items:center;gap:13px}
#jcc-office .op-login-success .op-success-mark{width:78px;height:78px;border:1px solid white;box-shadow:0 8px 28px #2E996426}
#jcc-office .op-login-success p{color:var(--so-sub);font-size:14px}
#jcc-office .op-account-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px;padding:5px;border:1px solid #ffffffb0;background:#ffffff38;border-radius:16px}
#jcc-office .op-account-tabs button{flex:1;min-width:100px;border:0;border-radius:11px;padding:11px 12px;background:transparent;color:var(--so-sub);font-size:13px;font-weight:600;display:flex;justify-content:center;gap:8px;align-items:center}
#jcc-office .op-account-tabs button[aria-pressed=true]{background:#ffffffe0;color:var(--jcc-red);box-shadow:0 4px 14px #67405D0C}
#jcc-office .op-account-tabs svg{width:17px;height:17px;flex-shrink:0}
#jcc-office .op-details{border:1px solid #E0D5E0;border-radius:14px;background:#ffffff70;min-width:0}
#jcc-office .op-details>summary{padding:14px 16px;font-weight:600;cursor:var(--cursor-interaction,pointer)}
#jcc-office .op-details>div{padding:0 16px 16px}
#jcc-office .op-details>summary>small{color:var(--so-sub);font-weight:400;margin-left:7px}
#jcc-office .op-field small{font-size:11px;overflow-wrap:anywhere}
#jcc-office .op-field input[readonly]{background:#F1EDF1;color:#665D6A}
#jcc-office .op-field select,#jcc-office .op-field textarea{max-width:100%}
#jcc-office .op-field-tech{font-family:ui-monospace,monospace;font-size:11px;color:var(--so-sub);overflow-wrap:anywhere}
#jcc-office .op-member-plan{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 0;border-top:1px solid #ffffffc0}
#jcc-office .op-member-plan:first-of-type{border-top:0}
#jcc-office .op-member-plan>div:first-child{flex:1;min-width:180px}
#jcc-office .op-member-plan h3{font-size:18px;margin:7px 0}
#jcc-office .op-member-plan p{font-size:12px;color:var(--so-sub);margin-top:5px}
#jcc-office .op-member-plan .op-row{gap:7px}
#jcc-office .op-member-plan .op-button{padding:8px 12px;font-size:12px}
#jcc-office .op-family-list{display:grid;gap:12px}
#jcc-office .op-family-member{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;background:rgba(255,255,255,.45);border:1px solid rgba(255,255,255,.9);border-radius:17px}
#jcc-office .op-family-member h3{font-size:14px}
#jcc-office .op-family-member p{color:var(--so-sub);font-size:12px;margin-top:3px}
#jcc-office .op-family-member .op-row{gap:7px;margin-top:8px}
#jcc-office .op-family-member .op-button{font-size:12px;padding:8px 10px}
#jcc-office .op-confirm-check{display:flex;gap:10px;align-items:flex-start;font-size:13px}
#jcc-office .op-confirm-check input{width:18px;height:18px;flex-shrink:0;margin-top:2px}
#jcc-office .op-meta-permission{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:15px;align-items:center;padding:11px 0;border-bottom:1px solid var(--so-line)}
#jcc-office .op-meta-permission label{font-size:13px}
#jcc-office .op-meta-permission small{display:block;color:var(--so-sub);font-size:11px;overflow-wrap:anywhere}
#jcc-office .op-meta-permission select{width:100%;border:1px solid #D8CBD6;border-radius:10px;padding:7px;background:white;font-size:12px}
#jcc-office .op-compact-list{display:grid;gap:10px}
#jcc-office .op-compact-list .op-note{font-size:12px}
#jcc-office #op-dialog-feedback:not(:empty){margin:0 0 16px}
@media(max-width:850px){#jcc-office .op-login{padding:30px;gap:24px}#jcc-office .op-login-story h1{font-size:36px}#jcc-office .op-login-card{padding:23px}#jcc-office .op-top .op-badge{display:none}}
@media(max-width:650px){#jcc-office .op-login{grid-template-columns:1fr;padding:24px 18px;gap:25px;min-height:0}#jcc-office .op-login-story{gap:20px}#jcc-office .op-login-story h1{font-size:33px;max-width:none}#jcc-office .op-login-story p{font-size:13px;margin-top:8px;max-width:none}#jcc-office .op-login-features{display:none}#jcc-office .op-login-card{padding:23px}#jcc-office .op-top{gap:9px;padding:12px}#jcc-office .op-session-identity{min-width:140px}#jcc-office .op-top>.op-button{width:100%}#jcc-office .op-family-member{grid-template-columns:32px minmax(0,1fr);padding:13px}#jcc-office .op-family-member>button{grid-column:2;justify-self:start}#jcc-office .op-account-tabs button{padding:10px 8px;font-size:12px}#jcc-office .op-account-tabs svg{display:none}#jcc-office .op-meta-permission{grid-template-columns:minmax(0,1fr) 95px}#jcc-office .op-member-plan>div:first-child{min-width:130px}}
@supports not (backdrop-filter:blur(1px)){#jcc-office .op-member,#jcc-office .op-card,#jcc-office .op-login-card{background:rgba(255,255,255,.85)}}
/* SOAI inbox: shared JCC tokens, finite motion, no extra UI dependencies. */
#jcc-office .op-chat-workspace{display:grid;grid-template-columns:190px minmax(0,1fr) 178px;gap:12px;align-items:start}
#jcc-office .op-chat-workspace>*{min-width:0}
#jcc-office .op-chat-list,#jcc-office .op-chat-thread,#jcc-office .op-chat-context{padding:14px;border-radius:20px}
#jcc-office .op-chat-list{padding:10px}
#jcc-office .op-chat-list-head{padding:5px 4px 12px;display:grid;gap:10px}
#jcc-office .op-chat-list-head input{width:100%;min-width:0;padding:10px;border:1px solid #E0D5E0;border-radius:11px;background:#ffffffc9;font-size:12px}
#jcc-office .op-chat-row{width:100%;display:grid;gap:7px;padding:13px 10px;margin:3px 0;border:1px solid transparent;border-radius:13px;background:transparent;text-align:left;color:var(--so-text)}
#jcc-office .op-chat-row[aria-pressed=true]{background:#ffffffe0;border-color:#D8B8C1;box-shadow:0 5px 18px #65324C0B}
#jcc-office .op-chat-row:hover{background:#ffffffa6}
#jcc-office .op-chat-row strong{font-size:13px}
#jcc-office .op-chat-row small{font-size:11px;color:var(--so-sub)}
#jcc-office .op-chat-row p{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#jcc-office .op-chat-row .op-badge{font-size:11px;padding:3px 7px;justify-self:start;max-width:100%;white-space:normal}
#jcc-office .op-chat-row-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
#jcc-office .op-chat-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:var(--jcc-red);color:white;font-size:11px;font-weight:600}
#jcc-office .op-chat-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 0 15px}
#jcc-office .op-chat-toolbar .op-button{font-size:12px;min-height:38px;padding:8px 11px}
#jcc-office .op-chat-toolbar .op-button[aria-pressed=true]{background:var(--jcc-red);color:#fff;border-color:var(--jcc-red)}
#jcc-office .op-chat-thread-head{display:grid;gap:11px;padding-bottom:13px;border-bottom:1px solid #fff}
#jcc-office .op-chat-thread-head h2{font-size:20px;font-family:var(--jcc-font-display);font-weight:400}
#jcc-office .op-chat-thread-head p{font-size:11px;color:var(--so-sub);margin-top:3px}
#jcc-office .op-chat-ownership{display:flex;align-items:flex-start;gap:8px;padding:10px;border-radius:11px;background:#ffffffa6;font-size:12px;line-height:1.45}
#jcc-office .op-chat-ownership svg{flex-shrink:0;margin-top:2px}
#jcc-office .op-chat-ownership strong{display:block}
#jcc-office .op-chat-ownership[data-state=waiting]{background:var(--so-warn-bg);color:var(--so-warn)}
#jcc-office .op-chat-ownership[data-state=human]{background:#E8F3EF;color:#215743}
#jcc-office .op-chat-actions{display:flex;gap:6px;flex-wrap:wrap}
#jcc-office .op-chat-actions .op-button{font-size:11px;padding:7px 9px;min-height:36px;flex:1}
#jcc-office .op-chat-transcript{display:flex;flex-direction:column;gap:15px;padding:18px 0}
#jcc-office .op-chat-day{font-size:11px;text-align:center;color:var(--so-sub)}
#jcc-office .op-chat-message{max-width:94%;align-self:flex-start;min-width:0}
#jcc-office .op-chat-message header{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:5px;font-size:11px;color:var(--so-sub)}
#jcc-office .op-chat-message header strong{color:var(--so-text);font-weight:600}
#jcc-office .op-chat-bubble{padding:12px 13px;border-radius:3px 15px 15px 15px;background:#ffffffeb;border:1px solid #ffffff;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;box-shadow:0 4px 12px #48304806}
#jcc-office .op-chat-message[data-author=ai],#jcc-office .op-chat-message[data-author=operator]{align-self:flex-end}
#jcc-office .op-chat-message[data-author=ai] .op-chat-bubble{background:#EEEAF5;border-color:#DDD6EC;border-radius:15px 3px 15px 15px}
#jcc-office .op-chat-message[data-author=operator] .op-chat-bubble{background:#E4F1EC;border-color:#CDE1D8;border-radius:15px 3px 15px 15px}
#jcc-office .op-chat-message[data-author=note]{max-width:100%;align-self:stretch}
#jcc-office .op-chat-message[data-author=note] .op-chat-bubble{background:#FFF6DE;border-color:#E7D8AC;border-radius:12px}
#jcc-office .op-chat-event{padding:2px 6px;display:flex;align-items:flex-start;gap:7px;color:var(--so-sub);font-size:11px;line-height:1.5}
#jcc-office .op-chat-event svg{flex-shrink:0;margin-top:1px}
#jcc-office .op-chat-message footer{font-size:11px;color:var(--so-sub);margin-top:4px;text-align:right}
#jcc-office .op-chat-compose{border-top:1px solid white;padding-top:14px;display:grid;gap:10px}
#jcc-office .op-chat-compose textarea{min-height:84px;background:#ffffffd6;resize:vertical;font-size:13px}
#jcc-office .op-chat-compose .op-field{gap:6px}
#jcc-office .op-chat-compose .op-button{font-size:12px}
#jcc-office .op-chat-compose .op-small{font-size:11px}
#jcc-office .op-chat-compose[data-mode=note] textarea{background:#FFFAEC;border-color:#D9C68F}
#jcc-office .op-chat-mode{display:flex;gap:5px;flex-wrap:wrap}
#jcc-office .op-chat-mode button{display:inline-flex;align-items:center;gap:6px;border:1px solid #D9CCD9;border-radius:8px;background:transparent;padding:7px 9px;font-size:11px}
#jcc-office .op-chat-mode button[aria-pressed=true]{background:#fff;color:var(--jcc-red);border-color:var(--jcc-red)}
#jcc-office .op-chat-context{display:grid;gap:16px}
#jcc-office .op-chat-context h3{font-size:13px;font-weight:600}
#jcc-office .op-chat-context p{font-size:12px;color:var(--so-sub);overflow-wrap:anywhere}
#jcc-office .op-chat-context .op-avatar{width:44px;height:44px;margin-bottom:8px}
#jcc-office .op-chat-context .op-badge{font-size:11px;white-space:normal}
#jcc-office .op-chat-context dl{display:grid;gap:11px}
#jcc-office .op-chat-context dt{font-size:11px;color:var(--so-sub)}
#jcc-office .op-chat-context dd{font-size:12px;font-weight:500;margin:2px 0 0;overflow-wrap:anywhere}
#jcc-office .op-chat-context .op-button{font-size:11px;padding:8px;min-height:37px;width:100%}
#jcc-office .op-chat-context-links{display:grid;gap:6px}
#jcc-office .op-chat-context hr{border:0;border-top:1px solid #ffffff;margin:0}
#jcc-office .op-chat-context details>summary{font-size:12px;font-weight:600;padding:4px 0}
#jcc-office .op-chat-context details>div{display:grid;gap:8px;margin-top:10px}
#jcc-office .op-chat-context-mobile{display:none}
#jcc-office .op-chat-back{display:none}
#jcc-office .op-chat-empty{padding:24px 12px;color:var(--so-sub);font-size:12px;line-height:1.6}
#jcc-office .op-chat-return{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 15px;border:1px solid #fff;border-radius:15px;background:#ffffff9c;margin-bottom:15px;font-size:12px}
#jcc-office .op-chat-demo{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--so-sub);font-size:11px}
#jcc-office .op-chat-demo button{border:1px dashed #BAA6BA;background:#ffffff5c;border-radius:9px;padding:8px 11px;font-size:11px}
#jcc-office .op-chat-scope{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 14px;margin-bottom:12px;border-radius:12px;background:#ffffff9c;font-size:12px}
#jcc-office .op-chat-scope button{font-size:12px}
#jcc-office .op-chat-links{display:grid;gap:7px}
#jcc-office .op-chat-links label{padding:10px;border:1px solid #DDD0DE;border-radius:10px;display:flex;gap:9px;align-items:center;font-size:13px;background:#ffffffb0}
#jcc-office .op-chat-links input{flex-shrink:0}
@media(min-width:901px){#jcc-office .op-main:has(.op-chat-workspace){padding:24px 18px}#jcc-office .op-nav button[data-page=conversations]{gap:6px;font-size:12px}}
@media(max-width:1000px) and (min-width:651px){#jcc-office .op-chat-workspace{grid-template-columns:182px minmax(0,1fr)}#jcc-office .op-chat-context{display:none}#jcc-office .op-chat-context-mobile{display:block;margin-top:12px;border-top:1px solid #fff;padding-top:12px}#jcc-office .op-chat-context-mobile>.op-chat-context{display:grid;background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:14px 0 0;grid-template-columns:1fr 1fr}#jcc-office .op-chat-context-mobile>summary{font-size:12px;font-weight:600;color:var(--jcc-red);padding:8px 0}}
@media(max-width:650px){#jcc-office .op-chat-workspace{grid-template-columns:1fr}#jcc-office .op-chat-context{display:none}#jcc-office .op-chat-workspace[data-mobile=list] .op-chat-thread{display:none}#jcc-office .op-chat-workspace[data-mobile=thread] .op-chat-list{display:none}#jcc-office .op-chat-back{display:inline-flex;justify-self:start}#jcc-office .op-chat-context-mobile{display:block;margin-top:12px;border-top:1px solid #fff;padding-top:12px}#jcc-office .op-chat-context-mobile>.op-chat-context{display:grid;background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:14px 0 0}#jcc-office .op-chat-context-mobile>summary{font-size:13px;font-weight:600;color:var(--jcc-red);padding:9px 0}#jcc-office .op-chat-row{padding:15px}#jcc-office .op-chat-row .op-badge{font-size:12px}#jcc-office .op-chat-actions .op-button,#jcc-office .op-chat-mode button,#jcc-office .op-chat-toolbar .op-button{min-height:44px}#jcc-office .op-chat-list-head input,#jcc-office .op-chat-compose textarea{font-size:16px}#jcc-office .op-chat-thread{padding:15px}#jcc-office .op-chat-context .op-badge{font-size:11px}#jcc-office .op-chat-message{max-width:96%}}

/* Office identity uses one configured image; keep its intrinsic proportions. */
#jcc-office .op-brand-custom{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:0 7px;min-width:0}
#jcc-office .op-brand-custom img{display:block;width:var(--so-logo-width,125px);max-width:100%;height:66px;object-fit:contain;object-position:left center}
#jcc-office .op-brand-custom>small{font-size:10px;letter-spacing:1.25px;line-height:1.6;color:var(--so-sub);display:block}
#jcc-office .op-logo-placeholder{display:flex;align-items:center;justify-content:center;gap:9px;width:125px;max-width:100%;height:61px;border:1px dashed #BBA6B9;border-radius:12px;background:#ffffff46;color:#77546B;font-size:12px}
#jcc-office .op-logo-placeholder svg{width:20px;height:20px;flex-shrink:0}
#jcc-office .op-login-story .op-brand-custom{padding:0}
#jcc-office .op-customer .op-brand-custom{align-items:center}
#jcc-office .op-customer .op-brand-custom img{object-position:center}
#jcc-office .op-brand-admin{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px;align-items:start}
#jcc-office .op-brand-preview{border:1px solid #fff;border-radius:19px;background:linear-gradient(140deg,#F5DDD1,#EBE6F0);padding:25px 22px;display:grid;gap:18px}
#jcc-office .op-brand-preview>.op-small{color:var(--so-sub);font-size:11px}
#jcc-office .op-brand-controls{display:grid;gap:17px}
#jcc-office .op-brand-controls input[type=file]{font-size:12px;padding:12px;background:#ffffffb8;border:1px solid #DACED8;border-radius:12px;width:100%;min-width:0}
#jcc-office .op-brand-controls input[type=file]::file-selector-button{padding:8px 10px;border:0;border-radius:7px;margin-right:10px;background:var(--jcc-red);color:white}
#jcc-office .op-brand-controls input[type=range]{width:100%;accent-color:var(--jcc-red)}
#jcc-office #op-logo-feedback{font-size:12px;color:var(--so-sub);overflow-wrap:anywhere}
#jcc-office #op-logo-feedback[data-error=true]{color:#8C201D}
#jcc-office .op-logo-error{display:none}
#jcc-office .op-brand-custom[data-broken=true] img{display:none}
#jcc-office .op-brand-custom[data-broken=true] .op-logo-error{display:flex}
/* A full-width inbox is the entry screen. No transcript is mounted until selected. */
#jcc-office .op-inbox{padding:0;overflow:hidden;background:linear-gradient(135deg,#ffffffbf,#ffffff5c);border-radius:23px}
#jcc-office .op-inbox-head{padding:23px 25px 17px;border-bottom:1px solid #ffffffa6;display:grid;gap:17px}
#jcc-office .op-inbox-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#jcc-office .op-inbox-title h2{font-size:20px;font-family:var(--jcc-font-display);font-weight:400}
#jcc-office .op-inbox-title>span{color:var(--so-sub);font-size:12px;display:flex;align-items:center;gap:7px}
#jcc-office .op-inbox-title svg{width:15px;height:15px}
#jcc-office .op-inbox-search{display:flex;align-items:center;gap:10px;background:#ffffffa8;border:1px solid #fff;border-radius:13px;padding:0 13px}
#jcc-office .op-inbox-search svg{width:17px;height:17px;color:var(--so-sub);flex-shrink:0}
#jcc-office .op-inbox-search input{min-width:0;width:100%;border:0;background:transparent;padding:13px 0;color:var(--so-text);font-size:13px}
#jcc-office .op-inbox .op-chat-toolbar{margin:0;gap:6px}
#jcc-office .op-inbox .op-chat-toolbar .op-button{padding:7px 11px;font-size:12px;min-height:36px}
#jcc-office .op-inbox-summary{display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--so-sub);font-size:11px;flex-wrap:wrap}
#jcc-office .op-inbox-summary strong{color:var(--so-text);font-weight:600}
#jcc-office .op-inbox-rows{padding:0 12px 8px}
#jcc-office .op-inbox-row{position:relative;display:grid;grid-template-columns:49px minmax(0,1fr) auto;column-gap:15px;align-items:center;width:100%;padding:20px 13px;border:0;border-bottom:1px solid #ffffffcb;border-radius:0;background:transparent;color:var(--so-text);text-align:left;min-width:0}
#jcc-office .op-inbox-row:last-child{border-bottom:0}
#jcc-office .op-inbox-row:hover{background:#ffffff7d;border-radius:13px}
#jcc-office .op-inbox-avatar{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#EEE2EA;color:#6B435F;border:1px solid #ffffffd9;font-size:14px;font-weight:600}
#jcc-office .op-inbox-row[data-state=waiting] .op-inbox-avatar{background:#FFF0D9;color:#775119}
#jcc-office .op-inbox-row[data-state=ai] .op-inbox-avatar{background:#EAE5F4;color:#684B84}
#jcc-office .op-inbox-row[data-state=human] .op-inbox-avatar{background:#DEEEE8;color:#346B57}
#jcc-office .op-inbox-state-icon{position:absolute;bottom:-3px;right:-3px;width:22px;height:22px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#F0EDF1;color:#6B6071}
#jcc-office .op-inbox-state-icon svg{width:12px;height:12px;display:block}
#jcc-office .op-inbox-row[data-state=waiting] .op-inbox-state-icon{background:#EAAF4D;color:#58380D}
#jcc-office .op-inbox-row[data-state=ai] .op-inbox-state-icon{background:#D5C5EC;color:#503376}
#jcc-office .op-inbox-row[data-state=human] .op-inbox-state-icon{background:#C1E2D2;color:#205940}
#jcc-office .op-inbox-text{display:grid;gap:6px;min-width:0}
#jcc-office .op-inbox-name{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#jcc-office .op-inbox-preview{font-size:12px;color:var(--so-sub);display:flex;gap:6px;align-items:center;min-width:0}
#jcc-office .op-inbox-preview>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#jcc-office .op-inbox-preview svg{width:15px;height:15px;flex-shrink:0;color:#675181}
#jcc-office .op-inbox-row[data-unread=true] .op-inbox-name{font-weight:600}
#jcc-office .op-inbox-row[data-unread=true] .op-inbox-preview{color:var(--so-text);font-weight:500}
#jcc-office .op-inbox-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:1px}
#jcc-office .op-inbox-tags>small{font-size:11px;color:var(--so-sub)}
#jcc-office .op-inbox-state{position:relative;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:7px;background:#EEEAF0;color:#605468;font-size:11px;font-weight:500}
#jcc-office .op-inbox-state svg{width:12px;height:12px;flex-shrink:0}
#jcc-office .op-inbox-row[data-state=waiting] .op-inbox-state{background:#FFF0D6;color:#795018}
#jcc-office .op-inbox-row[data-state=ai] .op-inbox-state{background:#EDE6F7;color:#684686}
#jcc-office .op-inbox-row[data-state=human] .op-inbox-state{background:#E2F1E9;color:#2D624D}
#jcc-office .op-inbox-side{display:flex;flex-direction:column;align-items:flex-end;align-self:stretch;justify-content:space-between;gap:12px;padding:2px 0}
#jcc-office .op-inbox-time{font-size:11px;color:var(--so-sub);white-space:nowrap}
#jcc-office .op-inbox-row[data-unread=true] .op-inbox-time{color:#2E775B;font-weight:600}
#jcc-office .op-inbox-unread{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;background:#317B60;color:white;border-radius:50%;font-size:11px;font-weight:600}
#jcc-office .op-inbox-open{color:#8D798C;width:17px;height:17px}
#jcc-office .op-inbox-hint{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;font-size:11px;color:var(--so-sub);border-top:1px solid #ffffff98}
#jcc-office .op-inbox-hint svg{width:14px;height:14px;flex-shrink:0}
#jcc-office .op-inbox-empty{padding:45px 20px;display:grid;gap:12px;justify-items:center;text-align:center;color:var(--so-sub);font-size:13px}
#jcc-office .op-chat-back{display:inline-flex;margin-bottom:14px}
#jcc-office .op-inbox .op-chat-count{background:#916422;font-size:10px;min-width:17px;height:17px}
#jcc-office .op-chat-toolbar button[aria-pressed=true] .op-chat-count{background:#ffffff35;color:#fff}
@media(max-width:850px){#jcc-office .op-inbox-head{padding:20px 17px 15px}#jcc-office .op-inbox-rows{padding:0 8px 6px}#jcc-office .op-inbox-row{grid-template-columns:43px minmax(0,1fr) auto;gap:11px;padding:18px 9px}#jcc-office .op-inbox-avatar{width:42px;height:42px;font-size:13px}}
@media(max-width:650px){#jcc-office .op-brand-custom{gap:6px;padding:0}#jcc-office .op-brand-custom img{height:49px}#jcc-office .op-logo-placeholder{height:46px;width:120px}#jcc-office .op-brand-custom>small{font-size:10px;letter-spacing:1.2px}#jcc-office .op-inbox-head{padding:17px 13px 13px;gap:13px}#jcc-office .op-inbox-title h2{font-size:19px}#jcc-office .op-inbox-title>span{font-size:11px}#jcc-office .op-inbox-search input{font-size:16px}#jcc-office .op-inbox .op-chat-toolbar .op-button{font-size:11px;min-height:42px;padding:7px 9px}#jcc-office .op-inbox-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:17px 5px}#jcc-office .op-inbox-avatar{width:37px;height:37px;font-size:11px}#jcc-office .op-inbox-name{font-size:13px}#jcc-office .op-inbox-state{font-size:11px;padding:3px 5px}#jcc-office .op-inbox-preview{font-size:12px}#jcc-office .op-inbox-time{font-size:11px}#jcc-office .op-inbox-tags{gap:5px}#jcc-office .op-inbox-tags>small{font-size:11px}#jcc-office .op-inbox-hint{align-items:flex-start;padding:12px;font-size:11px}#jcc-office .op-brand-admin{grid-template-columns:1fr}#jcc-office .op-brand-preview{padding:20px}#jcc-office .op-brand-controls input[type=file]{font-size:11px}#jcc-office .op-inbox-title{gap:6px}}

