/* Homepage service cards: reuse the portal palette and spacing, scoped to this section. */
.oc-services{margin-top:22px;padding:22px 20px;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow)}
.oc-services [hidden]{display:none!important}
.oc-services button,.oc-services input{font:inherit}
.oc-services button{cursor:pointer}
.oc-services button:disabled{cursor:wait;opacity:.55}
.oc-services :is(a,button,input):focus-visible{outline:3px solid #8bb2ff;outline-offset:4px}
.oc-services-heading{display:flex;align-items:baseline;gap:16px;margin:0 2px 18px}
.oc-services-heading h2{font-size:18px;color:var(--navy);line-height:1.5}
.oc-services-heading p{font-size:13px;color:var(--gray)}
.oc-services-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:14px}
.oc-service-card{min-width:0;min-height:176px;padding:16px 18px;border:1px solid #e2eaf8;border-radius:14px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(140deg,#fff,#fdfefe)}
.oc-service-title-link{color:inherit}
.oc-service-title-link[href]:hover{color:var(--blue);text-decoration:underline}
.oc-service-top{display:flex;align-items:center;gap:12px;position:relative}
.oc-service-top>div{min-width:0}
.oc-service-top h3{font-size:17px;color:var(--navy);line-height:1.5}
.oc-service-top p{font-size:12px;color:var(--gray);line-height:1.6;margin-top:4px}
.oc-service-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#eaf1ff;color:var(--blue)}
.oc-service-icon svg{width:30px;height:30px}
.oc-service-repair .oc-service-icon{background:#fff0e4;color:#fa862c}
.oc-service-files .oc-service-icon{background:#e9f8f0;color:#2eaa69}
.oc-service-settings{display:flex;align-items:center;gap:4px;white-space:nowrap;border:0;background:none;color:var(--blue);font-size:12px!important;padding:4px;margin-left:auto;align-self:flex-start}
.oc-service-settings svg{width:16px;height:16px}
.oc-service-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.oc-service-shortcut{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;min-height:42px;border:1px solid #e5edfb;border-radius:9px;background:#f7faff;color:var(--navy);font-size:12px;transition:background .15s,border-color .15s}
.oc-service-shortcut span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.oc-service-shortcut:hover{background:#edf3ff;border-color:#abc5ff}
.oc-shortcut-symbol{color:var(--blue);font-size:16px;flex-shrink:0}
.oc-service-shortcuts>p{grid-column:1/-1}
.oc-service-websites{display:grid;gap:8px}
.oc-service-website-group{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px}
.oc-service-website-group h4{font-size:12px;font-weight:500;color:var(--gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.oc-service-website-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.oc-service-website-items a{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:34px;padding:6px 4px;border:1px solid #e5edfb;border-radius:9px;background:#f7faff;color:var(--navy);font-size:12px;transition:background .15s,border-color .15s}
.oc-service-website-items a:hover{background:#edf3ff;border-color:#abc5ff}
.oc-service-website-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-service-website-arrow{font-size:11px;color:var(--blue);flex-shrink:0}
@media(max-width:600px){.oc-service-website-arrow{display:none}}
@media(max-width:380px){.oc-service-website-group{grid-template-columns:minmax(0,1fr);gap:5px}}
.oc-service-muted{font-size:12px;color:var(--gray);line-height:1.7}
.oc-service-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.oc-service-action{display:inline-flex;align-items:center;gap:10px;color:var(--blue);font-size:13px;font-weight:600;background:none;border:0;padding:0;line-height:1.7}
.oc-service-action:hover,.oc-service-own:hover{text-decoration:underline}
.oc-service-submit{display:flex;align-items:center;justify-content:center;gap:14px;background:#ff852b;color:#fff;border-radius:10px;padding:11px 14px;font-size:14px;font-weight:600;margin-top:auto;transition:background .15s}
.oc-service-submit:hover{background:#ee751c}
.oc-service-repair>[data-submit-message]:empty{display:none}
.oc-service-summary{font-size:12px;color:#72829c;line-height:1.8;flex:1;display:flex;align-items:center}
.oc-service-own{font-size:12px;color:#72829c}
.oc-services-dialog{margin:auto;width:min(580px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:0 24px 80px #16244d33;overflow:auto}
.oc-services-dialog::backdrop{background:#16244d66}
.oc-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 16px;border-bottom:1px solid var(--line)}
.oc-dialog-heading h2{font-size:20px;color:var(--navy)}
.oc-dialog-heading p{font-size:12px;color:var(--gray);margin-top:8px;line-height:1.7}
.oc-dialog-heading>button{border:0;background:#f2f5fa;border-radius:8px;width:32px;height:32px;flex-shrink:0;font-size:23px;color:#6e7e95}
.oc-dialog-body{padding:18px 24px}
.oc-dialog-body h3{font-size:14px;color:var(--navy);line-height:1.8}
.oc-dialog-body h3 span{color:var(--gray);font-size:12px;font-weight:400;margin-left:8px}
.oc-selected-links{list-style:none;margin:10px 0 18px;display:grid;gap:6px}
.oc-selected-links li{display:flex;align-items:center;gap:6px;background:#f5f8ff;padding:8px 10px;border-radius:8px;font-size:13px;min-height:38px}
.oc-selected-links li>span{flex:1;min-width:0;overflow-wrap:anywhere}
.oc-selected-links button{border:1px solid #dce6f7;border-radius:5px;background:#fff;color:var(--blue);min-width:28px;min-height:28px}
.oc-link-search{display:block;font-size:12px;color:#6e7e95}
.oc-link-search input{display:block;width:100%;margin:7px 0 12px;padding:10px 12px;border:1px solid #dce4f1;border-radius:9px;font-size:14px}
.oc-link-options{max-height:240px;overflow:auto;display:grid;gap:4px;padding:3px}
.oc-link-option{display:flex;align-items:center;gap:10px;padding:10px 6px;font-size:13px;border-radius:6px;cursor:pointer}
.oc-link-option:hover{background:#f4f7fc}
.oc-link-option input{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}
.oc-link-option small{display:block;font-size:11px;color:var(--gray);margin-top:3px}
.oc-dialog-feedback{color:#b44825;font-size:12px;line-height:1.6;padding:0 24px}
.oc-dialog-feedback:empty{display:none}
.oc-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;border-top:1px solid var(--line);margin-top:12px;background:#fff}
.oc-dialog-footer>div{display:flex;gap:8px}
.oc-dialog-save,.oc-dialog-cancel{display:inline-block;border:0;border-radius:8px;padding:10px 16px;font-size:13px;white-space:nowrap}
.oc-dialog-save{background:var(--blue);color:#fff}
.oc-dialog-cancel{background:#f0f4fa;color:#51637f}
.oc-external-dialog{width:min(440px,calc(100% - 32px))}
.oc-external-dialog .oc-dialog-body p{font-size:13px;line-height:1.8;color:var(--gray);margin-top:12px;overflow-wrap:anywhere}
@media(min-width:981px) and (max-width:1150px){.oc-service-links .oc-service-top{padding-right:0;flex-wrap:wrap}.oc-service-settings{position:absolute;right:0;top:-10px}.oc-service-links .oc-service-top>div{padding-top:10px}.oc-service-card{padding:18px 14px}.oc-service-icon{width:44px;height:44px}.oc-service-top{gap:9px}.oc-service-top h3{font-size:16px}}
@media(max-width:1050px){.oc-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oc-service-links{grid-column:1/-1}.oc-service-card{min-height:180px}.oc-service-links .oc-service-top{padding-right:90px}.oc-service-settings{position:absolute;right:0;top:0}}
@media(max-width:600px){.oc-services{padding:18px 14px;margin-top:16px}.oc-services-heading{display:block;margin-bottom:14px}.oc-services-heading h2{font-size:17px}.oc-services-heading p{margin-top:4px;font-size:12px}.oc-services-grid{grid-template-columns:minmax(0,1fr);gap:12px}.oc-service-card{min-height:166px;padding:16px;gap:16px}.oc-service-links .oc-service-top{padding-right:0;padding-top:20px}.oc-service-settings{top:-5px}.oc-service-shortcuts{grid-template-columns:minmax(0,1fr)}.oc-service-shortcut{justify-content:flex-start;padding:10px 12px}.oc-service-summary{min-height:24px}.oc-dialog-heading,.oc-dialog-body,.oc-dialog-footer{padding-left:16px;padding-right:16px}.oc-dialog-footer{flex-wrap:wrap}.oc-dialog-footer .oc-service-action{font-size:12px}.oc-dialog-save,.oc-dialog-cancel{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.oc-services *{transition:none!important}}
