.cc-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.cc-form{display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:1.6;color:#111}.cc-fields{margin:0;padding:0;border:0;min-width:0;display:flex;flex-direction:column;gap:12px}.cc-fields:disabled{opacity:.7}.cc-field{display:flex;flex-direction:column;gap:4px}.cc-form label{font-size:13px;font-weight:600}.cc-req,.cc-opt{margin-left:6px;font-size:12px;font-weight:400;color:#666}.cc-form input[type=text],.cc-form input[type=search],.cc-form input[type=tel],.cc-form select{width:100%;height:36px;padding:0 10px;border:1px solid #d4d4d4;border-radius:8px;background:#fff;color:#111;font:inherit}.cc-form input:focus-visible,.cc-form select:focus-visible,.cc-form button:focus-visible,.cc-summary:focus-visible{outline:2px solid #111;outline-offset:2px}.cc-tabs{display:flex;gap:8px}.cc-tab{flex:1;height:36px;padding:0 10px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;color:#111;font:inherit;cursor:pointer}.cc-tab-on{border-color:#111;font-weight:600}.cc-panel{display:flex;flex-direction:column;gap:12px}.cc-search,.cc-selected,.cc-new{display:flex;flex-direction:column;gap:8px}.cc-search-row{display:flex;gap:8px}.cc-search-row input{flex:1;min-width:0}.cc-results{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto}.cc-result{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px 10px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;color:#111;font:inherit;text-align:left;cursor:pointer}.cc-result:hover{border-color:#111}.cc-r-name{font-weight:600}.cc-r-sub{color:#555;font-size:12px}.cc-summary{display:flex;flex-direction:column;gap:2px;padding:10px;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa}.cc-change{align-self:flex-start;margin-top:6px}.cc-hint{margin:0;color:#666;font-size:12px}.cc-status,.cc-status-text{margin:0;color:#555}.cc-notice{margin:0;padding:8px 10px;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa}.cc-error{margin:0;color:#b42318}.cc-secondary{height:36px;padding:0 14px;border:1px solid #d4d4d4;border-radius:8px;background:#fff;color:#111;font:inherit;cursor:pointer}.cc-primary{width:100%;height:40px;border:1px solid #111;border-radius:8px;background:#111;color:#fff;font:inherit;font-weight:600;cursor:pointer}.cc-primary:disabled{opacity:.5;cursor:not-allowed}.cc-block{display:flex;flex-direction:column;gap:12px}@media(max-width:640px){.cc-tabs,.cc-search-row{flex-direction:column}.cc-search-row .cc-secondary{width:100%}}.tsn-dialog.portal-nc{width:min(560px,calc(100vw - 16px));padding:0}.portal-nc .portal-nc-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 16px 8px 24px;background:#fff}.portal-nc .portal-nc-head .tsn-dialog-title{margin:0;min-width:0;overflow-wrap:anywhere}.portal-nc .portal-nc-close{flex:none}.portal-nc .portal-nc-body{padding:8px 24px 24px}.portal-nc .cc-form p{margin:0}@media(max-width:640px){.tsn-dialog.portal-nc{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.portal-nc .portal-nc-head{padding:12px 12px 8px 16px}.portal-nc .portal-nc-body{padding:8px 16px 16px}.portal-nc .cc-form :is(input[type=text],input[type=search],input[type=tel],select){height:auto;min-height:44px;font-size:16px}.portal-nc .cc-form :is(.cc-tab,.cc-secondary,.cc-primary,.cc-result){min-height:44px;font-size:16px}.portal-nc .portal-nc-close{font-size:16px}.portal-nc .cc-tabs,.portal-nc .cc-search-row{flex-direction:row}.portal-nc .cc-search-row .cc-secondary{width:auto;flex:none}}
